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 506136126c..ed47ea4205 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 @@ -168,6 +168,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3351,6 +3355,697 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-team" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/events": { "get": { "summary": "List public events", @@ -11591,13 +12286,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -22782,7 +23483,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -22831,7 +23532,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -22935,7 +23636,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -22984,7 +23685,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -23057,7 +23758,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -105028,6 +105729,91 @@ } } }, + "enterprise-team": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -111376,88 +112162,6 @@ ], "additionalProperties": true }, - "enterprise-team": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { - "type": "string", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { - "type": "string", - "examples": [ - "disabled | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" - ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at" - ] - }, "copilot-seat-details": { "title": "Copilot Business Seat Detail", "description": "Information about a Copilot Business seat assignment for a user, team, or organization.", @@ -117051,6 +117755,35 @@ } } }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -117118,6 +117851,9 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -133967,6 +134703,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -286051,6 +286797,68 @@ "has_more_locations": true } }, + "enterprise-teams-items": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + }, + "simple-user-items": { + "value": [ + { + "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 + } + ] + }, + "simple-user": { + "value": { + "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 + } + }, "public-events-items": { "value": [ { @@ -289086,30 +289894,6 @@ ] } }, - "simple-user-items": { - "value": [ - { - "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 - } - ] - }, "campaign-org-items": { "value": [ { @@ -315173,6 +315957,33 @@ "default": false } }, + "enterprise-team": { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "username": { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "gist-id": { "name": "gist_id", "description": "The unique identifier of the gist.", @@ -315425,15 +316236,6 @@ "type": "string" } }, - "username": { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "tool-name": { "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.", @@ -315651,15 +316453,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "role-id": { "name": "role_id", "description": "The unique identifier of the role.", 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 c66b553778..64b93d113b 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 @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2384,6 +2386,459 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -8410,11 +8865,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -16479,7 +16938,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -16520,7 +16979,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -16589,7 +17048,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -16625,7 +17084,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -16677,7 +17136,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -76005,6 +76464,70 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + enterprise-team: + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + description: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + examples: + - disabled | all + organization_selection_type: + type: string + examples: + - disabled | selected | all + group_id: + type: + - string + - 'null' + examples: + - 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + type: + - string + - 'null' + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + examples: + - Justice League + html_url: + type: string + format: uri + examples: + - https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - name + - html_url + - slug + - created_at + - updated_at + - group_id actor: title: Actor description: Actor @@ -80702,65 +81225,6 @@ components: - public_code_suggestions - seat_management_setting additionalProperties: true - enterprise-team: - title: Enterprise Team - description: Group of enterprise owners and/or members - type: object - properties: - id: - type: integer - format: int64 - name: - type: string - description: - type: string - slug: - type: string - url: - type: string - format: uri - sync_to_organizations: - type: string - examples: - - disabled | all - organization_selection_type: - type: string - examples: - - disabled | all - group_id: - type: - - string - - 'null' - examples: - - 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - type: - - string - - 'null' - examples: - - Justice League - html_url: - type: string - format: uri - examples: - - https://github.com/enterprises/dc/teams/justice-league - members_url: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - id - - url - - members_url - - name - - html_url - - slug - - created_at - - updated_at copilot-seat-details: title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, @@ -84967,6 +85431,29 @@ components: "$ref": "#/components/schemas/repository-rule-params-code-scanning-tool" required: - code_scanning_tools + repository-rule-copilot-code-review: + title: copilot_code_review + description: Request Copilot code review for new pull requests automatically + if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull requests before + they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new push to the pull + request. repository-rule: title: Repository Rule type: object @@ -84993,6 +85480,7 @@ components: - "$ref": "#/components/schemas/repository-rule-max-file-size" - "$ref": "#/components/schemas/repository-rule-workflows" - "$ref": "#/components/schemas/repository-rule-code-scanning" + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" repository-ruleset: title: Repository ruleset type: object @@ -96999,6 +97487,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-code-scanning" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" secret-scanning-alert: type: object properties: @@ -210737,6 +211228,58 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + enterprise-teams-items: + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + simple-user-items: + value: + - 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 + simple-user: + value: + 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 public-events-items: value: - id: '22249084947' @@ -213315,26 +213858,6 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 - simple-user-items: - value: - - 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 campaign-org-items: value: - number: 3 @@ -235867,6 +236390,28 @@ components: schema: type: boolean default: false + enterprise-team: + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + username: + name: username + description: The handle for the GitHub user account. + in: path + required: true + schema: + type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string gist-id: name: gist_id description: The unique identifier of the gist. @@ -236080,13 +236625,6 @@ components: required: true schema: type: string - username: - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -236275,13 +236813,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string role-id: name: role_id description: The unique identifier of the role. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 506136126c..ed47ea4205 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -168,6 +168,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3351,6 +3355,697 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-team" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/events": { "get": { "summary": "List public events", @@ -11591,13 +12286,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -22782,7 +23483,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -22831,7 +23532,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -22935,7 +23636,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -22984,7 +23685,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -23057,7 +23758,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -105028,6 +105729,91 @@ } } }, + "enterprise-team": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -111376,88 +112162,6 @@ ], "additionalProperties": true }, - "enterprise-team": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { - "type": "string", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { - "type": "string", - "examples": [ - "disabled | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" - ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at" - ] - }, "copilot-seat-details": { "title": "Copilot Business Seat Detail", "description": "Information about a Copilot Business seat assignment for a user, team, or organization.", @@ -117051,6 +117755,35 @@ } } }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -117118,6 +117851,9 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -133967,6 +134703,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -286051,6 +286797,68 @@ "has_more_locations": true } }, + "enterprise-teams-items": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + }, + "simple-user-items": { + "value": [ + { + "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 + } + ] + }, + "simple-user": { + "value": { + "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 + } + }, "public-events-items": { "value": [ { @@ -289086,30 +289894,6 @@ ] } }, - "simple-user-items": { - "value": [ - { - "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 - } - ] - }, "campaign-org-items": { "value": [ { @@ -315173,6 +315957,33 @@ "default": false } }, + "enterprise-team": { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "username": { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "gist-id": { "name": "gist_id", "description": "The unique identifier of the gist.", @@ -315425,15 +316236,6 @@ "type": "string" } }, - "username": { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "tool-name": { "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.", @@ -315651,15 +316453,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "role-id": { "name": "role_id", "description": "The unique identifier of the role.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index c66b553778..64b93d113b 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2384,6 +2386,459 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -8410,11 +8865,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -16479,7 +16938,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -16520,7 +16979,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -16589,7 +17048,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -16625,7 +17084,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -16677,7 +17136,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -76005,6 +76464,70 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + enterprise-team: + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + description: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + examples: + - disabled | all + organization_selection_type: + type: string + examples: + - disabled | selected | all + group_id: + type: + - string + - 'null' + examples: + - 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + type: + - string + - 'null' + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + examples: + - Justice League + html_url: + type: string + format: uri + examples: + - https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - name + - html_url + - slug + - created_at + - updated_at + - group_id actor: title: Actor description: Actor @@ -80702,65 +81225,6 @@ components: - public_code_suggestions - seat_management_setting additionalProperties: true - enterprise-team: - title: Enterprise Team - description: Group of enterprise owners and/or members - type: object - properties: - id: - type: integer - format: int64 - name: - type: string - description: - type: string - slug: - type: string - url: - type: string - format: uri - sync_to_organizations: - type: string - examples: - - disabled | all - organization_selection_type: - type: string - examples: - - disabled | all - group_id: - type: - - string - - 'null' - examples: - - 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - type: - - string - - 'null' - examples: - - Justice League - html_url: - type: string - format: uri - examples: - - https://github.com/enterprises/dc/teams/justice-league - members_url: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - id - - url - - members_url - - name - - html_url - - slug - - created_at - - updated_at copilot-seat-details: title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, @@ -84967,6 +85431,29 @@ components: "$ref": "#/components/schemas/repository-rule-params-code-scanning-tool" required: - code_scanning_tools + repository-rule-copilot-code-review: + title: copilot_code_review + description: Request Copilot code review for new pull requests automatically + if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull requests before + they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new push to the pull + request. repository-rule: title: Repository Rule type: object @@ -84993,6 +85480,7 @@ components: - "$ref": "#/components/schemas/repository-rule-max-file-size" - "$ref": "#/components/schemas/repository-rule-workflows" - "$ref": "#/components/schemas/repository-rule-code-scanning" + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" repository-ruleset: title: Repository ruleset type: object @@ -96999,6 +97487,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-code-scanning" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" secret-scanning-alert: type: object properties: @@ -210737,6 +211228,58 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + enterprise-teams-items: + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + simple-user-items: + value: + - 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 + simple-user: + value: + 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 public-events-items: value: - id: '22249084947' @@ -213315,26 +213858,6 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 - simple-user-items: - value: - - 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 campaign-org-items: value: - number: 3 @@ -235867,6 +236390,28 @@ components: schema: type: boolean default: false + enterprise-team: + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + username: + name: username + description: The handle for the GitHub user account. + in: path + required: true + schema: + type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string gist-id: name: gist_id description: The unique identifier of the gist. @@ -236080,13 +236625,6 @@ components: required: true schema: type: string - username: - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -236275,13 +236813,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string role-id: name: role_id description: The unique identifier of the role. 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 87d4c66a98..875d1db792 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 @@ -168,6 +168,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -26427,6 +26431,2292 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/events": { "get": { "summary": "List public events", @@ -79625,13 +81915,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -95972,6 +98268,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -95979,7 +98276,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -95996,6 +98293,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -96027,7 +98325,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -124275,6 +126574,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -124282,7 +126582,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -124299,6 +126599,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -124330,7 +126631,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -158839,7 +161141,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -159066,7 +161368,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -159446,7 +161748,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -159663,7 +161965,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -159981,7 +162283,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -168291,6 +170593,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -170797,6 +173128,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -172753,6 +175113,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -175280,6 +177669,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -524108,6 +526526,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -525469,6 +527942,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -526544,6 +529046,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -527832,6 +530363,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -529807,6 +532367,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -530897,6 +533486,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -532181,6 +534799,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1341081,6 +1343728,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1344307,6 +1346983,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1347533,6 +1350238,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1348533,6 +1351267,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1349361,6 +1352124,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1350192,6 +1352984,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, 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 3403618ee9..f31055da9c 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 @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -903,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &284 + type: &288 type: string description: The type of credit the user is receiving. enum: @@ -1036,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &95 + schema: &102 title: Validation Error Simple description: Validation Error Simple type: object @@ -1069,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &597 + - &602 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1654,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &168 + - &174 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 @@ -1670,7 +1672,7 @@ paths: application/json: schema: type: array - items: &169 + items: &175 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1766,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &170 + default: &176 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1829,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &94 + schema: &101 title: Validation Error description: Validation Error type: object @@ -1901,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &177 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2036,7 +2038,7 @@ paths: - request - response examples: - default: &172 + default: &178 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2240,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &64 + - &71 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2979,7 +2981,7 @@ paths: - selected repositories: type: array - items: &59 + items: &66 title: Repository description: A repository on GitHub. type: object @@ -3006,7 +3008,7 @@ paths: license: anyOf: - type: 'null' - - &75 + - &82 title: License Simple description: License Simple type: object @@ -5384,7 +5386,7 @@ paths: responses: '202': *37 '422': *7 - '500': &91 + '500': &98 description: Internal Error content: application/json: @@ -7714,7 +7716,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &142 + code_scanning_options: &148 type: - object - 'null' @@ -7912,7 +7914,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &150 type: array description: A list of default code security configurations items: @@ -7928,7 +7930,7 @@ paths: default configuration: *41 examples: - default: &145 + default: &151 value: - default_for_new_repos: public configuration: @@ -8259,7 +8261,7 @@ paths: - *40 - *43 responses: - '204': &146 + '204': &152 description: A header with no content is returned. '400': *14 '403': *27 @@ -8386,7 +8388,7 @@ paths: default: value: default_for_new_repos: all - configuration: &143 + configuration: &149 value: id: 1325 target_type: organization @@ -8471,7 +8473,7 @@ paths: application/json: schema: type: array - items: &147 + items: &153 type: object description: Repositories associated with a code security configuration and attachment status @@ -8816,7 +8818,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &148 + repository: &154 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8910,7 +8912,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &152 + - &158 name: state in: query description: |- @@ -8919,7 +8921,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &153 + - &159 name: severity in: query description: |- @@ -8928,7 +8930,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &154 + - &160 name: ecosystem in: query description: |- @@ -8937,14 +8939,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &155 + - &161 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 - - &156 + - &162 name: epss_percentage in: query description: |- @@ -8956,7 +8958,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 - - &157 + - &163 name: has in: query description: |- @@ -8970,7 +8972,7 @@ paths: type: string enum: - patch - - &158 + - &164 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8980,7 +8982,7 @@ paths: enum: - development - runtime - - &159 + - &165 name: sort in: query description: |- @@ -8998,7 +9000,7 @@ paths: - *46 - *38 - *39 - - &160 + - &166 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9011,7 +9013,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &161 + - &167 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9031,7 +9033,7 @@ paths: application/json: schema: type: array - items: &162 + items: &168 type: object description: A Dependabot alert. properties: @@ -9101,7 +9103,7 @@ paths: - direct - transitive - - security_advisory: &451 + security_advisory: &455 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9330,7 +9332,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &138 + dismissed_at: &144 type: - string - 'null' @@ -9361,7 +9363,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &137 + fixed_at: &143 type: - string - 'null' @@ -9369,7 +9371,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &452 + auto_dismissed_at: &456 type: - string - 'null' @@ -9396,7 +9398,7 @@ paths: - repository additionalProperties: false examples: - default: &163 + default: &169 value: - number: 2 state: dismissed @@ -9743,7 +9745,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &272 + - &276 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9754,7 +9756,7 @@ paths: enum: - open - resolved - - &273 + - &277 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9764,7 +9766,7 @@ paths: required: false schema: type: string - - &274 + - &278 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9773,7 +9775,7 @@ paths: required: false schema: type: string - - &275 + - &279 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. @@ -9789,7 +9791,7 @@ paths: - *17 - *38 - *39 - - &276 + - &280 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9798,7 +9800,7 @@ paths: required: false schema: type: string - - &277 + - &281 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9807,7 +9809,7 @@ paths: schema: type: boolean default: false - - &278 + - &282 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9816,7 +9818,7 @@ paths: schema: type: boolean default: false - - &279 + - &283 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9832,7 +9834,7 @@ paths: application/json: schema: type: array - items: &280 + items: &284 type: object properties: number: *52 @@ -9848,14 +9850,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &575 + state: &580 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: &576 + resolution: &581 type: - string - 'null' @@ -9962,14 +9964,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &577 + - &582 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &579 + - &584 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10026,7 +10028,7 @@ paths: - blob_url - commit_sha - commit_url - - &580 + - &585 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -10087,7 +10089,7 @@ paths: - page_url - commit_sha - commit_url - - &581 + - &586 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10102,7 +10104,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &582 + - &587 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10117,7 +10119,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &583 + - &588 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10132,7 +10134,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &584 + - &589 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10147,7 +10149,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &585 + - &590 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10162,7 +10164,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &586 + - &591 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10177,7 +10179,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &587 + - &592 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -10192,7 +10194,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &588 + - &593 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -10207,7 +10209,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &589 + - &594 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -10222,7 +10224,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &590 + - &595 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -10237,7 +10239,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &591 + - &596 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -10258,7 +10260,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &281 + default: &285 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10417,7 +10419,7 @@ paths: headers: Link: *57 '404': *6 - '503': &62 + '503': &69 description: Service unavailable content: application/json: @@ -10435,6 +10437,563 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - *40 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &58 + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + description: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + examples: + - disabled | all + organization_selection_type: + type: string + examples: + - disabled | selected | all + group_id: + type: + - string + - 'null' + examples: + - 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + type: + - string + - 'null' + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + examples: + - Justice League + html_url: + type: string + format: uri + examples: + - https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - name + - html_url + - slug + - created_at + - updated_at + - group_id + examples: + default: &59 + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - *40 + - &60 + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: &61 + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - *40 + - *60 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *61 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - *40 + - *60 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *61 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - *40 + - *60 + - &62 + name: username + description: The handle for the GitHub user account. + in: path + required: true + schema: + type: string + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &63 + value: + 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 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - *40 + - *60 + - *62 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *63 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - *40 + - *60 + - *62 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - *40 + - &64 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - *40 + - *64 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - *40 + - *64 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -10457,7 +11016,7 @@ paths: application/json: schema: type: array - items: &85 + items: &92 title: Event description: Event type: object @@ -10468,7 +11027,7 @@ paths: type: - string - 'null' - actor: &58 + actor: &65 title: Actor description: Actor type: object @@ -10509,13 +11068,13 @@ paths: - id - name - url - org: *58 + org: *65 payload: type: object properties: action: type: string - issue: &74 + issue: &81 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -10636,7 +11195,7 @@ paths: milestone: anyOf: - type: 'null' - - &231 + - &235 title: Milestone description: A collection of related issues and pull requests. @@ -10808,7 +11367,7 @@ paths: timeline_url: type: string format: uri - type: &190 + type: &196 title: Issue Type description: The type of issue. type: @@ -10861,12 +11420,12 @@ paths: - node_id - name - description - repository: *59 + repository: *66 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &60 + author_association: &67 title: author_association type: string description: How the author is associated with the repository. @@ -10881,7 +11440,7 @@ paths: - OWNER examples: - OWNER - reactions: &61 + reactions: &68 title: Reaction Rollup type: object properties: @@ -10917,7 +11476,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &609 + sub_issues_summary: &614 title: Sub-issues Summary type: object properties: @@ -10938,7 +11497,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &610 + issue_dependencies_summary: &615 title: Issue Dependencies Summary type: object properties: @@ -10957,7 +11516,7 @@ paths: - total_blocking issue_field_values: type: array - items: &611 + items: &616 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11052,7 +11611,7 @@ paths: - user - created_at - updated_at - comment: &498 + comment: &502 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11102,12 +11661,12 @@ paths: issue_url: type: string format: uri - author_association: *60 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - id - node_id @@ -11204,7 +11763,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11294,7 +11853,7 @@ paths: _links: type: object properties: - timeline: &63 + timeline: &70 title: Link With Type description: Hypermedia Link with Type type: object @@ -11306,17 +11865,17 @@ paths: required: - href - type - user: *63 - security_advisories: *63 - current_user: *63 - current_user_public: *63 - current_user_actor: *63 - current_user_organization: *63 + user: *70 + security_advisories: *70 + current_user: *70 + current_user_public: *70 + current_user_actor: *70 + current_user_organization: *70 current_user_organizations: type: array - items: *63 - repository_discussions: *63 - repository_discussions_category: *63 + items: *70 + repository_discussions: *70 + repository_discussions_category: *70 required: - timeline - user @@ -11378,7 +11937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *64 + - *71 - *17 - *19 responses: @@ -11388,7 +11947,7 @@ paths: application/json: schema: type: array - items: &65 + items: &72 title: Base Gist description: Base Gist type: object @@ -11485,7 +12044,7 @@ paths: - created_at - updated_at examples: - default: &66 + default: &73 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -11609,7 +12168,7 @@ paths: description: Response content: application/json: - schema: &67 + schema: &74 title: Gist Simple description: Gist Simple type: object @@ -11627,7 +12186,7 @@ paths: url: type: string format: uri - user: &623 + user: &628 title: Public User description: Public User type: object @@ -12001,7 +12560,7 @@ paths: truncated: type: boolean examples: - default: &68 + default: &75 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -12105,7 +12664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *64 + - *71 - *17 - *19 responses: @@ -12115,9 +12674,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '422': *15 @@ -12139,7 +12698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *64 + - *71 - *17 - *19 responses: @@ -12149,9 +12708,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '401': *23 @@ -12179,7 +12738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &69 + - &76 name: gist_id description: The unique identifier of the gist. in: path @@ -12191,10 +12750,10 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - default: *68 - '403': &72 + default: *75 + '403': &79 description: Forbidden Gist content: application/json: @@ -12243,7 +12802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *69 + - *76 requestBody: required: true content: @@ -12307,9 +12866,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - updateGist: *68 + updateGist: *75 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -12467,7 +13026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -12496,7 +13055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12506,7 +13065,7 @@ paths: application/json: schema: type: array - items: &70 + items: &77 title: Gist Comment description: A comment made to a gist. type: object @@ -12544,7 +13103,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *60 + author_association: *67 required: - url - id @@ -12609,7 +13168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *69 + - *76 requestBody: required: true content: @@ -12635,9 +13194,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: &71 + default: &78 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -12695,8 +13254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *69 - - &73 + - *76 + - &80 name: comment_id description: The unique identifier of the comment. in: path @@ -12709,12 +13268,12 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '304': *35 '404': *6 - '403': *72 + '403': *79 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12736,8 +13295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *69 - - *73 + - *76 + - *80 requestBody: required: true content: @@ -12763,9 +13322,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '404': *6 x-github: githubCloudOnly: false @@ -12782,8 +13341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *69 - - *73 + - *76 + - *80 responses: '204': description: Response @@ -12806,7 +13365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12907,7 +13466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12917,7 +13476,7 @@ paths: application/json: schema: type: array - items: *67 + items: *74 examples: default: value: @@ -12982,13 +13541,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *69 + - *76 responses: '201': description: Response content: application/json: - schema: *65 + schema: *72 examples: default: value: @@ -13059,7 +13618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *69 + - *76 responses: '204': description: Response if gist is starred @@ -13089,7 +13648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -13111,7 +13670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -13140,7 +13699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *69 + - *76 - name: sha in: path required: true @@ -13151,9 +13710,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - default: *68 + default: *75 '422': *15 '404': *6 '403': *27 @@ -13314,7 +13873,7 @@ paths: type: integer repositories: type: array - items: *59 + items: *66 repository_selection: type: string examples: @@ -13522,7 +14081,7 @@ paths: - closed - all default: open - - &193 + - &199 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13541,7 +14100,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - name: collab in: query required: false @@ -13571,9 +14130,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: &194 + default: &200 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13853,7 +14412,7 @@ paths: application/json: schema: type: array - items: *75 + items: *82 examples: default: value: @@ -14151,7 +14710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &76 + X-CommonMarker-Version: &83 example: 0.17.4 schema: type: string @@ -14206,7 +14765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *76 + X-CommonMarker-Version: *83 content: text/html: schema: @@ -14235,7 +14794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &79 + - &86 name: account_id description: account_id parameter in: path @@ -14247,7 +14806,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &85 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -14281,7 +14840,7 @@ paths: - 'null' id: type: integer - plan: &77 + plan: &84 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -14384,7 +14943,7 @@ paths: - 'null' updated_at: type: string - plan: *77 + plan: *84 required: - url - id @@ -14392,7 +14951,7 @@ paths: - login - marketplace_purchase examples: - default: &80 + default: &87 value: url: https://api.github.com/orgs/github type: Organization @@ -14477,9 +15036,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &81 + default: &88 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -14519,14 +15078,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &82 + - &89 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &83 + - &90 name: sort description: The property to sort the results by. in: query @@ -14556,9 +15115,9 @@ paths: application/json: schema: type: array - items: *78 + items: *85 examples: - default: &84 + default: &91 value: - url: https://api.github.com/orgs/github type: Organization @@ -14632,15 +15191,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *79 + - *86 responses: '200': description: Response content: application/json: - schema: *78 + schema: *85 examples: - default: *80 + default: *87 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -14672,9 +15231,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *81 + default: *88 headers: Link: *57 '401': *23 @@ -14697,8 +15256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *82 - - *83 + - *89 + - *90 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -14718,9 +15277,9 @@ paths: application/json: schema: type: array - items: *78 + items: *85 examples: - default: *84 + default: *91 headers: Link: *57 '401': *23 @@ -14985,14 +15544,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &306 + - &310 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &307 + - &311 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15009,7 +15568,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -15063,7 +15622,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &315 + '301': &319 description: Moved permanently content: application/json: @@ -15085,7 +15644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &527 + - &531 name: all description: If `true`, show notifications marked as read. in: query @@ -15093,7 +15652,7 @@ paths: schema: type: boolean default: false - - &528 + - &532 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15102,8 +15661,8 @@ paths: schema: type: boolean default: false - - *64 - - &529 + - *71 + - &533 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: @@ -15128,14 +15687,14 @@ paths: application/json: schema: type: array - items: &86 + items: &93 title: Thread description: Thread type: object properties: id: type: string - repository: &120 + repository: &127 title: Minimal Repository description: Minimal Repository type: object @@ -15474,7 +16033,7 @@ paths: type: boolean examples: - false - security_and_analysis: &242 + security_and_analysis: &246 type: - object - 'null' @@ -15639,7 +16198,7 @@ paths: - url - subscription_url examples: - default: &530 + default: &534 value: - id: '1' repository: @@ -15805,7 +16364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &87 + - &94 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -15819,7 +16378,7 @@ paths: description: Response content: application/json: - schema: *86 + schema: *93 examples: default: value: @@ -15921,7 +16480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *87 + - *94 responses: '205': description: Reset Content @@ -15943,7 +16502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *87 + - *94 responses: '204': description: No content @@ -15966,13 +16525,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *87 + - *94 responses: '200': description: Response content: application/json: - schema: &88 + schema: &95 title: Thread Subscription description: Thread Subscription type: object @@ -16016,7 +16575,7 @@ paths: - url - subscribed examples: - default: &89 + default: &96 value: subscribed: true ignored: false @@ -16047,7 +16606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *87 + - *94 requestBody: required: false content: @@ -16068,9 +16627,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *95 examples: - default: *89 + default: *96 '304': *35 '403': *27 '401': *23 @@ -16093,7 +16652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *87 + - *94 responses: '204': description: Response @@ -16188,7 +16747,7 @@ paths: application/json: schema: type: array - items: &150 + items: &156 title: Organization Simple description: A GitHub organization. type: object @@ -16260,7 +16819,7 @@ paths: - avatar_url - description examples: - default: &639 + default: &644 value: - login: github id: 1 @@ -16300,7 +16859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &90 + - &97 name: org description: The organization name. The name is not case sensitive. in: path @@ -16457,7 +17016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -16523,7 +17082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *90 + - *97 requestBody: required: true content: @@ -16571,8 +17130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *90 - - &669 + - *97 + - &674 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16581,7 +17140,7 @@ paths: required: false schema: type: integer - - &670 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16590,7 +17149,7 @@ paths: required: false schema: type: integer - - &671 + - &676 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16599,7 +17158,7 @@ paths: required: false schema: type: integer - - &672 + - &677 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16682,8 +17241,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16709,13 +17268,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &92 + schema: &99 title: Organization Full description: Organization Full type: object @@ -17110,7 +17669,7 @@ paths: - updated_at - archived_at examples: - default-response: &93 + default-response: &100 value: login: github id: 1 @@ -17210,7 +17769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *90 + - *97 requestBody: required: false content: @@ -17427,17 +17986,17 @@ paths: description: Response content: application/json: - schema: *92 + schema: *99 examples: - default: *93 + default: *100 '422': description: Validation failed content: application/json: schema: oneOf: - - *94 - - *95 + - *101 + - *102 '409': *45 x-github: githubCloudOnly: false @@ -17461,7 +18020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *90 + - *97 responses: '202': *37 '404': *6 @@ -17486,7 +18045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -17533,7 +18092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -17551,7 +18110,7 @@ paths: type: integer repository_cache_usages: type: array - items: &320 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17609,7 +18168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -17627,7 +18186,7 @@ paths: type: integer runners: type: array - items: &96 + items: &103 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17684,7 +18243,7 @@ paths: - size_gb - display_name - source - machine_size_details: &99 + machine_size_details: &106 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17789,7 +18348,7 @@ paths: - public_ip_enabled - platform examples: - default: &119 + default: &126 value: total_count: 2 runners: @@ -17849,7 +18408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -17916,9 +18475,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: &100 + default: &107 value: id: 5 name: My hosted ubuntu runner @@ -17957,7 +18516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -17973,7 +18532,7 @@ paths: type: integer images: type: array - items: &97 + items: &104 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18013,7 +18572,7 @@ paths: - display_name - source examples: - default: &98 + default: &105 value: id: ubuntu-20.04 platform: linux-x64 @@ -18037,7 +18596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18053,9 +18612,9 @@ paths: type: integer images: type: array - items: *97 + items: *104 examples: - default: *98 + default: *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18072,7 +18631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18127,7 +18686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18143,7 +18702,7 @@ paths: type: integer machine_specs: type: array - items: *99 + items: *106 examples: default: value: @@ -18168,7 +18727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18212,8 +18771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *90 - - &101 + - *97 + - &108 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18225,9 +18784,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 headers: Link: *57 x-github: @@ -18247,8 +18806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *101 + - *97 + - *108 requestBody: required: true content: @@ -18286,9 +18845,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18304,16 +18863,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *101 + - *97 + - *108 responses: '202': description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18333,13 +18892,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *90 + - *97 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &102 + schema: &109 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18353,7 +18912,7 @@ paths: required: - include_claim_keys examples: - default: &103 + default: &110 value: include_claim_keys: - repo @@ -18375,20 +18934,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: *102 + schema: *109 examples: - default: *103 + default: *110 responses: '201': description: Empty response content: application/json: - schema: &129 + schema: &136 title: Empty Object description: An object without any properties. type: object @@ -18418,7 +18977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18427,7 +18986,7 @@ paths: schema: type: object properties: - enabled_repositories: &104 + enabled_repositories: &111 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18440,7 +18999,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &105 + allowed_actions: &112 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18448,12 +19007,12 @@ paths: - all - local_only - selected - selected_actions_url: &326 + selected_actions_url: &330 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &106 + sha_pinning_required: &113 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18484,7 +19043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -18495,9 +19054,9 @@ paths: schema: type: object properties: - enabled_repositories: *104 - allowed_actions: *105 - sha_pinning_required: *106 + enabled_repositories: *111 + allowed_actions: *112 + sha_pinning_required: *113 required: - enabled_repositories examples: @@ -18525,13 +19084,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &330 + schema: &334 type: object properties: days: @@ -18568,12 +19127,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &331 + schema: &335 type: object properties: days: @@ -18610,13 +19169,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &107 + schema: &114 type: object properties: approval_policy: @@ -18630,7 +19189,7 @@ paths: required: - approval_policy examples: - default: &332 + default: &336 value: approval_policy: first_time_contributors '404': *6 @@ -18651,7 +19210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -18661,7 +19220,7 @@ paths: required: true content: application/json: - schema: *107 + schema: *114 examples: default: summary: Set approval policy to first time contributors @@ -18683,13 +19242,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &333 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -18715,7 +19274,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &108 + default: &115 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18738,12 +19297,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &334 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -18766,7 +19325,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *108 + default: *115 responses: '204': description: Empty response for successful settings update @@ -18796,7 +19355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -18814,9 +19373,9 @@ paths: type: number repositories: type: array - items: *59 + items: *66 examples: - default: &112 + default: &119 value: total_count: 1 repositories: @@ -18956,7 +19515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -19000,8 +19559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *90 - - &109 + - *97 + - &116 name: repository_id description: The unique identifier of the repository. in: path @@ -19029,8 +19588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: Response @@ -19053,13 +19612,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &110 + schema: &117 type: object properties: github_owned_allowed: @@ -19081,7 +19640,7 @@ paths: items: type: string examples: - default: &111 + default: &118 value: github_owned_allowed: true verified_allowed: false @@ -19106,7 +19665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -19114,9 +19673,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *117 examples: - selected_actions: *111 + selected_actions: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19136,7 +19695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -19184,7 +19743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19231,7 +19790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -19246,9 +19805,9 @@ paths: type: integer repositories: type: array - items: *59 + items: *66 examples: - default: *112 + default: *119 '403': *27 '404': *6 x-github: @@ -19268,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19316,8 +19875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: No content @@ -19343,8 +19902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: No content @@ -19372,23 +19931,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &335 + schema: &339 type: object properties: - default_workflow_permissions: &113 + default_workflow_permissions: &120 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &114 + can_approve_pull_request_reviews: &121 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19396,7 +19955,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &115 + default: &122 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19421,7 +19980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Success response @@ -19429,13 +19988,13 @@ paths: required: false content: application/json: - schema: &336 + schema: &340 type: object properties: - default_workflow_permissions: *113 - can_approve_pull_request_reviews: *114 + default_workflow_permissions: *120 + can_approve_pull_request_reviews: *121 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19455,7 +20014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *90 + - *97 - *17 - *19 - name: visible_to_repository @@ -19480,7 +20039,7 @@ paths: type: number runner_groups: type: array - items: &116 + items: &123 type: object properties: id: @@ -19597,7 +20156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19670,9 +20229,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: &118 + default: &125 value: id: 2 name: octo-runner-group @@ -19707,8 +20266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *90 - - &117 + - *97 + - &124 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19720,7 +20279,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: default: value: @@ -19756,8 +20315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -19813,9 +20372,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: *118 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19834,8 +20393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *90 - - *117 + - *97 + - *124 responses: '204': description: Response @@ -19858,8 +20417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *17 - *19 responses: @@ -19877,9 +20436,9 @@ paths: type: number runners: type: array - items: *96 + items: *103 examples: - default: *119 + default: *126 headers: Link: *57 x-github: @@ -19901,8 +20460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *19 - *17 responses: @@ -19920,9 +20479,9 @@ paths: type: number repositories: type: array - items: *120 + items: *127 examples: - default: &626 + default: &631 value: total_count: 1 repositories: @@ -20174,8 +20733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -20219,9 +20778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 - - *109 + - *97 + - *124 + - *116 responses: '204': description: Response @@ -20243,9 +20802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 - - *109 + - *97 + - *124 + - *116 responses: '204': description: Response @@ -20268,8 +20827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *17 - *19 responses: @@ -20287,7 +20846,7 @@ paths: type: number runners: type: array - items: &122 + items: &129 title: Self hosted runners description: A self hosted runner type: object @@ -20321,7 +20880,7 @@ paths: type: boolean labels: type: array - items: &125 + items: &132 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20351,7 +20910,7 @@ paths: - busy - labels examples: - default: &123 + default: &130 value: total_count: 2 runners: @@ -20410,8 +20969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -20455,9 +21014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *90 - - *117 - - &121 + - *97 + - *124 + - &128 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20485,9 +21044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *90 - - *117 - - *121 + - *97 + - *124 + - *128 responses: '204': description: Response @@ -20517,7 +21076,7 @@ paths: in: query schema: type: string - - *90 + - *97 - *17 - *19 responses: @@ -20535,9 +21094,9 @@ paths: type: integer runners: type: array - items: *122 + items: *129 examples: - default: *123 + default: *130 headers: Link: *57 x-github: @@ -20561,7 +21120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -20569,7 +21128,7 @@ paths: application/json: schema: type: array - items: &337 + items: &341 title: Runner Application description: Runner Application type: object @@ -20594,7 +21153,7 @@ paths: - download_url - filename examples: - default: &338 + default: &342 value: - os: osx architecture: x64 @@ -20637,7 +21196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -20680,7 +21239,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &339 + '201': &343 description: Response content: application/json: @@ -20690,7 +21249,7 @@ paths: - runner - encoded_jit_config properties: - runner: *122 + runner: *129 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20747,13 +21306,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *90 + - *97 responses: '201': description: Response content: application/json: - schema: &124 + schema: &131 title: Authentication Token description: Authentication Token type: object @@ -20777,7 +21336,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *59 + items: *66 single_file: type: - string @@ -20795,7 +21354,7 @@ paths: - token - expires_at examples: - default: &340 + default: &344 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20826,15 +21385,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *90 + - *97 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: &341 + default: &345 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20859,16 +21418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: '200': description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: &342 + default: &346 value: id: 23 name: MBP @@ -20909,8 +21468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: '204': description: Response @@ -20936,10 +21495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: - '200': &126 + '200': &133 description: Response content: application/json: @@ -20953,7 +21512,7 @@ paths: type: integer labels: type: array - items: *125 + items: *132 examples: default: value: @@ -20992,8 +21551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 requestBody: required: true content: @@ -21017,7 +21576,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21041,8 +21600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 requestBody: required: true content: @@ -21067,7 +21626,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21091,10 +21650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: - '200': &343 + '200': &347 description: Response content: application/json: @@ -21108,7 +21667,7 @@ paths: type: integer labels: type: array - items: *125 + items: *132 examples: default: value: @@ -21149,9 +21708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 - - &344 + - *97 + - *128 + - &348 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21159,7 +21718,7 @@ paths: schema: type: string responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21184,7 +21743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -21202,7 +21761,7 @@ paths: type: integer secrets: type: array - items: &127 + items: &134 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21277,13 +21836,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &356 + schema: &360 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21318,7 +21877,7 @@ paths: - key_id - key examples: - default: &357 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21343,8 +21902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *90 - - &128 + - *97 + - &135 name: secret_name description: The name of the secret. in: path @@ -21356,7 +21915,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *134 examples: default: value: @@ -21386,8 +21945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -21444,7 +22003,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -21470,8 +22029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -21497,8 +22056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -21516,9 +22075,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: &132 + default: &139 value: total_count: 1 repositories: @@ -21610,8 +22169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -21663,8 +22222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -21697,8 +22256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -21730,8 +22289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *90 - - &325 + - *97 + - &329 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)." @@ -21755,7 +22314,7 @@ paths: type: integer variables: type: array - items: &130 + items: &137 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21845,7 +22404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *90 + - *97 requestBody: required: true content: @@ -21893,7 +22452,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -21918,8 +22477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *90 - - &131 + - *97 + - &138 name: name description: The name of the variable. in: path @@ -21931,7 +22490,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *137 examples: default: value: @@ -21961,8 +22520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 requestBody: required: true content: @@ -22024,8 +22583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 responses: '204': description: Response @@ -22051,8 +22610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - *19 - *17 responses: @@ -22070,9 +22629,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22098,8 +22657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 requestBody: required: true content: @@ -22148,8 +22707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - name: repository_id in: path required: true @@ -22183,8 +22742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - name: repository_id in: path required: true @@ -22215,7 +22774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *90 + - *97 requestBody: required: true content: @@ -22310,11 +22869,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -22353,7 +22916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *90 + - *97 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22439,7 +23002,7 @@ paths: - *17 - *38 - *39 - - *90 + - *97 requestBody: required: true content: @@ -22462,12 +23025,12 @@ paths: required: - subject_digests examples: - default: &658 + default: &663 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &659 + withPredicateType: &664 value: subject_digests: - sha256:abc123 @@ -22526,7 +23089,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &660 + default: &665 value: attestations_subject_digests: - sha256:abc: @@ -22635,7 +23198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *90 + - *97 requestBody: required: true content: @@ -22700,7 +23263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *90 + - *97 - name: subject_digest description: Subject Digest in: path @@ -22731,7 +23294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *90 + - *97 - name: attestation_id description: Attestation ID in: path @@ -22769,7 +23332,7 @@ paths: - *17 - *38 - *39 - - *90 + - *97 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22820,7 +23383,7 @@ paths: bundle_url: type: string examples: - default: &370 + default: &374 value: attestations: - bundle: @@ -22927,7 +23490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -22939,26 +23502,7 @@ paths: type: array items: *4 examples: - default: &195 - value: - - 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 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22977,14 +23521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *90 - - &133 - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string + - *97 + - *62 responses: '204': description: If the user is blocked @@ -23009,8 +23547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -23030,8 +23568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -23056,7 +23594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *90 + - *97 - *19 - *17 - *46 @@ -23064,7 +23602,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &134 + schema: &140 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23090,7 +23628,7 @@ paths: application/json: schema: type: array - items: &135 + items: &141 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23121,7 +23659,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &151 + items: &157 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23180,7 +23718,7 @@ paths: parent: anyOf: - type: 'null' - - &207 + - &211 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -23296,7 +23834,7 @@ paths: - string - 'null' format: date-time - state: *134 + state: *140 contact_link: description: The contact link of the campaign. type: @@ -23394,7 +23932,7 @@ paths: headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23418,7 +23956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -23513,9 +24051,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: &136 + default: &142 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23564,7 +24102,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23586,7 +24124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23598,16 +24136,16 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23628,7 +24166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23678,7 +24216,7 @@ paths: - string - 'null' format: uri - state: *134 + state: *140 examples: default: value: @@ -23688,9 +24226,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 '400': description: Bad Request content: @@ -23702,7 +24240,7 @@ paths: content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23723,7 +24261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23734,7 +24272,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23756,18 +24294,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *90 - - &395 + - *97 + - &399 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: &139 + schema: &145 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &400 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 @@ -23775,7 +24313,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &140 + schema: &146 type: - string - 'null' @@ -23791,7 +24329,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &402 type: string description: State of a code scanning alert. enum: @@ -23814,7 +24352,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &403 type: string description: Severity of a code scanning alert. enum: @@ -23840,13 +24378,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &400 + instances_url: &404 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &141 + state: &147 type: - string - 'null' @@ -23856,13 +24394,13 @@ paths: - dismissed - fixed - - fixed_at: *137 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: &401 + dismissed_at: *144 + dismissed_reason: &405 type: - string - 'null' @@ -23873,14 +24411,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &406 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &407 type: object properties: id: @@ -23941,26 +24479,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &408 type: object properties: - name: *139 + name: *145 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *140 - most_recent_instance: &405 + guid: *146 + most_recent_instance: &409 type: object properties: - ref: &397 + ref: &401 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &419 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23971,13 +24509,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &416 + category: &420 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: *141 + state: *147 commit_sha: type: string message: @@ -24269,7 +24807,7 @@ paths: headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24291,7 +24829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *90 + - *97 - name: target_type in: query description: The target type of the code security configuration @@ -24402,7 +24940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *90 + - *97 requestBody: required: true content: @@ -24480,7 +25018,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *142 + code_scanning_options: *148 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24623,7 +25161,7 @@ paths: application/json: schema: *41 examples: - default: *143 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24645,15 +25183,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 '304': *35 '403': *27 '404': *6 @@ -24679,7 +25217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *90 + - *97 requestBody: required: true content: @@ -24705,7 +25243,7 @@ paths: - 32 - 91 responses: - '204': *146 + '204': *152 '400': *14 '403': *27 '404': *6 @@ -24731,7 +25269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *90 + - *97 - *43 responses: '200': @@ -24740,7 +25278,7 @@ paths: application/json: schema: *41 examples: - default: *143 + default: *149 '304': *35 '403': *27 '404': *6 @@ -24764,7 +25302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25021,10 +25559,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *90 + - *97 - *43 responses: - '204': *146 + '204': *152 '400': *14 '403': *27 '404': *6 @@ -25052,7 +25590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25116,7 +25654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25162,7 +25700,7 @@ paths: default: value: default_for_new_repos: all - configuration: *143 + configuration: *149 '403': *27 '404': *6 x-github: @@ -25186,7 +25724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *90 + - *97 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -25215,13 +25753,13 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *148 + repository: *154 '403': *27 '404': *6 x-github: @@ -25245,7 +25783,7 @@ paths: parameters: - *17 - *19 - - *90 + - *97 responses: '200': description: Response @@ -25261,7 +25799,7 @@ paths: type: integer codespaces: type: array - items: &196 + items: &201 type: object title: Codespace description: A codespace. @@ -25292,11 +25830,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *120 + repository: *127 machine: anyOf: - type: 'null' - - &428 + - &432 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25583,7 +26121,7 @@ paths: - pulls_url - recent_folders examples: - default: &197 + default: &202 value: total_count: 3 codespaces: @@ -25993,7 +26531,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -26015,7 +26553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *90 + - *97 deprecated: true requestBody: required: true @@ -26059,7 +26597,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26082,7 +26620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *90 + - *97 deprecated: true requestBody: required: true @@ -26114,7 +26652,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26137,7 +26675,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *90 + - *97 requestBody: required: true content: @@ -26168,7 +26706,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26189,7 +26727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -26207,7 +26745,7 @@ paths: type: integer secrets: type: array - items: &149 + items: &155 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26248,7 +26786,7 @@ paths: - updated_at - visibility examples: - default: &429 + default: &433 value: total_count: 2 secrets: @@ -26280,13 +26818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &430 + schema: &434 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26321,7 +26859,7 @@ paths: - key_id - key examples: - default: &431 + default: &435 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26344,16 +26882,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: - default: &433 + default: &437 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26380,8 +26918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -26436,7 +26974,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -26462,8 +27000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -26488,8 +27026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -26507,9 +27045,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 '404': *6 x-github: githubCloudOnly: false @@ -26531,8 +27069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -26582,8 +27120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -26616,8 +27154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -26656,7 +27194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: OK @@ -26765,7 +27303,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -26797,7 +27335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *90 + - *97 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -26820,7 +27358,7 @@ paths: currently being billed. seats: type: array - items: &199 + items: &204 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26833,70 +27371,13 @@ paths: organization: anyOf: - type: 'null' - - *150 + - *156 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *151 - - title: Enterprise Team - description: Group of enterprise owners and/or members - type: object - properties: - id: - type: integer - format: int64 - name: - type: string - description: - type: string - slug: - type: string - url: - type: string - format: uri - sync_to_organizations: - type: string - examples: - - disabled | all - organization_selection_type: - type: string - examples: - - disabled | all - group_id: - type: - - string - - 'null' - examples: - - 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - type: - - string - - 'null' - examples: - - Justice League - html_url: - type: string - format: uri - examples: - - https://github.com/enterprises/dc/teams/justice-league - members_url: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - id - - url - - members_url - - name - - html_url - - slug - - created_at - - updated_at + - *157 + - *58 type: - 'null' - object @@ -27027,7 +27508,7 @@ paths: site_admin: false headers: Link: *57 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27060,7 +27541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27102,7 +27583,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27138,7 +27619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27180,7 +27661,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27218,7 +27699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27259,7 +27740,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27295,7 +27776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27337,7 +27818,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27376,7 +27857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *90 + - *97 - 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`). @@ -27408,7 +27889,7 @@ paths: application/json: schema: type: array - items: &288 + items: &292 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27723,7 +28204,7 @@ paths: - date additionalProperties: true examples: - default: &289 + default: &293 value: - date: '2024-06-24' total_active_users: 24 @@ -27822,10 +28303,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *91 + '500': *98 '403': *27 '404': *6 - '422': &290 + '422': &294 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27852,12 +28333,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *90 - - *152 - - *153 - - *154 - - *155 - - *156 + - *97 + - *158 + - *159 + - *160 + - *161 + - *162 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27873,14 +28354,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *157 - - *158 - - *159 + - *163 + - *164 + - *165 - *46 - *38 - *39 - - *160 - - *161 + - *166 + - *167 - *17 responses: '200': @@ -27889,9 +28370,9 @@ paths: application/json: schema: type: array - items: *162 + items: *168 examples: - default: *163 + default: *169 '304': *35 '400': *14 '403': *27 @@ -27917,7 +28398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -27935,7 +28416,7 @@ paths: type: integer secrets: type: array - items: &164 + items: &170 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28008,13 +28489,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &455 + schema: &459 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28033,7 +28514,7 @@ paths: - key_id - key examples: - default: &456 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28056,14 +28537,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -28091,8 +28572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -28147,7 +28628,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -28171,8 +28652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -28196,8 +28677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -28215,9 +28696,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28238,8 +28719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -28289,8 +28770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -28321,8 +28802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -28352,7 +28833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -28360,7 +28841,7 @@ paths: application/json: schema: type: array - items: &209 + items: &213 title: Package description: A software package type: object @@ -28413,7 +28894,7 @@ paths: repository: anyOf: - type: 'null' - - *120 + - *127 created_at: type: string format: date-time @@ -28431,7 +28912,7 @@ paths: - created_at - updated_at examples: - default: &210 + default: &214 value: - id: 197 name: hello_docker @@ -28509,7 +28990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28519,7 +29000,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: 200-response: value: @@ -28588,7 +29069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28598,7 +29079,7 @@ paths: application/json: schema: type: array - items: &187 + items: &193 title: Organization Invitation description: Organization Invitation type: object @@ -28652,7 +29133,7 @@ paths: - invitation_teams_url - node_id examples: - default: &188 + default: &194 value: - id: 1 login: monalisa @@ -28709,7 +29190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28719,7 +29200,7 @@ paths: application/json: schema: type: array - items: &165 + items: &171 title: Org Hook description: Org Hook type: object @@ -28842,7 +29323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *90 + - *97 requestBody: required: true content: @@ -28904,9 +29385,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: - default: &166 + default: &172 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28953,8 +29434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *90 - - &167 + - *97 + - &173 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. @@ -28967,9 +29448,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: - default: *166 + default: *172 '404': *6 x-github: githubCloudOnly: false @@ -28996,8 +29477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 requestBody: required: false content: @@ -29043,7 +29524,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: default: value: @@ -29084,8 +29565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 responses: '204': description: Response @@ -29112,8 +29593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *90 - - *167 + - *97 + - *173 responses: '200': description: Response @@ -29143,8 +29624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *90 - - *167 + - *97 + - *173 requestBody: required: false content: @@ -29194,10 +29675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *17 - - *168 + - *174 responses: '200': description: Response @@ -29205,9 +29686,9 @@ paths: application/json: schema: type: array - items: *169 + items: *175 examples: - default: *170 + default: *176 '400': *14 '422': *15 x-github: @@ -29232,17 +29713,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *16 responses: '200': description: Response content: application/json: - schema: *171 + schema: *177 examples: - default: *172 + default: *178 '400': *14 '422': *15 x-github: @@ -29267,8 +29748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *16 responses: '202': *37 @@ -29297,8 +29778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 responses: '204': description: Response @@ -29320,8 +29801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *90 - - &177 + - *97 + - &183 name: actor_type in: path description: The type of the actor @@ -29334,14 +29815,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &178 + - &184 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &173 + - &179 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`.' @@ -29349,7 +29830,7 @@ paths: required: true schema: type: string - - &174 + - &180 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) @@ -29443,13 +29924,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *90 - - *173 - - *174 + - *97 + - *179 + - *180 - *19 - *17 - *46 - - &183 + - &189 name: sort description: The property to sort the results by. in: query @@ -29528,15 +30009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *90 - - *173 - - *174 + - *97 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: &175 + schema: &181 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29552,7 +30033,7 @@ paths: type: integer format: int64 examples: - default: &176 + default: &182 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29572,24 +30053,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *90 - - &179 + - *97 + - &185 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *173 - - *174 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 x-github: enabledForGitHubApps: true category: orgs @@ -29607,19 +30088,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *90 - - *173 - - *174 - - *177 - - *178 + - *97 + - *179 + - *180 + - *183 + - *184 responses: '200': description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 x-github: enabledForGitHubApps: true category: orgs @@ -29636,10 +30117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *90 - - *173 - - *174 - - &180 + - *97 + - *179 + - *180 + - &186 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29652,7 +30133,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &187 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29668,7 +30149,7 @@ paths: type: integer format: int64 examples: - default: &182 + default: &188 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29704,19 +30185,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *90 + - *97 + - *185 - *179 - - *173 - - *174 - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 x-github: enabledForGitHubApps: true category: orgs @@ -29733,20 +30214,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *90 - - *177 - - *178 - - *173 - - *174 + - *97 + - *183 + - *184 + - *179 - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 x-github: enabledForGitHubApps: true category: orgs @@ -29763,14 +30244,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *90 + - *97 + - *185 - *179 - - *173 - - *174 + - *180 - *19 - *17 - *46 - - *183 + - *189 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29846,7 +30327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *90 + - *97 responses: '200': description: Response @@ -29854,7 +30335,7 @@ paths: application/json: schema: *20 examples: - default: &494 + default: &498 value: id: 1 account: @@ -29923,7 +30404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -30012,7 +30493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -30020,12 +30501,12 @@ paths: application/json: schema: anyOf: - - &185 + - &191 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &184 + limit: &190 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30053,7 +30534,7 @@ paths: properties: {} additionalProperties: false examples: - default: &186 + default: &192 value: limit: collaborators_only origin: organization @@ -30077,18 +30558,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &495 + schema: &499 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *184 + limit: *190 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30113,9 +30594,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 '422': *15 x-github: githubCloudOnly: false @@ -30133,7 +30614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -30157,7 +30638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *90 + - *97 - *17 - *19 - name: role @@ -30191,9 +30672,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 '404': *6 @@ -30216,7 +30697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *90 + - *97 requestBody: required: false content: @@ -30270,7 +30751,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *193 examples: default: value: @@ -30324,8 +30805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *90 - - &189 + - *97 + - &195 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30355,8 +30836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *90 - - *189 + - *97 + - *195 - *17 - *19 responses: @@ -30366,9 +30847,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: &208 + default: &212 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30403,7 +30884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -30411,7 +30892,7 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: default: value: @@ -30449,7 +30930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -30499,9 +30980,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: &191 + default: &197 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30533,8 +31014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *90 - - &192 + - *97 + - &198 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30590,9 +31071,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '404': *6 '422': *7 x-github: @@ -30616,8 +31097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *90 - - *192 + - *97 + - *198 responses: '204': description: Response @@ -30650,7 +31131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *90 + - *97 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30680,7 +31161,7 @@ paths: - closed - all default: open - - *193 + - *199 - name: type description: Can be the name of an issue type. in: query @@ -30699,7 +31180,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -30709,9 +31190,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *194 + default: *200 headers: Link: *57 '404': *6 @@ -30733,7 +31214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *90 + - *97 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30771,7 +31252,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '422': *15 @@ -30791,8 +31272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response if requester is an organization member and user is @@ -30826,8 +31307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -30853,8 +31334,8 @@ paths: parameters: - *17 - *19 - - *90 - - *133 + - *97 + - *62 responses: '200': description: Response @@ -30870,11 +31351,11 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -30897,9 +31378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *90 - - *133 - - &198 + - *97 + - *62 + - &203 name: codespace_name in: path required: true @@ -30909,7 +31390,7 @@ paths: responses: '202': *37 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -30932,17 +31413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *90 - - *133 - - *198 + - *97 + - *62 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: &427 + default: &431 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31084,7 +31565,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -31115,14 +31596,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *199 + schema: *204 examples: default: value: @@ -31166,7 +31647,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -31191,14 +31672,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '200': description: Response content: application/json: - schema: &200 + schema: &205 title: Org Membership description: Org Membership type: object @@ -31247,7 +31728,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *150 + organization: *156 user: anyOf: - type: 'null' @@ -31267,7 +31748,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &201 + response-if-user-has-an-active-admin-membership-with-organization: &206 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31335,8 +31816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 requestBody: required: false content: @@ -31364,9 +31845,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *205 examples: - response-if-user-already-had-membership-with-organization: *201 + response-if-user-already-had-membership-with-organization: *206 '422': *15 '403': *27 x-github: @@ -31390,8 +31871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -31416,7 +31897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *90 + - *97 - *17 - *19 - name: exclude @@ -31438,7 +31919,7 @@ paths: application/json: schema: type: array - items: &202 + items: &207 title: Migration description: A migration. type: object @@ -31480,7 +31961,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *59 + items: *66 url: type: string format: uri @@ -31695,7 +32176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *90 + - *97 requestBody: required: true content: @@ -31776,7 +32257,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -31954,8 +32435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *90 - - &203 + - *97 + - &208 name: migration_id description: The unique identifier of the migration. in: path @@ -31983,7 +32464,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -32152,8 +32633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *90 - - *203 + - *97 + - *208 responses: '302': description: Response @@ -32174,8 +32655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *90 - - *203 + - *97 + - *208 responses: '204': description: Response @@ -32198,9 +32679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *90 - - *203 - - &638 + - *97 + - *208 + - &643 name: repo_name description: repo_name parameter in: path @@ -32227,8 +32708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *90 - - *203 + - *97 + - *208 - *17 - *19 responses: @@ -32238,9 +32719,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: &215 + default: &219 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32377,7 +32858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response - list of organization roles @@ -32393,7 +32874,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &206 + items: &210 title: Organization Role description: Organization roles type: object @@ -32542,14 +33023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *90 - - &204 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *97 + - *64 responses: '204': description: Response @@ -32574,9 +33049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *90 - - *204 - - &205 + - *97 + - *64 + - &209 name: role_id description: The unique identifier of the role. in: path @@ -32611,9 +33086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *90 - - *204 - - *205 + - *97 + - *64 + - *209 responses: '204': description: Response @@ -32638,8 +33113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -32664,9 +33139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *90 - - *133 - - *205 + - *97 + - *62 + - *209 responses: '204': description: Response @@ -32696,9 +33171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *90 - - *133 - - *205 + - *97 + - *62 + - *209 responses: '204': description: Response @@ -32726,14 +33201,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 responses: '200': description: Response content: application/json: - schema: *206 + schema: *210 examples: default: value: @@ -32783,8 +33258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 - *17 - *19 responses: @@ -32863,7 +33338,7 @@ paths: parent: anyOf: - type: 'null' - - *207 + - *211 required: - id - node_id @@ -32877,7 +33352,7 @@ paths: - slug - parent examples: - default: *208 + default: *212 headers: Link: *57 '404': @@ -32906,8 +33381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 - *17 - *19 responses: @@ -32936,7 +33411,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *207 + items: *211 name: type: - string @@ -33053,7 +33528,7 @@ paths: - type - url examples: - default: *195 + default: *61 headers: Link: *57 '404': @@ -33077,7 +33552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *90 + - *97 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -33104,7 +33579,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -33129,8 +33604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *90 - - *133 + - *97 + - *62 requestBody: required: false content: @@ -33187,8 +33662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -33245,8 +33720,8 @@ paths: - docker - nuget - container - - *90 - - &640 + - *97 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33282,12 +33757,12 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *210 + default: *214 '403': *27 '401': *23 - '400': &642 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33309,7 +33784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &211 + - &215 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -33327,20 +33802,20 @@ paths: - docker - nuget - container - - &212 + - &216 name: package_name description: The name of the package. in: path required: true schema: type: string - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: default: value: @@ -33392,9 +33867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 responses: '204': description: Response @@ -33426,9 +33901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 - name: token description: package token schema: @@ -33460,9 +33935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 - *19 - *17 - name: state @@ -33482,7 +33957,7 @@ paths: application/json: schema: type: array - items: &213 + items: &217 title: Package Version description: A version of a software package type: object @@ -33617,10 +34092,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - &214 + - *215 + - *216 + - *97 + - &218 name: package_version_id description: Unique identifier of the package version. in: path @@ -33632,7 +34107,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -33668,10 +34143,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - *214 + - *215 + - *216 + - *97 + - *218 responses: '204': description: Response @@ -33703,10 +34178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - *214 + - *215 + - *216 + - *97 + - *218 responses: '204': description: Response @@ -33733,10 +34208,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *90 + - *97 - *17 - *19 - - &216 + - &220 name: sort description: The property by which to sort the results. in: query @@ -33747,7 +34222,7 @@ paths: - created_at default: created_at - *46 - - &217 + - &221 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33759,7 +34234,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &218 + - &222 name: repository description: The name of the repository to use to filter the results. in: query @@ -33768,7 +34243,7 @@ paths: type: string examples: - Hello-World - - &219 + - &223 name: permission description: The permission to use to filter the results. in: query @@ -33777,7 +34252,7 @@ paths: type: string examples: - issues_read - - &220 + - &224 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33787,7 +34262,7 @@ paths: schema: type: string format: date-time - - &221 + - &225 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33797,7 +34272,7 @@ paths: schema: type: string format: date-time - - &222 + - &226 name: token_id description: The ID of the token in: query @@ -33810,7 +34285,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -33965,7 +34440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *90 + - *97 requestBody: required: true content: @@ -34007,7 +34482,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -34032,7 +34507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *90 + - *97 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34069,11 +34544,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34094,7 +34569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *90 + - *97 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34105,7 +34580,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *98 '404': *6 '403': *27 '200': @@ -34114,9 +34589,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -34139,19 +34614,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *90 + - *97 - *17 - *19 - - *216 - - *46 - - *217 - - *218 - - *219 - *220 + - *46 - *221 - *222 + - *223 + - *224 + - *225 + - *226 responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -34300,7 +34775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *90 + - *97 requestBody: required: true content: @@ -34335,7 +34810,7 @@ paths: - 1296269 - 1296280 responses: - '500': *91 + '500': *98 '404': *6 '202': *37 '403': *27 @@ -34360,7 +34835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *90 + - *97 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34388,9 +34863,9 @@ paths: value: action: revoke responses: - '500': *91 + '500': *98 '404': *6 - '204': *146 + '204': *152 '403': *27 '422': *15 x-github: @@ -34412,7 +34887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *90 + - *97 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34422,7 +34897,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *98 '404': *6 '403': *27 '200': @@ -34431,9 +34906,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -34457,7 +34932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -34475,7 +34950,7 @@ paths: type: integer configurations: type: array - items: &223 + items: &227 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34566,7 +35041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -34734,7 +35209,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &224 + org-private-registry-with-selected-visibility: &228 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34775,7 +35250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -34825,16 +35300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *223 + schema: *227 examples: - default: *224 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -34855,8 +35330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -34952,8 +35427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -34978,7 +35453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *90 + - *97 - name: state description: Indicates the state of the projects to return. in: query @@ -34999,7 +35474,7 @@ paths: application/json: schema: type: array - items: &225 + items: &229 title: Project description: Projects are a way to organize columns and cards of work. @@ -35155,7 +35630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *90 + - *97 requestBody: required: true content: @@ -35181,7 +35656,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -35219,7 +35694,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &312 + '410': &316 description: Gone content: application/json: @@ -35245,7 +35720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *90 + - *97 - name: q description: Limit results to projects of the specified type. in: query @@ -35262,7 +35737,7 @@ paths: application/json: schema: type: array - items: &226 + items: &230 title: Projects v2 Project description: A projects v2 project type: object @@ -35336,7 +35811,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &720 + - &725 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -35421,7 +35896,7 @@ paths: - deleted_at - deleted_by examples: - default: &227 + default: &231 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35524,22 +35999,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &228 + - &232 name: project_number description: The project's number. in: path required: true schema: type: integer - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -35561,8 +36036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *228 - - *90 + - *232 + - *97 - *17 - *38 - *39 @@ -35573,7 +36048,7 @@ paths: application/json: schema: type: array - items: &229 + items: &233 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35723,7 +36198,7 @@ paths: - updated_at - project_url examples: - default: &230 + default: &234 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35766,23 +36241,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *228 - - &653 + - *232 + - &658 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -35805,8 +36280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *228 - - *90 + - *232 + - *97 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -35836,7 +36311,7 @@ paths: application/json: schema: type: array - items: &234 + items: &238 title: Projects v2 Item description: An item belonging to a project type: object @@ -35853,7 +36328,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &233 + content_type: &237 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35910,7 +36385,7 @@ paths: - updated_at - archived_at examples: - default: &235 + default: &239 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36604,8 +37079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *90 - - *228 + - *97 + - *232 requestBody: required: true description: Details of the item to add to the project. @@ -36642,7 +37117,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &659 title: Projects v2 Item description: An item belonging to a project type: object @@ -36655,8 +37130,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *74 - - &440 + - *81 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -36776,7 +37251,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 active_lock_reason: type: - string @@ -36831,7 +37306,7 @@ paths: type: - array - 'null' - items: *151 + items: *157 head: type: object properties: @@ -36839,7 +37314,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: @@ -36859,7 +37334,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: @@ -36875,7 +37350,7 @@ paths: _links: type: object properties: - comments: &232 + comments: &236 title: Link description: Hypermedia Link type: object @@ -36884,13 +37359,13 @@ paths: type: string required: - href - commits: *232 - statuses: *232 - html: *232 - issue: *232 - review_comments: *232 - review_comment: *232 - self: *232 + commits: *236 + statuses: *236 + html: *236 + issue: *236 + review_comments: *236 + review_comment: *236 + self: *236 required: - comments - commits @@ -36900,8 +37375,8 @@ paths: - review_comments - review_comment - self - author_association: *60 - auto_merge: &537 + author_association: *67 + auto_merge: &541 title: Auto merge description: The status of auto merging a pull request. type: @@ -37003,7 +37478,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *233 + content_type: *237 creator: *4 created_at: type: string @@ -37040,7 +37515,7 @@ paths: - updated_at - archived_at examples: - default: &655 + default: &660 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37114,9 +37589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *228 - - *90 - - &236 + - *232 + - *97 + - &240 name: item_id description: The unique identifier of the project item. in: path @@ -37140,9 +37615,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -37163,9 +37638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *228 - - *90 - - *236 + - *232 + - *97 + - *240 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37238,9 +37713,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 '401': *23 '403': *27 '404': *6 @@ -37260,9 +37735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *228 - - *90 - - *236 + - *232 + - *97 + - *240 responses: '204': description: Response @@ -37281,12 +37756,12 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -37294,7 +37769,7 @@ paths: application/json: schema: type: array - items: &237 + items: &241 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37370,7 +37845,7 @@ paths: - property_name - value_type examples: - default: &238 + default: &242 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37413,12 +37888,12 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -37429,7 +37904,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *237 + items: *241 minItems: 1 maxItems: 100 required: @@ -37459,9 +37934,9 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: - default: *238 + default: *242 '403': *27 '404': *6 x-github: @@ -37477,13 +37952,13 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *90 - - &239 + - *97 + - &243 name: custom_property_name description: The custom property name in: path @@ -37495,9 +37970,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &240 + default: &244 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37526,13 +38001,13 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *90 - - *239 + - *97 + - *243 requestBody: required: true content: @@ -37610,9 +38085,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *240 + default: *244 '403': *27 '404': *6 x-github: @@ -37630,15 +38105,15 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *90 - - *239 + - *97 + - *243 responses: - '204': *146 + '204': *152 '403': *27 '404': *6 x-github: @@ -37659,7 +38134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *90 + - *97 - *17 - *19 - name: repository_query @@ -37700,7 +38175,7 @@ paths: - octocat/Hello-World properties: type: array - items: &241 + items: &245 title: Custom Property Value description: Custom property name and associated value type: object @@ -37770,7 +38245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *90 + - *97 requestBody: required: true content: @@ -37790,7 +38265,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *241 + items: *245 required: - repository_names - properties @@ -37831,7 +38306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *90 + - *97 - *17 - *19 responses: @@ -37843,7 +38318,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -37862,8 +38337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response if user is a public member @@ -37887,8 +38362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -37909,8 +38384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -37934,7 +38409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *90 + - *97 - name: type description: Specifies the types of repositories you want returned. in: query @@ -37980,9 +38455,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -38003,7 +38478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *90 + - *97 requestBody: required: true content: @@ -38185,7 +38660,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &318 title: Full Repository description: Full Repository type: object @@ -38531,7 +39006,7 @@ paths: template_repository: anyOf: - type: 'null' - - *59 + - *66 temp_clone_token: type: - string @@ -38631,13 +39106,13 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 organization: anyOf: - type: 'null' - *4 - parent: *59 - source: *59 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -38650,7 +39125,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &445 + code_of_conduct: &449 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -38680,7 +39155,7 @@ paths: - key - name - html_url - security_and_analysis: *242 + security_and_analysis: *246 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38764,7 +39239,7 @@ paths: - network_count - subscribers_count examples: - default: &316 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39282,10 +39757,10 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - *17 - *19 - - &559 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39304,7 +39779,7 @@ paths: application/json: schema: type: array - items: &268 + items: &272 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39339,7 +39814,7 @@ paths: source: type: string description: The name of the source - enforcement: &245 + enforcement: &249 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39352,7 +39827,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &246 + items: &250 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39423,7 +39898,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &243 + - &247 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39447,7 +39922,7 @@ paths: match. items: type: string - - &247 + - &251 title: Organization ruleset conditions type: object description: |- @@ -39461,7 +39936,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39495,7 +39970,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39517,7 +39992,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39530,7 +40005,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &244 + items: &248 title: Repository ruleset property targeting definition type: object @@ -39563,7 +40038,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *244 + items: *248 required: - repository_property type: @@ -39571,12 +40046,12 @@ paths: - object rules: type: array - items: &560 + items: &565 title: Repository Rule type: object description: A repository rule. oneOf: - - &248 + - &252 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39588,7 +40063,7 @@ paths: type: string enum: - creation - - &249 + - &253 title: update description: Only allow users with bypass permission to update matching refs. @@ -39609,7 +40084,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &250 + - &254 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39621,7 +40096,7 @@ paths: type: string enum: - deletion - - &251 + - &255 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39633,7 +40108,7 @@ paths: type: string enum: - required_linear_history - - &558 + - &562 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39711,7 +40186,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &252 + - &256 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39735,7 +40210,7 @@ paths: type: string required: - required_deployment_environments - - &253 + - &257 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39747,7 +40222,7 @@ paths: type: string enum: - required_signatures - - &254 + - &258 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39809,7 +40284,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &255 + - &259 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39857,7 +40332,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &256 + - &260 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39869,7 +40344,7 @@ paths: type: string enum: - non_fast_forward - - &257 + - &261 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39905,7 +40380,7 @@ paths: required: - operator - pattern - - &258 + - &262 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39941,7 +40416,7 @@ paths: required: - operator - pattern - - &259 + - &263 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39977,7 +40452,7 @@ paths: required: - operator - pattern - - &260 + - &264 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40013,7 +40488,7 @@ paths: required: - operator - pattern - - &261 + - &265 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40049,7 +40524,7 @@ paths: required: - operator - pattern - - &262 + - &266 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40074,7 +40549,7 @@ paths: type: string required: - restricted_file_paths - - &263 + - &267 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40098,7 +40573,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &264 + - &268 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40121,7 +40596,7 @@ paths: type: string required: - restricted_file_extensions - - &265 + - &269 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40146,7 +40621,7 @@ paths: maximum: 100 required: - max_file_size - - &266 + - &270 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40196,7 +40671,7 @@ paths: - repository_id required: - workflows - - &267 + - &271 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40257,6 +40732,31 @@ paths: - tool required: - code_scanning_tools + - &563 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code + review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft + pull requests before they are marked as ready + for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each + new push to the pull request. created_at: type: string format: date-time @@ -40293,7 +40793,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -40309,7 +40809,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 requestBody: description: Request body required: true @@ -40330,24 +40830,20 @@ paths: - push - repository default: branch - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *247 + items: *250 + conditions: *251 rules: type: array description: An array of rules within the ruleset. - items: &270 + items: &274 title: Repository Rule type: object description: A repository rule. oneOf: - - *248 - - *249 - - *250 - - *251 - *252 - *253 - *254 @@ -40364,6 +40860,10 @@ paths: - *265 - *266 - *267 + - *268 + - *269 + - *270 + - *271 required: - name - enforcement @@ -40401,9 +40901,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: &269 + default: &273 value: id: 21 name: super cool ruleset @@ -40443,7 +40943,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -40457,8 +40957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *90 - - &561 + - *97 + - &566 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 @@ -40473,7 +40973,7 @@ paths: in: query schema: type: string - - &562 + - &567 name: time_period description: |- The time period to filter by. @@ -40489,14 +40989,14 @@ paths: - week - month default: day - - &563 + - &568 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 - - &564 + - &569 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40516,7 +41016,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &570 title: Rule Suites description: Response type: array @@ -40572,7 +41072,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &566 + default: &571 value: - id: 21 actor_id: 12 @@ -40596,7 +41096,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40615,8 +41115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *90 - - &567 + - *97 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40632,7 +41132,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &573 title: Rule Suite description: Response type: object @@ -40739,7 +41239,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &569 + default: &574 value: id: 21 actor_id: 12 @@ -40774,7 +41274,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40800,7 +41300,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40812,11 +41312,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *269 + default: *273 '404': *6 - '500': *91 + '500': *98 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -40832,7 +41332,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40858,16 +41358,16 @@ paths: - tag - push - repository - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *247 + items: *250 + conditions: *251 rules: description: An array of rules within the ruleset. type: array - items: *270 + items: *274 examples: default: value: @@ -40902,11 +41402,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *269 + default: *273 '404': *6 - '500': *91 + '500': *98 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -40922,7 +41422,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40933,7 +41433,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *98 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -40945,7 +41445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *90 + - *97 - *17 - *19 - name: ruleset_id @@ -40961,7 +41461,7 @@ paths: application/json: schema: type: array - items: &271 + items: &275 title: Ruleset version type: object description: The historical version of a ruleset @@ -40985,7 +41485,7 @@ paths: type: string format: date-time examples: - default: &571 + default: &576 value: - version_id: 3 actor: @@ -41003,7 +41503,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41020,7 +41520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41038,9 +41538,9 @@ paths: description: Response content: application/json: - schema: &572 + schema: &577 allOf: - - *271 + - *275 - type: object required: - state @@ -41087,7 +41587,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41109,15 +41609,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *90 - - *272 - - *273 - - *274 - - *275 + - *97 + - *276 + - *277 + - *278 + - *279 - *46 - *19 - *17 - - &573 + - &578 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 @@ -41127,7 +41627,7 @@ paths: required: false schema: type: string - - &574 + - &579 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 @@ -41137,10 +41637,10 @@ paths: required: false schema: type: string - - *276 - - *277 - - *278 - - *279 + - *280 + - *281 + - *282 + - *283 responses: '200': description: Response @@ -41148,13 +41648,13 @@ paths: application/json: schema: type: array - items: *280 + items: *284 examples: - default: *281 + default: *285 headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41179,7 +41679,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *90 + - *97 responses: '200': description: Response @@ -41191,7 +41691,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &283 + pattern_config_version: &287 type: - string - 'null' @@ -41201,7 +41701,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &282 + items: &286 type: object properties: token_type: @@ -41270,7 +41770,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *282 + items: *286 examples: default: value: @@ -41319,7 +41819,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *90 + - *97 requestBody: required: true content: @@ -41327,7 +41827,7 @@ paths: schema: type: object properties: - pattern_config_version: *283 + pattern_config_version: *287 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41353,7 +41853,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *283 + custom_pattern_version: *287 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41407,7 +41907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *90 + - *97 - *46 - name: sort description: The property to sort the results by. @@ -41451,7 +41951,7 @@ paths: application/json: schema: type: array - items: &595 + items: &600 description: A repository security advisory. type: object properties: @@ -41695,7 +42195,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 credits_detailed: type: - array @@ -41706,7 +42206,7 @@ paths: type: object properties: user: *4 - type: *284 + type: *288 state: type: string description: The state of the user's acceptance of the @@ -41732,7 +42232,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *151 + items: *157 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -41770,7 +42270,7 @@ paths: - private_fork additionalProperties: false examples: - default: &596 + default: &601 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42149,7 +42649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *90 + - *97 responses: '200': description: Response @@ -42157,9 +42657,9 @@ paths: application/json: schema: type: array - items: *207 + items: *211 examples: - default: *208 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42182,8 +42682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -42208,8 +42708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -42238,13 +42738,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &663 + schema: &668 type: object properties: total_minutes_used: @@ -42314,7 +42814,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &664 + default: &669 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42344,13 +42844,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &665 + schema: &670 type: object properties: total_gigabytes_bandwidth_used: @@ -42368,7 +42868,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &666 + default: &671 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42394,13 +42894,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &667 + schema: &672 type: object properties: days_left_in_billing_cycle: @@ -42418,7 +42918,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &668 + default: &673 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -42442,7 +42942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -42460,7 +42960,7 @@ paths: type: integer network_configurations: type: array - items: &285 + items: &289 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42543,7 +43043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -42585,9 +43085,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: &286 + default: &290 value: id: 123456789ABCDEF name: My network configuration @@ -42615,8 +43115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 - - &287 + - *97 + - &291 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42628,9 +43128,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: *286 + default: *290 headers: Link: *57 x-github: @@ -42651,8 +43151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 - - *287 + - *97 + - *291 requestBody: required: true content: @@ -42691,9 +43191,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: *286 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42712,8 +43212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *90 - - *287 + - *97 + - *291 responses: '204': description: Response @@ -42736,7 +43236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *90 + - *97 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -42825,8 +43325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *90 - - *204 + - *97 + - *64 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -42858,13 +43358,13 @@ paths: application/json: schema: type: array - items: *288 + items: *292 examples: - default: *289 - '500': *91 + default: *293 + '500': *98 '403': *27 '404': *6 - '422': *290 + '422': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42882,7 +43382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *90 + - *97 - *17 - *19 responses: @@ -42892,9 +43392,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 headers: Link: *57 '403': *27 @@ -42916,7 +43416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *90 + - *97 requestBody: required: true content: @@ -42988,7 +43488,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &295 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43062,7 +43562,7 @@ paths: parent: anyOf: - type: 'null' - - *207 + - *211 members_count: type: integer examples: @@ -43368,7 +43868,7 @@ paths: - repos_count - organization examples: - default: &292 + default: &296 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43438,16 +43938,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *90 - - *204 + - *97 + - *64 responses: '200': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -43468,8 +43968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *90 - - *204 + - *97 + - *64 requestBody: required: false content: @@ -43532,16 +44032,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '201': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 '422': *15 '403': *27 @@ -43566,8 +44066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -43593,8 +44093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *90 - - *204 + - *97 + - *64 - *46 - *17 - *19 @@ -43611,7 +44111,7 @@ paths: application/json: schema: type: array - items: &293 + items: &297 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43702,7 +44202,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *61 + reactions: *68 required: - author - body @@ -43722,7 +44222,7 @@ paths: - updated_at - url examples: - default: &613 + default: &618 value: - author: login: octocat @@ -43796,8 +44296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *90 - - *204 + - *97 + - *64 requestBody: required: true content: @@ -43831,9 +44331,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: &294 + default: &298 value: author: login: octocat @@ -43905,9 +44405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *90 - - *204 - - &295 + - *97 + - *64 + - &299 name: discussion_number description: The number that identifies the discussion. in: path @@ -43919,9 +44419,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43943,9 +44443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: false content: @@ -43968,9 +44468,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: &614 + default: &619 value: author: login: octocat @@ -44040,9 +44540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 responses: '204': description: Response @@ -44068,9 +44568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 - *46 - *17 - *19 @@ -44081,7 +44581,7 @@ paths: application/json: schema: type: array - items: &296 + items: &300 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44146,7 +44646,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *61 + reactions: *68 required: - author - body @@ -44161,7 +44661,7 @@ paths: - updated_at - url examples: - default: &615 + default: &620 value: - author: login: octocat @@ -44229,9 +44729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: true content: @@ -44253,9 +44753,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: &297 + default: &301 value: author: login: octocat @@ -44321,10 +44821,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - &298 + - *97 + - *64 + - *299 + - &302 name: comment_number description: The number that identifies the comment. in: path @@ -44336,9 +44836,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44360,10 +44860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 requestBody: required: true content: @@ -44385,9 +44885,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: &616 + default: &621 value: author: login: octocat @@ -44451,10 +44951,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 responses: '204': description: Response @@ -44480,10 +44980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 - 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. @@ -44509,7 +45009,7 @@ paths: application/json: schema: type: array - items: &299 + items: &303 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44553,7 +45053,7 @@ paths: - content - created_at examples: - default: &301 + default: &305 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44603,10 +45103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 requestBody: required: true content: @@ -44639,9 +45139,9 @@ paths: team discussion comment content: application/json: - schema: *299 + schema: *303 examples: - default: &300 + default: &304 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44670,9 +45170,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44695,11 +45195,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *90 - - *204 - - *295 - - *298 - - &302 + - *97 + - *64 + - *299 + - *302 + - &306 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44731,9 +45231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 - 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. @@ -44759,9 +45259,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -44787,9 +45287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: true content: @@ -44821,16 +45321,16 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44853,10 +45353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *90 - - *204 - - *295 - - *302 + - *97 + - *64 + - *299 + - *306 responses: '204': description: Response @@ -44880,8 +45380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -44891,9 +45391,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 x-github: @@ -44915,8 +45415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *90 - - *204 + - *97 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -44939,7 +45439,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -44969,15 +45469,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 responses: '200': description: Response content: application/json: - schema: &303 + schema: &307 title: Team Membership description: Team Membership type: object @@ -45005,7 +45505,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &617 + response-if-user-is-a-team-maintainer: &622 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45041,9 +45541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 requestBody: required: false content: @@ -45068,9 +45568,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &618 + response-if-users-membership-with-team-is-now-pending: &623 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45105,9 +45605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 responses: '204': description: Response @@ -45132,8 +45632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -45143,7 +45643,7 @@ paths: application/json: schema: type: array - items: &304 + items: &308 title: Team Project description: A team's access to a project. type: object @@ -45212,7 +45712,7 @@ paths: - updated_at - permissions examples: - default: &619 + default: &624 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45275,9 +45775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *90 - - *204 - - &305 + - *97 + - *64 + - &309 name: project_id description: The unique identifier of the project. in: path @@ -45289,9 +45789,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *308 examples: - default: &620 + default: &625 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45353,9 +45853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *90 - - *204 - - *305 + - *97 + - *64 + - *309 requestBody: required: false content: @@ -45422,9 +45922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *90 - - *204 - - *305 + - *97 + - *64 + - *309 responses: '204': description: Response @@ -45451,8 +45951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -45462,9 +45962,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -45493,16 +45993,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &621 + schema: &626 title: Team Repository description: A team's access to a repository. type: object @@ -45528,7 +46028,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 forks: type: integer permissions: @@ -46143,10 +46643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 requestBody: required: false content: @@ -46191,10 +46691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 responses: '204': description: Response @@ -46218,8 +46718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -46229,9 +46729,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - response-if-child-teams-exist: &622 + response-if-child-teams-exist: &627 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46284,7 +46784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *90 + - *97 - name: security_product in: path description: The security feature to enable or disable. @@ -46358,7 +46858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &308 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -46370,7 +46870,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -46424,7 +46924,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46459,7 +46959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *308 + - *312 requestBody: required: true content: @@ -46484,9 +46984,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 '304': *35 '403': *27 '401': *23 @@ -46511,7 +47011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *308 + - *312 responses: '204': description: Response @@ -46540,7 +47040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *308 + - *312 requestBody: required: true content: @@ -46601,15 +47101,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: &311 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46666,7 +47166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *305 + - *309 requestBody: required: false content: @@ -46715,9 +47215,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: *311 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -46738,7 +47238,7 @@ paths: items: type: string '401': *23 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -46761,7 +47261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *305 + - *309 responses: '204': description: Delete Success @@ -46782,7 +47282,7 @@ paths: items: type: string '401': *23 - '410': *312 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -46806,7 +47306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *305 + - *309 - 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 @@ -46833,7 +47333,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -46863,8 +47363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *305 - - *133 + - *309 + - *62 requestBody: required: false content: @@ -46918,8 +47418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *305 - - *133 + - *309 + - *62 responses: '204': description: Response @@ -46950,8 +47450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *305 - - *133 + - *309 + - *62 responses: '200': description: Response @@ -47021,7 +47521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *305 + - *309 - *17 - *19 responses: @@ -47031,7 +47531,7 @@ paths: application/json: schema: type: array - items: *309 + items: *313 examples: default: value: @@ -47069,7 +47569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *305 + - *309 requestBody: required: true content: @@ -47093,7 +47593,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: default: value: @@ -47158,7 +47658,7 @@ paths: resources: type: object properties: - core: &313 + core: &317 title: Rate Limit type: object properties: @@ -47175,21 +47675,21 @@ paths: - remaining - reset - used - graphql: *313 - search: *313 - code_search: *313 - source_import: *313 - integration_manifest: *313 - code_scanning_upload: *313 - actions_runner_registration: *313 - scim: *313 - dependency_snapshots: *313 - dependency_sbom: *313 - code_scanning_autofix: *313 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 + dependency_sbom: *317 + code_scanning_autofix: *317 required: - core - search - rate: *313 + rate: *317 required: - rate - resources @@ -47294,14 +47794,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: default-response: summary: Default response @@ -47802,7 +48302,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *315 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,8 +48320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -48069,10 +48569,10 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 - '307': &317 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -48101,8 +48601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -48124,7 +48624,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *317 + '307': *321 '404': *6 '409': *45 x-github: @@ -48148,11 +48648,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - - &348 + - &352 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48175,7 +48675,7 @@ paths: type: integer artifacts: type: array - items: &318 + items: &322 title: Artifact description: An artifact type: object @@ -48270,7 +48770,7 @@ paths: - expires_at - updated_at examples: - default: &349 + default: &353 value: total_count: 2 artifacts: @@ -48331,9 +48831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *306 - - *307 - - &319 + - *310 + - *311 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48345,7 +48845,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *322 examples: default: value: @@ -48383,9 +48883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *306 - - *307 - - *319 + - *310 + - *311 + - *323 responses: '204': description: Response @@ -48409,9 +48909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *306 - - *307 - - *319 + - *310 + - *311 + - *323 - name: archive_format in: path required: true @@ -48425,7 +48925,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': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48448,14 +48948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *320 + schema: *324 examples: default: value: @@ -48481,11 +48981,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - - &321 + - &325 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 @@ -48519,7 +49019,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -48569,7 +49069,7 @@ paths: - total_count - actions_caches examples: - default: &323 + default: &327 value: total_count: 1 actions_caches: @@ -48601,23 +49101,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: - - *306 - - *307 + - *310 + - *311 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *321 + - *325 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48637,8 +49137,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: - - *306 - - *307 + - *310 + - *311 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48669,9 +49169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *306 - - *307 - - &324 + - *310 + - *311 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -48683,7 +49183,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &356 title: Job description: Information of a job execution in a workflow run type: object @@ -49030,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *306 - - *307 - - *324 + - *310 + - *311 + - *328 responses: '302': description: Response @@ -49060,9 +49560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *306 - - *307 - - *324 + - *310 + - *311 + - *328 requestBody: required: false content: @@ -49084,7 +49584,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -49108,8 +49608,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Status response @@ -49159,8 +49659,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -49194,7 +49694,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -49223,8 +49723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -49242,7 +49742,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &358 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49263,7 +49763,7 @@ paths: - created_at - updated_at examples: - default: &355 + default: &359 value: total_count: 2 secrets: @@ -49296,9 +49796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *306 - - *307 - - *325 + - *310 + - *311 + - *329 - *19 responses: '200': @@ -49315,7 +49815,7 @@ paths: type: integer variables: type: array - items: &358 + items: &362 title: Actions Variable type: object properties: @@ -49349,7 +49849,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &363 value: total_count: 2 variables: @@ -49382,8 +49882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -49392,12 +49892,12 @@ paths: schema: type: object properties: - enabled: &327 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *105 - selected_actions_url: *326 - sha_pinning_required: *106 + allowed_actions: *112 + selected_actions_url: *330 + sha_pinning_required: *113 required: - enabled examples: @@ -49425,8 +49925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49437,9 +49937,9 @@ paths: schema: type: object properties: - enabled: *327 - allowed_actions: *105 - sha_pinning_required: *106 + enabled: *331 + allowed_actions: *112 + sha_pinning_required: *113 required: - enabled examples: @@ -49469,14 +49969,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &328 + schema: &332 type: object properties: access_level: @@ -49493,7 +49993,7 @@ paths: required: - access_level examples: - default: &329 + default: &333 value: access_level: organization x-github: @@ -49517,15 +50017,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 responses: '204': description: Response @@ -49549,14 +50049,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: default: value: @@ -49580,8 +50080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Empty response for successful settings update @@ -49591,7 +50091,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *335 examples: default: summary: Set retention days @@ -49615,16 +50115,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *107 + schema: *114 examples: - default: *332 + default: *336 '404': *6 x-github: enabledForGitHubApps: true @@ -49643,8 +50143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49654,7 +50154,7 @@ paths: required: true content: application/json: - schema: *107 + schema: *114 examples: default: summary: Set approval policy to first time contributors @@ -49678,16 +50178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *333 + schema: *337 examples: - default: *108 + default: *115 '403': *27 '404': *6 x-github: @@ -49707,15 +50207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *334 + schema: *338 examples: - default: *108 + default: *115 responses: '204': description: Empty response for successful settings update @@ -49739,16 +50239,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *110 + schema: *117 examples: - default: *111 + default: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49767,8 +50267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49776,9 +50276,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *117 examples: - selected_actions: *111 + selected_actions: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49800,16 +50300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *335 + schema: *339 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49830,8 +50330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Success response @@ -49842,9 +50342,9 @@ paths: required: true content: application/json: - schema: *336 + schema: *340 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49871,8 +50371,8 @@ paths: in: query schema: type: string - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -49890,9 +50390,9 @@ paths: type: integer runners: type: array - items: *122 + items: *129 examples: - default: *123 + default: *130 headers: Link: *57 x-github: @@ -49916,8 +50416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -49925,9 +50425,9 @@ paths: application/json: schema: type: array - items: *337 + items: *341 examples: - default: *338 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49949,8 +50449,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -49993,7 +50493,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *339 + '201': *343 '404': *6 '422': *7 '409': *45 @@ -50024,16 +50524,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: *340 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50061,16 +50561,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: *341 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50092,17 +50592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: '200': description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: *342 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,9 +50623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: '204': description: Response @@ -50151,11 +50651,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: - '200': *126 + '200': *133 '404': *6 x-github: githubCloudOnly: false @@ -50177,9 +50677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 requestBody: required: true content: @@ -50203,7 +50703,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50227,9 +50727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 requestBody: required: true content: @@ -50254,7 +50754,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50278,11 +50778,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: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: - '200': *343 + '200': *347 '404': *6 x-github: githubCloudOnly: false @@ -50309,12 +50809,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 - - *344 + - *310 + - *311 + - *128 + - *348 responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50340,9 +50840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *306 - - *307 - - &362 + - *310 + - *311 + - &366 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. @@ -50350,7 +50850,7 @@ paths: required: false schema: type: string - - &363 + - &367 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50358,7 +50858,7 @@ paths: required: false schema: type: string - - &364 + - &368 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50367,7 +50867,7 @@ paths: required: false schema: type: string - - &365 + - &369 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 @@ -50394,7 +50894,7 @@ paths: - pending - *17 - *19 - - &366 + - &370 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)." @@ -50403,7 +50903,7 @@ paths: schema: type: string format: date-time - - &345 + - &349 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50412,13 +50912,13 @@ paths: schema: type: boolean default: false - - &367 + - &371 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &368 + - &372 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50441,7 +50941,7 @@ paths: type: integer workflow_runs: type: array - items: &346 + items: &350 title: Workflow Run description: An invocation of a workflow type: object @@ -50558,7 +51058,7 @@ paths: type: - array - 'null' - items: &387 + items: &391 title: Pull Request Minimal type: object properties: @@ -50685,7 +51185,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &395 title: Simple Commit description: A commit. type: object @@ -50759,8 +51259,8 @@ paths: - timestamp - author - committer - repository: *120 - head_repository: *120 + repository: *127 + head_repository: *127 head_repository_id: type: integer examples: @@ -50800,7 +51300,7 @@ paths: - workflow_url - pull_requests examples: - default: &369 + default: &373 value: total_count: 1 workflow_runs: @@ -51036,24 +51536,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *306 - - *307 - - &347 + - *310 + - *311 + - &351 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *345 + - *349 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: - default: &350 + default: &354 value: id: 30433642 name: Build @@ -51294,9 +51794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '204': description: Response @@ -51319,9 +51819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -51449,15 +51949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51484,12 +51984,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 - *17 - *19 - - *348 + - *352 responses: '200': description: Response @@ -51505,9 +52005,9 @@ paths: type: integer artifacts: type: array - items: *318 + items: *322 examples: - default: *349 + default: *353 headers: Link: *57 x-github: @@ -51531,25 +52031,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *306 - - *307 - - *347 - - &351 + - *310 + - *311 + - *351 + - &355 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *345 + - *349 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: - default: *350 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51572,10 +52072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *306 - - *307 - - *347 + - *310 + - *311 - *351 + - *355 - *17 - *19 responses: @@ -51593,9 +52093,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *356 examples: - default: &353 + default: &357 value: total_count: 1 jobs: @@ -51708,10 +52208,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 - *351 + - *355 responses: '302': description: Response @@ -51739,15 +52239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '202': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51774,9 +52274,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: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: true content: @@ -51843,15 +52343,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '202': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51878,9 +52378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 - 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 @@ -51910,9 +52410,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *356 examples: - default: *353 + default: *357 headers: Link: *57 x-github: @@ -51937,9 +52437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '302': description: Response @@ -51966,14 +52466,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '204': description: Response '403': *27 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51995,9 +52495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -52066,7 +52566,7 @@ paths: items: type: object properties: - type: &464 + type: &468 type: string description: The type of reviewer. enum: @@ -52077,7 +52577,7 @@ paths: reviewer: anyOf: - *4 - - *151 + - *157 required: - environment - wait_timer @@ -52152,9 +52652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: true content: @@ -52204,7 +52704,7 @@ paths: application/json: schema: type: array - items: &459 + items: &463 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52316,7 +52816,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &464 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52372,9 +52872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: false content: @@ -52396,7 +52896,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52419,9 +52919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: false content: @@ -52443,7 +52943,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52475,9 +52975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -52614,8 +53114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -52633,9 +53133,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *358 examples: - default: *355 + default: *359 headers: Link: *57 x-github: @@ -52660,16 +53160,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *356 + schema: *360 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52691,17 +53191,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *354 + schema: *358 examples: - default: &477 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52727,9 +53227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -52760,7 +53260,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52786,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -52813,9 +53313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *306 - - *307 - - *325 + - *310 + - *311 + - *329 - *19 responses: '200': @@ -52832,9 +53332,9 @@ paths: type: integer variables: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *57 x-github: @@ -52857,8 +53357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -52885,7 +53385,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52910,17 +53410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: &478 + default: &482 value: name: USERNAME value: octocat @@ -52946,9 +53446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 requestBody: required: true content: @@ -52990,9 +53490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 responses: '204': description: Response @@ -53017,8 +53517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -53036,7 +53536,7 @@ paths: type: integer workflows: type: array - items: &360 + items: &364 title: Workflow description: A GitHub Actions workflow type: object @@ -53154,9 +53654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *306 - - *307 - - &361 + - *310 + - *311 + - &365 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53171,7 +53671,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *364 examples: default: value: @@ -53204,9 +53704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53231,9 +53731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53284,9 +53784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53313,19 +53813,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *306 - - *307 - - *361 - - *362 - - *363 - - *364 + - *310 + - *311 - *365 - - *17 - - *19 - *366 - - *345 - *367 - *368 + - *369 + - *17 + - *19 + - *370 + - *349 + - *371 + - *372 responses: '200': description: Response @@ -53341,9 +53841,9 @@ paths: type: integer workflow_runs: type: array - items: *346 + items: *350 examples: - default: *369 + default: *373 headers: Link: *57 x-github: @@ -53375,9 +53875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '200': description: Response @@ -53438,8 +53938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *306 - - *307 + - *310 + - *311 - *46 - *17 - *38 @@ -53607,8 +54107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -53620,7 +54120,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -53645,8 +54145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *306 - - *307 + - *310 + - *311 - name: assignee in: path required: true @@ -53682,8 +54182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -53795,8 +54295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *38 - *39 @@ -53850,7 +54350,7 @@ paths: bundle_url: type: string examples: - default: *370 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53870,8 +54370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -53879,7 +54379,7 @@ paths: application/json: schema: type: array - items: &371 + items: &375 title: Autolink reference description: An autolink reference. type: object @@ -53938,8 +54438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -53978,9 +54478,9 @@ paths: description: response content: application/json: - schema: *371 + schema: *375 examples: - default: &372 + default: &376 value: id: 1 key_prefix: TICKET- @@ -54011,9 +54511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *306 - - *307 - - &373 + - *310 + - *311 + - &377 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54025,9 +54525,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *375 examples: - default: *372 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -54047,9 +54547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *306 - - *307 - - *373 + - *310 + - *311 + - *377 responses: '204': description: Response @@ -54073,8 +54573,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response if Dependabot is enabled @@ -54124,8 +54624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -54146,8 +54646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -54167,8 +54667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *306 - - *307 + - *310 + - *311 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54206,7 +54706,7 @@ paths: - url protected: type: boolean - protection: &375 + protection: &379 title: Branch Protection description: Branch Protection type: object @@ -54249,7 +54749,7 @@ paths: required: - contexts - checks - enforce_admins: &378 + enforce_admins: &382 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54266,7 +54766,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &380 + required_pull_request_reviews: &384 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54288,7 +54788,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *151 + items: *157 apps: description: The list of apps with review dismissal access. @@ -54320,7 +54820,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *151 + items: *157 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54350,7 +54850,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &377 + restrictions: &381 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54413,7 +54913,7 @@ paths: type: string teams: type: array - items: *151 + items: *157 apps: type: array items: @@ -54643,9 +55143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *306 - - *307 - - &376 + - *310 + - *311 + - &380 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). @@ -54659,14 +55159,14 @@ paths: description: Response content: application/json: - schema: &386 + schema: &390 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &436 + commit: &440 title: Commit description: Commit type: object @@ -54705,7 +55205,7 @@ paths: author: anyOf: - type: 'null' - - &374 + - &378 title: Git User description: Metaproperties for Git author/committer information. @@ -54726,7 +55226,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 message: type: string examples: @@ -54750,7 +55250,7 @@ paths: required: - sha - url - verification: &484 + verification: &488 title: Verification type: object properties: @@ -54786,14 +55286,14 @@ paths: author: oneOf: - *4 - - *129 + - *136 type: - 'null' - object committer: oneOf: - *4 - - *129 + - *136 type: - 'null' - object @@ -54830,7 +55330,7 @@ paths: type: integer files: type: array - items: &447 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -54926,7 +55426,7 @@ paths: - self protected: type: boolean - protection: *375 + protection: *379 protection_url: type: string format: uri @@ -55035,7 +55535,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *315 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -55057,15 +55557,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *375 + schema: *379 examples: default: value: @@ -55259,9 +55759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -55521,7 +56021,7 @@ paths: url: type: string format: uri - required_status_checks: &383 + required_status_checks: &387 title: Status Check Policy description: Status Check Policy type: object @@ -55602,7 +56102,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 apps: type: array items: *5 @@ -55620,7 +56120,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 apps: type: array items: *5 @@ -55680,7 +56180,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *377 + restrictions: *381 required_conversation_resolution: type: object properties: @@ -55792,9 +56292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -55819,17 +56319,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: &379 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55851,17 +56351,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: *379 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55880,9 +56380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -55907,17 +56407,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: &381 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56013,9 +56513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56113,9 +56613,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -56136,9 +56636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56165,17 +56665,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: &382 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56198,17 +56698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: *382 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -56228,9 +56728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56255,17 +56755,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *383 + schema: *387 examples: - default: &384 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56291,9 +56791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56345,9 +56845,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *387 examples: - default: *384 + default: *388 '404': *6 '422': *15 x-github: @@ -56369,9 +56869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56395,9 +56895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -56431,9 +56931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56500,9 +57000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56566,9 +57066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: content: application/json: @@ -56634,15 +57134,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *377 + schema: *381 examples: default: value: @@ -56733,9 +57233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56758,9 +57258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -56770,7 +57270,7 @@ paths: type: array items: *5 examples: - default: &385 + default: &389 value: - id: 1 slug: octoapp @@ -56827,9 +57327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56863,7 +57363,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56884,9 +57384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56920,7 +57420,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56941,9 +57441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56977,7 +57477,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56999,9 +57499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -57009,9 +57509,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -57031,9 +57531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -57069,9 +57569,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57092,9 +57592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -57130,9 +57630,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57153,9 +57653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: content: application/json: @@ -57190,9 +57690,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57214,9 +57714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -57226,7 +57726,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '404': *6 x-github: githubCloudOnly: false @@ -57250,9 +57750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57285,7 +57785,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57310,9 +57810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57345,7 +57845,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57370,9 +57870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57405,7 +57905,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57432,9 +57932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57456,7 +57956,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *390 examples: default: value: @@ -57572,8 +58072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -57852,7 +58352,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57987,8 +58487,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *387 - deployment: &681 + items: *391 + deployment: &686 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58275,9 +58775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *306 - - *307 - - &389 + - *310 + - *311 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -58289,9 +58789,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *392 examples: - default: &390 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58391,9 +58891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 requestBody: required: true content: @@ -58633,9 +59133,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *392 examples: - default: *390 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58655,9 +59155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 - *17 - *19 responses: @@ -58767,15 +59267,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -58813,8 +59313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -58836,7 +59336,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &396 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58918,12 +59418,12 @@ paths: type: - array - 'null' - items: *387 + items: *391 app: anyOf: - type: 'null' - *5 - repository: *120 + repository: *127 created_at: type: - string @@ -58934,7 +59434,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *395 latest_check_runs_count: type: integer check_runs_url: @@ -58962,7 +59462,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &397 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59253,9 +59753,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59274,8 +59774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -59336,7 +59836,7 @@ paths: required: - app_id - setting - repository: *120 + repository: *127 examples: default: value: @@ -59584,9 +60084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *306 - - *307 - - &394 + - *310 + - *311 + - &398 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59598,9 +60098,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59623,17 +60123,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *306 - - *307 - - *394 - - &442 + - *310 + - *311 + - *398 + - &446 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &447 name: status description: Returns check runs with the specified `status`. in: query @@ -59672,9 +60172,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *392 examples: - default: &444 + default: &448 value: total_count: 1 check_runs: @@ -59776,15 +60276,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *306 - - *307 - - *394 + - *310 + - *311 + - *398 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -59811,21 +60311,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *306 - - *307 - - *395 - - *396 + - *310 + - *311 + - *399 + - *400 - *19 - *17 - - &413 + - &417 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: *397 - - &414 + schema: *401 + - &418 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59850,13 +60350,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *402 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *403 responses: '200': description: Response @@ -59872,19 +60372,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *400 - state: *141 - fixed_at: *137 + instances_url: *404 + state: *147 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_at: *144 + dismissed_reason: *405 + dismissed_comment: *406 + rule: *407 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -60004,14 +60504,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &410 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60031,9 +60531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *306 - - *307 - - &407 + - *310 + - *311 + - &411 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60047,7 +60547,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &412 type: object properties: number: *52 @@ -60055,16 +60555,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *400 - state: *141 - fixed_at: *137 + instances_url: *404 + state: *147 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_at: *144 + dismissed_reason: *405 + dismissed_comment: *406 rule: type: object properties: @@ -60126,8 +60626,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -60220,9 +60720,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60240,9 +60740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: true content: @@ -60257,8 +60757,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *405 + dismissed_comment: *406 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60277,7 +60777,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: default: value: @@ -60353,14 +60853,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &416 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60380,15 +60880,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 responses: '200': description: Response content: application/json: - schema: &409 + schema: &413 type: object properties: status: @@ -60415,13 +60915,13 @@ paths: - description - started_at examples: - default: &410 + default: &414 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &415 description: Bad Request content: application/json: @@ -60432,9 +60932,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60457,29 +60957,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 responses: '200': description: OK content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 '202': description: Accepted content: application/json: - schema: *409 + schema: *413 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *415 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60489,7 +60989,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60511,9 +61011,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: false content: @@ -60559,12 +61059,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *415 + '403': *416 '404': *6 '422': description: Unprocessable Entity - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60584,13 +61084,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 - *19 - *17 - - *413 - - *414 + - *417 + - *418 responses: '200': description: Response @@ -60598,7 +61098,7 @@ paths: application/json: schema: type: array - items: *405 + items: *409 examples: default: value: @@ -60637,9 +61137,9 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60671,25 +61171,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *306 - - *307 - - *395 - - *396 + - *310 + - *311 + - *399 + - *400 - *19 - *17 - - *414 + - *418 - 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: *397 + schema: *401 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &417 + schema: &421 type: string description: An identifier for the upload. examples: @@ -60711,23 +61211,23 @@ paths: application/json: schema: type: array - items: &418 + items: &422 type: object properties: - ref: *397 - commit_sha: &426 + ref: *401 + commit_sha: &430 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: *415 + analysis_key: *419 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *416 + category: *420 error: type: string examples: @@ -60752,8 +61252,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *417 - tool: *404 + sarif_id: *421 + tool: *408 deletable: type: boolean warning: @@ -60815,9 +61315,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60851,8 +61351,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: - - *306 - - *307 + - *310 + - *311 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60865,7 +61365,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *422 examples: response: summary: application/json response @@ -60919,14 +61419,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *410 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61006,8 +61506,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: - - *306 - - *307 + - *310 + - *311 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61063,9 +61563,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *412 + '403': *416 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61085,8 +61585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -61094,7 +61594,7 @@ paths: application/json: schema: type: array - items: &419 + items: &423 title: CodeQL Database description: A CodeQL database. type: object @@ -61206,9 +61706,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61235,8 +61735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: language in: path description: The language of the CodeQL database. @@ -61248,7 +61748,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *423 examples: default: value: @@ -61280,11 +61780,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &449 + '302': &453 description: Found - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61304,8 +61804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *306 - - *307 + - *310 + - *311 - name: language in: path description: The language of the CodeQL database. @@ -61315,9 +61815,9 @@ paths: responses: '204': description: Response - '403': *412 + '403': *416 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61343,8 +61843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -61353,7 +61853,7 @@ paths: type: object additionalProperties: false properties: - language: &420 + language: &424 type: string description: The language targeted by the CodeQL query enum: @@ -61432,7 +61932,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &424 + schema: &428 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61442,7 +61942,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *420 + query_language: *424 query_pack_url: type: string description: The download url for the query pack. @@ -61490,7 +61990,7 @@ paths: items: type: object properties: - repository: &421 + repository: &425 title: Repository Identifier description: Repository Identifier type: object @@ -61532,7 +62032,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &425 + analysis_status: &429 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61564,7 +62064,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &422 + access_mismatch_repos: &426 type: object properties: repository_count: @@ -61579,7 +62079,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: *421 + items: *425 required: - repository_count - repositories @@ -61602,8 +62102,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *422 - over_limit_repos: *422 + no_codeql_db_repos: *426 + over_limit_repos: *426 required: - access_mismatch_repos - not_found_repos @@ -61619,7 +62119,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &423 + value: &427 summary: Default response value: id: 1 @@ -61771,17 +62271,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *423 + value: *427 repository_lists: summary: Response for a successful variant analysis submission - value: *423 + value: *427 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61802,8 +62302,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: - - *306 - - *307 + - *310 + - *311 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61815,11 +62315,11 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *423 + default: *427 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61840,7 +62340,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: - - *306 + - *310 - name: repo in: path description: The name of the controller repository. @@ -61875,7 +62375,7 @@ paths: type: object properties: repository: *51 - analysis_status: *425 + analysis_status: *429 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61979,7 +62479,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62000,8 +62500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62094,9 +62594,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62115,8 +62615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -62185,7 +62685,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -62210,7 +62710,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *416 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62224,7 +62724,7 @@ paths: content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62281,8 +62781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -62290,7 +62790,7 @@ paths: schema: type: object properties: - commit_sha: *426 + commit_sha: *430 ref: type: string description: |- @@ -62350,7 +62850,7 @@ paths: schema: type: object properties: - id: *417 + id: *421 url: type: string description: The REST API URL for checking the status of the upload. @@ -62364,11 +62864,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *412 + '403': *416 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62387,8 +62887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *306 - - *307 + - *310 + - *311 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62436,10 +62936,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *406 + '403': *410 '404': description: Not Found if the sarif id does not match any upload - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62461,8 +62961,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62518,7 +63018,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': *146 + '204': *152 '304': *35 '403': *27 '404': *6 @@ -62543,8 +63043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *306 - - *307 + - *310 + - *311 - 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 @@ -62672,8 +63172,8 @@ paths: parameters: - *17 - *19 - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62689,7 +63189,7 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: default: value: @@ -62965,7 +63465,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': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -62987,8 +63487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -63052,22 +63552,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63091,8 +63591,8 @@ paths: parameters: - *17 - *19 - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -63132,7 +63632,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *91 + '500': *98 '400': *14 '401': *23 '403': *27 @@ -63156,8 +63656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63194,9 +63694,9 @@ paths: type: integer machines: type: array - items: *428 + items: *432 examples: - default: &629 + default: &634 value: total_count: 2 machines: @@ -63213,7 +63713,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -63236,8 +63736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *306 - - *307 + - *310 + - *311 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63324,8 +63824,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: - - *306 - - *307 + - *310 + - *311 - 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 @@ -63373,7 +63873,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63394,8 +63894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -63413,7 +63913,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &436 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63434,7 +63934,7 @@ paths: - created_at - updated_at examples: - default: *429 + default: *433 headers: Link: *57 x-github: @@ -63457,16 +63957,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63486,17 +63986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: *433 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63516,9 +64016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -63546,7 +64046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -63570,9 +64070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -63600,8 +64100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *306 - - *307 + - *310 + - *311 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63639,7 +64139,7 @@ paths: application/json: schema: type: array - items: &434 + items: &438 title: Collaborator description: Collaborator type: object @@ -63832,9 +64332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '204': description: Response if user is a collaborator @@ -63880,9 +64380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 requestBody: required: false content: @@ -63908,7 +64408,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &497 + schema: &501 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63920,7 +64420,7 @@ paths: format: int64 examples: - 42 - repository: *120 + repository: *127 invitee: anyOf: - type: 'null' @@ -64096,7 +64596,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *94 + schema: *101 '403': *27 x-github: triggersNotification: true @@ -64136,9 +64636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64169,9 +64669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '200': description: if user has admin permissions @@ -64191,7 +64691,7 @@ paths: user: anyOf: - type: 'null' - - *434 + - *438 required: - permission - role_name @@ -64245,8 +64745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -64256,7 +64756,7 @@ paths: application/json: schema: type: array - items: &435 + items: &439 title: Commit Comment description: Commit Comment type: object @@ -64297,8 +64797,8 @@ paths: updated_at: type: string format: date-time - author_association: *60 - reactions: *61 + author_association: *67 + reactions: *68 required: - url - html_url @@ -64314,7 +64814,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64373,17 +64873,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *435 + schema: *439 examples: - default: &439 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64440,9 +64940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -64464,7 +64964,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: default: value: @@ -64515,9 +65015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -64538,9 +65038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -64566,9 +65066,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -64589,9 +65089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -64623,16 +65123,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -64654,10 +65154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -64706,8 +65206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *306 - - *307 + - *310 + - *311 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64763,9 +65263,9 @@ paths: application/json: schema: type: array - items: *436 + items: *440 examples: - default: &544 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64836,7 +65336,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *91 + '500': *98 '400': *14 '404': *6 '409': *45 @@ -64859,9 +65359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *306 - - *307 - - &437 + - *310 + - *311 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -64933,9 +65433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 - *17 - *19 responses: @@ -64945,9 +65445,9 @@ paths: application/json: schema: type: array - items: *435 + items: *439 examples: - default: *438 + default: *442 headers: Link: *57 x-github: @@ -64975,9 +65475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 requestBody: required: true content: @@ -65012,9 +65512,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: - default: *439 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65042,9 +65542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 - *17 - *19 responses: @@ -65054,9 +65554,9 @@ paths: application/json: schema: type: array - items: *440 + items: *444 examples: - default: &536 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65593,11 +66093,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 - - &441 + - &445 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)" @@ -65612,9 +66112,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: - default: &524 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65700,8 +66200,8 @@ paths: ..... '422': *15 '404': *6 - '500': *91 - '503': *62 + '500': *98 + '503': *69 '409': *45 x-github: githubCloudOnly: false @@ -65727,11 +66227,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *306 - - *307 - - *441 - - *442 - - *443 + - *310 + - *311 + - *445 + - *446 + - *447 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65765,9 +66265,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *392 examples: - default: *444 + default: *448 headers: Link: *57 x-github: @@ -65792,9 +66292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65802,7 +66302,7 @@ paths: schema: type: integer example: 1 - - *442 + - *446 - *17 - *19 responses: @@ -65820,7 +66320,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *396 examples: default: value: @@ -66020,9 +66520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - *17 - *19 responses: @@ -66093,7 +66593,7 @@ paths: type: string total_count: type: integer - repository: *120 + repository: *127 commit_url: type: string format: uri @@ -66224,9 +66724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - *17 - *19 responses: @@ -66236,7 +66736,7 @@ paths: application/json: schema: type: array - items: &600 + items: &605 title: Status description: The status of a commit. type: object @@ -66317,7 +66817,7 @@ paths: site_admin: false headers: Link: *57 - '301': *315 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66345,8 +66845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -66379,11 +66879,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *445 + - *449 code_of_conduct_file: anyOf: - type: 'null' - - &446 + - &450 title: Community Health File type: object properties: @@ -66399,23 +66899,23 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 contributing: anyOf: - type: 'null' - - *446 + - *450 readme: anyOf: - type: 'null' - - *446 + - *450 issue_template: anyOf: - type: 'null' - - *446 + - *450 pull_request_template: anyOf: - type: 'null' - - *446 + - *450 required: - code_of_conduct - code_of_conduct_file @@ -66544,8 +67044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 - name: basehead @@ -66593,8 +67093,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *436 - merge_base_commit: *436 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -66618,10 +67118,10 @@ paths: - 6 commits: type: array - items: *436 + items: *440 files: type: array - items: *447 + items: *451 required: - url - html_url @@ -66864,8 +67364,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67061,7 +67561,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &448 + response-if-content-is-a-file: &452 summary: Response if content is a file value: type: file @@ -67198,7 +67698,7 @@ paths: - size - type - url - - &549 + - &553 title: Content File description: Content File type: object @@ -67416,7 +67916,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *448 + response-if-content-is-a-file: *452 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67485,7 +67985,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *449 + '302': *453 '304': *35 x-github: githubCloudOnly: false @@ -67508,8 +68008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67604,7 +68104,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &454 title: File Commit description: File Commit type: object @@ -67760,7 +68260,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *454 examples: example-for-creating-a-file: value: @@ -67814,7 +68314,7 @@ paths: schema: oneOf: - *3 - - &479 + - &483 description: Repository rule violation was detected type: object properties: @@ -67835,7 +68335,7 @@ paths: items: type: object properties: - placeholder_id: &592 + placeholder_id: &597 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67867,8 +68367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67929,7 +68429,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *454 examples: default: value: @@ -67964,7 +68464,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67984,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *306 - - *307 + - *310 + - *311 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68109,22 +68609,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *306 - - *307 - - *152 - - *153 - - *154 - - *155 + - *310 + - *311 + - *158 + - *159 + - *160 + - *161 - 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 - - *156 - - *157 - - *158 - - *159 + - *162 + - *163 + - *164 + - *165 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68144,8 +68644,8 @@ paths: default: 30 - *38 - *39 - - *160 - - *161 + - *166 + - *167 responses: '200': description: Response @@ -68153,7 +68653,7 @@ paths: application/json: schema: type: array - items: &453 + items: &457 type: object description: A Dependabot alert. properties: @@ -68203,13 +68703,13 @@ paths: - direct - transitive - - security_advisory: *451 + security_advisory: *455 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *138 + dismissed_at: *144 dismissed_by: anyOf: - type: 'null' @@ -68233,8 +68733,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 - auto_dismissed_at: *452 + fixed_at: *143 + auto_dismissed_at: *456 required: - number - state @@ -68464,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *306 - - *307 - - &454 + - *310 + - *311 + - &458 name: alert_number in: path description: |- @@ -68481,7 +68981,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *457 examples: default: value: @@ -68594,9 +69094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *306 - - *307 - - *454 + - *310 + - *311 + - *458 requestBody: required: true content: @@ -68641,7 +69141,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *457 examples: default: value: @@ -68770,8 +69270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -68789,7 +69289,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &461 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68843,16 +69343,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68872,15 +69372,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *457 + schema: *461 examples: default: value: @@ -68906,9 +69406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -68936,7 +69436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -68960,9 +69460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -68984,8 +69484,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: - - *306 - - *307 + - *310 + - *311 - 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 @@ -69159,8 +69659,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -69420,8 +69920,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -69504,7 +70004,7 @@ paths: - version - url additionalProperties: false - metadata: &458 + metadata: &462 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69543,7 +70043,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *458 + metadata: *462 resolved: type: object description: A collection of resolved package dependencies. @@ -69557,7 +70057,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *458 + metadata: *462 relationship: type: string description: A notation of whether a dependency is requested @@ -69690,8 +70190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *306 - - *307 + - *310 + - *311 - name: sha description: The SHA recorded at creation time. in: query @@ -69732,9 +70232,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: *460 + default: *464 headers: Link: *57 x-github: @@ -69800,8 +70300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -69883,7 +70383,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: simple-example: summary: Simple example @@ -69956,9 +70456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *306 - - *307 - - &461 + - *310 + - *311 + - &465 name: deployment_id description: deployment_id parameter in: path @@ -69970,7 +70470,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -70035,9 +70535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 responses: '204': description: Response @@ -70059,9 +70559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 - *17 - *19 responses: @@ -70071,7 +70571,7 @@ paths: application/json: schema: type: array - items: &462 + items: &466 title: Deployment Status description: The status of a deployment. type: object @@ -70235,9 +70735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 requestBody: required: true content: @@ -70312,9 +70812,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: &463 + default: &467 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70370,9 +70870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 - name: status_id in: path required: true @@ -70383,9 +70883,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *463 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -70410,8 +70910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -70468,8 +70968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -70487,7 +70987,7 @@ paths: - 5 environments: type: array - items: &465 + items: &469 title: Environment description: Details of a deployment environment type: object @@ -70549,7 +71049,7 @@ paths: type: string examples: - wait_timer - wait_timer: &467 + wait_timer: &471 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -70591,11 +71091,11 @@ paths: items: type: object properties: - type: *464 + type: *468 reviewer: anyOf: - *4 - - *151 + - *157 required: - id - node_id @@ -70618,7 +71118,7 @@ paths: - id - node_id - type - deployment_branch_policy: &468 + deployment_branch_policy: &472 type: - object - 'null' @@ -70735,9 +71235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *306 - - *307 - - &466 + - *310 + - *311 + - &470 name: environment_name in: path required: true @@ -70750,9 +71250,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: &469 + default: &473 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70836,9 +71336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: false content: @@ -70848,7 +71348,7 @@ paths: - object - 'null' properties: - wait_timer: *467 + wait_timer: *471 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -70867,14 +71367,14 @@ paths: items: type: object properties: - type: *464 + type: *468 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *468 + deployment_branch_policy: *472 additionalProperties: false examples: default: @@ -70894,9 +71394,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *469 + default: *473 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70920,9 +71420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 responses: '204': description: Default response @@ -70947,9 +71447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 - *17 - *19 responses: @@ -70968,7 +71468,7 @@ paths: - 2 branch_policies: type: array - items: &470 + items: &474 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71029,9 +71529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: true content: @@ -71079,9 +71579,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - example-wildcard: &471 + example-wildcard: &475 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71123,10 +71623,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - &472 + - *310 + - *311 + - *470 + - &476 name: branch_policy_id in: path required: true @@ -71138,9 +71638,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *471 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71159,10 +71659,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - *472 + - *310 + - *311 + - *470 + - *476 requestBody: required: true content: @@ -71191,9 +71691,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *471 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71212,10 +71712,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - *472 + - *310 + - *311 + - *470 + - *476 responses: '204': description: Response @@ -71240,9 +71740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 responses: '200': description: List of deployment protection rules @@ -71259,7 +71759,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &473 + items: &477 title: Deployment protection rule description: Deployment protection rule type: object @@ -71281,7 +71781,7 @@ paths: for the environment. examples: - true - app: &474 + app: &478 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71384,9 +71884,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: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 requestBody: content: application/json: @@ -71407,9 +71907,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *473 + schema: *477 examples: - default: &475 + default: &479 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71444,9 +71944,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: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 - *19 - *17 responses: @@ -71466,7 +71966,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *474 + items: *478 examples: default: value: @@ -71501,10 +72001,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *306 - - *307 - - *466 - - &476 + - *310 + - *311 + - *470 + - &480 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71516,9 +72016,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: *475 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71539,10 +72039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *466 - - *307 - - *306 - - *476 + - *470 + - *311 + - *310 + - *480 responses: '204': description: Response @@ -71568,9 +72068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 - *17 - *19 responses: @@ -71588,9 +72088,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *358 examples: - default: *355 + default: *359 headers: Link: *57 x-github: @@ -71615,17 +72115,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 responses: '200': description: Response content: application/json: - schema: *356 + schema: *360 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71647,18 +72147,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 responses: '200': description: Response content: application/json: - schema: *354 + schema: *358 examples: - default: *477 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71680,10 +72180,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 requestBody: required: true content: @@ -71714,7 +72214,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -71740,10 +72240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 responses: '204': description: Default response @@ -71768,10 +72268,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *306 - - *307 - - *466 - - *325 + - *310 + - *311 + - *470 + - *329 - *19 responses: '200': @@ -71788,9 +72288,9 @@ paths: type: integer variables: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *57 x-github: @@ -71813,9 +72313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: true content: @@ -71842,7 +72342,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -71867,18 +72367,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *306 - - *307 - - *466 - - *131 + - *310 + - *311 + - *470 + - *138 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *478 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71899,10 +72399,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *306 - - *307 - - *131 - - *466 + - *310 + - *311 + - *138 + - *470 requestBody: required: true content: @@ -71944,10 +72444,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *306 - - *307 - - *131 - - *466 + - *310 + - *311 + - *138 + - *470 responses: '204': description: Response @@ -71969,8 +72469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -71980,7 +72480,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: 200-response: value: @@ -72047,8 +72547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *306 - - *307 + - *310 + - *311 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72070,7 +72570,7 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: default: value: @@ -72207,8 +72707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -72241,9 +72741,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 '400': *14 '422': *15 '403': *27 @@ -72264,8 +72764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -72324,8 +72824,8 @@ paths: application/json: schema: oneOf: - - *94 - - *479 + - *101 + - *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72350,8 +72850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *306 - - *307 + - *310 + - *311 - name: file_sha in: path required: true @@ -72451,8 +72951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -72561,7 +73061,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &484 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72788,15 +73288,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: default: value: @@ -72852,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *306 - - *307 - - &481 + - *310 + - *311 + - &485 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. @@ -72871,7 +73371,7 @@ paths: application/json: schema: type: array - items: &482 + items: &486 title: Git Reference description: Git references within a repository type: object @@ -72947,17 +73447,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: &483 + default: &487 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72986,8 +73486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73016,9 +73516,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *483 + default: *487 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73044,9 +73544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 requestBody: required: true content: @@ -73075,9 +73575,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *483 + default: *487 '422': *15 '409': *45 x-github: @@ -73095,9 +73595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 responses: '204': description: Response @@ -73152,8 +73652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73220,7 +73720,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &489 title: Git Tag description: Metadata for a Git tag type: object @@ -73276,7 +73776,7 @@ paths: - sha - type - url - verification: *484 + verification: *488 required: - sha - url @@ -73286,7 +73786,7 @@ paths: - tag - message examples: - default: &486 + default: &490 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73359,8 +73859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *306 - - *307 + - *310 + - *311 - name: tag_sha in: path required: true @@ -73371,9 +73871,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *489 examples: - default: *486 + default: *490 '404': *6 '409': *45 x-github: @@ -73397,8 +73897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73472,7 +73972,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &491 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73574,8 +74074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *306 - - *307 + - *310 + - *311 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73598,7 +74098,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *491 examples: default-response: summary: Default response @@ -73657,8 +74157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -73668,7 +74168,7 @@ paths: application/json: schema: type: array - items: &488 + items: &492 title: Webhook description: Webhooks for repositories. type: object @@ -73731,7 +74231,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &712 + last_response: &717 title: Hook Response type: object properties: @@ -73808,8 +74308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -73862,9 +74362,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: &489 + default: &493 value: type: Repository id: 12345678 @@ -73912,17 +74412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '200': description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -73942,9 +74442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 requestBody: required: true content: @@ -73989,9 +74489,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '422': *15 '404': *6 x-github: @@ -74012,9 +74512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74038,9 +74538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '200': description: Response @@ -74067,9 +74567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 requestBody: required: false content: @@ -74113,11 +74613,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *17 - - *168 + - *174 responses: '200': description: Response @@ -74125,9 +74625,9 @@ paths: application/json: schema: type: array - items: *169 + items: *175 examples: - default: *170 + default: *176 '400': *14 '422': *15 x-github: @@ -74146,18 +74646,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *16 responses: '200': description: Response content: application/json: - schema: *171 + schema: *177 examples: - default: *172 + default: *178 '400': *14 '422': *15 x-github: @@ -74176,9 +74676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *16 responses: '202': *37 @@ -74201,9 +74701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74228,9 +74728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74288,14 +74788,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &490 + schema: &494 title: Import description: A repository import from an external source. type: object @@ -74402,7 +74902,7 @@ paths: - html_url - authors_url examples: - default: &493 + default: &497 value: vcs: subversion use_lfs: true @@ -74418,7 +74918,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': &491 + '503': &495 description: Unavailable due to service under maintenance. content: application/json: @@ -74447,8 +74947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -74496,7 +74996,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: default: value: @@ -74521,7 +75021,7 @@ paths: type: string '422': *15 '404': *6 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74549,8 +75049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -74602,7 +75102,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: example-1: summary: Example 1 @@ -74650,7 +75150,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': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74673,12 +75173,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74704,9 +75204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *306 - - *307 - - &651 + - *310 + - *311 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74720,7 +75220,7 @@ paths: application/json: schema: type: array - items: &492 + items: &496 title: Porter Author description: Porter Author type: object @@ -74774,7 +75274,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': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74799,8 +75299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *306 - - *307 + - *310 + - *311 - name: author_id in: path required: true @@ -74830,7 +75330,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *496 examples: default: value: @@ -74843,7 +75343,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74867,8 +75367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -74909,7 +75409,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74937,8 +75437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -74965,11 +75465,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: - default: *493 + default: *497 '422': *15 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74992,8 +75492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -75001,8 +75501,8 @@ paths: application/json: schema: *20 examples: - default: *494 - '301': *315 + default: *498 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -75022,8 +75522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -75031,12 +75531,12 @@ paths: application/json: schema: anyOf: - - *185 + - *191 - type: object properties: {} additionalProperties: false examples: - default: &496 + default: &500 value: limit: collaborators_only origin: repository @@ -75061,13 +75561,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *495 + schema: *499 examples: default: summary: Example request body @@ -75079,9 +75579,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *496 + default: *500 '409': description: Response x-github: @@ -75103,8 +75603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -75127,8 +75627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -75138,9 +75638,9 @@ paths: application/json: schema: type: array - items: *497 + items: *501 examples: - default: &644 + default: &649 value: - id: 1 repository: @@ -75271,9 +75771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *306 - - *307 - - *189 + - *310 + - *311 + - *195 requestBody: required: false content: @@ -75302,7 +75802,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *501 examples: default: value: @@ -75433,9 +75933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *306 - - *307 - - *189 + - *310 + - *311 + - *195 responses: '204': description: Response @@ -75466,8 +75966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *306 - - *307 + - *310 + - *311 - 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 @@ -75515,7 +76015,7 @@ paths: required: false schema: type: string - - *193 + - *199 - name: sort description: What to sort results by. in: query @@ -75528,7 +76028,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -75538,9 +76038,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: &504 + default: &508 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75688,7 +76188,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *315 + '301': *319 '422': *15 '404': *6 x-github: @@ -75717,8 +76217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -75808,9 +76308,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: &501 + default: &505 value: id: 1 node_id: MDU6SXNzdWUx @@ -75964,9 +76464,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *62 + '503': *69 '404': *6 - '410': *312 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -75994,9 +76494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *306 - - *307 - - *83 + - *310 + - *311 + - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76006,7 +76506,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -76016,9 +76516,9 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: &503 + default: &507 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76076,17 +76576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: &499 + default: &503 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76140,9 +76640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -76164,9 +76664,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: *499 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -76184,9 +76684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -76206,9 +76706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76234,9 +76734,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -76257,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -76291,16 +76791,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -76322,10 +76822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -76345,8 +76845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -76356,7 +76856,7 @@ paths: application/json: schema: type: array - items: &500 + items: &504 title: Issue Event description: Issue Event type: object @@ -76403,7 +76903,7 @@ paths: issue: anyOf: - type: 'null' - - *74 + - *81 label: title: Issue Event Label description: Issue Event Label @@ -76436,7 +76936,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *151 + requested_team: *157 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76503,7 +77003,7 @@ paths: required: - from - to - author_association: *60 + author_association: *67 lock_reason: type: - string @@ -76695,8 +77195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *306 - - *307 + - *310 + - *311 - name: event_id in: path required: true @@ -76707,7 +77207,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *504 examples: default: value: @@ -76900,7 +77400,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *312 + '410': *316 '403': *27 x-github: githubCloudOnly: false @@ -76934,9 +77434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *306 - - *307 - - &502 + - *310 + - *311 + - &506 name: issue_number description: The number that identifies the issue. in: path @@ -76948,12 +77448,12 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '404': *6 - '410': *312 + '410': *316 '304': *35 x-github: githubCloudOnly: false @@ -76978,9 +77478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -77099,15 +77599,15 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 '422': *15 - '503': *62 + '503': *69 '403': *27 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77125,9 +77625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -77153,9 +77653,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77171,9 +77671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: content: application/json: @@ -77198,9 +77698,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77222,9 +77722,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: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: assignee in: path required: true @@ -77264,10 +77764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *306 - - *307 - - *502 - - *64 + - *310 + - *311 + - *506 + - *71 - *17 - *19 responses: @@ -77277,13 +77777,13 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: *503 + default: *507 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77312,9 +77812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -77336,16 +77836,16 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: *499 + default: *503 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -77373,9 +77873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77385,14 +77885,14 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77420,9 +77920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -77444,17 +77944,17 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *315 + '301': *319 '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -77485,9 +77985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77499,15 +77999,15 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -77533,9 +78033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77545,14 +78045,14 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77569,9 +78069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77585,7 +78085,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &507 + - &511 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77634,7 +78134,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &512 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77762,7 +78262,7 @@ paths: - performed_via_github_app - assignee - assigner - - &509 + - &513 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77808,7 +78308,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &514 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77854,7 +78354,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &515 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77903,7 +78403,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &516 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77932,7 +78432,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *151 + requested_team: *157 requested_reviewer: *4 required: - review_requester @@ -77945,7 +78445,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &517 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77974,7 +78474,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *151 + requested_team: *157 requested_reviewer: *4 required: - review_requester @@ -77987,7 +78487,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &518 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78043,7 +78543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &519 title: Locked Issue Event description: Locked Issue Event type: object @@ -78088,7 +78588,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &520 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78149,7 +78649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &521 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78210,7 +78710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &522 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78271,7 +78771,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &523 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78364,7 +78864,7 @@ paths: color: red headers: Link: *57 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78381,9 +78881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -78393,7 +78893,7 @@ paths: application/json: schema: type: array - items: &505 + items: &509 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78448,7 +78948,7 @@ paths: - color - default examples: - default: &506 + default: &510 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78466,9 +78966,9 @@ paths: default: false headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78485,9 +78985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78546,12 +79046,12 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 - '301': *315 + default: *510 + '301': *319 '404': *6 - '410': *312 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -78568,9 +79068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78630,12 +79130,12 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 - '301': *315 + default: *510 + '301': *319 '404': *6 - '410': *312 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -78652,15 +79152,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '204': description: Response - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78679,9 +79179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: name in: path required: true @@ -78694,7 +79194,7 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: default: value: @@ -78705,9 +79205,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78727,9 +79227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78758,7 +79258,7 @@ paths: '204': description: Response '403': *27 - '410': *312 + '410': *316 '404': *6 '422': *15 x-github: @@ -78776,9 +79276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '204': description: Response @@ -78808,20 +79308,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '200': description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78838,9 +79338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - 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. @@ -78866,13 +79366,13 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78890,9 +79390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -78924,16 +79424,16 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -78955,10 +79455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *310 + - *311 + - *506 - *306 - - *307 - - *502 - - *302 responses: '204': description: Response @@ -78987,9 +79487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79011,9 +79511,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79046,9 +79546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -79058,13 +79558,13 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79092,9 +79592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79121,16 +79621,16 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -79150,9 +79650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79183,13 +79683,13 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 '403': *27 '404': *6 '422': *7 - '503': *62 + '503': *69 x-github: triggersNotification: true githubCloudOnly: false @@ -79207,9 +79707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -79224,10 +79724,6 @@ paths: description: Timeline Event type: object anyOf: - - *507 - - *508 - - *509 - - *510 - *511 - *512 - *513 @@ -79237,6 +79733,10 @@ paths: - *517 - *518 - *519 + - *520 + - *521 + - *522 + - *523 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79284,12 +79784,12 @@ paths: issue_url: type: string format: uri - author_association: *60 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - event - actor @@ -79320,7 +79820,7 @@ paths: properties: type: type: string - issue: *74 + issue: *81 required: - event - created_at @@ -79542,7 +80042,7 @@ paths: type: string body_text: type: string - author_association: *60 + author_association: *67 required: - event - id @@ -79565,7 +80065,7 @@ paths: type: string comments: type: array - items: &538 + items: &542 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79670,7 +80170,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *60 + author_association: *67 _links: type: object properties: @@ -79765,7 +80265,7 @@ paths: enum: - line - file - reactions: *61 + reactions: *68 body_html: type: string examples: @@ -79803,7 +80303,7 @@ paths: type: string comments: type: array - items: *435 + items: *439 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80078,7 +80578,7 @@ paths: headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80095,8 +80595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -80106,7 +80606,7 @@ paths: application/json: schema: type: array - items: &520 + items: &524 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80174,8 +80674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80211,9 +80711,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &521 + default: &525 value: id: 1 key: ssh-rsa AAA... @@ -80247,9 +80747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *306 - - *307 - - &522 + - *310 + - *311 + - &526 name: key_id description: The unique identifier of the key. in: path @@ -80261,9 +80761,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *521 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -80281,9 +80781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *306 - - *307 - - *522 + - *310 + - *311 + - *526 responses: '204': description: Response @@ -80303,8 +80803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -80314,9 +80814,9 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 + default: *510 headers: Link: *57 '404': *6 @@ -80337,8 +80837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80374,9 +80874,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: - default: &523 + default: &527 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80408,8 +80908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80420,9 +80920,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: - default: *523 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -80439,8 +80939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80479,7 +80979,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: default: value: @@ -80505,8 +81005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80532,8 +81032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -80572,9 +81072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *306 - - *307 - - *413 + - *310 + - *311 + - *417 responses: '200': description: Response @@ -80640,7 +81140,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 required: - _links - git_url @@ -80721,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80787,8 +81287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80822,9 +81322,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *436 + schema: *440 examples: - default: *524 + default: *528 '204': description: Response when already merged '404': @@ -80849,8 +81349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80891,7 +81391,7 @@ paths: application/json: schema: type: array - items: *231 + items: *235 examples: default: value: @@ -80947,8 +81447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80988,9 +81488,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: &525 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81049,9 +81549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *306 - - *307 - - &526 + - *310 + - *311 + - &530 name: milestone_number description: The number that identifies the milestone. in: path @@ -81063,9 +81563,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *525 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -81082,9 +81582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 requestBody: required: false content: @@ -81122,9 +81622,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81140,9 +81640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 responses: '204': description: Response @@ -81163,9 +81663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 - *17 - *19 responses: @@ -81175,9 +81675,9 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 + default: *510 headers: Link: *57 x-github: @@ -81196,12 +81696,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *306 - - *307 - - *527 - - *528 - - *64 - - *529 + - *310 + - *311 + - *531 + - *532 + - *71 + - *533 - *17 - *19 responses: @@ -81211,9 +81711,9 @@ paths: application/json: schema: type: array - items: *86 + items: *93 examples: - default: *530 + default: *534 headers: Link: *57 x-github: @@ -81237,8 +81737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -81296,14 +81796,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &531 + schema: &535 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81447,7 +81947,7 @@ paths: - custom_404 - public examples: - default: &532 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81488,8 +81988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -81544,9 +82044,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *535 examples: - default: *532 + default: *536 '422': *15 '409': *45 x-github: @@ -81569,8 +82069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -81670,8 +82170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -81697,8 +82197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -81708,7 +82208,7 @@ paths: application/json: schema: type: array - items: &533 + items: &537 title: Page Build description: Page Build type: object @@ -81800,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response @@ -81848,16 +82348,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *533 + schema: *537 examples: - default: &534 + default: &538 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81905,8 +82405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *306 - - *307 + - *310 + - *311 - name: build_id in: path required: true @@ -81917,9 +82417,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *537 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81939,8 +82439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82048,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *306 - - *307 - - &535 + - *310 + - *311 + - &539 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82108,11 +82608,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *306 - - *307 - - *535 + - *310 + - *311 + - *539 responses: - '204': *146 + '204': *152 '404': *6 x-github: githubCloudOnly: false @@ -82137,8 +82637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -82406,7 +82906,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -82433,8 +82933,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Private vulnerability reporting status @@ -82471,10 +82971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: - '204': *146 + '204': *152 '422': *14 x-github: githubCloudOnly: false @@ -82493,10 +82993,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: - '204': *146 + '204': *152 '422': *14 x-github: githubCloudOnly: false @@ -82517,8 +83017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: Indicates the state of the projects to return. in: query @@ -82539,7 +83039,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -82579,7 +83079,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -82602,8 +83102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82629,13 +83129,13 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: *311 + default: *315 '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -82658,8 +83158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -82667,7 +83167,7 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: default: value: @@ -82698,8 +83198,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82711,7 +83211,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *241 + items: *245 required: - properties examples: @@ -82761,8 +83261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82822,9 +83322,9 @@ paths: application/json: schema: type: array - items: *440 + items: *444 examples: - default: *536 + default: *540 headers: Link: *57 '304': *35 @@ -82856,8 +83356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82924,7 +83424,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &544 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83053,7 +83553,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 active_lock_reason: type: - string @@ -83108,7 +83608,7 @@ paths: type: - array - 'null' - items: *207 + items: *211 head: type: object properties: @@ -83116,7 +83616,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: *4 @@ -83133,7 +83633,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: *4 @@ -83146,14 +83646,14 @@ paths: _links: type: object properties: - comments: *232 - commits: *232 - statuses: *232 - html: *232 - issue: *232 - review_comments: *232 - review_comment: *232 - self: *232 + comments: *236 + commits: *236 + statuses: *236 + html: *236 + issue: *236 + review_comments: *236 + review_comment: *236 + self: *236 required: - comments - commits @@ -83163,8 +83663,8 @@ paths: - review_comments - review_comment - self - author_association: *60 - auto_merge: *537 + author_association: *67 + auto_merge: *541 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83266,7 +83766,7 @@ paths: - merged_by - review_comments examples: - default: &541 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83793,8 +84293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: sort in: query required: false @@ -83813,7 +84313,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -83823,9 +84323,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: &543 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83902,17 +84402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: &539 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83987,9 +84487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -84011,9 +84511,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: *539 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84029,9 +84529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -84052,9 +84552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84080,9 +84580,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -84103,9 +84603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -84137,16 +84637,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -84168,10 +84668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -84214,9 +84714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *306 - - *307 - - &542 + - *310 + - *311 + - &546 name: pull_number description: The number that identifies the pull request. in: path @@ -84229,9 +84729,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *540 + schema: *544 examples: - default: *541 + default: *545 '304': *35 '404': *6 '406': @@ -84239,8 +84739,8 @@ paths: content: application/json: schema: *3 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84266,9 +84766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -84310,9 +84810,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: *541 + default: *545 '422': *15 '403': *27 x-github: @@ -84334,9 +84834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -84397,21 +84897,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84437,10 +84937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *306 - - *307 - - *542 - - *83 + - *310 + - *311 + - *546 + - *90 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84450,7 +84950,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -84460,9 +84960,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: *543 + default: *547 headers: Link: *57 x-github: @@ -84495,9 +84995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -84603,7 +85103,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: example-for-a-multi-line-comment: value: @@ -84691,10 +85191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *306 - - *307 - - *542 - - *73 + - *310 + - *311 + - *546 + - *80 requestBody: required: true content: @@ -84716,7 +85216,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: default: value: @@ -84802,9 +85302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -84814,9 +85314,9 @@ paths: application/json: schema: type: array - items: *436 + items: *440 examples: - default: *544 + default: *548 headers: Link: *57 x-github: @@ -84846,9 +85346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -84858,7 +85358,7 @@ paths: application/json: schema: type: array - items: *447 + items: *451 examples: default: value: @@ -84876,8 +85376,8 @@ paths: headers: Link: *57 '422': *15 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84896,9 +85396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 responses: '204': description: Response if pull request has been merged @@ -84921,9 +85421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -85035,9 +85535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 responses: '200': description: Response @@ -85053,7 +85553,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 required: - users - teams @@ -85112,9 +85612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -85151,7 +85651,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: default: value: @@ -85687,9 +86187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -85723,7 +86223,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: default: value: @@ -86228,9 +86728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -86240,7 +86740,7 @@ paths: application/json: schema: type: array - items: &545 + items: &549 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86314,7 +86814,7 @@ paths: type: string body_text: type: string - author_association: *60 + author_association: *67 required: - id - node_id @@ -86396,9 +86896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -86488,9 +86988,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: &547 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86553,10 +87053,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 - - &546 + - *310 + - *311 + - *546 + - &550 name: review_id description: The unique identifier of the review. in: path @@ -86568,9 +87068,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: &548 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86629,10 +87129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -86655,7 +87155,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -86717,18 +87217,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 responses: '200': description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: *547 + default: *551 '422': *7 '404': *6 x-github: @@ -86755,10 +87255,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 - *17 - *19 responses: @@ -86852,13 +87352,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *60 + author_association: *67 _links: type: object properties: - self: *232 - html: *232 - pull_request: *232 + self: *236 + html: *236 + pull_request: *236 required: - self - html @@ -86867,7 +87367,7 @@ paths: type: string body_html: type: string - reactions: *61 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -87016,10 +87516,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -87048,7 +87548,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -87111,10 +87611,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -87149,9 +87649,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: *548 + default: *552 '404': *6 '422': *7 '403': *27 @@ -87173,9 +87673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -87239,8 +87739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *306 - - *307 + - *310 + - *311 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87253,9 +87753,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *553 examples: - default: &550 + default: &554 value: type: file encoding: base64 @@ -87297,8 +87797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *306 - - *307 + - *310 + - *311 - name: dir description: The alternate path to look for a README file in: path @@ -87318,9 +87818,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *553 examples: - default: *550 + default: *554 '404': *6 '422': *15 x-github: @@ -87342,8 +87842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -87353,7 +87853,7 @@ paths: application/json: schema: type: array - items: &551 + items: &555 title: Release description: A release. type: object @@ -87435,7 +87935,7 @@ paths: author: *4 assets: type: array - items: &552 + items: &556 title: Release Asset description: Data related to a release. type: object @@ -87510,7 +88010,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *61 + reactions: *68 required: - assets_url - upload_url @@ -87622,8 +88122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -87699,9 +88199,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: &555 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87806,9 +88306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *306 - - *307 - - &553 + - *310 + - *311 + - &557 name: asset_id description: The unique identifier of the asset. in: path @@ -87820,9 +88320,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: &554 + default: &558 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 @@ -87857,7 +88357,7 @@ paths: type: User site_admin: false '404': *6 - '302': *449 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87873,9 +88373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *306 - - *307 - - *553 + - *310 + - *311 + - *557 requestBody: required: false content: @@ -87904,9 +88404,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *554 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87922,9 +88422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *306 - - *307 - - *553 + - *310 + - *311 + - *557 responses: '204': description: Response @@ -87948,8 +88448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -88035,16 +88535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88061,8 +88561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *306 - - *307 + - *310 + - *311 - name: tag description: tag parameter in: path @@ -88075,9 +88575,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -88099,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *306 - - *307 - - &556 + - *310 + - *311 + - &560 name: release_id description: The unique identifier of the release. in: path @@ -88115,9 +88615,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: *551 + schema: *555 examples: - default: *555 + default: *559 '401': description: Unauthorized x-github: @@ -88135,9 +88635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 requestBody: required: false content: @@ -88201,9 +88701,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 '404': description: Not Found if the discussion category name is invalid content: @@ -88224,9 +88724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 responses: '204': description: Response @@ -88246,9 +88746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - *17 - *19 responses: @@ -88258,7 +88758,7 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: default: value: @@ -88339,9 +88839,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: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - name: name in: query required: true @@ -88367,7 +88867,7 @@ paths: description: Response for successful upload content: application/json: - schema: *552 + schema: *556 examples: response-for-successful-upload: value: @@ -88422,9 +88922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - 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. @@ -88448,9 +88948,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -88471,9 +88971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 requestBody: required: true content: @@ -88503,16 +89003,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -88534,10 +89034,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *310 + - *311 + - *560 - *306 - - *307 - - *556 - - *302 responses: '204': description: Response @@ -88561,9 +89061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 - *17 - *19 responses: @@ -88579,8 +89079,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *248 - - &557 + - *252 + - &561 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88599,66 +89099,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *249 - - *557 - - allOf: - - *250 - - *557 - - allOf: - - *251 - - *557 - - allOf: - - *558 - - *557 - - allOf: - - *252 - - *557 - allOf: - *253 - - *557 + - *561 - allOf: - *254 - - *557 + - *561 - allOf: - *255 - - *557 + - *561 + - allOf: + - *562 + - *561 - allOf: - *256 - - *557 + - *561 - allOf: - *257 - - *557 + - *561 - allOf: - *258 - - *557 + - *561 - allOf: - *259 - - *557 + - *561 - allOf: - *260 - - *557 + - *561 - allOf: - *261 - - *557 + - *561 - allOf: - *262 - - *557 + - *561 - allOf: - *263 - - *557 + - *561 - allOf: - *264 - - *557 + - *561 - allOf: - *265 - - *557 + - *561 - allOf: - *266 - - *557 + - *561 - allOf: - *267 - - *557 + - *561 + - allOf: + - *268 + - *561 + - allOf: + - *269 + - *561 + - allOf: + - *270 + - *561 + - allOf: + - *271 + - *561 + - allOf: + - *563 + - *561 examples: default: value: @@ -88697,8 +89200,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - name: includes_parents @@ -88709,7 +89212,7 @@ paths: schema: type: boolean default: true - - *559 + - *564 responses: '200': description: Response @@ -88717,7 +89220,7 @@ paths: application/json: schema: type: array - items: *268 + items: *272 examples: default: value: @@ -88748,7 +89251,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88764,8 +89267,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 requestBody: description: Request body required: true @@ -88785,16 +89288,16 @@ paths: - tag - push default: branch - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *243 + items: *250 + conditions: *247 rules: type: array description: An array of rules within the ruleset. - items: *560 + items: *565 required: - name - enforcement @@ -88825,9 +89328,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: &570 + default: &575 value: id: 42 name: super cool ruleset @@ -88860,7 +89363,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88874,12 +89377,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *306 - - *307 - - *561 - - *562 - - *563 - - *564 + - *310 + - *311 + - *566 + - *567 + - *568 + - *569 - *17 - *19 responses: @@ -88887,11 +89390,11 @@ paths: description: Response content: application/json: - schema: *565 + schema: *570 examples: - default: *566 + default: *571 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88910,19 +89413,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *306 - - *307 - - *567 + - *310 + - *311 + - *572 responses: '200': description: Response content: application/json: - schema: *568 + schema: *573 examples: - default: *569 + default: *574 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88948,8 +89451,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88969,11 +89472,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *570 + default: *575 '404': *6 - '500': *91 + '500': *98 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -88989,8 +89492,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89015,16 +89518,16 @@ paths: - branch - tag - push - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *243 + items: *250 + conditions: *247 rules: description: An array of rules within the ruleset. type: array - items: *560 + items: *565 examples: default: value: @@ -89052,11 +89555,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *570 + default: *575 '404': *6 - '500': *91 + '500': *98 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89072,8 +89575,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89084,7 +89587,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *98 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89096,8 +89599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - name: ruleset_id @@ -89113,11 +89616,11 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *571 + default: *576 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89134,8 +89637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89153,7 +89656,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: default: value: @@ -89186,7 +89689,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89208,21 +89711,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *306 - - *307 - - *272 - - *273 - - *274 - - *275 - - *46 - - *19 - - *17 - - *573 - - *574 + - *310 + - *311 - *276 - *277 - *278 - *279 + - *46 + - *19 + - *17 + - *578 + - *579 + - *280 + - *281 + - *282 + - *283 responses: '200': description: Response @@ -89230,7 +89733,7 @@ paths: application/json: schema: type: array - items: &578 + items: &583 type: object properties: number: *52 @@ -89246,8 +89749,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *575 - resolution: *576 + state: *580 + resolution: *581 resolved_at: type: - string @@ -89341,7 +89844,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *577 + - *582 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -89441,7 +89944,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89463,16 +89966,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 - - *279 + - *310 + - *311 + - *411 + - *283 responses: '200': description: Response content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -89503,7 +90006,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89524,9 +90027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: true content: @@ -89534,8 +90037,8 @@ paths: schema: type: object properties: - state: *575 - resolution: *576 + state: *580 + resolution: *581 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89554,7 +90057,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -89607,7 +90110,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89629,9 +90132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 - *19 - *17 responses: @@ -89642,7 +90145,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &732 + items: &737 type: object properties: type: @@ -89669,11 +90172,6 @@ paths: - commit details: oneOf: - - *579 - - *580 - - *581 - - *582 - - *583 - *584 - *585 - *586 @@ -89682,6 +90180,11 @@ paths: - *589 - *590 - *591 + - *592 + - *593 + - *594 + - *595 + - *596 examples: default: value: @@ -89745,7 +90248,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89767,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -89776,14 +90279,14 @@ paths: schema: type: object properties: - reason: &593 + reason: &598 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *592 + placeholder_id: *597 required: - reason - placeholder_id @@ -89800,7 +90303,7 @@ paths: schema: type: object properties: - reason: *593 + reason: *598 expire_at: type: - string @@ -89824,7 +90327,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89844,13 +90347,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *62 + '503': *69 '200': description: Response content: @@ -89860,7 +90363,7 @@ paths: properties: incremental_scans: type: array - items: &594 + items: &599 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89888,15 +90391,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *594 + items: *599 backfill_scans: type: array - items: *594 + items: *599 custom_pattern_backfill_scans: type: array items: allOf: - - *594 + - *599 - type: object properties: pattern_name: @@ -89966,8 +90469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *306 - - *307 + - *310 + - *311 - *46 - name: sort description: The property to sort the results by. @@ -90011,9 +90514,9 @@ paths: application/json: schema: type: array - items: *595 + items: *600 examples: - default: *596 + default: *601 '400': *14 '404': *6 x-github: @@ -90036,8 +90539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -90117,7 +90620,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 required: - login - type @@ -90207,9 +90710,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: &598 + default: &603 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90442,8 +90945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -90556,7 +91059,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: default: value: @@ -90703,17 +91206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '200': description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: *598 + default: *603 '403': *27 '404': *6 x-github: @@ -90737,9 +91240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 requestBody: required: true content: @@ -90819,7 +91322,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 required: - login - type @@ -90910,17 +91413,17 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: *598 - add_credit: *598 + default: *603 + add_credit: *603 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *94 + schema: *101 examples: invalid_state_transition: value: @@ -90951,9 +91454,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: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '202': *37 '400': *14 @@ -90980,17 +91483,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '202': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 '400': *14 '422': *15 '403': *27 @@ -91016,8 +91519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91113,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91123,7 +91626,7 @@ paths: application/json: schema: type: array - items: &599 + items: &604 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91136,7 +91639,7 @@ paths: - 1124 - -435 '202': *37 - '204': *146 + '204': *152 '422': description: Repository contains more than 10,000 commits x-github: @@ -91156,8 +91659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91208,7 +91711,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91235,8 +91738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91308,7 +91811,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91330,8 +91833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91485,8 +91988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91496,7 +91999,7 @@ paths: application/json: schema: type: array - items: *599 + items: *604 examples: default: value: @@ -91509,7 +92012,7 @@ paths: - - 0 - 2 - 21 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91529,8 +92032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *306 - - *307 + - *310 + - *311 - name: sha in: path required: true @@ -91586,7 +92089,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *605 examples: default: value: @@ -91640,8 +92143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91653,7 +92156,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -91673,14 +92176,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &601 + schema: &606 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91753,8 +92256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -91780,7 +92283,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -91807,8 +92310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -91828,8 +92331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91911,8 +92414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91920,7 +92423,7 @@ paths: application/json: schema: type: array - items: &602 + items: &607 title: Tag protection description: Tag protection type: object @@ -91977,8 +92480,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92001,7 +92504,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -92032,8 +92535,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: - - *306 - - *307 + - *310 + - *311 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92070,8 +92573,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *306 - - *307 + - *310 + - *311 - name: ref in: path required: true @@ -92107,8 +92610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -92118,9 +92621,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 headers: Link: *57 '404': *6 @@ -92140,8 +92643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 responses: @@ -92149,7 +92652,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &608 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92161,7 +92664,7 @@ paths: required: - names examples: - default: &604 + default: &609 value: names: - octocat @@ -92184,8 +92687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92216,9 +92719,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *604 + default: *609 '404': *6 '422': *7 x-github: @@ -92239,9 +92742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *306 - - *307 - - &605 + - *310 + - *311 + - &610 name: per description: The time frame to display results for. in: query @@ -92272,7 +92775,7 @@ paths: - 128 clones: type: array - items: &606 + items: &611 title: Traffic type: object properties: @@ -92359,8 +92862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -92454,8 +92957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -92518,9 +93021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *306 - - *307 - - *605 + - *310 + - *311 + - *610 responses: '200': description: Response @@ -92541,7 +93044,7 @@ paths: - 3782 views: type: array - items: *606 + items: *611 required: - uniques - count @@ -92618,8 +93121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92655,7 +93158,7 @@ paths: description: Response content: application/json: - schema: *120 + schema: *127 examples: default: value: @@ -92893,8 +93396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92917,8 +93420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -92940,8 +93443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -92967,8 +93470,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *306 - - *307 + - *310 + - *311 - name: ref in: path required: true @@ -93060,9 +93563,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93103,7 +93606,7 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: default: value: @@ -93292,7 +93795,7 @@ paths: html_url: type: string format: uri - repository: *120 + repository: *127 score: type: number file_size: @@ -93311,7 +93814,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &607 + text_matches: &612 title: Search Result Text Matches type: array items: @@ -93426,7 +93929,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *62 + '503': *69 '422': *15 '403': *27 x-github: @@ -93474,7 +93977,7 @@ paths: enum: - author-date - committer-date - - &608 + - &613 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 @@ -93543,7 +94046,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 comment_count: type: integer message: @@ -93562,7 +94065,7 @@ paths: url: type: string format: uri - verification: *484 + verification: *488 required: - author - committer @@ -93577,7 +94080,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 parents: type: array items: @@ -93589,12 +94092,12 @@ paths: type: string sha: type: string - repository: *120 + repository: *127 score: type: number node_id: type: string - text_matches: *607 + text_matches: *612 required: - sha - node_id @@ -93776,7 +94279,7 @@ paths: - interactions - created - updated - - *608 + - *613 - *17 - *19 - name: advanced_search @@ -93873,11 +94376,11 @@ paths: type: - string - 'null' - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: type: string state_reason: @@ -93891,7 +94394,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 comments: type: integer created_at: @@ -93905,7 +94408,7 @@ paths: - string - 'null' format: date-time - text_matches: *607 + text_matches: *612 pull_request: type: object properties: @@ -93943,10 +94446,10 @@ paths: type: string score: type: number - author_association: *60 + author_association: *67 draft: type: boolean - repository: *59 + repository: *66 body_html: type: string body_text: @@ -93954,12 +94457,12 @@ paths: timeline_url: type: string format: uri - type: *190 + type: *196 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - assignee - closed_at @@ -94075,7 +94578,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *62 + '503': *69 '422': *15 '304': *35 '403': *27 @@ -94131,7 +94634,7 @@ paths: enum: - created - updated - - *608 + - *613 - *17 - *19 responses: @@ -94176,7 +94679,7 @@ paths: - 'null' score: type: number - text_matches: *607 + text_matches: *612 required: - id - node_id @@ -94261,7 +94764,7 @@ paths: - forks - help-wanted-issues - updated - - *608 + - *613 - *17 - *19 responses: @@ -94480,7 +94983,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 permissions: type: object properties: @@ -94498,7 +95001,7 @@ paths: - admin - pull - push - text_matches: *607 + text_matches: *612 temp_clone_token: type: string allow_merge_commit: @@ -94701,7 +95204,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *62 + '503': *69 '422': *15 '304': *35 x-github: @@ -94806,7 +95309,7 @@ paths: - string - 'null' format: uri - text_matches: *607 + text_matches: *612 related: type: - array @@ -94999,7 +95502,7 @@ paths: - followers - repositories - joined - - *608 + - *613 - *17 - *19 responses: @@ -95109,7 +95612,7 @@ paths: type: - boolean - 'null' - text_matches: *607 + text_matches: *612 blog: type: - string @@ -95171,7 +95674,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *62 + '503': *69 '422': *15 x-github: githubCloudOnly: false @@ -95191,7 +95694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &612 + - &617 name: team_id description: The unique identifier of the team. in: path @@ -95203,9 +95706,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -95232,7 +95735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *612 + - *617 requestBody: required: true content: @@ -95296,16 +95799,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '201': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 '422': *15 '403': *27 @@ -95333,7 +95836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *612 + - *617 responses: '204': description: Response @@ -95364,7 +95867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *612 + - *617 - *46 - *17 - *19 @@ -95375,9 +95878,9 @@ paths: application/json: schema: type: array - items: *293 + items: *297 examples: - default: *613 + default: *618 headers: Link: *57 x-github: @@ -95406,7 +95909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *612 + - *617 requestBody: required: true content: @@ -95440,9 +95943,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -95469,16 +95972,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 responses: '200': description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95503,8 +96006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: false content: @@ -95527,9 +96030,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *614 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95554,8 +96057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 responses: '204': description: Response @@ -95584,8 +96087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *612 - - *295 + - *617 + - *299 - *46 - *17 - *19 @@ -95596,9 +96099,9 @@ paths: application/json: schema: type: array - items: *296 + items: *300 examples: - default: *615 + default: *620 headers: Link: *57 x-github: @@ -95627,8 +96130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: true content: @@ -95650,9 +96153,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: triggersNotification: true githubCloudOnly: false @@ -95679,17 +96182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95714,9 +96217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 requestBody: required: true content: @@ -95738,9 +96241,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *616 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95765,9 +96268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 responses: '204': description: Response @@ -95796,9 +96299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 - 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. @@ -95824,9 +96327,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -95855,9 +96358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 requestBody: required: true content: @@ -95889,9 +96392,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95917,8 +96420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 - 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. @@ -95944,9 +96447,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -95975,8 +96478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: true content: @@ -96008,9 +96511,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96034,7 +96537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96044,9 +96547,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 x-github: @@ -96072,7 +96575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *612 + - *617 - name: role description: Filters members returned by their role in the team. in: query @@ -96095,7 +96598,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -96123,8 +96626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: if user is a member @@ -96160,8 +96663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96200,8 +96703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96237,16 +96740,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '200': description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-user-is-a-team-maintainer: *617 + response-if-user-is-a-team-maintainer: *622 '404': *6 x-github: githubCloudOnly: false @@ -96279,8 +96782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 requestBody: required: false content: @@ -96305,9 +96808,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *618 + response-if-users-membership-with-team-is-now-pending: *623 '403': description: Forbidden if team synchronization is set up '422': @@ -96341,8 +96844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96370,7 +96873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96380,9 +96883,9 @@ paths: application/json: schema: type: array - items: *304 + items: *308 examples: - default: *619 + default: *624 headers: Link: *57 '404': *6 @@ -96408,16 +96911,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *612 - - *305 + - *617 + - *309 responses: '200': description: Response content: application/json: - schema: *304 + schema: *308 examples: - default: *620 + default: *625 '404': description: Not Found if project is not managed by this team x-github: @@ -96441,8 +96944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *612 - - *305 + - *617 + - *309 requestBody: required: false content: @@ -96509,8 +97012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *612 - - *305 + - *617 + - *309 responses: '204': description: Response @@ -96537,7 +97040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96547,9 +97050,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '404': *6 @@ -96579,15 +97082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *621 + schema: *626 examples: alternative-response-with-extra-repository-information: value: @@ -96738,9 +97241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 requestBody: required: false content: @@ -96790,9 +97293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 responses: '204': description: Response @@ -96817,7 +97320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96827,9 +97330,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - response-if-child-teams-exist: *622 + response-if-child-teams-exist: *627 headers: Link: *57 '404': *6 @@ -96862,7 +97365,7 @@ paths: application/json: schema: oneOf: - - &624 + - &629 title: Private User description: Private User type: object @@ -97112,7 +97615,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *623 + - *628 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97272,7 +97775,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -97351,7 +97854,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '304': *35 '404': *6 '403': *27 @@ -97374,7 +97877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *133 + - *62 responses: '204': description: If the user is blocked @@ -97402,7 +97905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -97426,7 +97929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -97475,11 +97978,11 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -97616,21 +98119,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97670,7 +98173,7 @@ paths: type: integer secrets: type: array - items: &625 + items: &630 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97712,7 +98215,7 @@ paths: - visibility - selected_repositories_url examples: - default: *429 + default: *433 headers: Link: *57 x-github: @@ -97784,13 +98287,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 responses: '200': description: Response content: application/json: - schema: *625 + schema: *630 examples: default: value: @@ -97820,7 +98323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 requestBody: required: true content: @@ -97865,7 +98368,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -97893,7 +98396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 responses: '204': description: Response @@ -97918,7 +98421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *128 + - *135 responses: '200': description: Response @@ -97934,13 +98437,13 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *626 + default: *631 '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97961,7 +98464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *128 + - *135 requestBody: required: true content: @@ -97993,7 +98496,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98015,7 +98518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *128 + - *135 - name: repository_id in: path required: true @@ -98027,7 +98530,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98048,7 +98551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *128 + - *135 - name: repository_id in: path required: true @@ -98060,7 +98563,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98080,17 +98583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98114,7 +98617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 requestBody: required: false content: @@ -98144,9 +98647,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 @@ -98168,11 +98671,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '202': *37 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98197,13 +98700,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '202': description: Response content: application/json: - schema: &627 + schema: &632 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98256,7 +98759,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &628 + default: &633 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98264,7 +98767,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98288,7 +98791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *198 + - *203 - name: export_id in: path required: true @@ -98301,9 +98804,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '404': *6 x-github: githubCloudOnly: false @@ -98324,7 +98827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *198 + - *203 responses: '200': description: Response @@ -98340,11 +98843,11 @@ paths: type: integer machines: type: array - items: *428 + items: *432 examples: - default: *629 + default: *634 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98371,7 +98874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *198 + - *203 requestBody: required: true content: @@ -98427,11 +98930,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *314 + repository: *318 machine: anyOf: - type: 'null' - - *428 + - *432 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99228,17 +99731,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '304': *35 - '500': *91 + '500': *98 '400': *14 '401': *23 '402': @@ -99268,16 +99771,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 - '500': *91 + default: *431 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -99306,9 +99809,9 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: &641 + default: &646 value: - id: 197 name: hello_docker @@ -99409,7 +99912,7 @@ paths: application/json: schema: type: array - items: &630 + items: &635 title: Email description: Email type: object @@ -99479,9 +99982,9 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: - default: &643 + default: &648 value: - email: octocat@github.com verified: true @@ -99558,7 +100061,7 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: default: value: @@ -99670,7 +100173,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '304': *35 @@ -99703,7 +100206,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '304': *35 @@ -99725,7 +100228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *133 + - *62 responses: '204': description: if the person is followed by the authenticated user @@ -99755,7 +100258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -99780,7 +100283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -99816,7 +100319,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: GPG Key description: A unique encryption key type: object @@ -99961,7 +100464,7 @@ paths: - subkeys - revoked examples: - default: &661 + default: &666 value: - id: 3 name: Octocat's GPG Key @@ -100046,9 +100549,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: - default: &632 + default: &637 value: id: 3 name: Octocat's GPG Key @@ -100105,7 +100608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &633 + - &638 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100117,9 +100620,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: - default: *632 + default: *637 '404': *6 '304': *35 '403': *27 @@ -100142,7 +100645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *633 + - *638 responses: '204': description: Response @@ -100331,9 +100834,9 @@ paths: type: string repositories: type: array - items: *59 + items: *66 examples: - default: *112 + default: *119 headers: Link: *57 '404': *6 @@ -100358,7 +100861,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *109 + - *116 responses: '204': description: Response @@ -100384,7 +100887,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *109 + - *116 responses: '204': description: Response @@ -100418,12 +100921,12 @@ paths: application/json: schema: anyOf: - - *185 + - *191 - type: object properties: {} additionalProperties: false examples: - default: *186 + default: *192 '204': description: Response when there are no restrictions x-github: @@ -100447,7 +100950,7 @@ paths: required: true content: application/json: - schema: *495 + schema: *499 examples: default: value: @@ -100458,7 +100961,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: default: value: @@ -100539,7 +101042,7 @@ paths: - closed - all default: open - - *193 + - *199 - name: sort description: What to sort results by. in: query @@ -100552,7 +101055,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -100562,9 +101065,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *194 + default: *200 headers: Link: *57 '404': *6 @@ -100597,7 +101100,7 @@ paths: application/json: schema: type: array - items: &634 + items: &639 title: Key description: Key type: object @@ -100700,9 +101203,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *639 examples: - default: &635 + default: &640 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100735,15 +101238,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *522 + - *526 responses: '200': description: Response content: application/json: - schema: *634 + schema: *639 examples: - default: *635 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100766,7 +101269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *522 + - *526 responses: '204': description: Response @@ -100799,7 +101302,7 @@ paths: application/json: schema: type: array - items: &636 + items: &641 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100867,7 +101370,7 @@ paths: - id - type - login - plan: *77 + plan: *84 required: - billing_cycle - next_billing_date @@ -100878,7 +101381,7 @@ paths: - account - plan examples: - default: &637 + default: &642 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100940,9 +101443,9 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: Link: *57 '304': *35 @@ -100982,7 +101485,7 @@ paths: application/json: schema: type: array - items: *200 + items: *205 examples: default: value: @@ -101084,13 +101587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *200 + schema: *205 examples: default: value: @@ -101148,7 +101651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *97 requestBody: required: true content: @@ -101173,7 +101676,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *205 examples: default: value: @@ -101241,7 +101744,7 @@ paths: application/json: schema: type: array - items: *202 + items: *207 examples: default: value: @@ -101503,7 +102006,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -101683,7 +102186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *203 + - *208 - name: exclude in: query required: false @@ -101696,7 +102199,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -101890,7 +102393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *203 + - *208 responses: '302': description: Response @@ -101916,7 +102419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *203 + - *208 responses: '204': description: Response @@ -101945,8 +102448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *203 - - *638 + - *208 + - *643 responses: '204': description: Response @@ -101970,7 +102473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *203 + - *208 - *17 - *19 responses: @@ -101980,9 +102483,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '404': *6 @@ -102017,9 +102520,9 @@ paths: application/json: schema: type: array - items: *150 + items: *156 examples: - default: *639 + default: *644 headers: Link: *57 '304': *35 @@ -102061,7 +102564,7 @@ paths: - docker - nuget - container - - *640 + - *645 - *19 - *17 responses: @@ -102071,10 +102574,10 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 - '400': *642 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102094,16 +102597,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: - default: &662 + default: &667 value: id: 40201 name: octo-name @@ -102216,8 +102719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 responses: '204': description: Response @@ -102247,8 +102750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 - name: token description: package token schema: @@ -102280,8 +102783,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: - - *211 - - *212 + - *215 + - *216 - *19 - *17 - name: state @@ -102301,7 +102804,7 @@ paths: application/json: schema: type: array - items: *213 + items: *217 examples: default: value: @@ -102350,15 +102853,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -102394,9 +102897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '204': description: Response @@ -102426,9 +102929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '204': description: Response @@ -102486,7 +102989,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -102558,9 +103061,9 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: - default: *643 + default: *648 headers: Link: *57 '304': *35 @@ -102671,9 +103174,9 @@ paths: application/json: schema: type: array - items: *59 + items: *66 examples: - default: &650 + default: &655 summary: Default response value: - id: 1296269 @@ -102991,9 +103494,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103031,9 +103534,9 @@ paths: application/json: schema: type: array - items: *497 + items: *501 examples: - default: *644 + default: *649 headers: Link: *57 '304': *35 @@ -103056,7 +103559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *189 + - *195 responses: '204': description: Response @@ -103079,7 +103582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *189 + - *195 responses: '204': description: Response @@ -103112,7 +103615,7 @@ paths: application/json: schema: type: array - items: &645 + items: &650 title: Social account description: Social media account type: object @@ -103129,7 +103632,7 @@ paths: - provider - url examples: - default: &646 + default: &651 value: - provider: twitter url: https://twitter.com/github @@ -103192,9 +103695,9 @@ paths: application/json: schema: type: array - items: *645 + items: *650 examples: - default: *646 + default: *651 '422': *15 '304': *35 '404': *6 @@ -103282,7 +103785,7 @@ paths: application/json: schema: type: array - items: &647 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103302,7 +103805,7 @@ paths: - title - created_at examples: - default: &673 + default: &678 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103369,9 +103872,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *652 examples: - default: &648 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103402,7 +103905,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: - - &649 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103414,9 +103917,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *652 examples: - default: *648 + default: *653 '404': *6 '304': *35 '403': *27 @@ -103439,7 +103942,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: - - *649 + - *654 responses: '204': description: Response @@ -103468,7 +103971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &674 + - &679 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 @@ -103491,13 +103994,13 @@ paths: application/json: schema: type: array - items: *59 + items: *66 examples: - default-response: *650 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &675 + items: &680 title: Starred Repository description: Starred Repository type: object @@ -103505,7 +104008,7 @@ paths: starred_at: type: string format: date-time - repo: *59 + repo: *66 required: - starred_at - repo @@ -103653,8 +104156,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: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response if this repository is starred by you @@ -103682,8 +104185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -103707,8 +104210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -103741,9 +104244,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '304': *35 @@ -103780,7 +104283,7 @@ paths: application/json: schema: type: array - items: *291 + items: *295 examples: default: value: @@ -103858,7 +104361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *79 + - *86 responses: '200': description: Response @@ -103866,10 +104369,10 @@ paths: application/json: schema: oneOf: - - *624 - - *623 + - *629 + - *628 examples: - default-response: &656 + default-response: &661 summary: Default response value: login: octocat @@ -103904,7 +104407,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &657 + response-with-git-hub-plan-information: &662 summary: Response with GitHub plan information value: login: octocat @@ -103964,7 +104467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *651 + - *656 - *17 responses: '200': @@ -103975,7 +104478,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: example: ; rel="next" @@ -103998,8 +104501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *228 - - &652 + - *232 + - &657 name: user_id description: The unique identifier of the user. in: path @@ -104011,9 +104514,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -104035,8 +104538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *228 - - *652 + - *232 + - *657 - *17 - *38 - *39 @@ -104047,9 +104550,9 @@ paths: application/json: schema: type: array - items: *229 + items: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -104071,17 +104574,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *228 - - *653 - - *652 + - *232 + - *658 + - *657 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -104104,8 +104607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *228 - - *652 + - *232 + - *657 - *38 - *39 - *17 @@ -104135,9 +104638,9 @@ paths: application/json: schema: type: array - items: *234 + items: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -104158,8 +104661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *652 - - *228 + - *657 + - *232 requestBody: required: true description: Details of the item to add to the project. @@ -104196,9 +104699,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *659 examples: - default: *655 + default: *660 '304': *35 '403': *27 '401': *23 @@ -104218,9 +104721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104238,9 +104741,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -104261,9 +104764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104336,9 +104839,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 '401': *23 '403': *27 '404': *6 @@ -104358,9 +104861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 responses: '204': description: Response @@ -104389,7 +104892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *133 + - *62 responses: '200': description: Response @@ -104397,11 +104900,11 @@ paths: application/json: schema: oneOf: - - *624 - - *623 + - *629 + - *628 examples: - default-response: *656 - response-with-git-hub-plan-information: *657 + default-response: *661 + response-with-git-hub-plan-information: *662 '404': *6 x-github: githubCloudOnly: false @@ -104427,7 +104930,7 @@ paths: - *17 - *38 - *39 - - *133 + - *62 requestBody: required: true content: @@ -104450,8 +104953,8 @@ paths: required: - subject_digests examples: - default: *658 - withPredicateType: *659 + default: *663 + withPredicateType: *664 responses: '200': description: Response @@ -104505,7 +105008,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *660 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104523,7 +105026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *133 + - *62 requestBody: required: true content: @@ -104588,7 +105091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *133 + - *62 - name: subject_digest description: Subject Digest in: path @@ -104619,7 +105122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *133 + - *62 - name: attestation_id description: Attestation ID in: path @@ -104657,7 +105160,7 @@ paths: - *17 - *38 - *39 - - *133 + - *62 - name: subject_digest description: Subject Digest in: path @@ -104707,12 +105210,12 @@ paths: bundle_url: type: string examples: - default: *370 + default: *374 '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -104738,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *133 + - *62 responses: '200': description: Response @@ -104746,9 +105249,9 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 + default: *646 '403': *27 '401': *23 x-github: @@ -104771,7 +105274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -104781,7 +105284,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -104852,8 +105355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *133 - - *90 + - *62 + - *97 - *17 - *19 responses: @@ -104863,7 +105366,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -104942,7 +105445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -104952,7 +105455,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105019,7 +105522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105031,7 +105534,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -105050,7 +105553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105062,7 +105565,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -105081,7 +105584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *133 + - *62 - name: target_user in: path required: true @@ -105108,8 +105611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *133 - - *64 + - *62 + - *71 - *17 - *19 responses: @@ -105119,9 +105622,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '422': *15 @@ -105142,7 +105645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105152,9 +105655,9 @@ paths: application/json: schema: type: array - items: *631 + items: *636 examples: - default: *661 + default: *666 headers: Link: *57 x-github: @@ -105178,7 +105681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *133 + - *62 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -105250,7 +105753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *133 + - *62 responses: '200': description: Response @@ -105258,7 +105761,7 @@ paths: application/json: schema: *20 examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105276,7 +105779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105332,7 +105835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105342,9 +105845,9 @@ paths: application/json: schema: type: array - items: *150 + items: *156 examples: - default: *639 + default: *644 headers: Link: *57 x-github: @@ -105383,8 +105886,8 @@ paths: - docker - nuget - container - - *640 - - *133 + - *645 + - *62 - *19 - *17 responses: @@ -105394,12 +105897,12 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 + default: *646 '403': *27 '401': *23 - '400': *642 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105419,17 +105922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: - default: *662 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105450,9 +105953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '204': description: Response @@ -105484,9 +105987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 - name: token description: package token schema: @@ -105518,9 +106021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '200': description: Response @@ -105528,7 +106031,7 @@ paths: application/json: schema: type: array - items: *213 + items: *217 examples: default: value: @@ -105586,16 +106089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *211 - - *212 - - *214 - - *133 + - *215 + - *216 + - *218 + - *62 responses: '200': description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -105630,10 +106133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *211 - - *212 - - *133 - - *214 + - *215 + - *216 + - *62 + - *218 responses: '204': description: Response @@ -105665,10 +106168,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *211 - - *212 - - *133 - - *214 + - *215 + - *216 + - *62 + - *218 responses: '204': description: Response @@ -105694,7 +106197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *133 + - *62 - name: state description: Indicates the state of the projects to return. in: query @@ -105715,7 +106218,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -105773,7 +106276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *133 + - *62 - name: q description: Limit results to projects of the specified type. in: query @@ -105790,9 +106293,9 @@ paths: application/json: schema: type: array - items: *226 + items: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -105819,7 +106322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105829,7 +106332,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105908,7 +106411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105918,7 +106421,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105995,7 +106498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *133 + - *62 - name: type description: Limit results to repositories of the specified type. in: query @@ -106038,9 +106541,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -106064,15 +106567,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *664 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106094,15 +106597,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: *666 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106124,15 +106627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: *668 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106152,11 +106655,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *133 - - *669 - - *670 - - *671 - - *672 + - *62 + - *674 + - *675 + - *676 + - *677 responses: '200': description: Response when getting a billing usage report @@ -106226,8 +106729,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106245,7 +106748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106255,9 +106758,9 @@ paths: application/json: schema: type: array - items: *645 + items: *650 examples: - default: *646 + default: *651 headers: Link: *57 x-github: @@ -106277,7 +106780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106287,9 +106790,9 @@ paths: application/json: schema: type: array - items: *647 + items: *652 examples: - default: *673 + default: *678 headers: Link: *57 x-github: @@ -106313,8 +106816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *133 - - *674 + - *62 + - *679 - *46 - *17 - *19 @@ -106326,11 +106829,11 @@ paths: schema: anyOf: - type: array - items: *675 + items: *680 - type: array - items: *59 + items: *66 examples: - default-response: *650 + default-response: *655 headers: Link: *57 x-github: @@ -106349,7 +106852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106359,9 +106862,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -106490,7 +106993,7 @@ webhooks: type: string enum: - disabled - enterprise: &676 + enterprise: &681 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106559,7 +107062,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &677 + installation: &682 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106580,7 +107083,7 @@ webhooks: required: - id - node_id - organization: &678 + organization: &683 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106653,7 +107156,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &679 + repository: &684 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106682,7 +107185,7 @@ webhooks: license: anyOf: - type: 'null' - - *75 + - *82 organization: anyOf: - type: 'null' @@ -107566,10 +108069,10 @@ webhooks: type: string enum: - enabled - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -107645,11 +108148,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: &680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: &685 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) @@ -107872,11 +108375,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: *680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: *685 sender: *4 required: - action @@ -108064,11 +108567,11 @@ webhooks: - everyone required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: *680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: *685 sender: *4 required: - action @@ -108152,7 +108655,7 @@ webhooks: type: string enum: - completed - check_run: &682 + check_run: &687 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108217,8 +108720,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *387 - repository: *120 + items: *391 + repository: *127 status: type: string enum: @@ -108262,7 +108765,7 @@ webhooks: - examples: - neutral - deployment: *681 + deployment: *686 details_url: type: string examples: @@ -108322,7 +108825,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *387 + items: *391 started_at: type: string format: date-time @@ -108360,10 +108863,10 @@ webhooks: - output - app - pull_requests - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -108756,11 +109259,11 @@ webhooks: type: string enum: - created - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -109156,11 +109659,11 @@ webhooks: type: string enum: - requested_action - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 requested_action: description: The action requested by the user. type: object @@ -109565,11 +110068,11 @@ webhooks: type: string enum: - rerequested - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -110561,10 +111064,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -111249,10 +111752,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -111931,10 +112434,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -112100,7 +112603,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112252,20 +112755,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &683 + commit_oid: &688 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: *676 - installation: *677 - organization: *678 - ref: &684 + enterprise: *681 + installation: *682 + organization: *683 + ref: &689 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: *679 + repository: *684 sender: *4 required: - action @@ -112429,7 +112932,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112670,12 +113173,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -112773,7 +113276,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112955,12 +113458,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -113126,7 +113629,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113303,12 +113806,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -113408,7 +113911,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113588,9 +114091,9 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113598,7 +114101,7 @@ webhooks: type: - string - 'null' - repository: *679 + repository: *684 sender: *4 required: - action @@ -113694,7 +114197,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113841,12 +114344,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -114108,10 +114611,10 @@ webhooks: - updated_at - author_association - body - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -114192,18 +114695,18 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *678 - pusher_type: &685 + organization: *683 + pusher_type: &690 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &686 + ref: &691 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114213,7 +114716,7 @@ webhooks: enum: - tag - branch - repository: *679 + repository: *684 sender: *4 required: - ref @@ -114295,10 +114798,10 @@ webhooks: type: string enum: - created - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114383,9 +114886,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114462,10 +114965,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114542,10 +115045,10 @@ webhooks: type: string enum: - updated - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114622,19 +115125,19 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - repository: *679 - organization: *678 + enterprise: *681 + installation: *682 + repository: *684 + organization: *683 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *241 + items: *245 old_property_values: type: array description: The old custom property values for the repository. - items: *241 + items: *245 required: - action - repository @@ -114710,18 +115213,18 @@ webhooks: title: delete event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - pusher_type: *685 - ref: *686 + enterprise: *681 + installation: *682 + organization: *683 + pusher_type: *690 + ref: *691 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *679 + repository: *684 sender: *4 required: - ref @@ -114805,11 +115308,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -114893,11 +115396,11 @@ webhooks: type: string enum: - auto_reopened - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -114981,11 +115484,11 @@ webhooks: type: string enum: - created - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115067,11 +115570,11 @@ webhooks: type: string enum: - dismissed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115153,11 +115656,11 @@ webhooks: type: string enum: - fixed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115240,11 +115743,11 @@ webhooks: type: string enum: - reintroduced - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115326,11 +115829,11 @@ webhooks: type: string enum: - reopened - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115407,9 +115910,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - key: &687 + enterprise: *681 + installation: *682 + key: &692 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115447,8 +115950,8 @@ webhooks: - verified - created_at - read_only - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -115525,11 +116028,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - key: *687 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + key: *692 + organization: *683 + repository: *684 sender: *4 required: - action @@ -116101,12 +116604,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: &691 + workflow: &696 title: Workflow type: - object @@ -116844,13 +117347,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *459 + deployment: *463 pull_requests: type: array - items: *540 - repository: *679 - organization: *678 - installation: *677 + items: *544 + repository: *684 + organization: *683 + installation: *682 sender: *4 responses: '200': @@ -116921,7 +117424,7 @@ webhooks: type: string enum: - approved - approver: &688 + approver: &693 type: object properties: avatar_url: @@ -116964,11 +117467,11 @@ webhooks: type: string comment: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - reviewers: &689 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + reviewers: &694 type: array items: type: object @@ -117049,7 +117552,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &690 + workflow_job_run: &695 type: object properties: conclusion: @@ -117795,18 +118298,18 @@ webhooks: type: string enum: - rejected - approver: *688 + approver: *693 comment: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - reviewers: *689 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + reviewers: *694 sender: *4 since: type: string - workflow_job_run: *690 + workflow_job_run: *695 workflow_job_runs: type: array items: @@ -118523,13 +119026,13 @@ webhooks: type: string enum: - requested - enterprise: *676 + enterprise: *681 environment: type: string - installation: *677 - organization: *678 - repository: *679 - requestor: &696 + installation: *682 + organization: *683 + repository: *684 + requestor: &701 title: User type: - object @@ -120472,12 +120975,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Deployment Workflow Run type: @@ -121168,7 +121671,7 @@ webhooks: type: string enum: - answered - answer: &694 + answer: &699 type: object properties: author_association: @@ -121328,7 +121831,7 @@ webhooks: - created_at - updated_at - body - discussion: &692 + discussion: &697 title: Discussion description: A Discussion in a repository. type: object @@ -121624,7 +122127,7 @@ webhooks: - id labels: type: array - items: *505 + items: *509 required: - repository_url - category @@ -121646,10 +122149,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121776,11 +122279,11 @@ webhooks: - from required: - category - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121863,11 +122366,11 @@ webhooks: type: string enum: - closed - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121949,7 +122452,7 @@ webhooks: type: string enum: - created - comment: &693 + comment: &698 type: object properties: author_association: @@ -122109,11 +122612,11 @@ webhooks: - updated_at - body - reactions - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122196,12 +122699,12 @@ webhooks: type: string enum: - deleted - comment: *693 - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + comment: *698 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122296,12 +122799,12 @@ webhooks: - from required: - body - comment: *693 - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + comment: *698 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122385,11 +122888,11 @@ webhooks: type: string enum: - created - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122471,11 +122974,11 @@ webhooks: type: string enum: - deleted - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122575,11 +123078,11 @@ webhooks: type: string required: - from - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122661,10 +123164,10 @@ webhooks: type: string enum: - labeled - discussion: *692 - enterprise: *676 - installation: *677 - label: &695 + discussion: *697 + enterprise: *681 + installation: *682 + label: &700 title: Label type: object properties: @@ -122697,8 +123200,8 @@ webhooks: - color - default - description - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122781,11 +123284,11 @@ webhooks: type: string enum: - locked - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122867,11 +123370,11 @@ webhooks: type: string enum: - pinned - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122953,11 +123456,11 @@ webhooks: type: string enum: - reopened - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123042,16 +123545,16 @@ webhooks: changes: type: object properties: - new_discussion: *692 - new_repository: *679 + new_discussion: *697 + new_repository: *684 required: - new_discussion - new_repository - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123134,10 +123637,10 @@ webhooks: type: string enum: - unanswered - discussion: *692 - old_answer: *694 - organization: *678 - repository: *679 + discussion: *697 + old_answer: *699 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123219,12 +123722,12 @@ webhooks: type: string enum: - unlabeled - discussion: *692 - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123307,11 +123810,11 @@ webhooks: type: string enum: - unlocked - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123393,11 +123896,11 @@ webhooks: type: string enum: - unpinned - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123470,7 +123973,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *676 + enterprise: *681 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124148,9 +124651,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *677 - organization: *678 - repository: *679 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - forkee @@ -124296,9 +124799,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pages: description: The pages that were updated. type: array @@ -124336,7 +124839,7 @@ webhooks: - action - sha - html_url - repository: *679 + repository: *684 sender: *4 required: - pages @@ -124412,10 +124915,10 @@ webhooks: type: string enum: - created - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: &697 + organization: *683 + repositories: &702 description: An array of repository objects that the installation can access. type: array @@ -124441,8 +124944,8 @@ webhooks: - name - full_name - private - repository: *679 - requester: *696 + repository: *684 + requester: *701 sender: *4 required: - action @@ -124517,11 +125020,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -124598,11 +125101,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -124679,10 +125182,10 @@ webhooks: type: string enum: - added - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories_added: &698 + organization: *683 + repositories_added: &703 description: An array of repository objects, which were added to the installation. type: array @@ -124728,15 +125231,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *679 - repository_selection: &699 + repository: *684 + repository_selection: &704 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *696 + requester: *701 sender: *4 required: - action @@ -124815,10 +125318,10 @@ webhooks: type: string enum: - removed - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories_added: *698 + organization: *683 + repositories_added: *703 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124845,9 +125348,9 @@ webhooks: - name - full_name - private - repository: *679 - repository_selection: *699 - requester: *696 + repository: *684 + repository_selection: *704 + requester: *701 sender: *4 required: - action @@ -124926,11 +125429,11 @@ webhooks: type: string enum: - suspend - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -125112,10 +125615,10 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 target_type: type: string @@ -125194,11 +125697,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -125446,8 +125949,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126264,8 +126767,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126282,7 +126785,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -126626,8 +127129,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -126707,7 +127210,7 @@ webhooks: type: string enum: - deleted - comment: &700 + comment: &705 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126874,8 +127377,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127688,8 +128191,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127706,7 +128209,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -128052,8 +128555,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -128133,7 +128636,7 @@ webhooks: type: string enum: - edited - changes: &724 + changes: &729 description: The changes to the comment. type: object properties: @@ -128145,9 +128648,9 @@ webhooks: type: string required: - from - comment: *700 - enterprise: *676 - installation: *677 + comment: *705 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128963,8 +129466,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128981,7 +129484,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -129325,8 +129828,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129410,15 +129913,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *59 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + blocking_issue_repo: *66 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129506,15 +130009,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *59 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + blocking_issue_repo: *66 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129601,15 +130104,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *59 + blocked_issue: *81 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129697,15 +130200,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *59 + blocked_issue: *81 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129790,10 +130293,10 @@ webhooks: type: string enum: - assigned - assignee: *696 - enterprise: *676 - installation: *677 - issue: &703 + assignee: *701 + enterprise: *681 + installation: *682 + issue: &708 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130605,11 +131108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130626,7 +131129,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -130729,8 +131232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -130810,8 +131313,8 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131628,11 +132131,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131649,7 +132152,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -131895,8 +132398,8 @@ webhooks: required: - state - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -131975,8 +132478,8 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132784,11 +133287,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132805,7 +133308,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -132907,8 +133410,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -132987,8 +133490,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133819,11 +134322,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133840,7 +134343,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -133921,7 +134424,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &701 + milestone: &706 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134064,8 +134567,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -134164,8 +134667,8 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134977,11 +135480,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134995,7 +135498,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -135101,9 +135604,9 @@ webhooks: - active_lock_reason - body - reactions - label: *695 - organization: *678 - repository: *679 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -135183,8 +135686,8 @@ webhooks: type: string enum: - labeled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135995,11 +136498,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136013,7 +136516,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -136119,9 +136622,9 @@ webhooks: - active_lock_reason - body - reactions - label: *695 - organization: *678 - repository: *679 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -136201,8 +136704,8 @@ webhooks: type: string enum: - locked - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137038,11 +137541,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137056,7 +137559,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -137139,8 +137642,8 @@ webhooks: format: uri user_view_type: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -137219,8 +137722,8 @@ webhooks: type: string enum: - milestoned - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138050,11 +138553,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138071,7 +138574,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -138151,9 +138654,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *701 - organization: *678 - repository: *679 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -139045,11 +139548,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139145,7 +139648,7 @@ webhooks: required: - login - id - type: *190 + type: *196 required: - id - number @@ -139626,8 +140129,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140439,11 +140942,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140460,7 +140963,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -140562,8 +141065,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -140643,9 +141146,9 @@ webhooks: type: string enum: - pinned - enterprise: *676 - installation: *677 - issue: &702 + enterprise: *681 + installation: *682 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -141451,11 +141954,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141472,7 +141975,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -141574,8 +142077,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -141654,8 +142157,8 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142489,11 +142992,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142590,9 +143093,9 @@ webhooks: format: uri user_view_type: type: string - type: *190 - organization: *678 - repository: *679 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -143481,11 +143984,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143502,7 +144005,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -144084,11 +144587,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *676 - installation: *677 - issue: *702 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *707 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144168,12 +144671,12 @@ webhooks: type: string enum: - typed - enterprise: *676 - installation: *677 - issue: *703 - type: *190 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144254,7 +144757,7 @@ webhooks: type: string enum: - unassigned - assignee: &727 + assignee: &732 title: User type: - object @@ -144326,11 +144829,11 @@ webhooks: required: - login - id - enterprise: *676 - installation: *677 - issue: *703 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144409,12 +144912,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *676 - installation: *677 - issue: *703 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144494,8 +144997,8 @@ webhooks: type: string enum: - unlocked - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145329,11 +145832,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145350,7 +145853,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -145430,8 +145933,8 @@ webhooks: format: uri user_view_type: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145511,11 +146014,11 @@ webhooks: type: string enum: - unpinned - enterprise: *676 - installation: *677 - issue: *702 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *707 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145594,12 +146097,12 @@ webhooks: type: string enum: - untyped - enterprise: *676 - installation: *677 - issue: *703 - type: *190 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145679,11 +146182,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145761,11 +146264,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145875,11 +146378,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145961,9 +146464,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: &704 + enterprise: *681 + installation: *682 + marketplace_purchase: &709 title: Marketplace Purchase type: object required: @@ -146051,8 +146554,8 @@ webhooks: type: integer unit_count: type: integer - organization: *678 - previous_marketplace_purchase: &705 + organization: *683 + previous_marketplace_purchase: &710 title: Marketplace Purchase type: object properties: @@ -146136,7 +146639,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146216,10 +146719,10 @@ webhooks: - changed effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146307,7 +146810,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146389,10 +146892,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146478,7 +146981,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146559,8 +147062,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 marketplace_purchase: title: Marketplace Purchase type: object @@ -146646,9 +147149,9 @@ webhooks: type: integer unit_count: type: integer - organization: *678 - previous_marketplace_purchase: *705 - repository: *679 + organization: *683 + previous_marketplace_purchase: *710 + repository: *684 sender: *4 required: - action @@ -146728,12 +147231,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 - previous_marketplace_purchase: *705 - repository: *679 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 + previous_marketplace_purchase: *710 + repository: *684 sender: *4 required: - action @@ -146835,11 +147338,11 @@ webhooks: type: string required: - to - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -146941,11 +147444,11 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147024,11 +147527,11 @@ webhooks: type: string enum: - removed - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147106,11 +147609,11 @@ webhooks: type: string enum: - added - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147188,7 +147691,7 @@ webhooks: required: - login - id - team: &706 + team: &711 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147381,11 +147884,11 @@ webhooks: type: string enum: - removed - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147464,7 +147967,7 @@ webhooks: required: - login - id - team: *706 + team: *711 required: - action - scope @@ -147546,8 +148049,8 @@ webhooks: type: string enum: - checks_requested - installation: *677 - merge_group: &707 + installation: *682 + merge_group: &712 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147566,15 +148069,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *395 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147660,10 +148163,10 @@ webhooks: - merged - invalidated - dequeued - installation: *677 - merge_group: *707 - organization: *678 - repository: *679 + installation: *682 + merge_group: *712 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147736,7 +148239,7 @@ webhooks: type: string enum: - deleted - enterprise: *676 + enterprise: *681 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147845,12 +148348,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *677 - organization: *678 + installation: *682 + organization: *683 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -147930,11 +148433,11 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148013,9 +148516,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - milestone: &708 + enterprise: *681 + installation: *682 + milestone: &713 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148157,8 +148660,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148237,11 +148740,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148351,11 +148854,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148435,11 +148938,11 @@ webhooks: type: string enum: - opened - enterprise: *676 - installation: *677 - milestone: *708 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *713 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148518,11 +149021,11 @@ webhooks: type: string enum: - blocked - blocked_user: *696 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + blocked_user: *701 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148601,11 +149104,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *696 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + blocked_user: *701 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148684,9 +149187,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - membership: &709 + enterprise: *681 + installation: *682 + membership: &714 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148796,8 +149299,8 @@ webhooks: - role - organization_url - user - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148875,11 +149378,11 @@ webhooks: type: string enum: - member_added - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148958,8 +149461,8 @@ webhooks: type: string enum: - member_invited - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149081,10 +149584,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 - user: *696 + user: *701 required: - action - invitation @@ -149162,11 +149665,11 @@ webhooks: type: string enum: - member_removed - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -149253,11 +149756,11 @@ webhooks: properties: from: type: string - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -149333,9 +149836,9 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 package: description: Information about the package. type: object @@ -149858,7 +150361,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &710 + items: &715 title: Ruby Gems metadata type: object properties: @@ -149955,7 +150458,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -150031,9 +150534,9 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 package: description: Information about the package. type: object @@ -150395,7 +150898,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *710 + items: *715 source_url: type: string format: uri @@ -150466,7 +150969,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -150647,12 +151150,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *676 + enterprise: *681 id: type: integer - installation: *677 - organization: *678 - repository: *679 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - id @@ -150729,7 +151232,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &711 + personal_access_token_request: &716 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150879,10 +151382,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *676 - organization: *678 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -150959,11 +151462,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *711 - enterprise: *676 - organization: *678 + personal_access_token_request: *716 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151039,11 +151542,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *711 - enterprise: *676 - organization: *678 + personal_access_token_request: *716 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151118,11 +151621,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *711 - organization: *678 - enterprise: *676 + personal_access_token_request: *716 + organization: *683 + enterprise: *681 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151227,7 +151730,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *712 + last_response: *717 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151259,8 +151762,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 zen: description: Random string of GitHub zen. @@ -151505,10 +152008,10 @@ webhooks: - from required: - note - enterprise: *676 - installation: *677 - organization: *678 - project_card: &713 + enterprise: *681 + installation: *682 + organization: *683 + project_card: &718 title: Project Card type: object properties: @@ -151631,7 +152134,7 @@ webhooks: - creator - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -151712,11 +152215,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project_card: *713 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_card: *718 + repository: *684 sender: *4 required: - action @@ -151796,9 +152299,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 project_card: title: Project Card type: object @@ -151928,7 +152431,7 @@ webhooks: repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -152022,11 +152525,11 @@ webhooks: - from required: - note - enterprise: *676 - installation: *677 - organization: *678 - project_card: *713 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_card: *718 + repository: *684 sender: *4 required: - action @@ -152120,9 +152623,9 @@ webhooks: - from required: - column_id - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 project_card: allOf: - title: Project Card @@ -152319,7 +152822,7 @@ webhooks: type: string required: - after_id - repository: *679 + repository: *684 sender: *4 required: - action @@ -152399,10 +152902,10 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - organization: *678 - project: &715 + enterprise: *681 + installation: *682 + organization: *683 + project: &720 title: Project type: object properties: @@ -152529,7 +153032,7 @@ webhooks: - creator - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -152609,10 +153112,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project_column: &714 + enterprise: *681 + installation: *682 + organization: *683 + project_column: &719 title: Project Column type: object properties: @@ -152652,7 +153155,7 @@ webhooks: - name - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -152731,14 +153234,14 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -152827,11 +153330,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 + repository: *684 sender: *4 required: - action @@ -152911,11 +153414,11 @@ webhooks: type: string enum: - moved - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 + repository: *684 sender: *4 required: - action @@ -152995,11 +153498,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153079,14 +153582,14 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - project: *715 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -153187,11 +153690,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153270,11 +153773,11 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153355,9 +153858,9 @@ webhooks: type: string enum: - closed - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153438,9 +153941,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153521,9 +154024,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153644,9 +154147,9 @@ webhooks: type: string to: type: string - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153729,7 +154232,7 @@ webhooks: type: string enum: - archived - changes: &719 + changes: &724 type: object properties: archived_at: @@ -153745,9 +154248,9 @@ webhooks: - string - 'null' format: date-time - installation: *677 - organization: *678 - projects_v2_item: &716 + installation: *682 + organization: *683 + projects_v2_item: &721 title: Projects v2 Item description: An item belonging to a project type: object @@ -153765,7 +154268,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *233 + content_type: *237 creator: *4 created_at: type: string @@ -153887,9 +154390,9 @@ webhooks: - 'null' to: type: string - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -153971,9 +154474,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154054,9 +154557,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154161,7 +154664,7 @@ webhooks: oneOf: - type: string - type: integer - - &717 + - &722 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154185,7 +154688,7 @@ webhooks: required: - id - name - - &718 + - &723 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154225,8 +154728,8 @@ webhooks: oneOf: - type: string - type: integer - - *717 - - *718 + - *722 + - *723 type: - 'null' - string @@ -154249,9 +154752,9 @@ webhooks: - 'null' required: - body - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154348,9 +154851,9 @@ webhooks: type: - string - 'null' - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154433,10 +154936,10 @@ webhooks: type: string enum: - restored - changes: *719 - installation: *677 - organization: *678 - projects_v2_item: *716 + changes: *724 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154518,9 +155021,9 @@ webhooks: type: string enum: - reopened - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -154601,9 +155104,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154684,9 +155187,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154832,9 +155335,9 @@ webhooks: - string - 'null' format: date - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154905,10 +155408,10 @@ webhooks: title: public event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - repository @@ -154985,13 +155488,13 @@ webhooks: type: string enum: - assigned - assignee: *696 - enterprise: *676 - installation: *677 - number: &721 + assignee: *701 + enterprise: *681 + installation: *682 + number: &726 description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -157340,7 +157843,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -157422,11 +157925,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -159768,7 +160271,7 @@ webhooks: - draft reason: type: string - repository: *679 + repository: *684 sender: *4 required: - action @@ -159850,11 +160353,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -162196,7 +162699,7 @@ webhooks: - draft reason: type: string - repository: *679 + repository: *684 sender: *4 required: - action @@ -162278,13 +162781,13 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: &722 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: &727 allOf: - - *540 + - *544 - type: object properties: allow_auto_merge: @@ -162346,7 +162849,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *679 + repository: *684 sender: *4 required: - action @@ -162427,12 +162930,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -162512,11 +163015,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *676 - milestone: *231 - number: *721 - organization: *678 - pull_request: &723 + enterprise: *681 + milestone: *235 + number: *726 + organization: *683 + pull_request: &728 title: Pull Request type: object properties: @@ -164843,7 +165346,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -164922,11 +165425,11 @@ webhooks: type: string enum: - dequeued - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -167272,7 +167775,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *679 + repository: *684 sender: *4 required: - action @@ -167396,12 +167899,12 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -167481,11 +167984,11 @@ webhooks: type: string enum: - enqueued - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -169816,7 +170319,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -169896,11 +170399,11 @@ webhooks: type: string enum: - labeled - enterprise: *676 - installation: *677 - label: *695 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + label: *700 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -172248,7 +172751,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -172329,10 +172832,10 @@ webhooks: type: string enum: - locked - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -174678,7 +175181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -174758,12 +175261,12 @@ webhooks: type: string enum: - milestoned - enterprise: *676 - milestone: *231 - number: *721 - organization: *678 - pull_request: *723 - repository: *679 + enterprise: *681 + milestone: *235 + number: *726 + organization: *683 + pull_request: *728 + repository: *684 sender: *4 required: - action @@ -174842,12 +175345,12 @@ webhooks: type: string enum: - opened - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -174928,12 +175431,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -175013,12 +175516,12 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -175393,9 +175896,9 @@ webhooks: - start_side - side - reactions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -177625,7 +178128,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -177705,7 +178208,7 @@ webhooks: type: string enum: - deleted - comment: &725 + comment: &730 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -177998,9 +178501,9 @@ webhooks: - start_side - side - reactions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -180218,7 +180721,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -180298,11 +180801,11 @@ webhooks: type: string enum: - edited - changes: *724 - comment: *725 - enterprise: *676 - installation: *677 - organization: *678 + changes: *729 + comment: *730 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -182523,7 +183026,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -182604,9 +183107,9 @@ webhooks: type: string enum: - dismissed - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -184839,7 +185342,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 review: description: The review that was affected. type: object @@ -185090,9 +185593,9 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -187206,8 +187709,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 - review: &726 + repository: *684 + review: &731 description: The review that was affected. type: object properties: @@ -187445,12 +187948,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -189797,7 +190300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_reviewer: title: User type: @@ -189883,12 +190386,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -192242,7 +192745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192437,12 +192940,12 @@ webhooks: type: string enum: - review_requested - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -194791,7 +195294,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_reviewer: title: User type: @@ -194878,12 +195381,12 @@ webhooks: type: string enum: - review_requested - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -197223,7 +197726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197407,9 +197910,9 @@ webhooks: type: string enum: - submitted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -199645,8 +200148,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 - review: *726 + repository: *684 + review: *731 sender: *4 required: - action @@ -199726,9 +200229,9 @@ webhooks: type: string enum: - resolved - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -201859,7 +202362,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 sender: *4 thread: type: object @@ -202256,9 +202759,9 @@ webhooks: type: string enum: - unresolved - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -204372,7 +204875,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 sender: *4 thread: type: object @@ -204771,10 +205274,10 @@ webhooks: type: string before: type: string - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -207109,7 +207612,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -207191,11 +207694,11 @@ webhooks: type: string enum: - unassigned - assignee: *727 - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + assignee: *732 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -209545,7 +210048,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -209624,11 +210127,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *676 - installation: *677 - label: *695 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + label: *700 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -211967,7 +212470,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -212048,10 +212551,10 @@ webhooks: type: string enum: - unlocked - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -214380,7 +214883,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -214583,7 +215086,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *676 + enterprise: *681 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214678,8 +215181,8 @@ webhooks: - url - author - committer - installation: *677 - organization: *678 + installation: *682 + organization: *683 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215267,9 +215770,9 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 registry_package: type: object properties: @@ -215746,7 +216249,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *710 + items: *715 summary: type: string tag_name: @@ -215802,7 +216305,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -215880,9 +216383,9 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 registry_package: type: object properties: @@ -216194,7 +216697,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *710 + items: *715 summary: type: string tag_name: @@ -216244,7 +216747,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -216321,10 +216824,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - release: &728 + enterprise: *681 + installation: *682 + organization: *683 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -216655,7 +217158,7 @@ webhooks: - updated_at - zipball_url - body - repository: *679 + repository: *684 sender: *4 required: - action @@ -216732,11 +217235,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -216853,11 +217356,11 @@ webhooks: type: boolean required: - to - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -216935,9 +217438,9 @@ webhooks: type: string enum: - prereleased - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -217273,7 +217776,7 @@ webhooks: - string - 'null' format: uri - repository: *679 + repository: *684 sender: *4 required: - action @@ -217349,10 +217852,10 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - release: &729 + enterprise: *681 + installation: *682 + organization: *683 + release: &734 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217685,7 +218188,7 @@ webhooks: - string - 'null' format: uri - repository: *679 + repository: *684 sender: *4 required: - action @@ -217761,11 +218264,11 @@ webhooks: type: string enum: - released - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -217841,11 +218344,11 @@ webhooks: type: string enum: - unpublished - enterprise: *676 - installation: *677 - organization: *678 - release: *729 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *734 + repository: *684 sender: *4 required: - action @@ -217921,11 +218424,11 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_advisory: *595 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_advisory: *600 sender: *4 required: - action @@ -218001,11 +218504,11 @@ webhooks: type: string enum: - reported - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_advisory: *595 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_advisory: *600 sender: *4 required: - action @@ -218081,10 +218584,10 @@ webhooks: type: string enum: - archived - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218161,10 +218664,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218242,10 +218745,10 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218330,10 +218833,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218448,10 +218951,10 @@ webhooks: - 'null' items: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218523,10 +219026,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 status: type: string @@ -218607,10 +219110,10 @@ webhooks: type: string enum: - privatized - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218687,10 +219190,10 @@ webhooks: type: string enum: - publicized - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218784,10 +219287,10 @@ webhooks: - name required: - repository - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218867,11 +219370,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 sender: *4 required: - action @@ -218949,11 +219452,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 sender: *4 required: - action @@ -219031,11 +219534,11 @@ webhooks: type: string enum: - edited - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 changes: type: object properties: @@ -219054,16 +219557,16 @@ webhooks: properties: added: type: array - items: *243 + items: *247 deleted: type: array - items: *243 + items: *247 updated: type: array items: type: object properties: - condition: *243 + condition: *247 changes: type: object properties: @@ -219096,16 +219599,16 @@ webhooks: properties: added: type: array - items: *560 + items: *565 deleted: type: array - items: *560 + items: *565 updated: type: array items: type: object properties: - rule: *560 + rule: *565 changes: type: object properties: @@ -219342,10 +219845,10 @@ webhooks: - from required: - owner - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219423,10 +219926,10 @@ webhooks: type: string enum: - unarchived - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219504,7 +220007,7 @@ webhooks: type: string enum: - create - alert: &730 + alert: &735 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219628,10 +220131,10 @@ webhooks: type: string enum: - open - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219841,10 +220344,10 @@ webhooks: type: string enum: - dismissed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219922,11 +220425,11 @@ webhooks: type: string enum: - reopen - alert: *730 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *735 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220128,10 +220631,10 @@ webhooks: enum: - fixed - open - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220209,7 +220712,7 @@ webhooks: type: string enum: - created - alert: &731 + alert: &736 type: object properties: number: *52 @@ -220319,10 +220822,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220403,11 +220906,11 @@ webhooks: type: string enum: - created - alert: *731 - installation: *677 - location: *732 - organization: *678 - repository: *679 + alert: *736 + installation: *682 + location: *737 + organization: *683 + repository: *684 sender: *4 required: - location @@ -220645,11 +221148,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220727,11 +221230,11 @@ webhooks: type: string enum: - reopened - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220809,11 +221312,11 @@ webhooks: type: string enum: - resolved - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220891,11 +221394,11 @@ webhooks: type: string enum: - validated - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -221025,10 +221528,10 @@ webhooks: - organization - enterprise - - repository: *679 - enterprise: *676 - installation: *677 - organization: *678 + repository: *684 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -221106,11 +221609,11 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - security_advisory: &733 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + security_advisory: &738 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221296,11 +221799,11 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - security_advisory: *733 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + security_advisory: *738 sender: *4 required: - action @@ -221373,10 +221876,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221562,11 +222065,11 @@ webhooks: from: type: object properties: - security_and_analysis: *242 - enterprise: *676 - installation: *677 - organization: *678 - repository: *314 + security_and_analysis: *246 + enterprise: *681 + installation: *682 + organization: *683 + repository: *318 sender: *4 required: - changes @@ -221644,12 +222147,12 @@ webhooks: type: string enum: - cancelled - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: &734 + sponsorship: &739 type: object properties: created_at: @@ -221954,12 +222457,12 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - sponsorship @@ -222047,12 +222550,12 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222129,17 +222632,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &735 + effective_date: &740 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: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - sponsorship @@ -222213,7 +222716,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &736 + changes: &741 type: object properties: tier: @@ -222257,13 +222760,13 @@ webhooks: - from required: - tier - effective_date: *735 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + effective_date: *740 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222340,13 +222843,13 @@ webhooks: type: string enum: - tier_changed - changes: *736 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + changes: *741 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222420,10 +222923,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222507,10 +223010,10 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222944,15 +223447,15 @@ webhooks: type: - string - 'null' - enterprise: *676 + enterprise: *681 id: description: The unique identifier of the status. type: integer - installation: *677 + installation: *682 name: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 sha: description: The Commit SHA. @@ -223062,15 +223565,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *59 + parent_issue: *81 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - installation: *677 - organization: *678 - repository: *679 + sub_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223154,15 +223657,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *59 + parent_issue: *81 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - installation: *677 - organization: *678 - repository: *679 + sub_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223246,15 +223749,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *59 + sub_issue: *81 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - installation: *677 - organization: *678 - repository: *679 + parent_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223338,15 +223841,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *59 + sub_issue: *81 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - installation: *677 - organization: *678 - repository: *679 + parent_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223423,12 +223926,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - team: &737 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223621,9 +224124,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -224093,7 +224596,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -224169,9 +224672,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -224641,7 +225144,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -224718,9 +225221,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -225190,7 +225693,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -225334,9 +225837,9 @@ webhooks: - from required: - permissions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -225806,7 +226309,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - changes @@ -225884,9 +226387,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -226356,7 +226859,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -226432,10 +226935,10 @@ webhooks: type: string enum: - started - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -226508,17 +227011,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *676 + enterprise: *681 inputs: type: - object - 'null' additionalProperties: true - installation: *677 - organization: *678 + installation: *682 + organization: *683 ref: type: string - repository: *679 + repository: *684 sender: *4 workflow: type: string @@ -226600,10 +227103,10 @@ webhooks: type: string enum: - completed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: allOf: @@ -226859,7 +227362,7 @@ webhooks: type: string required: - conclusion - deployment: *459 + deployment: *463 required: - action - repository @@ -226938,10 +227441,10 @@ webhooks: type: string enum: - in_progress - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: allOf: @@ -227223,7 +227726,7 @@ webhooks: required: - status - steps - deployment: *459 + deployment: *463 required: - action - repository @@ -227302,10 +227805,10 @@ webhooks: type: string enum: - queued - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: type: object @@ -227451,7 +227954,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *459 + deployment: *463 required: - action - repository @@ -227530,10 +228033,10 @@ webhooks: type: string enum: - waiting - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: type: object @@ -227680,7 +228183,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *459 + deployment: *463 required: - action - repository @@ -227760,12 +228263,12 @@ webhooks: type: string enum: - completed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Workflow Run type: object @@ -228784,12 +229287,12 @@ webhooks: type: string enum: - in_progress - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Workflow Run type: object @@ -229793,12 +230296,12 @@ webhooks: type: string enum: - requested - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 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 87d4c66a98..875d1db792 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 @@ -168,6 +168,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -26427,6 +26431,2292 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/events": { "get": { "summary": "List public events", @@ -79625,13 +81915,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -95972,6 +98268,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -95979,7 +98276,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -95996,6 +98293,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -96027,7 +98325,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -124275,6 +126574,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -124282,7 +126582,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -124299,6 +126599,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -124330,7 +126631,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -158839,7 +161141,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -159066,7 +161368,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -159446,7 +161748,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -159663,7 +161965,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -159981,7 +162283,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -168291,6 +170593,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -170797,6 +173128,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -172753,6 +175113,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -175280,6 +177669,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -524108,6 +526526,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -525469,6 +527942,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -526544,6 +529046,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -527832,6 +530363,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -529807,6 +532367,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -530897,6 +533486,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -532181,6 +534799,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1341081,6 +1343728,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1344307,6 +1346983,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1347533,6 +1350238,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1348533,6 +1351267,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1349361,6 +1352124,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1350192,6 +1352984,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, 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 3403618ee9..f31055da9c 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 @@ -89,6 +89,8 @@ tags: description: Desktop specific endpoints. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -903,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &284 + type: &288 type: string description: The type of credit the user is receiving. enum: @@ -1036,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &95 + schema: &102 title: Validation Error Simple description: Validation Error Simple type: object @@ -1069,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &597 + - &602 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1654,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &168 + - &174 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 @@ -1670,7 +1672,7 @@ paths: application/json: schema: type: array - items: &169 + items: &175 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1766,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &170 + default: &176 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1829,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &94 + schema: &101 title: Validation Error description: Validation Error type: object @@ -1901,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &177 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2036,7 +2038,7 @@ paths: - request - response examples: - default: &172 + default: &178 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2240,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &64 + - &71 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2979,7 +2981,7 @@ paths: - selected repositories: type: array - items: &59 + items: &66 title: Repository description: A repository on GitHub. type: object @@ -3006,7 +3008,7 @@ paths: license: anyOf: - type: 'null' - - &75 + - &82 title: License Simple description: License Simple type: object @@ -5384,7 +5386,7 @@ paths: responses: '202': *37 '422': *7 - '500': &91 + '500': &98 description: Internal Error content: application/json: @@ -7714,7 +7716,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &142 + code_scanning_options: &148 type: - object - 'null' @@ -7912,7 +7914,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &150 type: array description: A list of default code security configurations items: @@ -7928,7 +7930,7 @@ paths: default configuration: *41 examples: - default: &145 + default: &151 value: - default_for_new_repos: public configuration: @@ -8259,7 +8261,7 @@ paths: - *40 - *43 responses: - '204': &146 + '204': &152 description: A header with no content is returned. '400': *14 '403': *27 @@ -8386,7 +8388,7 @@ paths: default: value: default_for_new_repos: all - configuration: &143 + configuration: &149 value: id: 1325 target_type: organization @@ -8471,7 +8473,7 @@ paths: application/json: schema: type: array - items: &147 + items: &153 type: object description: Repositories associated with a code security configuration and attachment status @@ -8816,7 +8818,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &148 + repository: &154 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8910,7 +8912,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &152 + - &158 name: state in: query description: |- @@ -8919,7 +8921,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &153 + - &159 name: severity in: query description: |- @@ -8928,7 +8930,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &154 + - &160 name: ecosystem in: query description: |- @@ -8937,14 +8939,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &155 + - &161 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 - - &156 + - &162 name: epss_percentage in: query description: |- @@ -8956,7 +8958,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 - - &157 + - &163 name: has in: query description: |- @@ -8970,7 +8972,7 @@ paths: type: string enum: - patch - - &158 + - &164 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8980,7 +8982,7 @@ paths: enum: - development - runtime - - &159 + - &165 name: sort in: query description: |- @@ -8998,7 +9000,7 @@ paths: - *46 - *38 - *39 - - &160 + - &166 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9011,7 +9013,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &161 + - &167 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9031,7 +9033,7 @@ paths: application/json: schema: type: array - items: &162 + items: &168 type: object description: A Dependabot alert. properties: @@ -9101,7 +9103,7 @@ paths: - direct - transitive - - security_advisory: &451 + security_advisory: &455 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9330,7 +9332,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &138 + dismissed_at: &144 type: - string - 'null' @@ -9361,7 +9363,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &137 + fixed_at: &143 type: - string - 'null' @@ -9369,7 +9371,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &452 + auto_dismissed_at: &456 type: - string - 'null' @@ -9396,7 +9398,7 @@ paths: - repository additionalProperties: false examples: - default: &163 + default: &169 value: - number: 2 state: dismissed @@ -9743,7 +9745,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &272 + - &276 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9754,7 +9756,7 @@ paths: enum: - open - resolved - - &273 + - &277 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9764,7 +9766,7 @@ paths: required: false schema: type: string - - &274 + - &278 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9773,7 +9775,7 @@ paths: required: false schema: type: string - - &275 + - &279 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. @@ -9789,7 +9791,7 @@ paths: - *17 - *38 - *39 - - &276 + - &280 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9798,7 +9800,7 @@ paths: required: false schema: type: string - - &277 + - &281 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9807,7 +9809,7 @@ paths: schema: type: boolean default: false - - &278 + - &282 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9816,7 +9818,7 @@ paths: schema: type: boolean default: false - - &279 + - &283 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9832,7 +9834,7 @@ paths: application/json: schema: type: array - items: &280 + items: &284 type: object properties: number: *52 @@ -9848,14 +9850,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &575 + state: &580 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: &576 + resolution: &581 type: - string - 'null' @@ -9962,14 +9964,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &577 + - &582 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &579 + - &584 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10026,7 +10028,7 @@ paths: - blob_url - commit_sha - commit_url - - &580 + - &585 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -10087,7 +10089,7 @@ paths: - page_url - commit_sha - commit_url - - &581 + - &586 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10102,7 +10104,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &582 + - &587 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10117,7 +10119,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &583 + - &588 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10132,7 +10134,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &584 + - &589 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10147,7 +10149,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &585 + - &590 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10162,7 +10164,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &586 + - &591 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10177,7 +10179,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &587 + - &592 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -10192,7 +10194,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &588 + - &593 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -10207,7 +10209,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &589 + - &594 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -10222,7 +10224,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &590 + - &595 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -10237,7 +10239,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &591 + - &596 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -10258,7 +10260,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &281 + default: &285 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10417,7 +10419,7 @@ paths: headers: Link: *57 '404': *6 - '503': &62 + '503': &69 description: Service unavailable content: application/json: @@ -10435,6 +10437,563 @@ paths: enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - *40 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &58 + title: Enterprise Team + description: Group of enterprise owners and/or members + type: object + properties: + id: + type: integer + format: int64 + name: + type: string + description: + type: string + slug: + type: string + url: + type: string + format: uri + sync_to_organizations: + type: string + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + examples: + - disabled | all + organization_selection_type: + type: string + examples: + - disabled | selected | all + group_id: + type: + - string + - 'null' + examples: + - 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + type: + - string + - 'null' + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + examples: + - Justice League + html_url: + type: string + format: uri + examples: + - https://github.com/enterprises/dc/teams/justice-league + members_url: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - url + - members_url + - name + - html_url + - slug + - created_at + - updated_at + - group_id + examples: + default: &59 + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - *40 + - &60 + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: &61 + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - *40 + - *60 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *61 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - *40 + - *60 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *61 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - *40 + - *60 + - &62 + name: username + description: The handle for the GitHub user account. + in: path + required: true + schema: + type: string + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &63 + value: + 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 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - *40 + - *60 + - *62 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *63 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - *40 + - *60 + - *62 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - *40 + - &64 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - *40 + - *64 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: *58 + examples: + default: *59 + headers: + Link: *57 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - *40 + - *64 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -10457,7 +11016,7 @@ paths: application/json: schema: type: array - items: &85 + items: &92 title: Event description: Event type: object @@ -10468,7 +11027,7 @@ paths: type: - string - 'null' - actor: &58 + actor: &65 title: Actor description: Actor type: object @@ -10509,13 +11068,13 @@ paths: - id - name - url - org: *58 + org: *65 payload: type: object properties: action: type: string - issue: &74 + issue: &81 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -10636,7 +11195,7 @@ paths: milestone: anyOf: - type: 'null' - - &231 + - &235 title: Milestone description: A collection of related issues and pull requests. @@ -10808,7 +11367,7 @@ paths: timeline_url: type: string format: uri - type: &190 + type: &196 title: Issue Type description: The type of issue. type: @@ -10861,12 +11420,12 @@ paths: - node_id - name - description - repository: *59 + repository: *66 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &60 + author_association: &67 title: author_association type: string description: How the author is associated with the repository. @@ -10881,7 +11440,7 @@ paths: - OWNER examples: - OWNER - reactions: &61 + reactions: &68 title: Reaction Rollup type: object properties: @@ -10917,7 +11476,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &609 + sub_issues_summary: &614 title: Sub-issues Summary type: object properties: @@ -10938,7 +11497,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &610 + issue_dependencies_summary: &615 title: Issue Dependencies Summary type: object properties: @@ -10957,7 +11516,7 @@ paths: - total_blocking issue_field_values: type: array - items: &611 + items: &616 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11052,7 +11611,7 @@ paths: - user - created_at - updated_at - comment: &498 + comment: &502 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11102,12 +11661,12 @@ paths: issue_url: type: string format: uri - author_association: *60 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - id - node_id @@ -11204,7 +11763,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11294,7 +11853,7 @@ paths: _links: type: object properties: - timeline: &63 + timeline: &70 title: Link With Type description: Hypermedia Link with Type type: object @@ -11306,17 +11865,17 @@ paths: required: - href - type - user: *63 - security_advisories: *63 - current_user: *63 - current_user_public: *63 - current_user_actor: *63 - current_user_organization: *63 + user: *70 + security_advisories: *70 + current_user: *70 + current_user_public: *70 + current_user_actor: *70 + current_user_organization: *70 current_user_organizations: type: array - items: *63 - repository_discussions: *63 - repository_discussions_category: *63 + items: *70 + repository_discussions: *70 + repository_discussions_category: *70 required: - timeline - user @@ -11378,7 +11937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *64 + - *71 - *17 - *19 responses: @@ -11388,7 +11947,7 @@ paths: application/json: schema: type: array - items: &65 + items: &72 title: Base Gist description: Base Gist type: object @@ -11485,7 +12044,7 @@ paths: - created_at - updated_at examples: - default: &66 + default: &73 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -11609,7 +12168,7 @@ paths: description: Response content: application/json: - schema: &67 + schema: &74 title: Gist Simple description: Gist Simple type: object @@ -11627,7 +12186,7 @@ paths: url: type: string format: uri - user: &623 + user: &628 title: Public User description: Public User type: object @@ -12001,7 +12560,7 @@ paths: truncated: type: boolean examples: - default: &68 + default: &75 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -12105,7 +12664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *64 + - *71 - *17 - *19 responses: @@ -12115,9 +12674,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '422': *15 @@ -12139,7 +12698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *64 + - *71 - *17 - *19 responses: @@ -12149,9 +12708,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '401': *23 @@ -12179,7 +12738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &69 + - &76 name: gist_id description: The unique identifier of the gist. in: path @@ -12191,10 +12750,10 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - default: *68 - '403': &72 + default: *75 + '403': &79 description: Forbidden Gist content: application/json: @@ -12243,7 +12802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *69 + - *76 requestBody: required: true content: @@ -12307,9 +12866,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - updateGist: *68 + updateGist: *75 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -12467,7 +13026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -12496,7 +13055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12506,7 +13065,7 @@ paths: application/json: schema: type: array - items: &70 + items: &77 title: Gist Comment description: A comment made to a gist. type: object @@ -12544,7 +13103,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *60 + author_association: *67 required: - url - id @@ -12609,7 +13168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *69 + - *76 requestBody: required: true content: @@ -12635,9 +13194,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: &71 + default: &78 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -12695,8 +13254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *69 - - &73 + - *76 + - &80 name: comment_id description: The unique identifier of the comment. in: path @@ -12709,12 +13268,12 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '304': *35 '404': *6 - '403': *72 + '403': *79 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12736,8 +13295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *69 - - *73 + - *76 + - *80 requestBody: required: true content: @@ -12763,9 +13322,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '404': *6 x-github: githubCloudOnly: false @@ -12782,8 +13341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *69 - - *73 + - *76 + - *80 responses: '204': description: Response @@ -12806,7 +13365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12907,7 +13466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *69 + - *76 - *17 - *19 responses: @@ -12917,7 +13476,7 @@ paths: application/json: schema: type: array - items: *67 + items: *74 examples: default: value: @@ -12982,13 +13541,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *69 + - *76 responses: '201': description: Response content: application/json: - schema: *65 + schema: *72 examples: default: value: @@ -13059,7 +13618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *69 + - *76 responses: '204': description: Response if gist is starred @@ -13089,7 +13648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -13111,7 +13670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *69 + - *76 responses: '204': description: Response @@ -13140,7 +13699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *69 + - *76 - name: sha in: path required: true @@ -13151,9 +13710,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *74 examples: - default: *68 + default: *75 '422': *15 '404': *6 '403': *27 @@ -13314,7 +13873,7 @@ paths: type: integer repositories: type: array - items: *59 + items: *66 repository_selection: type: string examples: @@ -13522,7 +14081,7 @@ paths: - closed - all default: open - - &193 + - &199 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13541,7 +14100,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - name: collab in: query required: false @@ -13571,9 +14130,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: &194 + default: &200 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13853,7 +14412,7 @@ paths: application/json: schema: type: array - items: *75 + items: *82 examples: default: value: @@ -14151,7 +14710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &76 + X-CommonMarker-Version: &83 example: 0.17.4 schema: type: string @@ -14206,7 +14765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *76 + X-CommonMarker-Version: *83 content: text/html: schema: @@ -14235,7 +14794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &79 + - &86 name: account_id description: account_id parameter in: path @@ -14247,7 +14806,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &85 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -14281,7 +14840,7 @@ paths: - 'null' id: type: integer - plan: &77 + plan: &84 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -14384,7 +14943,7 @@ paths: - 'null' updated_at: type: string - plan: *77 + plan: *84 required: - url - id @@ -14392,7 +14951,7 @@ paths: - login - marketplace_purchase examples: - default: &80 + default: &87 value: url: https://api.github.com/orgs/github type: Organization @@ -14477,9 +15036,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &81 + default: &88 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -14519,14 +15078,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &82 + - &89 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &83 + - &90 name: sort description: The property to sort the results by. in: query @@ -14556,9 +15115,9 @@ paths: application/json: schema: type: array - items: *78 + items: *85 examples: - default: &84 + default: &91 value: - url: https://api.github.com/orgs/github type: Organization @@ -14632,15 +15191,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *79 + - *86 responses: '200': description: Response content: application/json: - schema: *78 + schema: *85 examples: - default: *80 + default: *87 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -14672,9 +15231,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *81 + default: *88 headers: Link: *57 '401': *23 @@ -14697,8 +15256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *82 - - *83 + - *89 + - *90 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -14718,9 +15277,9 @@ paths: application/json: schema: type: array - items: *78 + items: *85 examples: - default: *84 + default: *91 headers: Link: *57 '401': *23 @@ -14985,14 +15544,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &306 + - &310 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &307 + - &311 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15009,7 +15568,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -15063,7 +15622,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &315 + '301': &319 description: Moved permanently content: application/json: @@ -15085,7 +15644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &527 + - &531 name: all description: If `true`, show notifications marked as read. in: query @@ -15093,7 +15652,7 @@ paths: schema: type: boolean default: false - - &528 + - &532 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15102,8 +15661,8 @@ paths: schema: type: boolean default: false - - *64 - - &529 + - *71 + - &533 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: @@ -15128,14 +15687,14 @@ paths: application/json: schema: type: array - items: &86 + items: &93 title: Thread description: Thread type: object properties: id: type: string - repository: &120 + repository: &127 title: Minimal Repository description: Minimal Repository type: object @@ -15474,7 +16033,7 @@ paths: type: boolean examples: - false - security_and_analysis: &242 + security_and_analysis: &246 type: - object - 'null' @@ -15639,7 +16198,7 @@ paths: - url - subscription_url examples: - default: &530 + default: &534 value: - id: '1' repository: @@ -15805,7 +16364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &87 + - &94 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -15819,7 +16378,7 @@ paths: description: Response content: application/json: - schema: *86 + schema: *93 examples: default: value: @@ -15921,7 +16480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *87 + - *94 responses: '205': description: Reset Content @@ -15943,7 +16502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *87 + - *94 responses: '204': description: No content @@ -15966,13 +16525,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *87 + - *94 responses: '200': description: Response content: application/json: - schema: &88 + schema: &95 title: Thread Subscription description: Thread Subscription type: object @@ -16016,7 +16575,7 @@ paths: - url - subscribed examples: - default: &89 + default: &96 value: subscribed: true ignored: false @@ -16047,7 +16606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *87 + - *94 requestBody: required: false content: @@ -16068,9 +16627,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *95 examples: - default: *89 + default: *96 '304': *35 '403': *27 '401': *23 @@ -16093,7 +16652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *87 + - *94 responses: '204': description: Response @@ -16188,7 +16747,7 @@ paths: application/json: schema: type: array - items: &150 + items: &156 title: Organization Simple description: A GitHub organization. type: object @@ -16260,7 +16819,7 @@ paths: - avatar_url - description examples: - default: &639 + default: &644 value: - login: github id: 1 @@ -16300,7 +16859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &90 + - &97 name: org description: The organization name. The name is not case sensitive. in: path @@ -16457,7 +17016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -16523,7 +17082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *90 + - *97 requestBody: required: true content: @@ -16571,8 +17130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *90 - - &669 + - *97 + - &674 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16581,7 +17140,7 @@ paths: required: false schema: type: integer - - &670 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16590,7 +17149,7 @@ paths: required: false schema: type: integer - - &671 + - &676 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16599,7 +17158,7 @@ paths: required: false schema: type: integer - - &672 + - &677 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16682,8 +17241,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16709,13 +17268,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &92 + schema: &99 title: Organization Full description: Organization Full type: object @@ -17110,7 +17669,7 @@ paths: - updated_at - archived_at examples: - default-response: &93 + default-response: &100 value: login: github id: 1 @@ -17210,7 +17769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *90 + - *97 requestBody: required: false content: @@ -17427,17 +17986,17 @@ paths: description: Response content: application/json: - schema: *92 + schema: *99 examples: - default: *93 + default: *100 '422': description: Validation failed content: application/json: schema: oneOf: - - *94 - - *95 + - *101 + - *102 '409': *45 x-github: githubCloudOnly: false @@ -17461,7 +18020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *90 + - *97 responses: '202': *37 '404': *6 @@ -17486,7 +18045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -17533,7 +18092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -17551,7 +18110,7 @@ paths: type: integer repository_cache_usages: type: array - items: &320 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17609,7 +18168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -17627,7 +18186,7 @@ paths: type: integer runners: type: array - items: &96 + items: &103 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17684,7 +18243,7 @@ paths: - size_gb - display_name - source - machine_size_details: &99 + machine_size_details: &106 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17789,7 +18348,7 @@ paths: - public_ip_enabled - platform examples: - default: &119 + default: &126 value: total_count: 2 runners: @@ -17849,7 +18408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -17916,9 +18475,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: &100 + default: &107 value: id: 5 name: My hosted ubuntu runner @@ -17957,7 +18516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -17973,7 +18532,7 @@ paths: type: integer images: type: array - items: &97 + items: &104 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18013,7 +18572,7 @@ paths: - display_name - source examples: - default: &98 + default: &105 value: id: ubuntu-20.04 platform: linux-x64 @@ -18037,7 +18596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18053,9 +18612,9 @@ paths: type: integer images: type: array - items: *97 + items: *104 examples: - default: *98 + default: *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18072,7 +18631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18127,7 +18686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18143,7 +18702,7 @@ paths: type: integer machine_specs: type: array - items: *99 + items: *106 examples: default: value: @@ -18168,7 +18727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18212,8 +18771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *90 - - &101 + - *97 + - &108 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18225,9 +18784,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 headers: Link: *57 x-github: @@ -18247,8 +18806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *101 + - *97 + - *108 requestBody: required: true content: @@ -18286,9 +18845,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18304,16 +18863,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *101 + - *97 + - *108 responses: '202': description: Response content: application/json: - schema: *96 + schema: *103 examples: - default: *100 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18333,13 +18892,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *90 + - *97 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &102 + schema: &109 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18353,7 +18912,7 @@ paths: required: - include_claim_keys examples: - default: &103 + default: &110 value: include_claim_keys: - repo @@ -18375,20 +18934,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: *102 + schema: *109 examples: - default: *103 + default: *110 responses: '201': description: Empty response content: application/json: - schema: &129 + schema: &136 title: Empty Object description: An object without any properties. type: object @@ -18418,7 +18977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -18427,7 +18986,7 @@ paths: schema: type: object properties: - enabled_repositories: &104 + enabled_repositories: &111 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18440,7 +18999,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &105 + allowed_actions: &112 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18448,12 +19007,12 @@ paths: - all - local_only - selected - selected_actions_url: &326 + selected_actions_url: &330 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &106 + sha_pinning_required: &113 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18484,7 +19043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -18495,9 +19054,9 @@ paths: schema: type: object properties: - enabled_repositories: *104 - allowed_actions: *105 - sha_pinning_required: *106 + enabled_repositories: *111 + allowed_actions: *112 + sha_pinning_required: *113 required: - enabled_repositories examples: @@ -18525,13 +19084,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &330 + schema: &334 type: object properties: days: @@ -18568,12 +19127,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &331 + schema: &335 type: object properties: days: @@ -18610,13 +19169,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &107 + schema: &114 type: object properties: approval_policy: @@ -18630,7 +19189,7 @@ paths: required: - approval_policy examples: - default: &332 + default: &336 value: approval_policy: first_time_contributors '404': *6 @@ -18651,7 +19210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -18661,7 +19220,7 @@ paths: required: true content: application/json: - schema: *107 + schema: *114 examples: default: summary: Set approval policy to first time contributors @@ -18683,13 +19242,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &333 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -18715,7 +19274,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &108 + default: &115 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18738,12 +19297,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &334 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -18766,7 +19325,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *108 + default: *115 responses: '204': description: Empty response for successful settings update @@ -18796,7 +19355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -18814,9 +19373,9 @@ paths: type: number repositories: type: array - items: *59 + items: *66 examples: - default: &112 + default: &119 value: total_count: 1 repositories: @@ -18956,7 +19515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -19000,8 +19559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *90 - - &109 + - *97 + - &116 name: repository_id description: The unique identifier of the repository. in: path @@ -19029,8 +19588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: Response @@ -19053,13 +19612,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &110 + schema: &117 type: object properties: github_owned_allowed: @@ -19081,7 +19640,7 @@ paths: items: type: string examples: - default: &111 + default: &118 value: github_owned_allowed: true verified_allowed: false @@ -19106,7 +19665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -19114,9 +19673,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *117 examples: - selected_actions: *111 + selected_actions: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19136,7 +19695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -19184,7 +19743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19231,7 +19790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -19246,9 +19805,9 @@ paths: type: integer repositories: type: array - items: *59 + items: *66 examples: - default: *112 + default: *119 '403': *27 '404': *6 x-github: @@ -19268,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19316,8 +19875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: No content @@ -19343,8 +19902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *90 - - *109 + - *97 + - *116 responses: '204': description: No content @@ -19372,23 +19931,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &335 + schema: &339 type: object properties: - default_workflow_permissions: &113 + default_workflow_permissions: &120 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &114 + can_approve_pull_request_reviews: &121 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19396,7 +19955,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &115 + default: &122 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19421,7 +19980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Success response @@ -19429,13 +19988,13 @@ paths: required: false content: application/json: - schema: &336 + schema: &340 type: object properties: - default_workflow_permissions: *113 - can_approve_pull_request_reviews: *114 + default_workflow_permissions: *120 + can_approve_pull_request_reviews: *121 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19455,7 +20014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *90 + - *97 - *17 - *19 - name: visible_to_repository @@ -19480,7 +20039,7 @@ paths: type: number runner_groups: type: array - items: &116 + items: &123 type: object properties: id: @@ -19597,7 +20156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -19670,9 +20229,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: &118 + default: &125 value: id: 2 name: octo-runner-group @@ -19707,8 +20266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *90 - - &117 + - *97 + - &124 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19720,7 +20279,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: default: value: @@ -19756,8 +20315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -19813,9 +20372,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: *118 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19834,8 +20393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *90 - - *117 + - *97 + - *124 responses: '204': description: Response @@ -19858,8 +20417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *17 - *19 responses: @@ -19877,9 +20436,9 @@ paths: type: number runners: type: array - items: *96 + items: *103 examples: - default: *119 + default: *126 headers: Link: *57 x-github: @@ -19901,8 +20460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *19 - *17 responses: @@ -19920,9 +20479,9 @@ paths: type: number repositories: type: array - items: *120 + items: *127 examples: - default: &626 + default: &631 value: total_count: 1 repositories: @@ -20174,8 +20733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -20219,9 +20778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 - - *109 + - *97 + - *124 + - *116 responses: '204': description: Response @@ -20243,9 +20802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *90 - - *117 - - *109 + - *97 + - *124 + - *116 responses: '204': description: Response @@ -20268,8 +20827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 - *17 - *19 responses: @@ -20287,7 +20846,7 @@ paths: type: number runners: type: array - items: &122 + items: &129 title: Self hosted runners description: A self hosted runner type: object @@ -20321,7 +20880,7 @@ paths: type: boolean labels: type: array - items: &125 + items: &132 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20351,7 +20910,7 @@ paths: - busy - labels examples: - default: &123 + default: &130 value: total_count: 2 runners: @@ -20410,8 +20969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *90 - - *117 + - *97 + - *124 requestBody: required: true content: @@ -20455,9 +21014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *90 - - *117 - - &121 + - *97 + - *124 + - &128 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20485,9 +21044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *90 - - *117 - - *121 + - *97 + - *124 + - *128 responses: '204': description: Response @@ -20517,7 +21076,7 @@ paths: in: query schema: type: string - - *90 + - *97 - *17 - *19 responses: @@ -20535,9 +21094,9 @@ paths: type: integer runners: type: array - items: *122 + items: *129 examples: - default: *123 + default: *130 headers: Link: *57 x-github: @@ -20561,7 +21120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -20569,7 +21128,7 @@ paths: application/json: schema: type: array - items: &337 + items: &341 title: Runner Application description: Runner Application type: object @@ -20594,7 +21153,7 @@ paths: - download_url - filename examples: - default: &338 + default: &342 value: - os: osx architecture: x64 @@ -20637,7 +21196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -20680,7 +21239,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &339 + '201': &343 description: Response content: application/json: @@ -20690,7 +21249,7 @@ paths: - runner - encoded_jit_config properties: - runner: *122 + runner: *129 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20747,13 +21306,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *90 + - *97 responses: '201': description: Response content: application/json: - schema: &124 + schema: &131 title: Authentication Token description: Authentication Token type: object @@ -20777,7 +21336,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *59 + items: *66 single_file: type: - string @@ -20795,7 +21354,7 @@ paths: - token - expires_at examples: - default: &340 + default: &344 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20826,15 +21385,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *90 + - *97 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: &341 + default: &345 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20859,16 +21418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: '200': description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: &342 + default: &346 value: id: 23 name: MBP @@ -20909,8 +21468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: '204': description: Response @@ -20936,10 +21495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: - '200': &126 + '200': &133 description: Response content: application/json: @@ -20953,7 +21512,7 @@ paths: type: integer labels: type: array - items: *125 + items: *132 examples: default: value: @@ -20992,8 +21551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 requestBody: required: true content: @@ -21017,7 +21576,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21041,8 +21600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 requestBody: required: true content: @@ -21067,7 +21626,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21091,10 +21650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 + - *97 + - *128 responses: - '200': &343 + '200': &347 description: Response content: application/json: @@ -21108,7 +21667,7 @@ paths: type: integer labels: type: array - items: *125 + items: *132 examples: default: value: @@ -21149,9 +21708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *90 - - *121 - - &344 + - *97 + - *128 + - &348 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21159,7 +21718,7 @@ paths: schema: type: string responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -21184,7 +21743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -21202,7 +21761,7 @@ paths: type: integer secrets: type: array - items: &127 + items: &134 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21277,13 +21836,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &356 + schema: &360 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21318,7 +21877,7 @@ paths: - key_id - key examples: - default: &357 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21343,8 +21902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *90 - - &128 + - *97 + - &135 name: secret_name description: The name of the secret. in: path @@ -21356,7 +21915,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *134 examples: default: value: @@ -21386,8 +21945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -21444,7 +22003,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -21470,8 +22029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -21497,8 +22056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -21516,9 +22075,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: &132 + default: &139 value: total_count: 1 repositories: @@ -21610,8 +22169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -21663,8 +22222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -21697,8 +22256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -21730,8 +22289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *90 - - &325 + - *97 + - &329 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)." @@ -21755,7 +22314,7 @@ paths: type: integer variables: type: array - items: &130 + items: &137 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21845,7 +22404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *90 + - *97 requestBody: required: true content: @@ -21893,7 +22452,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -21918,8 +22477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *90 - - &131 + - *97 + - &138 name: name description: The name of the variable. in: path @@ -21931,7 +22490,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *137 examples: default: value: @@ -21961,8 +22520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 requestBody: required: true content: @@ -22024,8 +22583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 responses: '204': description: Response @@ -22051,8 +22610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - *19 - *17 responses: @@ -22070,9 +22629,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22098,8 +22657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 requestBody: required: true content: @@ -22148,8 +22707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - name: repository_id in: path required: true @@ -22183,8 +22742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *90 - - *131 + - *97 + - *138 - name: repository_id in: path required: true @@ -22215,7 +22774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *90 + - *97 requestBody: required: true content: @@ -22310,11 +22869,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -22353,7 +22916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *90 + - *97 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22439,7 +23002,7 @@ paths: - *17 - *38 - *39 - - *90 + - *97 requestBody: required: true content: @@ -22462,12 +23025,12 @@ paths: required: - subject_digests examples: - default: &658 + default: &663 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &659 + withPredicateType: &664 value: subject_digests: - sha256:abc123 @@ -22526,7 +23089,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &660 + default: &665 value: attestations_subject_digests: - sha256:abc: @@ -22635,7 +23198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *90 + - *97 requestBody: required: true content: @@ -22700,7 +23263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *90 + - *97 - name: subject_digest description: Subject Digest in: path @@ -22731,7 +23294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *90 + - *97 - name: attestation_id description: Attestation ID in: path @@ -22769,7 +23332,7 @@ paths: - *17 - *38 - *39 - - *90 + - *97 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22820,7 +23383,7 @@ paths: bundle_url: type: string examples: - default: &370 + default: &374 value: attestations: - bundle: @@ -22927,7 +23490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -22939,26 +23502,7 @@ paths: type: array items: *4 examples: - default: &195 - value: - - 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 + default: *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22977,14 +23521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *90 - - &133 - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string + - *97 + - *62 responses: '204': description: If the user is blocked @@ -23009,8 +23547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -23030,8 +23568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -23056,7 +23594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *90 + - *97 - *19 - *17 - *46 @@ -23064,7 +23602,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &134 + schema: &140 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23090,7 +23628,7 @@ paths: application/json: schema: type: array - items: &135 + items: &141 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23121,7 +23659,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &151 + items: &157 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23180,7 +23718,7 @@ paths: parent: anyOf: - type: 'null' - - &207 + - &211 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -23296,7 +23834,7 @@ paths: - string - 'null' format: date-time - state: *134 + state: *140 contact_link: description: The contact link of the campaign. type: @@ -23394,7 +23932,7 @@ paths: headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23418,7 +23956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -23513,9 +24051,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: &136 + default: &142 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23564,7 +24102,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23586,7 +24124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23598,16 +24136,16 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23628,7 +24166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23678,7 +24216,7 @@ paths: - string - 'null' format: uri - state: *134 + state: *140 examples: default: value: @@ -23688,9 +24226,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 '400': description: Bad Request content: @@ -23702,7 +24240,7 @@ paths: content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23723,7 +24261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *90 + - *97 - name: campaign_number description: The campaign number. in: path @@ -23734,7 +24272,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23756,18 +24294,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *90 - - &395 + - *97 + - &399 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: &139 + schema: &145 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &400 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 @@ -23775,7 +24313,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &140 + schema: &146 type: - string - 'null' @@ -23791,7 +24329,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &402 type: string description: State of a code scanning alert. enum: @@ -23814,7 +24352,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &403 type: string description: Severity of a code scanning alert. enum: @@ -23840,13 +24378,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &400 + instances_url: &404 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &141 + state: &147 type: - string - 'null' @@ -23856,13 +24394,13 @@ paths: - dismissed - fixed - - fixed_at: *137 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: &401 + dismissed_at: *144 + dismissed_reason: &405 type: - string - 'null' @@ -23873,14 +24411,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &406 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &407 type: object properties: id: @@ -23941,26 +24479,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &408 type: object properties: - name: *139 + name: *145 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *140 - most_recent_instance: &405 + guid: *146 + most_recent_instance: &409 type: object properties: - ref: &397 + ref: &401 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &419 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23971,13 +24509,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &416 + category: &420 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: *141 + state: *147 commit_sha: type: string message: @@ -24269,7 +24807,7 @@ paths: headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24291,7 +24829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *90 + - *97 - name: target_type in: query description: The target type of the code security configuration @@ -24402,7 +24940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *90 + - *97 requestBody: required: true content: @@ -24480,7 +25018,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *142 + code_scanning_options: *148 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24623,7 +25161,7 @@ paths: application/json: schema: *41 examples: - default: *143 + default: *149 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24645,15 +25183,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 '304': *35 '403': *27 '404': *6 @@ -24679,7 +25217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *90 + - *97 requestBody: required: true content: @@ -24705,7 +25243,7 @@ paths: - 32 - 91 responses: - '204': *146 + '204': *152 '400': *14 '403': *27 '404': *6 @@ -24731,7 +25269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *90 + - *97 - *43 responses: '200': @@ -24740,7 +25278,7 @@ paths: application/json: schema: *41 examples: - default: *143 + default: *149 '304': *35 '403': *27 '404': *6 @@ -24764,7 +25302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25021,10 +25559,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *90 + - *97 - *43 responses: - '204': *146 + '204': *152 '400': *14 '403': *27 '404': *6 @@ -25052,7 +25590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25116,7 +25654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *90 + - *97 - *43 requestBody: required: true @@ -25162,7 +25700,7 @@ paths: default: value: default_for_new_repos: all - configuration: *143 + configuration: *149 '403': *27 '404': *6 x-github: @@ -25186,7 +25724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *90 + - *97 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -25215,13 +25753,13 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *148 + repository: *154 '403': *27 '404': *6 x-github: @@ -25245,7 +25783,7 @@ paths: parameters: - *17 - *19 - - *90 + - *97 responses: '200': description: Response @@ -25261,7 +25799,7 @@ paths: type: integer codespaces: type: array - items: &196 + items: &201 type: object title: Codespace description: A codespace. @@ -25292,11 +25830,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *120 + repository: *127 machine: anyOf: - type: 'null' - - &428 + - &432 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25583,7 +26121,7 @@ paths: - pulls_url - recent_folders examples: - default: &197 + default: &202 value: total_count: 3 codespaces: @@ -25993,7 +26531,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -26015,7 +26553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *90 + - *97 deprecated: true requestBody: required: true @@ -26059,7 +26597,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26082,7 +26620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *90 + - *97 deprecated: true requestBody: required: true @@ -26114,7 +26652,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26137,7 +26675,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *90 + - *97 requestBody: required: true content: @@ -26168,7 +26706,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26189,7 +26727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -26207,7 +26745,7 @@ paths: type: integer secrets: type: array - items: &149 + items: &155 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26248,7 +26786,7 @@ paths: - updated_at - visibility examples: - default: &429 + default: &433 value: total_count: 2 secrets: @@ -26280,13 +26818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &430 + schema: &434 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26321,7 +26859,7 @@ paths: - key_id - key examples: - default: &431 + default: &435 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26344,16 +26882,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: - default: &433 + default: &437 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26380,8 +26918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -26436,7 +26974,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -26462,8 +27000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -26488,8 +27026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -26507,9 +27045,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 '404': *6 x-github: githubCloudOnly: false @@ -26531,8 +27069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -26582,8 +27120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -26616,8 +27154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -26656,7 +27194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *90 + - *97 responses: '200': description: OK @@ -26765,7 +27303,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -26797,7 +27335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *90 + - *97 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -26820,7 +27358,7 @@ paths: currently being billed. seats: type: array - items: &199 + items: &204 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26833,70 +27371,13 @@ paths: organization: anyOf: - type: 'null' - - *150 + - *156 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *151 - - title: Enterprise Team - description: Group of enterprise owners and/or members - type: object - properties: - id: - type: integer - format: int64 - name: - type: string - description: - type: string - slug: - type: string - url: - type: string - format: uri - sync_to_organizations: - type: string - examples: - - disabled | all - organization_selection_type: - type: string - examples: - - disabled | all - group_id: - type: - - string - - 'null' - examples: - - 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - type: - - string - - 'null' - examples: - - Justice League - html_url: - type: string - format: uri - examples: - - https://github.com/enterprises/dc/teams/justice-league - members_url: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - id - - url - - members_url - - name - - html_url - - slug - - created_at - - updated_at + - *157 + - *58 type: - 'null' - object @@ -27027,7 +27508,7 @@ paths: site_admin: false headers: Link: *57 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27060,7 +27541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27102,7 +27583,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27138,7 +27619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27180,7 +27661,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27218,7 +27699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27259,7 +27740,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27295,7 +27776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *90 + - *97 requestBody: content: application/json: @@ -27337,7 +27818,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -27376,7 +27857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *90 + - *97 - 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`). @@ -27408,7 +27889,7 @@ paths: application/json: schema: type: array - items: &288 + items: &292 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27723,7 +28204,7 @@ paths: - date additionalProperties: true examples: - default: &289 + default: &293 value: - date: '2024-06-24' total_active_users: 24 @@ -27822,10 +28303,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *91 + '500': *98 '403': *27 '404': *6 - '422': &290 + '422': &294 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27852,12 +28333,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *90 - - *152 - - *153 - - *154 - - *155 - - *156 + - *97 + - *158 + - *159 + - *160 + - *161 + - *162 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27873,14 +28354,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *157 - - *158 - - *159 + - *163 + - *164 + - *165 - *46 - *38 - *39 - - *160 - - *161 + - *166 + - *167 - *17 responses: '200': @@ -27889,9 +28370,9 @@ paths: application/json: schema: type: array - items: *162 + items: *168 examples: - default: *163 + default: *169 '304': *35 '400': *14 '403': *27 @@ -27917,7 +28398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *90 + - *97 - *17 - *19 responses: @@ -27935,7 +28416,7 @@ paths: type: integer secrets: type: array - items: &164 + items: &170 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28008,13 +28489,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &455 + schema: &459 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28033,7 +28514,7 @@ paths: - key_id - key examples: - default: &456 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28056,14 +28537,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -28091,8 +28572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -28147,7 +28628,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -28171,8 +28652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -28196,8 +28677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - *19 - *17 responses: @@ -28215,9 +28696,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *132 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28238,8 +28719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -28289,8 +28770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -28321,8 +28802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *128 + - *97 + - *135 - name: repository_id in: path required: true @@ -28352,7 +28833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -28360,7 +28841,7 @@ paths: application/json: schema: type: array - items: &209 + items: &213 title: Package description: A software package type: object @@ -28413,7 +28894,7 @@ paths: repository: anyOf: - type: 'null' - - *120 + - *127 created_at: type: string format: date-time @@ -28431,7 +28912,7 @@ paths: - created_at - updated_at examples: - default: &210 + default: &214 value: - id: 197 name: hello_docker @@ -28509,7 +28990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28519,7 +29000,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: 200-response: value: @@ -28588,7 +29069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28598,7 +29079,7 @@ paths: application/json: schema: type: array - items: &187 + items: &193 title: Organization Invitation description: Organization Invitation type: object @@ -28652,7 +29133,7 @@ paths: - invitation_teams_url - node_id examples: - default: &188 + default: &194 value: - id: 1 login: monalisa @@ -28709,7 +29190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *90 + - *97 - *17 - *19 responses: @@ -28719,7 +29200,7 @@ paths: application/json: schema: type: array - items: &165 + items: &171 title: Org Hook description: Org Hook type: object @@ -28842,7 +29323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *90 + - *97 requestBody: required: true content: @@ -28904,9 +29385,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: - default: &166 + default: &172 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28953,8 +29434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *90 - - &167 + - *97 + - &173 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. @@ -28967,9 +29448,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: - default: *166 + default: *172 '404': *6 x-github: githubCloudOnly: false @@ -28996,8 +29477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 requestBody: required: false content: @@ -29043,7 +29524,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: default: value: @@ -29084,8 +29565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 responses: '204': description: Response @@ -29112,8 +29593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *90 - - *167 + - *97 + - *173 responses: '200': description: Response @@ -29143,8 +29624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *90 - - *167 + - *97 + - *173 requestBody: required: false content: @@ -29194,10 +29675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *17 - - *168 + - *174 responses: '200': description: Response @@ -29205,9 +29686,9 @@ paths: application/json: schema: type: array - items: *169 + items: *175 examples: - default: *170 + default: *176 '400': *14 '422': *15 x-github: @@ -29232,17 +29713,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *16 responses: '200': description: Response content: application/json: - schema: *171 + schema: *177 examples: - default: *172 + default: *178 '400': *14 '422': *15 x-github: @@ -29267,8 +29748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 - *16 responses: '202': *37 @@ -29297,8 +29778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *90 - - *167 + - *97 + - *173 responses: '204': description: Response @@ -29320,8 +29801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *90 - - &177 + - *97 + - &183 name: actor_type in: path description: The type of the actor @@ -29334,14 +29815,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &178 + - &184 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &173 + - &179 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`.' @@ -29349,7 +29830,7 @@ paths: required: true schema: type: string - - &174 + - &180 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) @@ -29443,13 +29924,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *90 - - *173 - - *174 + - *97 + - *179 + - *180 - *19 - *17 - *46 - - &183 + - &189 name: sort description: The property to sort the results by. in: query @@ -29528,15 +30009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *90 - - *173 - - *174 + - *97 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: &175 + schema: &181 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29552,7 +30033,7 @@ paths: type: integer format: int64 examples: - default: &176 + default: &182 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29572,24 +30053,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *90 - - &179 + - *97 + - &185 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *173 - - *174 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 x-github: enabledForGitHubApps: true category: orgs @@ -29607,19 +30088,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *90 - - *173 - - *174 - - *177 - - *178 + - *97 + - *179 + - *180 + - *183 + - *184 responses: '200': description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 x-github: enabledForGitHubApps: true category: orgs @@ -29636,10 +30117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *90 - - *173 - - *174 - - &180 + - *97 + - *179 + - *180 + - &186 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29652,7 +30133,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &187 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29668,7 +30149,7 @@ paths: type: integer format: int64 examples: - default: &182 + default: &188 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29704,19 +30185,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *90 + - *97 + - *185 - *179 - - *173 - - *174 - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 x-github: enabledForGitHubApps: true category: orgs @@ -29733,20 +30214,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *90 - - *177 - - *178 - - *173 - - *174 + - *97 + - *183 + - *184 + - *179 - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 x-github: enabledForGitHubApps: true category: orgs @@ -29763,14 +30244,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *90 + - *97 + - *185 - *179 - - *173 - - *174 + - *180 - *19 - *17 - *46 - - *183 + - *189 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29846,7 +30327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *90 + - *97 responses: '200': description: Response @@ -29854,7 +30335,7 @@ paths: application/json: schema: *20 examples: - default: &494 + default: &498 value: id: 1 account: @@ -29923,7 +30404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -30012,7 +30493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -30020,12 +30501,12 @@ paths: application/json: schema: anyOf: - - &185 + - &191 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &184 + limit: &190 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30053,7 +30534,7 @@ paths: properties: {} additionalProperties: false examples: - default: &186 + default: &192 value: limit: collaborators_only origin: organization @@ -30077,18 +30558,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: application/json: - schema: &495 + schema: &499 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *184 + limit: *190 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30113,9 +30594,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 '422': *15 x-github: githubCloudOnly: false @@ -30133,7 +30614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *90 + - *97 responses: '204': description: Response @@ -30157,7 +30638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *90 + - *97 - *17 - *19 - name: role @@ -30191,9 +30672,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 '404': *6 @@ -30216,7 +30697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *90 + - *97 requestBody: required: false content: @@ -30270,7 +30751,7 @@ paths: description: Response content: application/json: - schema: *187 + schema: *193 examples: default: value: @@ -30324,8 +30805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *90 - - &189 + - *97 + - &195 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30355,8 +30836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *90 - - *189 + - *97 + - *195 - *17 - *19 responses: @@ -30366,9 +30847,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: &208 + default: &212 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30403,7 +30884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -30411,7 +30892,7 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: default: value: @@ -30449,7 +30930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -30499,9 +30980,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: &191 + default: &197 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30533,8 +31014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *90 - - &192 + - *97 + - &198 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30590,9 +31071,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '404': *6 '422': *7 x-github: @@ -30616,8 +31097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *90 - - *192 + - *97 + - *198 responses: '204': description: Response @@ -30650,7 +31131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *90 + - *97 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30680,7 +31161,7 @@ paths: - closed - all default: open - - *193 + - *199 - name: type description: Can be the name of an issue type. in: query @@ -30699,7 +31180,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -30709,9 +31190,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *194 + default: *200 headers: Link: *57 '404': *6 @@ -30733,7 +31214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *90 + - *97 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30771,7 +31252,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '422': *15 @@ -30791,8 +31272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response if requester is an organization member and user is @@ -30826,8 +31307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -30853,8 +31334,8 @@ paths: parameters: - *17 - *19 - - *90 - - *133 + - *97 + - *62 responses: '200': description: Response @@ -30870,11 +31351,11 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -30897,9 +31378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *90 - - *133 - - &198 + - *97 + - *62 + - &203 name: codespace_name in: path required: true @@ -30909,7 +31390,7 @@ paths: responses: '202': *37 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -30932,17 +31413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *90 - - *133 - - *198 + - *97 + - *62 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: &427 + default: &431 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31084,7 +31565,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -31115,14 +31596,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *199 + schema: *204 examples: default: value: @@ -31166,7 +31647,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -31191,14 +31672,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '200': description: Response content: application/json: - schema: &200 + schema: &205 title: Org Membership description: Org Membership type: object @@ -31247,7 +31728,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *150 + organization: *156 user: anyOf: - type: 'null' @@ -31267,7 +31748,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &201 + response-if-user-has-an-active-admin-membership-with-organization: &206 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31335,8 +31816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 requestBody: required: false content: @@ -31364,9 +31845,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *205 examples: - response-if-user-already-had-membership-with-organization: *201 + response-if-user-already-had-membership-with-organization: *206 '422': *15 '403': *27 x-github: @@ -31390,8 +31871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -31416,7 +31897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *90 + - *97 - *17 - *19 - name: exclude @@ -31438,7 +31919,7 @@ paths: application/json: schema: type: array - items: &202 + items: &207 title: Migration description: A migration. type: object @@ -31480,7 +31961,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *59 + items: *66 url: type: string format: uri @@ -31695,7 +32176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *90 + - *97 requestBody: required: true content: @@ -31776,7 +32257,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -31954,8 +32435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *90 - - &203 + - *97 + - &208 name: migration_id description: The unique identifier of the migration. in: path @@ -31983,7 +32464,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -32152,8 +32633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *90 - - *203 + - *97 + - *208 responses: '302': description: Response @@ -32174,8 +32655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *90 - - *203 + - *97 + - *208 responses: '204': description: Response @@ -32198,9 +32679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *90 - - *203 - - &638 + - *97 + - *208 + - &643 name: repo_name description: repo_name parameter in: path @@ -32227,8 +32708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *90 - - *203 + - *97 + - *208 - *17 - *19 responses: @@ -32238,9 +32719,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: &215 + default: &219 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32377,7 +32858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response - list of organization roles @@ -32393,7 +32874,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &206 + items: &210 title: Organization Role description: Organization roles type: object @@ -32542,14 +33023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *90 - - &204 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *97 + - *64 responses: '204': description: Response @@ -32574,9 +33049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *90 - - *204 - - &205 + - *97 + - *64 + - &209 name: role_id description: The unique identifier of the role. in: path @@ -32611,9 +33086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *90 - - *204 - - *205 + - *97 + - *64 + - *209 responses: '204': description: Response @@ -32638,8 +33113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -32664,9 +33139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *90 - - *133 - - *205 + - *97 + - *62 + - *209 responses: '204': description: Response @@ -32696,9 +33171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *90 - - *133 - - *205 + - *97 + - *62 + - *209 responses: '204': description: Response @@ -32726,14 +33201,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 responses: '200': description: Response content: application/json: - schema: *206 + schema: *210 examples: default: value: @@ -32783,8 +33258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 - *17 - *19 responses: @@ -32863,7 +33338,7 @@ paths: parent: anyOf: - type: 'null' - - *207 + - *211 required: - id - node_id @@ -32877,7 +33352,7 @@ paths: - slug - parent examples: - default: *208 + default: *212 headers: Link: *57 '404': @@ -32906,8 +33381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *90 - - *205 + - *97 + - *209 - *17 - *19 responses: @@ -32936,7 +33411,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *207 + items: *211 name: type: - string @@ -33053,7 +33528,7 @@ paths: - type - url examples: - default: *195 + default: *61 headers: Link: *57 '404': @@ -33077,7 +33552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *90 + - *97 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -33104,7 +33579,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -33129,8 +33604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *90 - - *133 + - *97 + - *62 requestBody: required: false content: @@ -33187,8 +33662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -33245,8 +33720,8 @@ paths: - docker - nuget - container - - *90 - - &640 + - *97 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33282,12 +33757,12 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *210 + default: *214 '403': *27 '401': *23 - '400': &642 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33309,7 +33784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &211 + - &215 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -33327,20 +33802,20 @@ paths: - docker - nuget - container - - &212 + - &216 name: package_name description: The name of the package. in: path required: true schema: type: string - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: default: value: @@ -33392,9 +33867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 responses: '204': description: Response @@ -33426,9 +33901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 - name: token description: package token schema: @@ -33460,9 +33935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *211 - - *212 - - *90 + - *215 + - *216 + - *97 - *19 - *17 - name: state @@ -33482,7 +33957,7 @@ paths: application/json: schema: type: array - items: &213 + items: &217 title: Package Version description: A version of a software package type: object @@ -33617,10 +34092,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - &214 + - *215 + - *216 + - *97 + - &218 name: package_version_id description: Unique identifier of the package version. in: path @@ -33632,7 +34107,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -33668,10 +34143,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - *214 + - *215 + - *216 + - *97 + - *218 responses: '204': description: Response @@ -33703,10 +34178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *211 - - *212 - - *90 - - *214 + - *215 + - *216 + - *97 + - *218 responses: '204': description: Response @@ -33733,10 +34208,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *90 + - *97 - *17 - *19 - - &216 + - &220 name: sort description: The property by which to sort the results. in: query @@ -33747,7 +34222,7 @@ paths: - created_at default: created_at - *46 - - &217 + - &221 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33759,7 +34234,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &218 + - &222 name: repository description: The name of the repository to use to filter the results. in: query @@ -33768,7 +34243,7 @@ paths: type: string examples: - Hello-World - - &219 + - &223 name: permission description: The permission to use to filter the results. in: query @@ -33777,7 +34252,7 @@ paths: type: string examples: - issues_read - - &220 + - &224 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33787,7 +34262,7 @@ paths: schema: type: string format: date-time - - &221 + - &225 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33797,7 +34272,7 @@ paths: schema: type: string format: date-time - - &222 + - &226 name: token_id description: The ID of the token in: query @@ -33810,7 +34285,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -33965,7 +34440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *90 + - *97 requestBody: required: true content: @@ -34007,7 +34482,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -34032,7 +34507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *90 + - *97 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34069,11 +34544,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34094,7 +34569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *90 + - *97 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34105,7 +34580,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *98 '404': *6 '403': *27 '200': @@ -34114,9 +34589,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -34139,19 +34614,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *90 + - *97 - *17 - *19 - - *216 - - *46 - - *217 - - *218 - - *219 - *220 + - *46 - *221 - *222 + - *223 + - *224 + - *225 + - *226 responses: - '500': *91 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -34300,7 +34775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *90 + - *97 requestBody: required: true content: @@ -34335,7 +34810,7 @@ paths: - 1296269 - 1296280 responses: - '500': *91 + '500': *98 '404': *6 '202': *37 '403': *27 @@ -34360,7 +34835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *90 + - *97 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34388,9 +34863,9 @@ paths: value: action: revoke responses: - '500': *91 + '500': *98 '404': *6 - '204': *146 + '204': *152 '403': *27 '422': *15 x-github: @@ -34412,7 +34887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *90 + - *97 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34422,7 +34897,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *98 '404': *6 '403': *27 '200': @@ -34431,9 +34906,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -34457,7 +34932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -34475,7 +34950,7 @@ paths: type: integer configurations: type: array - items: &223 + items: &227 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34566,7 +35041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -34734,7 +35209,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &224 + org-private-registry-with-selected-visibility: &228 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34775,7 +35250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -34825,16 +35300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *223 + schema: *227 examples: - default: *224 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -34855,8 +35330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 requestBody: required: true content: @@ -34952,8 +35427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *90 - - *128 + - *97 + - *135 responses: '204': description: Response @@ -34978,7 +35453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *90 + - *97 - name: state description: Indicates the state of the projects to return. in: query @@ -34999,7 +35474,7 @@ paths: application/json: schema: type: array - items: &225 + items: &229 title: Project description: Projects are a way to organize columns and cards of work. @@ -35155,7 +35630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *90 + - *97 requestBody: required: true content: @@ -35181,7 +35656,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -35219,7 +35694,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &312 + '410': &316 description: Gone content: application/json: @@ -35245,7 +35720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *90 + - *97 - name: q description: Limit results to projects of the specified type. in: query @@ -35262,7 +35737,7 @@ paths: application/json: schema: type: array - items: &226 + items: &230 title: Projects v2 Project description: A projects v2 project type: object @@ -35336,7 +35811,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &720 + - &725 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -35421,7 +35896,7 @@ paths: - deleted_at - deleted_by examples: - default: &227 + default: &231 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35524,22 +35999,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &228 + - &232 name: project_number description: The project's number. in: path required: true schema: type: integer - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -35561,8 +36036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *228 - - *90 + - *232 + - *97 - *17 - *38 - *39 @@ -35573,7 +36048,7 @@ paths: application/json: schema: type: array - items: &229 + items: &233 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35723,7 +36198,7 @@ paths: - updated_at - project_url examples: - default: &230 + default: &234 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35766,23 +36241,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *228 - - &653 + - *232 + - &658 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -35805,8 +36280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *228 - - *90 + - *232 + - *97 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -35836,7 +36311,7 @@ paths: application/json: schema: type: array - items: &234 + items: &238 title: Projects v2 Item description: An item belonging to a project type: object @@ -35853,7 +36328,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &233 + content_type: &237 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35910,7 +36385,7 @@ paths: - updated_at - archived_at examples: - default: &235 + default: &239 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36604,8 +37079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *90 - - *228 + - *97 + - *232 requestBody: required: true description: Details of the item to add to the project. @@ -36642,7 +37117,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &659 title: Projects v2 Item description: An item belonging to a project type: object @@ -36655,8 +37130,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *74 - - &440 + - *81 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -36776,7 +37251,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 active_lock_reason: type: - string @@ -36831,7 +37306,7 @@ paths: type: - array - 'null' - items: *151 + items: *157 head: type: object properties: @@ -36839,7 +37314,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: @@ -36859,7 +37334,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: @@ -36875,7 +37350,7 @@ paths: _links: type: object properties: - comments: &232 + comments: &236 title: Link description: Hypermedia Link type: object @@ -36884,13 +37359,13 @@ paths: type: string required: - href - commits: *232 - statuses: *232 - html: *232 - issue: *232 - review_comments: *232 - review_comment: *232 - self: *232 + commits: *236 + statuses: *236 + html: *236 + issue: *236 + review_comments: *236 + review_comment: *236 + self: *236 required: - comments - commits @@ -36900,8 +37375,8 @@ paths: - review_comments - review_comment - self - author_association: *60 - auto_merge: &537 + author_association: *67 + auto_merge: &541 title: Auto merge description: The status of auto merging a pull request. type: @@ -37003,7 +37478,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *233 + content_type: *237 creator: *4 created_at: type: string @@ -37040,7 +37515,7 @@ paths: - updated_at - archived_at examples: - default: &655 + default: &660 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37114,9 +37589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *228 - - *90 - - &236 + - *232 + - *97 + - &240 name: item_id description: The unique identifier of the project item. in: path @@ -37140,9 +37615,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -37163,9 +37638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *228 - - *90 - - *236 + - *232 + - *97 + - *240 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37238,9 +37713,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 '401': *23 '403': *27 '404': *6 @@ -37260,9 +37735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *228 - - *90 - - *236 + - *232 + - *97 + - *240 responses: '204': description: Response @@ -37281,12 +37756,12 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response @@ -37294,7 +37769,7 @@ paths: application/json: schema: type: array - items: &237 + items: &241 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37370,7 +37845,7 @@ paths: - property_name - value_type examples: - default: &238 + default: &242 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37413,12 +37888,12 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -37429,7 +37904,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *237 + items: *241 minItems: 1 maxItems: 100 required: @@ -37459,9 +37934,9 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: - default: *238 + default: *242 '403': *27 '404': *6 x-github: @@ -37477,13 +37952,13 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *90 - - &239 + - *97 + - &243 name: custom_property_name description: The custom property name in: path @@ -37495,9 +37970,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &240 + default: &244 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37526,13 +38001,13 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *90 - - *239 + - *97 + - *243 requestBody: required: true content: @@ -37610,9 +38085,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *240 + default: *244 '403': *27 '404': *6 x-github: @@ -37630,15 +38105,15 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *90 - - *239 + - *97 + - *243 responses: - '204': *146 + '204': *152 '403': *27 '404': *6 x-github: @@ -37659,7 +38134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *90 + - *97 - *17 - *19 - name: repository_query @@ -37700,7 +38175,7 @@ paths: - octocat/Hello-World properties: type: array - items: &241 + items: &245 title: Custom Property Value description: Custom property name and associated value type: object @@ -37770,7 +38245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *90 + - *97 requestBody: required: true content: @@ -37790,7 +38265,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *241 + items: *245 required: - repository_names - properties @@ -37831,7 +38306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *90 + - *97 - *17 - *19 responses: @@ -37843,7 +38318,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -37862,8 +38337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response if user is a public member @@ -37887,8 +38362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -37909,8 +38384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *133 + - *97 + - *62 responses: '204': description: Response @@ -37934,7 +38409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *90 + - *97 - name: type description: Specifies the types of repositories you want returned. in: query @@ -37980,9 +38455,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -38003,7 +38478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *90 + - *97 requestBody: required: true content: @@ -38185,7 +38660,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &318 title: Full Repository description: Full Repository type: object @@ -38531,7 +39006,7 @@ paths: template_repository: anyOf: - type: 'null' - - *59 + - *66 temp_clone_token: type: - string @@ -38631,13 +39106,13 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 organization: anyOf: - type: 'null' - *4 - parent: *59 - source: *59 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -38650,7 +39125,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &445 + code_of_conduct: &449 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -38680,7 +39155,7 @@ paths: - key - name - html_url - security_and_analysis: *242 + security_and_analysis: *246 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38764,7 +39239,7 @@ paths: - network_count - subscribers_count examples: - default: &316 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39282,10 +39757,10 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - *17 - *19 - - &559 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39304,7 +39779,7 @@ paths: application/json: schema: type: array - items: &268 + items: &272 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39339,7 +39814,7 @@ paths: source: type: string description: The name of the source - enforcement: &245 + enforcement: &249 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39352,7 +39827,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &246 + items: &250 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39423,7 +39898,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &243 + - &247 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39447,7 +39922,7 @@ paths: match. items: type: string - - &247 + - &251 title: Organization ruleset conditions type: object description: |- @@ -39461,7 +39936,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39495,7 +39970,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39517,7 +39992,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *243 + - *247 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39530,7 +40005,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &244 + items: &248 title: Repository ruleset property targeting definition type: object @@ -39563,7 +40038,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *244 + items: *248 required: - repository_property type: @@ -39571,12 +40046,12 @@ paths: - object rules: type: array - items: &560 + items: &565 title: Repository Rule type: object description: A repository rule. oneOf: - - &248 + - &252 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39588,7 +40063,7 @@ paths: type: string enum: - creation - - &249 + - &253 title: update description: Only allow users with bypass permission to update matching refs. @@ -39609,7 +40084,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &250 + - &254 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39621,7 +40096,7 @@ paths: type: string enum: - deletion - - &251 + - &255 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39633,7 +40108,7 @@ paths: type: string enum: - required_linear_history - - &558 + - &562 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39711,7 +40186,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &252 + - &256 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39735,7 +40210,7 @@ paths: type: string required: - required_deployment_environments - - &253 + - &257 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39747,7 +40222,7 @@ paths: type: string enum: - required_signatures - - &254 + - &258 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39809,7 +40284,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &255 + - &259 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39857,7 +40332,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &256 + - &260 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39869,7 +40344,7 @@ paths: type: string enum: - non_fast_forward - - &257 + - &261 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39905,7 +40380,7 @@ paths: required: - operator - pattern - - &258 + - &262 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39941,7 +40416,7 @@ paths: required: - operator - pattern - - &259 + - &263 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39977,7 +40452,7 @@ paths: required: - operator - pattern - - &260 + - &264 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40013,7 +40488,7 @@ paths: required: - operator - pattern - - &261 + - &265 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40049,7 +40524,7 @@ paths: required: - operator - pattern - - &262 + - &266 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40074,7 +40549,7 @@ paths: type: string required: - restricted_file_paths - - &263 + - &267 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40098,7 +40573,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &264 + - &268 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40121,7 +40596,7 @@ paths: type: string required: - restricted_file_extensions - - &265 + - &269 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40146,7 +40621,7 @@ paths: maximum: 100 required: - max_file_size - - &266 + - &270 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40196,7 +40671,7 @@ paths: - repository_id required: - workflows - - &267 + - &271 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40257,6 +40732,31 @@ paths: - tool required: - code_scanning_tools + - &563 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code + review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft + pull requests before they are marked as ready + for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each + new push to the pull request. created_at: type: string format: date-time @@ -40293,7 +40793,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -40309,7 +40809,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 requestBody: description: Request body required: true @@ -40330,24 +40830,20 @@ paths: - push - repository default: branch - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *247 + items: *250 + conditions: *251 rules: type: array description: An array of rules within the ruleset. - items: &270 + items: &274 title: Repository Rule type: object description: A repository rule. oneOf: - - *248 - - *249 - - *250 - - *251 - *252 - *253 - *254 @@ -40364,6 +40860,10 @@ paths: - *265 - *266 - *267 + - *268 + - *269 + - *270 + - *271 required: - name - enforcement @@ -40401,9 +40901,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: &269 + default: &273 value: id: 21 name: super cool ruleset @@ -40443,7 +40943,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -40457,8 +40957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *90 - - &561 + - *97 + - &566 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 @@ -40473,7 +40973,7 @@ paths: in: query schema: type: string - - &562 + - &567 name: time_period description: |- The time period to filter by. @@ -40489,14 +40989,14 @@ paths: - week - month default: day - - &563 + - &568 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 - - &564 + - &569 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40516,7 +41016,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &570 title: Rule Suites description: Response type: array @@ -40572,7 +41072,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &566 + default: &571 value: - id: 21 actor_id: 12 @@ -40596,7 +41096,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40615,8 +41115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *90 - - &567 + - *97 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40632,7 +41132,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &573 title: Rule Suite description: Response type: object @@ -40739,7 +41239,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &569 + default: &574 value: id: 21 actor_id: 12 @@ -40774,7 +41274,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40800,7 +41300,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40812,11 +41312,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *269 + default: *273 '404': *6 - '500': *91 + '500': *98 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -40832,7 +41332,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40858,16 +41358,16 @@ paths: - tag - push - repository - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *247 + items: *250 + conditions: *251 rules: description: An array of rules within the ruleset. type: array - items: *270 + items: *274 examples: default: value: @@ -40902,11 +41402,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *269 + default: *273 '404': *6 - '500': *91 + '500': *98 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -40922,7 +41422,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -40933,7 +41433,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *98 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -40945,7 +41445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *90 + - *97 - *17 - *19 - name: ruleset_id @@ -40961,7 +41461,7 @@ paths: application/json: schema: type: array - items: &271 + items: &275 title: Ruleset version type: object description: The historical version of a ruleset @@ -40985,7 +41485,7 @@ paths: type: string format: date-time examples: - default: &571 + default: &576 value: - version_id: 3 actor: @@ -41003,7 +41503,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41020,7 +41520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *90 + - *97 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41038,9 +41538,9 @@ paths: description: Response content: application/json: - schema: &572 + schema: &577 allOf: - - *271 + - *275 - type: object required: - state @@ -41087,7 +41587,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41109,15 +41609,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *90 - - *272 - - *273 - - *274 - - *275 + - *97 + - *276 + - *277 + - *278 + - *279 - *46 - *19 - *17 - - &573 + - &578 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 @@ -41127,7 +41627,7 @@ paths: required: false schema: type: string - - &574 + - &579 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 @@ -41137,10 +41637,10 @@ paths: required: false schema: type: string - - *276 - - *277 - - *278 - - *279 + - *280 + - *281 + - *282 + - *283 responses: '200': description: Response @@ -41148,13 +41648,13 @@ paths: application/json: schema: type: array - items: *280 + items: *284 examples: - default: *281 + default: *285 headers: Link: *57 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41179,7 +41679,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *90 + - *97 responses: '200': description: Response @@ -41191,7 +41691,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &283 + pattern_config_version: &287 type: - string - 'null' @@ -41201,7 +41701,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &282 + items: &286 type: object properties: token_type: @@ -41270,7 +41770,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *282 + items: *286 examples: default: value: @@ -41319,7 +41819,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *90 + - *97 requestBody: required: true content: @@ -41327,7 +41827,7 @@ paths: schema: type: object properties: - pattern_config_version: *283 + pattern_config_version: *287 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41353,7 +41853,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *283 + custom_pattern_version: *287 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41407,7 +41907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *90 + - *97 - *46 - name: sort description: The property to sort the results by. @@ -41451,7 +41951,7 @@ paths: application/json: schema: type: array - items: &595 + items: &600 description: A repository security advisory. type: object properties: @@ -41695,7 +42195,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 credits_detailed: type: - array @@ -41706,7 +42206,7 @@ paths: type: object properties: user: *4 - type: *284 + type: *288 state: type: string description: The state of the user's acceptance of the @@ -41732,7 +42232,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *151 + items: *157 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -41770,7 +42270,7 @@ paths: - private_fork additionalProperties: false examples: - default: &596 + default: &601 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42149,7 +42649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *90 + - *97 responses: '200': description: Response @@ -42157,9 +42657,9 @@ paths: application/json: schema: type: array - items: *207 + items: *211 examples: - default: *208 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42182,8 +42682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -42208,8 +42708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -42238,13 +42738,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &663 + schema: &668 type: object properties: total_minutes_used: @@ -42314,7 +42814,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &664 + default: &669 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42344,13 +42844,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &665 + schema: &670 type: object properties: total_gigabytes_bandwidth_used: @@ -42368,7 +42868,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &666 + default: &671 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42394,13 +42894,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: &667 + schema: &672 type: object properties: days_left_in_billing_cycle: @@ -42418,7 +42918,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &668 + default: &673 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -42442,7 +42942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *90 + - *97 - *17 - *19 responses: @@ -42460,7 +42960,7 @@ paths: type: integer network_configurations: type: array - items: &285 + items: &289 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42543,7 +43043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 + - *97 requestBody: required: true content: @@ -42585,9 +43085,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: &286 + default: &290 value: id: 123456789ABCDEF name: My network configuration @@ -42615,8 +43115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 - - &287 + - *97 + - &291 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42628,9 +43128,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: *286 + default: *290 headers: Link: *57 x-github: @@ -42651,8 +43151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *90 - - *287 + - *97 + - *291 requestBody: required: true content: @@ -42691,9 +43191,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *289 examples: - default: *286 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42712,8 +43212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *90 - - *287 + - *97 + - *291 responses: '204': description: Response @@ -42736,7 +43236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *90 + - *97 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -42825,8 +43325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *90 - - *204 + - *97 + - *64 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -42858,13 +43358,13 @@ paths: application/json: schema: type: array - items: *288 + items: *292 examples: - default: *289 - '500': *91 + default: *293 + '500': *98 '403': *27 '404': *6 - '422': *290 + '422': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42882,7 +43382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *90 + - *97 - *17 - *19 responses: @@ -42892,9 +43392,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 headers: Link: *57 '403': *27 @@ -42916,7 +43416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *90 + - *97 requestBody: required: true content: @@ -42988,7 +43488,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &295 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43062,7 +43562,7 @@ paths: parent: anyOf: - type: 'null' - - *207 + - *211 members_count: type: integer examples: @@ -43368,7 +43868,7 @@ paths: - repos_count - organization examples: - default: &292 + default: &296 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43438,16 +43938,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *90 - - *204 + - *97 + - *64 responses: '200': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -43468,8 +43968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *90 - - *204 + - *97 + - *64 requestBody: required: false content: @@ -43532,16 +44032,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '201': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 '422': *15 '403': *27 @@ -43566,8 +44066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *90 - - *204 + - *97 + - *64 responses: '204': description: Response @@ -43593,8 +44093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *90 - - *204 + - *97 + - *64 - *46 - *17 - *19 @@ -43611,7 +44111,7 @@ paths: application/json: schema: type: array - items: &293 + items: &297 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43702,7 +44202,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *61 + reactions: *68 required: - author - body @@ -43722,7 +44222,7 @@ paths: - updated_at - url examples: - default: &613 + default: &618 value: - author: login: octocat @@ -43796,8 +44296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *90 - - *204 + - *97 + - *64 requestBody: required: true content: @@ -43831,9 +44331,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: &294 + default: &298 value: author: login: octocat @@ -43905,9 +44405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *90 - - *204 - - &295 + - *97 + - *64 + - &299 name: discussion_number description: The number that identifies the discussion. in: path @@ -43919,9 +44419,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43943,9 +44443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: false content: @@ -43968,9 +44468,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: &614 + default: &619 value: author: login: octocat @@ -44040,9 +44540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 responses: '204': description: Response @@ -44068,9 +44568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 - *46 - *17 - *19 @@ -44081,7 +44581,7 @@ paths: application/json: schema: type: array - items: &296 + items: &300 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44146,7 +44646,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *61 + reactions: *68 required: - author - body @@ -44161,7 +44661,7 @@ paths: - updated_at - url examples: - default: &615 + default: &620 value: - author: login: octocat @@ -44229,9 +44729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: true content: @@ -44253,9 +44753,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: &297 + default: &301 value: author: login: octocat @@ -44321,10 +44821,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - &298 + - *97 + - *64 + - *299 + - &302 name: comment_number description: The number that identifies the comment. in: path @@ -44336,9 +44836,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44360,10 +44860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 requestBody: required: true content: @@ -44385,9 +44885,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: &616 + default: &621 value: author: login: octocat @@ -44451,10 +44951,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 responses: '204': description: Response @@ -44480,10 +44980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 - 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. @@ -44509,7 +45009,7 @@ paths: application/json: schema: type: array - items: &299 + items: &303 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44553,7 +45053,7 @@ paths: - content - created_at examples: - default: &301 + default: &305 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44603,10 +45103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *90 - - *204 - - *295 - - *298 + - *97 + - *64 + - *299 + - *302 requestBody: required: true content: @@ -44639,9 +45139,9 @@ paths: team discussion comment content: application/json: - schema: *299 + schema: *303 examples: - default: &300 + default: &304 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44670,9 +45170,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44695,11 +45195,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *90 - - *204 - - *295 - - *298 - - &302 + - *97 + - *64 + - *299 + - *302 + - &306 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44731,9 +45231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 - 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. @@ -44759,9 +45259,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -44787,9 +45287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *90 - - *204 - - *295 + - *97 + - *64 + - *299 requestBody: required: true content: @@ -44821,16 +45321,16 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44853,10 +45353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *90 - - *204 - - *295 - - *302 + - *97 + - *64 + - *299 + - *306 responses: '204': description: Response @@ -44880,8 +45380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -44891,9 +45391,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 x-github: @@ -44915,8 +45415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *90 - - *204 + - *97 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -44939,7 +45439,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -44969,15 +45469,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 responses: '200': description: Response content: application/json: - schema: &303 + schema: &307 title: Team Membership description: Team Membership type: object @@ -45005,7 +45505,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &617 + response-if-user-is-a-team-maintainer: &622 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45041,9 +45541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 requestBody: required: false content: @@ -45068,9 +45568,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &618 + response-if-users-membership-with-team-is-now-pending: &623 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45105,9 +45605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *90 - - *204 - - *133 + - *97 + - *64 + - *62 responses: '204': description: Response @@ -45132,8 +45632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -45143,7 +45643,7 @@ paths: application/json: schema: type: array - items: &304 + items: &308 title: Team Project description: A team's access to a project. type: object @@ -45212,7 +45712,7 @@ paths: - updated_at - permissions examples: - default: &619 + default: &624 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45275,9 +45775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *90 - - *204 - - &305 + - *97 + - *64 + - &309 name: project_id description: The unique identifier of the project. in: path @@ -45289,9 +45789,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *308 examples: - default: &620 + default: &625 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45353,9 +45853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *90 - - *204 - - *305 + - *97 + - *64 + - *309 requestBody: required: false content: @@ -45422,9 +45922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *90 - - *204 - - *305 + - *97 + - *64 + - *309 responses: '204': description: Response @@ -45451,8 +45951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -45462,9 +45962,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -45493,16 +45993,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &621 + schema: &626 title: Team Repository description: A team's access to a repository. type: object @@ -45528,7 +46028,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 forks: type: integer permissions: @@ -46143,10 +46643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 requestBody: required: false content: @@ -46191,10 +46691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *90 - - *204 - - *306 - - *307 + - *97 + - *64 + - *310 + - *311 responses: '204': description: Response @@ -46218,8 +46718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *90 - - *204 + - *97 + - *64 - *17 - *19 responses: @@ -46229,9 +46729,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - response-if-child-teams-exist: &622 + response-if-child-teams-exist: &627 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46284,7 +46784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *90 + - *97 - name: security_product in: path description: The security feature to enable or disable. @@ -46358,7 +46858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &308 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -46370,7 +46870,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -46424,7 +46924,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46459,7 +46959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *308 + - *312 requestBody: required: true content: @@ -46484,9 +46984,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 '304': *35 '403': *27 '401': *23 @@ -46511,7 +47011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *308 + - *312 responses: '204': description: Response @@ -46540,7 +47040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *308 + - *312 requestBody: required: true content: @@ -46601,15 +47101,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: &311 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46666,7 +47166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *305 + - *309 requestBody: required: false content: @@ -46715,9 +47215,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: *311 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -46738,7 +47238,7 @@ paths: items: type: string '401': *23 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -46761,7 +47261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *305 + - *309 responses: '204': description: Delete Success @@ -46782,7 +47282,7 @@ paths: items: type: string '401': *23 - '410': *312 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -46806,7 +47306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *305 + - *309 - 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 @@ -46833,7 +47333,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -46863,8 +47363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *305 - - *133 + - *309 + - *62 requestBody: required: false content: @@ -46918,8 +47418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *305 - - *133 + - *309 + - *62 responses: '204': description: Response @@ -46950,8 +47450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *305 - - *133 + - *309 + - *62 responses: '200': description: Response @@ -47021,7 +47521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *305 + - *309 - *17 - *19 responses: @@ -47031,7 +47531,7 @@ paths: application/json: schema: type: array - items: *309 + items: *313 examples: default: value: @@ -47069,7 +47569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *305 + - *309 requestBody: required: true content: @@ -47093,7 +47593,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: default: value: @@ -47158,7 +47658,7 @@ paths: resources: type: object properties: - core: &313 + core: &317 title: Rate Limit type: object properties: @@ -47175,21 +47675,21 @@ paths: - remaining - reset - used - graphql: *313 - search: *313 - code_search: *313 - source_import: *313 - integration_manifest: *313 - code_scanning_upload: *313 - actions_runner_registration: *313 - scim: *313 - dependency_snapshots: *313 - dependency_sbom: *313 - code_scanning_autofix: *313 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 + dependency_sbom: *317 + code_scanning_autofix: *317 required: - core - search - rate: *313 + rate: *317 required: - rate - resources @@ -47294,14 +47794,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: default-response: summary: Default response @@ -47802,7 +48302,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *315 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,8 +48320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -48069,10 +48569,10 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 - '307': &317 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -48101,8 +48601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -48124,7 +48624,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *317 + '307': *321 '404': *6 '409': *45 x-github: @@ -48148,11 +48648,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - - &348 + - &352 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48175,7 +48675,7 @@ paths: type: integer artifacts: type: array - items: &318 + items: &322 title: Artifact description: An artifact type: object @@ -48270,7 +48770,7 @@ paths: - expires_at - updated_at examples: - default: &349 + default: &353 value: total_count: 2 artifacts: @@ -48331,9 +48831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *306 - - *307 - - &319 + - *310 + - *311 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48345,7 +48845,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *322 examples: default: value: @@ -48383,9 +48883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *306 - - *307 - - *319 + - *310 + - *311 + - *323 responses: '204': description: Response @@ -48409,9 +48909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *306 - - *307 - - *319 + - *310 + - *311 + - *323 - name: archive_format in: path required: true @@ -48425,7 +48925,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': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48448,14 +48948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *320 + schema: *324 examples: default: value: @@ -48481,11 +48981,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - - &321 + - &325 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 @@ -48519,7 +49019,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -48569,7 +49069,7 @@ paths: - total_count - actions_caches examples: - default: &323 + default: &327 value: total_count: 1 actions_caches: @@ -48601,23 +49101,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: - - *306 - - *307 + - *310 + - *311 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *321 + - *325 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48637,8 +49137,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: - - *306 - - *307 + - *310 + - *311 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48669,9 +49169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *306 - - *307 - - &324 + - *310 + - *311 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -48683,7 +49183,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &356 title: Job description: Information of a job execution in a workflow run type: object @@ -49030,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *306 - - *307 - - *324 + - *310 + - *311 + - *328 responses: '302': description: Response @@ -49060,9 +49560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *306 - - *307 - - *324 + - *310 + - *311 + - *328 requestBody: required: false content: @@ -49084,7 +49584,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -49108,8 +49608,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Status response @@ -49159,8 +49659,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -49194,7 +49694,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -49223,8 +49723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -49242,7 +49742,7 @@ paths: type: integer secrets: type: array - items: &354 + items: &358 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49263,7 +49763,7 @@ paths: - created_at - updated_at examples: - default: &355 + default: &359 value: total_count: 2 secrets: @@ -49296,9 +49796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *306 - - *307 - - *325 + - *310 + - *311 + - *329 - *19 responses: '200': @@ -49315,7 +49815,7 @@ paths: type: integer variables: type: array - items: &358 + items: &362 title: Actions Variable type: object properties: @@ -49349,7 +49849,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &363 value: total_count: 2 variables: @@ -49382,8 +49882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -49392,12 +49892,12 @@ paths: schema: type: object properties: - enabled: &327 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *105 - selected_actions_url: *326 - sha_pinning_required: *106 + allowed_actions: *112 + selected_actions_url: *330 + sha_pinning_required: *113 required: - enabled examples: @@ -49425,8 +49925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49437,9 +49937,9 @@ paths: schema: type: object properties: - enabled: *327 - allowed_actions: *105 - sha_pinning_required: *106 + enabled: *331 + allowed_actions: *112 + sha_pinning_required: *113 required: - enabled examples: @@ -49469,14 +49969,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &328 + schema: &332 type: object properties: access_level: @@ -49493,7 +49993,7 @@ paths: required: - access_level examples: - default: &329 + default: &333 value: access_level: organization x-github: @@ -49517,15 +50017,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 responses: '204': description: Response @@ -49549,14 +50049,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: default: value: @@ -49580,8 +50080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Empty response for successful settings update @@ -49591,7 +50091,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *335 examples: default: summary: Set retention days @@ -49615,16 +50115,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *107 + schema: *114 examples: - default: *332 + default: *336 '404': *6 x-github: enabledForGitHubApps: true @@ -49643,8 +50143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49654,7 +50154,7 @@ paths: required: true content: application/json: - schema: *107 + schema: *114 examples: default: summary: Set approval policy to first time contributors @@ -49678,16 +50178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *333 + schema: *337 examples: - default: *108 + default: *115 '403': *27 '404': *6 x-github: @@ -49707,15 +50207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *334 + schema: *338 examples: - default: *108 + default: *115 responses: '204': description: Empty response for successful settings update @@ -49739,16 +50239,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *110 + schema: *117 examples: - default: *111 + default: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49767,8 +50267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -49776,9 +50276,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *117 examples: - selected_actions: *111 + selected_actions: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49800,16 +50300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *335 + schema: *339 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49830,8 +50330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Success response @@ -49842,9 +50342,9 @@ paths: required: true content: application/json: - schema: *336 + schema: *340 examples: - default: *115 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49871,8 +50371,8 @@ paths: in: query schema: type: string - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -49890,9 +50390,9 @@ paths: type: integer runners: type: array - items: *122 + items: *129 examples: - default: *123 + default: *130 headers: Link: *57 x-github: @@ -49916,8 +50416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -49925,9 +50425,9 @@ paths: application/json: schema: type: array - items: *337 + items: *341 examples: - default: *338 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49949,8 +50449,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -49993,7 +50493,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *339 + '201': *343 '404': *6 '422': *7 '409': *45 @@ -50024,16 +50524,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: *340 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50061,16 +50561,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response content: application/json: - schema: *124 + schema: *131 examples: - default: *341 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50092,17 +50592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: '200': description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: *342 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,9 +50623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: '204': description: Response @@ -50151,11 +50651,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: - '200': *126 + '200': *133 '404': *6 x-github: githubCloudOnly: false @@ -50177,9 +50677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 requestBody: required: true content: @@ -50203,7 +50703,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50227,9 +50727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 requestBody: required: true content: @@ -50254,7 +50754,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50278,11 +50778,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: - - *306 - - *307 - - *121 + - *310 + - *311 + - *128 responses: - '200': *343 + '200': *347 '404': *6 x-github: githubCloudOnly: false @@ -50309,12 +50809,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - - *307 - - *121 - - *344 + - *310 + - *311 + - *128 + - *348 responses: - '200': *126 + '200': *133 '404': *6 '422': *7 x-github: @@ -50340,9 +50840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *306 - - *307 - - &362 + - *310 + - *311 + - &366 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. @@ -50350,7 +50850,7 @@ paths: required: false schema: type: string - - &363 + - &367 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50358,7 +50858,7 @@ paths: required: false schema: type: string - - &364 + - &368 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50367,7 +50867,7 @@ paths: required: false schema: type: string - - &365 + - &369 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 @@ -50394,7 +50894,7 @@ paths: - pending - *17 - *19 - - &366 + - &370 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)." @@ -50403,7 +50903,7 @@ paths: schema: type: string format: date-time - - &345 + - &349 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50412,13 +50912,13 @@ paths: schema: type: boolean default: false - - &367 + - &371 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &368 + - &372 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50441,7 +50941,7 @@ paths: type: integer workflow_runs: type: array - items: &346 + items: &350 title: Workflow Run description: An invocation of a workflow type: object @@ -50558,7 +51058,7 @@ paths: type: - array - 'null' - items: &387 + items: &391 title: Pull Request Minimal type: object properties: @@ -50685,7 +51185,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &395 title: Simple Commit description: A commit. type: object @@ -50759,8 +51259,8 @@ paths: - timestamp - author - committer - repository: *120 - head_repository: *120 + repository: *127 + head_repository: *127 head_repository_id: type: integer examples: @@ -50800,7 +51300,7 @@ paths: - workflow_url - pull_requests examples: - default: &369 + default: &373 value: total_count: 1 workflow_runs: @@ -51036,24 +51536,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *306 - - *307 - - &347 + - *310 + - *311 + - &351 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *345 + - *349 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: - default: &350 + default: &354 value: id: 30433642 name: Build @@ -51294,9 +51794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '204': description: Response @@ -51319,9 +51819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -51449,15 +51949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51484,12 +51984,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 - *17 - *19 - - *348 + - *352 responses: '200': description: Response @@ -51505,9 +52005,9 @@ paths: type: integer artifacts: type: array - items: *318 + items: *322 examples: - default: *349 + default: *353 headers: Link: *57 x-github: @@ -51531,25 +52031,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *306 - - *307 - - *347 - - &351 + - *310 + - *311 + - *351 + - &355 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *345 + - *349 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: - default: *350 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51572,10 +52072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *306 - - *307 - - *347 + - *310 + - *311 - *351 + - *355 - *17 - *19 responses: @@ -51593,9 +52093,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *356 examples: - default: &353 + default: &357 value: total_count: 1 jobs: @@ -51708,10 +52208,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 - *351 + - *355 responses: '302': description: Response @@ -51739,15 +52239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '202': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51774,9 +52274,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: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: true content: @@ -51843,15 +52343,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '202': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -51878,9 +52378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 - 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 @@ -51910,9 +52410,9 @@ paths: type: integer jobs: type: array - items: *352 + items: *356 examples: - default: *353 + default: *357 headers: Link: *57 x-github: @@ -51937,9 +52437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '302': description: Response @@ -51966,14 +52466,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '204': description: Response '403': *27 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51995,9 +52495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -52066,7 +52566,7 @@ paths: items: type: object properties: - type: &464 + type: &468 type: string description: The type of reviewer. enum: @@ -52077,7 +52577,7 @@ paths: reviewer: anyOf: - *4 - - *151 + - *157 required: - environment - wait_timer @@ -52152,9 +52652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: true content: @@ -52204,7 +52704,7 @@ paths: application/json: schema: type: array - items: &459 + items: &463 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52316,7 +52816,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &464 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52372,9 +52872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: false content: @@ -52396,7 +52896,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52419,9 +52919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 requestBody: required: false content: @@ -52443,7 +52943,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52475,9 +52975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *306 - - *307 - - *347 + - *310 + - *311 + - *351 responses: '200': description: Response @@ -52614,8 +53114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -52633,9 +53133,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *358 examples: - default: *355 + default: *359 headers: Link: *57 x-github: @@ -52660,16 +53160,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *356 + schema: *360 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52691,17 +53191,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *354 + schema: *358 examples: - default: &477 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52727,9 +53227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -52760,7 +53260,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52786,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -52813,9 +53313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *306 - - *307 - - *325 + - *310 + - *311 + - *329 - *19 responses: '200': @@ -52832,9 +53332,9 @@ paths: type: integer variables: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *57 x-github: @@ -52857,8 +53357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -52885,7 +53385,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -52910,17 +53410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: &478 + default: &482 value: name: USERNAME value: octocat @@ -52946,9 +53446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 requestBody: required: true content: @@ -52990,9 +53490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *306 - - *307 - - *131 + - *310 + - *311 + - *138 responses: '204': description: Response @@ -53017,8 +53517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -53036,7 +53536,7 @@ paths: type: integer workflows: type: array - items: &360 + items: &364 title: Workflow description: A GitHub Actions workflow type: object @@ -53154,9 +53654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *306 - - *307 - - &361 + - *310 + - *311 + - &365 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53171,7 +53671,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *364 examples: default: value: @@ -53204,9 +53704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53231,9 +53731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53284,9 +53784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '204': description: Response @@ -53313,19 +53813,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *306 - - *307 - - *361 - - *362 - - *363 - - *364 + - *310 + - *311 - *365 - - *17 - - *19 - *366 - - *345 - *367 - *368 + - *369 + - *17 + - *19 + - *370 + - *349 + - *371 + - *372 responses: '200': description: Response @@ -53341,9 +53841,9 @@ paths: type: integer workflow_runs: type: array - items: *346 + items: *350 examples: - default: *369 + default: *373 headers: Link: *57 x-github: @@ -53375,9 +53875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *306 - - *307 - - *361 + - *310 + - *311 + - *365 responses: '200': description: Response @@ -53438,8 +53938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *306 - - *307 + - *310 + - *311 - *46 - *17 - *38 @@ -53607,8 +54107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -53620,7 +54120,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -53645,8 +54145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *306 - - *307 + - *310 + - *311 - name: assignee in: path required: true @@ -53682,8 +54182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -53795,8 +54295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *38 - *39 @@ -53850,7 +54350,7 @@ paths: bundle_url: type: string examples: - default: *370 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53870,8 +54370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -53879,7 +54379,7 @@ paths: application/json: schema: type: array - items: &371 + items: &375 title: Autolink reference description: An autolink reference. type: object @@ -53938,8 +54438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -53978,9 +54478,9 @@ paths: description: response content: application/json: - schema: *371 + schema: *375 examples: - default: &372 + default: &376 value: id: 1 key_prefix: TICKET- @@ -54011,9 +54511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *306 - - *307 - - &373 + - *310 + - *311 + - &377 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54025,9 +54525,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *375 examples: - default: *372 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -54047,9 +54547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *306 - - *307 - - *373 + - *310 + - *311 + - *377 responses: '204': description: Response @@ -54073,8 +54573,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response if Dependabot is enabled @@ -54124,8 +54624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -54146,8 +54646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -54167,8 +54667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *306 - - *307 + - *310 + - *311 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54206,7 +54706,7 @@ paths: - url protected: type: boolean - protection: &375 + protection: &379 title: Branch Protection description: Branch Protection type: object @@ -54249,7 +54749,7 @@ paths: required: - contexts - checks - enforce_admins: &378 + enforce_admins: &382 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54266,7 +54766,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &380 + required_pull_request_reviews: &384 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54288,7 +54788,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *151 + items: *157 apps: description: The list of apps with review dismissal access. @@ -54320,7 +54820,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *151 + items: *157 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54350,7 +54850,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &377 + restrictions: &381 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54413,7 +54913,7 @@ paths: type: string teams: type: array - items: *151 + items: *157 apps: type: array items: @@ -54643,9 +55143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *306 - - *307 - - &376 + - *310 + - *311 + - &380 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). @@ -54659,14 +55159,14 @@ paths: description: Response content: application/json: - schema: &386 + schema: &390 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &436 + commit: &440 title: Commit description: Commit type: object @@ -54705,7 +55205,7 @@ paths: author: anyOf: - type: 'null' - - &374 + - &378 title: Git User description: Metaproperties for Git author/committer information. @@ -54726,7 +55226,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 message: type: string examples: @@ -54750,7 +55250,7 @@ paths: required: - sha - url - verification: &484 + verification: &488 title: Verification type: object properties: @@ -54786,14 +55286,14 @@ paths: author: oneOf: - *4 - - *129 + - *136 type: - 'null' - object committer: oneOf: - *4 - - *129 + - *136 type: - 'null' - object @@ -54830,7 +55330,7 @@ paths: type: integer files: type: array - items: &447 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -54926,7 +55426,7 @@ paths: - self protected: type: boolean - protection: *375 + protection: *379 protection_url: type: string format: uri @@ -55035,7 +55535,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *315 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -55057,15 +55557,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *375 + schema: *379 examples: default: value: @@ -55259,9 +55759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -55521,7 +56021,7 @@ paths: url: type: string format: uri - required_status_checks: &383 + required_status_checks: &387 title: Status Check Policy description: Status Check Policy type: object @@ -55602,7 +56102,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 apps: type: array items: *5 @@ -55620,7 +56120,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 apps: type: array items: *5 @@ -55680,7 +56180,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *377 + restrictions: *381 required_conversation_resolution: type: object properties: @@ -55792,9 +56292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -55819,17 +56319,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: &379 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55851,17 +56351,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: *379 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55880,9 +56380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -55907,17 +56407,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: &381 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56013,9 +56513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56113,9 +56613,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -56136,9 +56636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56165,17 +56665,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: &382 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56198,17 +56698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *378 + schema: *382 examples: - default: *382 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -56228,9 +56728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56255,17 +56755,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *383 + schema: *387 examples: - default: &384 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56291,9 +56791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56345,9 +56845,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *387 examples: - default: *384 + default: *388 '404': *6 '422': *15 x-github: @@ -56369,9 +56869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56395,9 +56895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -56431,9 +56931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56500,9 +57000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -56566,9 +57066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: content: application/json: @@ -56634,15 +57134,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response content: application/json: - schema: *377 + schema: *381 examples: default: value: @@ -56733,9 +57233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '204': description: Response @@ -56758,9 +57258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -56770,7 +57270,7 @@ paths: type: array items: *5 examples: - default: &385 + default: &389 value: - id: 1 slug: octoapp @@ -56827,9 +57327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56863,7 +57363,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56884,9 +57384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56920,7 +57420,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56941,9 +57441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -56977,7 +57477,7 @@ paths: type: array items: *5 examples: - default: *385 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -56999,9 +57499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -57009,9 +57509,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -57031,9 +57531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -57069,9 +57569,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57092,9 +57592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: false content: @@ -57130,9 +57630,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57153,9 +57653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: content: application/json: @@ -57190,9 +57690,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -57214,9 +57714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 responses: '200': description: Response @@ -57226,7 +57726,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '404': *6 x-github: githubCloudOnly: false @@ -57250,9 +57750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57285,7 +57785,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57310,9 +57810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57345,7 +57845,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57370,9 +57870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57405,7 +57905,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '422': *15 x-github: githubCloudOnly: false @@ -57432,9 +57932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 requestBody: required: true content: @@ -57456,7 +57956,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *390 examples: default: value: @@ -57572,8 +58072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -57852,7 +58352,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57987,8 +58487,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *387 - deployment: &681 + items: *391 + deployment: &686 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58275,9 +58775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *306 - - *307 - - &389 + - *310 + - *311 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -58289,9 +58789,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *392 examples: - default: &390 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58391,9 +58891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 requestBody: required: true content: @@ -58633,9 +59133,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *392 examples: - default: *390 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58655,9 +59155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 - *17 - *19 responses: @@ -58767,15 +59267,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *306 - - *307 - - *389 + - *310 + - *311 + - *393 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -58813,8 +59313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -58836,7 +59336,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &396 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58918,12 +59418,12 @@ paths: type: - array - 'null' - items: *387 + items: *391 app: anyOf: - type: 'null' - *5 - repository: *120 + repository: *127 created_at: type: - string @@ -58934,7 +59434,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *395 latest_check_runs_count: type: integer check_runs_url: @@ -58962,7 +59462,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &397 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59253,9 +59753,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59274,8 +59774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -59336,7 +59836,7 @@ paths: required: - app_id - setting - repository: *120 + repository: *127 examples: default: value: @@ -59584,9 +60084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *306 - - *307 - - &394 + - *310 + - *311 + - &398 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59598,9 +60098,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59623,17 +60123,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *306 - - *307 - - *394 - - &442 + - *310 + - *311 + - *398 + - &446 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &447 name: status description: Returns check runs with the specified `status`. in: query @@ -59672,9 +60172,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *392 examples: - default: &444 + default: &448 value: total_count: 1 check_runs: @@ -59776,15 +60276,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *306 - - *307 - - *394 + - *310 + - *311 + - *398 responses: '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -59811,21 +60311,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *306 - - *307 - - *395 - - *396 + - *310 + - *311 + - *399 + - *400 - *19 - *17 - - &413 + - &417 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: *397 - - &414 + schema: *401 + - &418 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59850,13 +60350,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *402 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *403 responses: '200': description: Response @@ -59872,19 +60372,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *400 - state: *141 - fixed_at: *137 + instances_url: *404 + state: *147 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_at: *144 + dismissed_reason: *405 + dismissed_comment: *406 + rule: *407 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -60004,14 +60504,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &410 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60031,9 +60531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *306 - - *307 - - &407 + - *310 + - *311 + - &411 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60047,7 +60547,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &412 type: object properties: number: *52 @@ -60055,16 +60555,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *400 - state: *141 - fixed_at: *137 + instances_url: *404 + state: *147 + fixed_at: *143 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *138 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_at: *144 + dismissed_reason: *405 + dismissed_comment: *406 rule: type: object properties: @@ -60126,8 +60626,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -60220,9 +60720,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60240,9 +60740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: true content: @@ -60257,8 +60757,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *405 + dismissed_comment: *406 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60277,7 +60777,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: default: value: @@ -60353,14 +60853,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &416 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60380,15 +60880,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 responses: '200': description: Response content: application/json: - schema: &409 + schema: &413 type: object properties: status: @@ -60415,13 +60915,13 @@ paths: - description - started_at examples: - default: &410 + default: &414 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &415 description: Bad Request content: application/json: @@ -60432,9 +60932,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60457,29 +60957,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 responses: '200': description: OK content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 '202': description: Accepted content: application/json: - schema: *409 + schema: *413 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *415 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60489,7 +60989,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60511,9 +61011,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: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: false content: @@ -60559,12 +61059,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *415 + '403': *416 '404': *6 '422': description: Unprocessable Entity - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60584,13 +61084,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 - *19 - *17 - - *413 - - *414 + - *417 + - *418 responses: '200': description: Response @@ -60598,7 +61098,7 @@ paths: application/json: schema: type: array - items: *405 + items: *409 examples: default: value: @@ -60637,9 +61137,9 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60671,25 +61171,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *306 - - *307 - - *395 - - *396 + - *310 + - *311 + - *399 + - *400 - *19 - *17 - - *414 + - *418 - 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: *397 + schema: *401 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &417 + schema: &421 type: string description: An identifier for the upload. examples: @@ -60711,23 +61211,23 @@ paths: application/json: schema: type: array - items: &418 + items: &422 type: object properties: - ref: *397 - commit_sha: &426 + ref: *401 + commit_sha: &430 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: *415 + analysis_key: *419 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *416 + category: *420 error: type: string examples: @@ -60752,8 +61252,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *417 - tool: *404 + sarif_id: *421 + tool: *408 deletable: type: boolean warning: @@ -60815,9 +61315,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60851,8 +61351,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: - - *306 - - *307 + - *310 + - *311 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60865,7 +61365,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *422 examples: response: summary: application/json response @@ -60919,14 +61419,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *410 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61006,8 +61506,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: - - *306 - - *307 + - *310 + - *311 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61063,9 +61563,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *412 + '403': *416 '404': *6 - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61085,8 +61585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -61094,7 +61594,7 @@ paths: application/json: schema: type: array - items: &419 + items: &423 title: CodeQL Database description: A CodeQL database. type: object @@ -61206,9 +61706,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61235,8 +61735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: language in: path description: The language of the CodeQL database. @@ -61248,7 +61748,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *423 examples: default: value: @@ -61280,11 +61780,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &449 + '302': &453 description: Found - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61304,8 +61804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *306 - - *307 + - *310 + - *311 - name: language in: path description: The language of the CodeQL database. @@ -61315,9 +61815,9 @@ paths: responses: '204': description: Response - '403': *412 + '403': *416 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61343,8 +61843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -61353,7 +61853,7 @@ paths: type: object additionalProperties: false properties: - language: &420 + language: &424 type: string description: The language targeted by the CodeQL query enum: @@ -61432,7 +61932,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &424 + schema: &428 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61442,7 +61942,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *420 + query_language: *424 query_pack_url: type: string description: The download url for the query pack. @@ -61490,7 +61990,7 @@ paths: items: type: object properties: - repository: &421 + repository: &425 title: Repository Identifier description: Repository Identifier type: object @@ -61532,7 +62032,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &425 + analysis_status: &429 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61564,7 +62064,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &422 + access_mismatch_repos: &426 type: object properties: repository_count: @@ -61579,7 +62079,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: *421 + items: *425 required: - repository_count - repositories @@ -61602,8 +62102,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *422 - over_limit_repos: *422 + no_codeql_db_repos: *426 + over_limit_repos: *426 required: - access_mismatch_repos - not_found_repos @@ -61619,7 +62119,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &423 + value: &427 summary: Default response value: id: 1 @@ -61771,17 +62271,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *423 + value: *427 repository_lists: summary: Response for a successful variant analysis submission - value: *423 + value: *427 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61802,8 +62302,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: - - *306 - - *307 + - *310 + - *311 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61815,11 +62315,11 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *423 + default: *427 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61840,7 +62340,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: - - *306 + - *310 - name: repo in: path description: The name of the controller repository. @@ -61875,7 +62375,7 @@ paths: type: object properties: repository: *51 - analysis_status: *425 + analysis_status: *429 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61979,7 +62479,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62000,8 +62500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62094,9 +62594,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *410 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62115,8 +62615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -62185,7 +62685,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -62210,7 +62710,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *416 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62224,7 +62724,7 @@ paths: content: application/json: schema: *3 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62281,8 +62781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -62290,7 +62790,7 @@ paths: schema: type: object properties: - commit_sha: *426 + commit_sha: *430 ref: type: string description: |- @@ -62350,7 +62850,7 @@ paths: schema: type: object properties: - id: *417 + id: *421 url: type: string description: The REST API URL for checking the status of the upload. @@ -62364,11 +62864,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *412 + '403': *416 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62387,8 +62887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *306 - - *307 + - *310 + - *311 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62436,10 +62936,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *406 + '403': *410 '404': description: Not Found if the sarif id does not match any upload - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62461,8 +62961,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62518,7 +63018,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': *146 + '204': *152 '304': *35 '403': *27 '404': *6 @@ -62543,8 +63043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *306 - - *307 + - *310 + - *311 - 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 @@ -62672,8 +63172,8 @@ paths: parameters: - *17 - *19 - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -62689,7 +63189,7 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: default: value: @@ -62965,7 +63465,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': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -62987,8 +63487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -63052,22 +63552,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63091,8 +63591,8 @@ paths: parameters: - *17 - *19 - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -63132,7 +63632,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *91 + '500': *98 '400': *14 '401': *23 '403': *27 @@ -63156,8 +63656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63194,9 +63694,9 @@ paths: type: integer machines: type: array - items: *428 + items: *432 examples: - default: &629 + default: &634 value: total_count: 2 machines: @@ -63213,7 +63713,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -63236,8 +63736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *306 - - *307 + - *310 + - *311 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63324,8 +63824,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: - - *306 - - *307 + - *310 + - *311 - 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 @@ -63373,7 +63873,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63394,8 +63894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -63413,7 +63913,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &436 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63434,7 +63934,7 @@ paths: - created_at - updated_at examples: - default: *429 + default: *433 headers: Link: *57 x-github: @@ -63457,16 +63957,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63486,17 +63986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: *433 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63516,9 +64016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -63546,7 +64046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -63570,9 +64070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -63600,8 +64100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *306 - - *307 + - *310 + - *311 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63639,7 +64139,7 @@ paths: application/json: schema: type: array - items: &434 + items: &438 title: Collaborator description: Collaborator type: object @@ -63832,9 +64332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '204': description: Response if user is a collaborator @@ -63880,9 +64380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 requestBody: required: false content: @@ -63908,7 +64408,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &497 + schema: &501 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63920,7 +64420,7 @@ paths: format: int64 examples: - 42 - repository: *120 + repository: *127 invitee: anyOf: - type: 'null' @@ -64096,7 +64596,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *94 + schema: *101 '403': *27 x-github: triggersNotification: true @@ -64136,9 +64636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64169,9 +64669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *306 - - *307 - - *133 + - *310 + - *311 + - *62 responses: '200': description: if user has admin permissions @@ -64191,7 +64691,7 @@ paths: user: anyOf: - type: 'null' - - *434 + - *438 required: - permission - role_name @@ -64245,8 +64745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -64256,7 +64756,7 @@ paths: application/json: schema: type: array - items: &435 + items: &439 title: Commit Comment description: Commit Comment type: object @@ -64297,8 +64797,8 @@ paths: updated_at: type: string format: date-time - author_association: *60 - reactions: *61 + author_association: *67 + reactions: *68 required: - url - html_url @@ -64314,7 +64814,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64373,17 +64873,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *435 + schema: *439 examples: - default: &439 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64440,9 +64940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -64464,7 +64964,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: default: value: @@ -64515,9 +65015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -64538,9 +65038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -64566,9 +65066,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -64589,9 +65089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -64623,16 +65123,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -64654,10 +65154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -64706,8 +65206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *306 - - *307 + - *310 + - *311 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64763,9 +65263,9 @@ paths: application/json: schema: type: array - items: *436 + items: *440 examples: - default: &544 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64836,7 +65336,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *91 + '500': *98 '400': *14 '404': *6 '409': *45 @@ -64859,9 +65359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *306 - - *307 - - &437 + - *310 + - *311 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -64933,9 +65433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 - *17 - *19 responses: @@ -64945,9 +65445,9 @@ paths: application/json: schema: type: array - items: *435 + items: *439 examples: - default: *438 + default: *442 headers: Link: *57 x-github: @@ -64975,9 +65475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 requestBody: required: true content: @@ -65012,9 +65512,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: - default: *439 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65042,9 +65542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 - *17 - *19 responses: @@ -65054,9 +65554,9 @@ paths: application/json: schema: type: array - items: *440 + items: *444 examples: - default: &536 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65593,11 +66093,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 - - &441 + - &445 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)" @@ -65612,9 +66112,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: - default: &524 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65700,8 +66200,8 @@ paths: ..... '422': *15 '404': *6 - '500': *91 - '503': *62 + '500': *98 + '503': *69 '409': *45 x-github: githubCloudOnly: false @@ -65727,11 +66227,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *306 - - *307 - - *441 - - *442 - - *443 + - *310 + - *311 + - *445 + - *446 + - *447 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65765,9 +66265,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *392 examples: - default: *444 + default: *448 headers: Link: *57 x-github: @@ -65792,9 +66292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65802,7 +66302,7 @@ paths: schema: type: integer example: 1 - - *442 + - *446 - *17 - *19 responses: @@ -65820,7 +66320,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *396 examples: default: value: @@ -66020,9 +66520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - *17 - *19 responses: @@ -66093,7 +66593,7 @@ paths: type: string total_count: type: integer - repository: *120 + repository: *127 commit_url: type: string format: uri @@ -66224,9 +66724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *306 - - *307 - - *441 + - *310 + - *311 + - *445 - *17 - *19 responses: @@ -66236,7 +66736,7 @@ paths: application/json: schema: type: array - items: &600 + items: &605 title: Status description: The status of a commit. type: object @@ -66317,7 +66817,7 @@ paths: site_admin: false headers: Link: *57 - '301': *315 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66345,8 +66845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -66379,11 +66879,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *445 + - *449 code_of_conduct_file: anyOf: - type: 'null' - - &446 + - &450 title: Community Health File type: object properties: @@ -66399,23 +66899,23 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 contributing: anyOf: - type: 'null' - - *446 + - *450 readme: anyOf: - type: 'null' - - *446 + - *450 issue_template: anyOf: - type: 'null' - - *446 + - *450 pull_request_template: anyOf: - type: 'null' - - *446 + - *450 required: - code_of_conduct - code_of_conduct_file @@ -66544,8 +67044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 - name: basehead @@ -66593,8 +67093,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *436 - merge_base_commit: *436 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -66618,10 +67118,10 @@ paths: - 6 commits: type: array - items: *436 + items: *440 files: type: array - items: *447 + items: *451 required: - url - html_url @@ -66864,8 +67364,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67061,7 +67561,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &448 + response-if-content-is-a-file: &452 summary: Response if content is a file value: type: file @@ -67198,7 +67698,7 @@ paths: - size - type - url - - &549 + - &553 title: Content File description: Content File type: object @@ -67416,7 +67916,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *448 + response-if-content-is-a-file: *452 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67485,7 +67985,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *449 + '302': *453 '304': *35 x-github: githubCloudOnly: false @@ -67508,8 +68008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67604,7 +68104,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &454 title: File Commit description: File Commit type: object @@ -67760,7 +68260,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *454 examples: example-for-creating-a-file: value: @@ -67814,7 +68314,7 @@ paths: schema: oneOf: - *3 - - &479 + - &483 description: Repository rule violation was detected type: object properties: @@ -67835,7 +68335,7 @@ paths: items: type: object properties: - placeholder_id: &592 + placeholder_id: &597 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67867,8 +68367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *306 - - *307 + - *310 + - *311 - name: path description: path parameter in: path @@ -67929,7 +68429,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *454 examples: default: value: @@ -67964,7 +68464,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67984,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *306 - - *307 + - *310 + - *311 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68109,22 +68609,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *306 - - *307 - - *152 - - *153 - - *154 - - *155 + - *310 + - *311 + - *158 + - *159 + - *160 + - *161 - 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 - - *156 - - *157 - - *158 - - *159 + - *162 + - *163 + - *164 + - *165 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68144,8 +68644,8 @@ paths: default: 30 - *38 - *39 - - *160 - - *161 + - *166 + - *167 responses: '200': description: Response @@ -68153,7 +68653,7 @@ paths: application/json: schema: type: array - items: &453 + items: &457 type: object description: A Dependabot alert. properties: @@ -68203,13 +68703,13 @@ paths: - direct - transitive - - security_advisory: *451 + security_advisory: *455 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *138 + dismissed_at: *144 dismissed_by: anyOf: - type: 'null' @@ -68233,8 +68733,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *137 - auto_dismissed_at: *452 + fixed_at: *143 + auto_dismissed_at: *456 required: - number - state @@ -68464,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *306 - - *307 - - &454 + - *310 + - *311 + - &458 name: alert_number in: path description: |- @@ -68481,7 +68981,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *457 examples: default: value: @@ -68594,9 +69094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *306 - - *307 - - *454 + - *310 + - *311 + - *458 requestBody: required: true content: @@ -68641,7 +69141,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *457 examples: default: value: @@ -68770,8 +69270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -68789,7 +69289,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &461 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68843,16 +69343,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68872,15 +69372,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '200': description: Response content: application/json: - schema: *457 + schema: *461 examples: default: value: @@ -68906,9 +69406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 requestBody: required: true content: @@ -68936,7 +69436,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -68960,9 +69460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *306 - - *307 - - *128 + - *310 + - *311 + - *135 responses: '204': description: Response @@ -68984,8 +69484,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: - - *306 - - *307 + - *310 + - *311 - 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 @@ -69159,8 +69659,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -69420,8 +69920,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -69504,7 +70004,7 @@ paths: - version - url additionalProperties: false - metadata: &458 + metadata: &462 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69543,7 +70043,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *458 + metadata: *462 resolved: type: object description: A collection of resolved package dependencies. @@ -69557,7 +70057,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *458 + metadata: *462 relationship: type: string description: A notation of whether a dependency is requested @@ -69690,8 +70190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *306 - - *307 + - *310 + - *311 - name: sha description: The SHA recorded at creation time. in: query @@ -69732,9 +70232,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: *460 + default: *464 headers: Link: *57 x-github: @@ -69800,8 +70300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -69883,7 +70383,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: simple-example: summary: Simple example @@ -69956,9 +70456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *306 - - *307 - - &461 + - *310 + - *311 + - &465 name: deployment_id description: deployment_id parameter in: path @@ -69970,7 +70470,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -70035,9 +70535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 responses: '204': description: Response @@ -70059,9 +70559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 - *17 - *19 responses: @@ -70071,7 +70571,7 @@ paths: application/json: schema: type: array - items: &462 + items: &466 title: Deployment Status description: The status of a deployment. type: object @@ -70235,9 +70735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 requestBody: required: true content: @@ -70312,9 +70812,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: &463 + default: &467 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70370,9 +70870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *306 - - *307 - - *461 + - *310 + - *311 + - *465 - name: status_id in: path required: true @@ -70383,9 +70883,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *463 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -70410,8 +70910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -70468,8 +70968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -70487,7 +70987,7 @@ paths: - 5 environments: type: array - items: &465 + items: &469 title: Environment description: Details of a deployment environment type: object @@ -70549,7 +71049,7 @@ paths: type: string examples: - wait_timer - wait_timer: &467 + wait_timer: &471 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -70591,11 +71091,11 @@ paths: items: type: object properties: - type: *464 + type: *468 reviewer: anyOf: - *4 - - *151 + - *157 required: - id - node_id @@ -70618,7 +71118,7 @@ paths: - id - node_id - type - deployment_branch_policy: &468 + deployment_branch_policy: &472 type: - object - 'null' @@ -70735,9 +71235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *306 - - *307 - - &466 + - *310 + - *311 + - &470 name: environment_name in: path required: true @@ -70750,9 +71250,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: &469 + default: &473 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70836,9 +71336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: false content: @@ -70848,7 +71348,7 @@ paths: - object - 'null' properties: - wait_timer: *467 + wait_timer: *471 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -70867,14 +71367,14 @@ paths: items: type: object properties: - type: *464 + type: *468 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *468 + deployment_branch_policy: *472 additionalProperties: false examples: default: @@ -70894,9 +71394,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *469 + default: *473 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70920,9 +71420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 responses: '204': description: Default response @@ -70947,9 +71447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 - *17 - *19 responses: @@ -70968,7 +71468,7 @@ paths: - 2 branch_policies: type: array - items: &470 + items: &474 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71029,9 +71529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: true content: @@ -71079,9 +71579,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - example-wildcard: &471 + example-wildcard: &475 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71123,10 +71623,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - &472 + - *310 + - *311 + - *470 + - &476 name: branch_policy_id in: path required: true @@ -71138,9 +71638,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *471 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71159,10 +71659,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - *472 + - *310 + - *311 + - *470 + - *476 requestBody: required: true content: @@ -71191,9 +71691,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *471 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71212,10 +71712,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *306 - - *307 - - *466 - - *472 + - *310 + - *311 + - *470 + - *476 responses: '204': description: Response @@ -71240,9 +71740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 responses: '200': description: List of deployment protection rules @@ -71259,7 +71759,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &473 + items: &477 title: Deployment protection rule description: Deployment protection rule type: object @@ -71281,7 +71781,7 @@ paths: for the environment. examples: - true - app: &474 + app: &478 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71384,9 +71884,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: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 requestBody: content: application/json: @@ -71407,9 +71907,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *473 + schema: *477 examples: - default: &475 + default: &479 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71444,9 +71944,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: - - *466 - - *307 - - *306 + - *470 + - *311 + - *310 - *19 - *17 responses: @@ -71466,7 +71966,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *474 + items: *478 examples: default: value: @@ -71501,10 +72001,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *306 - - *307 - - *466 - - &476 + - *310 + - *311 + - *470 + - &480 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71516,9 +72016,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: *475 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71539,10 +72039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *466 - - *307 - - *306 - - *476 + - *470 + - *311 + - *310 + - *480 responses: '204': description: Response @@ -71568,9 +72068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 - *17 - *19 responses: @@ -71588,9 +72088,9 @@ paths: type: integer secrets: type: array - items: *354 + items: *358 examples: - default: *355 + default: *359 headers: Link: *57 x-github: @@ -71615,17 +72115,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 responses: '200': description: Response content: application/json: - schema: *356 + schema: *360 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71647,18 +72147,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 responses: '200': description: Response content: application/json: - schema: *354 + schema: *358 examples: - default: *477 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71680,10 +72180,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 requestBody: required: true content: @@ -71714,7 +72214,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -71740,10 +72240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *306 - - *307 - - *466 - - *128 + - *310 + - *311 + - *470 + - *135 responses: '204': description: Default response @@ -71768,10 +72268,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *306 - - *307 - - *466 - - *325 + - *310 + - *311 + - *470 + - *329 - *19 responses: '200': @@ -71788,9 +72288,9 @@ paths: type: integer variables: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *57 x-github: @@ -71813,9 +72313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *306 - - *307 - - *466 + - *310 + - *311 + - *470 requestBody: required: true content: @@ -71842,7 +72342,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -71867,18 +72367,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *306 - - *307 - - *466 - - *131 + - *310 + - *311 + - *470 + - *138 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *478 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71899,10 +72399,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *306 - - *307 - - *131 - - *466 + - *310 + - *311 + - *138 + - *470 requestBody: required: true content: @@ -71944,10 +72444,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *306 - - *307 - - *131 - - *466 + - *310 + - *311 + - *138 + - *470 responses: '204': description: Response @@ -71969,8 +72469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -71980,7 +72480,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: 200-response: value: @@ -72047,8 +72547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *306 - - *307 + - *310 + - *311 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72070,7 +72570,7 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: default: value: @@ -72207,8 +72707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -72241,9 +72741,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 '400': *14 '422': *15 '403': *27 @@ -72264,8 +72764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -72324,8 +72824,8 @@ paths: application/json: schema: oneOf: - - *94 - - *479 + - *101 + - *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72350,8 +72850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *306 - - *307 + - *310 + - *311 - name: file_sha in: path required: true @@ -72451,8 +72951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -72561,7 +73061,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &484 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72788,15 +73288,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *306 - - *307 - - *437 + - *310 + - *311 + - *441 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: default: value: @@ -72852,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *306 - - *307 - - &481 + - *310 + - *311 + - &485 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. @@ -72871,7 +73371,7 @@ paths: application/json: schema: type: array - items: &482 + items: &486 title: Git Reference description: Git references within a repository type: object @@ -72947,17 +73447,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: &483 + default: &487 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72986,8 +73486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73016,9 +73516,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *483 + default: *487 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73044,9 +73544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 requestBody: required: true content: @@ -73075,9 +73575,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *483 + default: *487 '422': *15 '409': *45 x-github: @@ -73095,9 +73595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *306 - - *307 - - *481 + - *310 + - *311 + - *485 responses: '204': description: Response @@ -73152,8 +73652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73220,7 +73720,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &489 title: Git Tag description: Metadata for a Git tag type: object @@ -73276,7 +73776,7 @@ paths: - sha - type - url - verification: *484 + verification: *488 required: - sha - url @@ -73286,7 +73786,7 @@ paths: - tag - message examples: - default: &486 + default: &490 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73359,8 +73859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *306 - - *307 + - *310 + - *311 - name: tag_sha in: path required: true @@ -73371,9 +73871,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *489 examples: - default: *486 + default: *490 '404': *6 '409': *45 x-github: @@ -73397,8 +73897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -73472,7 +73972,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &491 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73574,8 +74074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *306 - - *307 + - *310 + - *311 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73598,7 +74098,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *491 examples: default-response: summary: Default response @@ -73657,8 +74157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -73668,7 +74168,7 @@ paths: application/json: schema: type: array - items: &488 + items: &492 title: Webhook description: Webhooks for repositories. type: object @@ -73731,7 +74231,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &712 + last_response: &717 title: Hook Response type: object properties: @@ -73808,8 +74308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -73862,9 +74362,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: &489 + default: &493 value: type: Repository id: 12345678 @@ -73912,17 +74412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '200': description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -73942,9 +74442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 requestBody: required: true content: @@ -73989,9 +74489,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '422': *15 '404': *6 x-github: @@ -74012,9 +74512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74038,9 +74538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '200': description: Response @@ -74067,9 +74567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 requestBody: required: false content: @@ -74113,11 +74613,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *17 - - *168 + - *174 responses: '200': description: Response @@ -74125,9 +74625,9 @@ paths: application/json: schema: type: array - items: *169 + items: *175 examples: - default: *170 + default: *176 '400': *14 '422': *15 x-github: @@ -74146,18 +74646,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *16 responses: '200': description: Response content: application/json: - schema: *171 + schema: *177 examples: - default: *172 + default: *178 '400': *14 '422': *15 x-github: @@ -74176,9 +74676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 - *16 responses: '202': *37 @@ -74201,9 +74701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74228,9 +74728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *306 - - *307 - - *167 + - *310 + - *311 + - *173 responses: '204': description: Response @@ -74288,14 +74788,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &490 + schema: &494 title: Import description: A repository import from an external source. type: object @@ -74402,7 +74902,7 @@ paths: - html_url - authors_url examples: - default: &493 + default: &497 value: vcs: subversion use_lfs: true @@ -74418,7 +74918,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': &491 + '503': &495 description: Unavailable due to service under maintenance. content: application/json: @@ -74447,8 +74947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -74496,7 +74996,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: default: value: @@ -74521,7 +75021,7 @@ paths: type: string '422': *15 '404': *6 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74549,8 +75049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -74602,7 +75102,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: example-1: summary: Example 1 @@ -74650,7 +75150,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': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74673,12 +75173,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74704,9 +75204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *306 - - *307 - - &651 + - *310 + - *311 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74720,7 +75220,7 @@ paths: application/json: schema: type: array - items: &492 + items: &496 title: Porter Author description: Porter Author type: object @@ -74774,7 +75274,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': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74799,8 +75299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *306 - - *307 + - *310 + - *311 - name: author_id in: path required: true @@ -74830,7 +75330,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *496 examples: default: value: @@ -74843,7 +75343,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74867,8 +75367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -74909,7 +75409,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74937,8 +75437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -74965,11 +75465,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *494 examples: - default: *493 + default: *497 '422': *15 - '503': *491 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74992,8 +75492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -75001,8 +75501,8 @@ paths: application/json: schema: *20 examples: - default: *494 - '301': *315 + default: *498 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -75022,8 +75522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -75031,12 +75531,12 @@ paths: application/json: schema: anyOf: - - *185 + - *191 - type: object properties: {} additionalProperties: false examples: - default: &496 + default: &500 value: limit: collaborators_only origin: repository @@ -75061,13 +75561,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: application/json: - schema: *495 + schema: *499 examples: default: summary: Example request body @@ -75079,9 +75579,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *496 + default: *500 '409': description: Response x-github: @@ -75103,8 +75603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -75127,8 +75627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -75138,9 +75638,9 @@ paths: application/json: schema: type: array - items: *497 + items: *501 examples: - default: &644 + default: &649 value: - id: 1 repository: @@ -75271,9 +75771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *306 - - *307 - - *189 + - *310 + - *311 + - *195 requestBody: required: false content: @@ -75302,7 +75802,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *501 examples: default: value: @@ -75433,9 +75933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *306 - - *307 - - *189 + - *310 + - *311 + - *195 responses: '204': description: Response @@ -75466,8 +75966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *306 - - *307 + - *310 + - *311 - 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 @@ -75515,7 +76015,7 @@ paths: required: false schema: type: string - - *193 + - *199 - name: sort description: What to sort results by. in: query @@ -75528,7 +76028,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -75538,9 +76038,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: &504 + default: &508 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75688,7 +76188,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *315 + '301': *319 '422': *15 '404': *6 x-github: @@ -75717,8 +76217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -75808,9 +76308,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: &501 + default: &505 value: id: 1 node_id: MDU6SXNzdWUx @@ -75964,9 +76464,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *62 + '503': *69 '404': *6 - '410': *312 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -75994,9 +76494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *306 - - *307 - - *83 + - *310 + - *311 + - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76006,7 +76506,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -76016,9 +76516,9 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: &503 + default: &507 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76076,17 +76576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: &499 + default: &503 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76140,9 +76640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -76164,9 +76664,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: *499 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -76184,9 +76684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -76206,9 +76706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76234,9 +76734,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -76257,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -76291,16 +76791,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -76322,10 +76822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -76345,8 +76845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -76356,7 +76856,7 @@ paths: application/json: schema: type: array - items: &500 + items: &504 title: Issue Event description: Issue Event type: object @@ -76403,7 +76903,7 @@ paths: issue: anyOf: - type: 'null' - - *74 + - *81 label: title: Issue Event Label description: Issue Event Label @@ -76436,7 +76936,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *151 + requested_team: *157 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76503,7 +77003,7 @@ paths: required: - from - to - author_association: *60 + author_association: *67 lock_reason: type: - string @@ -76695,8 +77195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *306 - - *307 + - *310 + - *311 - name: event_id in: path required: true @@ -76707,7 +77207,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *504 examples: default: value: @@ -76900,7 +77400,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *312 + '410': *316 '403': *27 x-github: githubCloudOnly: false @@ -76934,9 +77434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *306 - - *307 - - &502 + - *310 + - *311 + - &506 name: issue_number description: The number that identifies the issue. in: path @@ -76948,12 +77448,12 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '404': *6 - '410': *312 + '410': *316 '304': *35 x-github: githubCloudOnly: false @@ -76978,9 +77478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -77099,15 +77599,15 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 '422': *15 - '503': *62 + '503': *69 '403': *27 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77125,9 +77625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -77153,9 +77653,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77171,9 +77671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: content: application/json: @@ -77198,9 +77698,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77222,9 +77722,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: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: assignee in: path required: true @@ -77264,10 +77764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *306 - - *307 - - *502 - - *64 + - *310 + - *311 + - *506 + - *71 - *17 - *19 responses: @@ -77277,13 +77777,13 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: *503 + default: *507 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77312,9 +77812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -77336,16 +77836,16 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: - default: *499 + default: *503 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -77373,9 +77873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77385,14 +77885,14 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77420,9 +77920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -77444,17 +77944,17 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *315 + '301': *319 '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -77485,9 +77985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77499,15 +77999,15 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -77533,9 +78033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77545,14 +78045,14 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77569,9 +78069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -77585,7 +78085,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &507 + - &511 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77634,7 +78134,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &512 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77762,7 +78262,7 @@ paths: - performed_via_github_app - assignee - assigner - - &509 + - &513 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77808,7 +78308,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &514 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77854,7 +78354,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &515 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77903,7 +78403,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &516 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77932,7 +78432,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *151 + requested_team: *157 requested_reviewer: *4 required: - review_requester @@ -77945,7 +78445,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &517 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77974,7 +78474,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *151 + requested_team: *157 requested_reviewer: *4 required: - review_requester @@ -77987,7 +78487,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &518 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78043,7 +78543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &519 title: Locked Issue Event description: Locked Issue Event type: object @@ -78088,7 +78588,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &520 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78149,7 +78649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &521 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78210,7 +78710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &522 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78271,7 +78771,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &523 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78364,7 +78864,7 @@ paths: color: red headers: Link: *57 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78381,9 +78881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -78393,7 +78893,7 @@ paths: application/json: schema: type: array - items: &505 + items: &509 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78448,7 +78948,7 @@ paths: - color - default examples: - default: &506 + default: &510 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78466,9 +78966,9 @@ paths: default: false headers: Link: *57 - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78485,9 +78985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78546,12 +79046,12 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 - '301': *315 + default: *510 + '301': *319 '404': *6 - '410': *312 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -78568,9 +79068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78630,12 +79130,12 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 - '301': *315 + default: *510 + '301': *319 '404': *6 - '410': *312 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -78652,15 +79152,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '204': description: Response - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78679,9 +79179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - name: name in: path required: true @@ -78694,7 +79194,7 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: default: value: @@ -78705,9 +79205,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *315 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78727,9 +79227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: false content: @@ -78758,7 +79258,7 @@ paths: '204': description: Response '403': *27 - '410': *312 + '410': *316 '404': *6 '422': *15 x-github: @@ -78776,9 +79276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '204': description: Response @@ -78808,20 +79308,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 responses: '200': description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 - '301': *315 + default: *505 + '301': *319 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78838,9 +79338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - 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. @@ -78866,13 +79366,13 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78890,9 +79390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -78924,16 +79424,16 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -78955,10 +79455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *310 + - *311 + - *506 - *306 - - *307 - - *502 - - *302 responses: '204': description: Response @@ -78987,9 +79487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79011,9 +79511,9 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79046,9 +79546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -79058,13 +79558,13 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *504 + default: *508 headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79092,9 +79592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79121,16 +79621,16 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *312 + '410': *316 '422': *15 '404': *6 x-github: @@ -79150,9 +79650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 requestBody: required: true content: @@ -79183,13 +79683,13 @@ paths: description: Response content: application/json: - schema: *74 + schema: *81 examples: - default: *501 + default: *505 '403': *27 '404': *6 '422': *7 - '503': *62 + '503': *69 x-github: triggersNotification: true githubCloudOnly: false @@ -79207,9 +79707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *306 - - *307 - - *502 + - *310 + - *311 + - *506 - *17 - *19 responses: @@ -79224,10 +79724,6 @@ paths: description: Timeline Event type: object anyOf: - - *507 - - *508 - - *509 - - *510 - *511 - *512 - *513 @@ -79237,6 +79733,10 @@ paths: - *517 - *518 - *519 + - *520 + - *521 + - *522 + - *523 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79284,12 +79784,12 @@ paths: issue_url: type: string format: uri - author_association: *60 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - event - actor @@ -79320,7 +79820,7 @@ paths: properties: type: type: string - issue: *74 + issue: *81 required: - event - created_at @@ -79542,7 +80042,7 @@ paths: type: string body_text: type: string - author_association: *60 + author_association: *67 required: - event - id @@ -79565,7 +80065,7 @@ paths: type: string comments: type: array - items: &538 + items: &542 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79670,7 +80170,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *60 + author_association: *67 _links: type: object properties: @@ -79765,7 +80265,7 @@ paths: enum: - line - file - reactions: *61 + reactions: *68 body_html: type: string examples: @@ -79803,7 +80303,7 @@ paths: type: string comments: type: array - items: *435 + items: *439 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80078,7 +80578,7 @@ paths: headers: Link: *57 '404': *6 - '410': *312 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80095,8 +80595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -80106,7 +80606,7 @@ paths: application/json: schema: type: array - items: &520 + items: &524 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80174,8 +80674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80211,9 +80711,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &521 + default: &525 value: id: 1 key: ssh-rsa AAA... @@ -80247,9 +80747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *306 - - *307 - - &522 + - *310 + - *311 + - &526 name: key_id description: The unique identifier of the key. in: path @@ -80261,9 +80761,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *521 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -80281,9 +80781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *306 - - *307 - - *522 + - *310 + - *311 + - *526 responses: '204': description: Response @@ -80303,8 +80803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -80314,9 +80814,9 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 + default: *510 headers: Link: *57 '404': *6 @@ -80337,8 +80837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80374,9 +80874,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: - default: &523 + default: &527 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80408,8 +80908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80420,9 +80920,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: - default: *523 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -80439,8 +80939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80479,7 +80979,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *509 examples: default: value: @@ -80505,8 +81005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *306 - - *307 + - *310 + - *311 - name: name in: path required: true @@ -80532,8 +81032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -80572,9 +81072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *306 - - *307 - - *413 + - *310 + - *311 + - *417 responses: '200': description: Response @@ -80640,7 +81140,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 required: - _links - git_url @@ -80721,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80787,8 +81287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80822,9 +81322,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *436 + schema: *440 examples: - default: *524 + default: *528 '204': description: Response when already merged '404': @@ -80849,8 +81349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80891,7 +81391,7 @@ paths: application/json: schema: type: array - items: *231 + items: *235 examples: default: value: @@ -80947,8 +81447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -80988,9 +81488,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: &525 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81049,9 +81549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *306 - - *307 - - &526 + - *310 + - *311 + - &530 name: milestone_number description: The number that identifies the milestone. in: path @@ -81063,9 +81563,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *525 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -81082,9 +81582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 requestBody: required: false content: @@ -81122,9 +81622,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81140,9 +81640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 responses: '204': description: Response @@ -81163,9 +81663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *306 - - *307 - - *526 + - *310 + - *311 + - *530 - *17 - *19 responses: @@ -81175,9 +81675,9 @@ paths: application/json: schema: type: array - items: *505 + items: *509 examples: - default: *506 + default: *510 headers: Link: *57 x-github: @@ -81196,12 +81696,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *306 - - *307 - - *527 - - *528 - - *64 - - *529 + - *310 + - *311 + - *531 + - *532 + - *71 + - *533 - *17 - *19 responses: @@ -81211,9 +81711,9 @@ paths: application/json: schema: type: array - items: *86 + items: *93 examples: - default: *530 + default: *534 headers: Link: *57 x-github: @@ -81237,8 +81737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -81296,14 +81796,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: &531 + schema: &535 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81447,7 +81947,7 @@ paths: - custom_404 - public examples: - default: &532 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81488,8 +81988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -81544,9 +82044,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *535 examples: - default: *532 + default: *536 '422': *15 '409': *45 x-github: @@ -81569,8 +82069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -81670,8 +82170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -81697,8 +82197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -81708,7 +82208,7 @@ paths: application/json: schema: type: array - items: &533 + items: &537 title: Page Build description: Page Build type: object @@ -81800,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *306 - - *307 + - *310 + - *311 responses: '201': description: Response @@ -81848,16 +82348,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *533 + schema: *537 examples: - default: &534 + default: &538 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81905,8 +82405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *306 - - *307 + - *310 + - *311 - name: build_id in: path required: true @@ -81917,9 +82417,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *537 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81939,8 +82439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82048,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *306 - - *307 - - &535 + - *310 + - *311 + - &539 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82108,11 +82608,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *306 - - *307 - - *535 + - *310 + - *311 + - *539 responses: - '204': *146 + '204': *152 '404': *6 x-github: githubCloudOnly: false @@ -82137,8 +82637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -82406,7 +82906,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -82433,8 +82933,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: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Private vulnerability reporting status @@ -82471,10 +82971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: - '204': *146 + '204': *152 '422': *14 x-github: githubCloudOnly: false @@ -82493,10 +82993,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: - '204': *146 + '204': *152 '422': *14 x-github: githubCloudOnly: false @@ -82517,8 +83017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: Indicates the state of the projects to return. in: query @@ -82539,7 +83039,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -82579,7 +83079,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -82602,8 +83102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82629,13 +83129,13 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: - default: *311 + default: *315 '401': *23 '403': *27 '404': *6 - '410': *312 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -82658,8 +83158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -82667,7 +83167,7 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: default: value: @@ -82698,8 +83198,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82711,7 +83211,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *241 + items: *245 required: - properties examples: @@ -82761,8 +83261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *306 - - *307 + - *310 + - *311 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82822,9 +83322,9 @@ paths: application/json: schema: type: array - items: *440 + items: *444 examples: - default: *536 + default: *540 headers: Link: *57 '304': *35 @@ -82856,8 +83356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -82924,7 +83424,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &544 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83053,7 +83553,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 active_lock_reason: type: - string @@ -83108,7 +83608,7 @@ paths: type: - array - 'null' - items: *207 + items: *211 head: type: object properties: @@ -83116,7 +83616,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: *4 @@ -83133,7 +83633,7 @@ paths: type: string ref: type: string - repo: *59 + repo: *66 sha: type: string user: *4 @@ -83146,14 +83646,14 @@ paths: _links: type: object properties: - comments: *232 - commits: *232 - statuses: *232 - html: *232 - issue: *232 - review_comments: *232 - review_comment: *232 - self: *232 + comments: *236 + commits: *236 + statuses: *236 + html: *236 + issue: *236 + review_comments: *236 + review_comment: *236 + self: *236 required: - comments - commits @@ -83163,8 +83663,8 @@ paths: - review_comments - review_comment - self - author_association: *60 - auto_merge: *537 + author_association: *67 + auto_merge: *541 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83266,7 +83766,7 @@ paths: - merged_by - review_comments examples: - default: &541 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83793,8 +84293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *306 - - *307 + - *310 + - *311 - name: sort in: query required: false @@ -83813,7 +84313,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -83823,9 +84323,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: &543 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83902,17 +84402,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '200': description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: &539 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83987,9 +84487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -84011,9 +84511,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: *539 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84029,9 +84529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 responses: '204': description: Response @@ -84052,9 +84552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84080,9 +84580,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -84103,9 +84603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *306 - - *307 - - *73 + - *310 + - *311 + - *80 requestBody: required: true content: @@ -84137,16 +84637,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -84168,10 +84668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *310 + - *311 + - *80 - *306 - - *307 - - *73 - - *302 responses: '204': description: Response @@ -84214,9 +84714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *306 - - *307 - - &542 + - *310 + - *311 + - &546 name: pull_number description: The number that identifies the pull request. in: path @@ -84229,9 +84729,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *540 + schema: *544 examples: - default: *541 + default: *545 '304': *35 '404': *6 '406': @@ -84239,8 +84739,8 @@ paths: content: application/json: schema: *3 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84266,9 +84766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -84310,9 +84810,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: *541 + default: *545 '422': *15 '403': *27 x-github: @@ -84334,9 +84834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -84397,21 +84897,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84437,10 +84937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *306 - - *307 - - *542 - - *83 + - *310 + - *311 + - *546 + - *90 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84450,7 +84950,7 @@ paths: enum: - asc - desc - - *64 + - *71 - *17 - *19 responses: @@ -84460,9 +84960,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: *543 + default: *547 headers: Link: *57 x-github: @@ -84495,9 +84995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -84603,7 +85103,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: example-for-a-multi-line-comment: value: @@ -84691,10 +85191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *306 - - *307 - - *542 - - *73 + - *310 + - *311 + - *546 + - *80 requestBody: required: true content: @@ -84716,7 +85216,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: default: value: @@ -84802,9 +85302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -84814,9 +85314,9 @@ paths: application/json: schema: type: array - items: *436 + items: *440 examples: - default: *544 + default: *548 headers: Link: *57 x-github: @@ -84846,9 +85346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -84858,7 +85358,7 @@ paths: application/json: schema: type: array - items: *447 + items: *451 examples: default: value: @@ -84876,8 +85376,8 @@ paths: headers: Link: *57 '422': *15 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84896,9 +85396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 responses: '204': description: Response if pull request has been merged @@ -84921,9 +85421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -85035,9 +85535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 responses: '200': description: Response @@ -85053,7 +85553,7 @@ paths: items: *4 teams: type: array - items: *151 + items: *157 required: - users - teams @@ -85112,9 +85612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -85151,7 +85651,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: default: value: @@ -85687,9 +86187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: true content: @@ -85723,7 +86223,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: default: value: @@ -86228,9 +86728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 - *17 - *19 responses: @@ -86240,7 +86740,7 @@ paths: application/json: schema: type: array - items: &545 + items: &549 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86314,7 +86814,7 @@ paths: type: string body_text: type: string - author_association: *60 + author_association: *67 required: - id - node_id @@ -86396,9 +86896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -86488,9 +86988,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: &547 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86553,10 +87053,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 - - &546 + - *310 + - *311 + - *546 + - &550 name: review_id description: The unique identifier of the review. in: path @@ -86568,9 +87068,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: &548 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86629,10 +87129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -86655,7 +87155,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -86717,18 +87217,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 responses: '200': description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: *547 + default: *551 '422': *7 '404': *6 x-github: @@ -86755,10 +87255,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 - *17 - *19 responses: @@ -86852,13 +87352,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *60 + author_association: *67 _links: type: object properties: - self: *232 - html: *232 - pull_request: *232 + self: *236 + html: *236 + pull_request: *236 required: - self - html @@ -86867,7 +87367,7 @@ paths: type: string body_html: type: string - reactions: *61 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -87016,10 +87516,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -87048,7 +87548,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -87111,10 +87611,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *306 - - *307 - - *542 + - *310 + - *311 - *546 + - *550 requestBody: required: true content: @@ -87149,9 +87649,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: *548 + default: *552 '404': *6 '422': *7 '403': *27 @@ -87173,9 +87673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *306 - - *307 - - *542 + - *310 + - *311 + - *546 requestBody: required: false content: @@ -87239,8 +87739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *306 - - *307 + - *310 + - *311 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87253,9 +87753,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *553 examples: - default: &550 + default: &554 value: type: file encoding: base64 @@ -87297,8 +87797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *306 - - *307 + - *310 + - *311 - name: dir description: The alternate path to look for a README file in: path @@ -87318,9 +87818,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *553 examples: - default: *550 + default: *554 '404': *6 '422': *15 x-github: @@ -87342,8 +87842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -87353,7 +87853,7 @@ paths: application/json: schema: type: array - items: &551 + items: &555 title: Release description: A release. type: object @@ -87435,7 +87935,7 @@ paths: author: *4 assets: type: array - items: &552 + items: &556 title: Release Asset description: Data related to a release. type: object @@ -87510,7 +88010,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *61 + reactions: *68 required: - assets_url - upload_url @@ -87622,8 +88122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -87699,9 +88199,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: &555 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87806,9 +88306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *306 - - *307 - - &553 + - *310 + - *311 + - &557 name: asset_id description: The unique identifier of the asset. in: path @@ -87820,9 +88320,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: &554 + default: &558 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 @@ -87857,7 +88357,7 @@ paths: type: User site_admin: false '404': *6 - '302': *449 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87873,9 +88373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *306 - - *307 - - *553 + - *310 + - *311 + - *557 requestBody: required: false content: @@ -87904,9 +88404,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *554 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87922,9 +88422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *306 - - *307 - - *553 + - *310 + - *311 + - *557 responses: '204': description: Response @@ -87948,8 +88448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -88035,16 +88535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88061,8 +88561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *306 - - *307 + - *310 + - *311 - name: tag description: tag parameter in: path @@ -88075,9 +88575,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -88099,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *306 - - *307 - - &556 + - *310 + - *311 + - &560 name: release_id description: The unique identifier of the release. in: path @@ -88115,9 +88615,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: *551 + schema: *555 examples: - default: *555 + default: *559 '401': description: Unauthorized x-github: @@ -88135,9 +88635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 requestBody: required: false content: @@ -88201,9 +88701,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *555 + default: *559 '404': description: Not Found if the discussion category name is invalid content: @@ -88224,9 +88724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 responses: '204': description: Response @@ -88246,9 +88746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - *17 - *19 responses: @@ -88258,7 +88758,7 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: default: value: @@ -88339,9 +88839,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: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - name: name in: query required: true @@ -88367,7 +88867,7 @@ paths: description: Response for successful upload content: application/json: - schema: *552 + schema: *556 examples: response-for-successful-upload: value: @@ -88422,9 +88922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 - 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. @@ -88448,9 +88948,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 '404': *6 @@ -88471,9 +88971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *306 - - *307 - - *556 + - *310 + - *311 + - *560 requestBody: required: true content: @@ -88503,16 +89003,16 @@ paths: description: Reaction exists content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '201': description: Reaction created content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -88534,10 +89034,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *310 + - *311 + - *560 - *306 - - *307 - - *556 - - *302 responses: '204': description: Response @@ -88561,9 +89061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *306 - - *307 - - *376 + - *310 + - *311 + - *380 - *17 - *19 responses: @@ -88579,8 +89079,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *248 - - &557 + - *252 + - &561 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88599,66 +89099,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *249 - - *557 - - allOf: - - *250 - - *557 - - allOf: - - *251 - - *557 - - allOf: - - *558 - - *557 - - allOf: - - *252 - - *557 - allOf: - *253 - - *557 + - *561 - allOf: - *254 - - *557 + - *561 - allOf: - *255 - - *557 + - *561 + - allOf: + - *562 + - *561 - allOf: - *256 - - *557 + - *561 - allOf: - *257 - - *557 + - *561 - allOf: - *258 - - *557 + - *561 - allOf: - *259 - - *557 + - *561 - allOf: - *260 - - *557 + - *561 - allOf: - *261 - - *557 + - *561 - allOf: - *262 - - *557 + - *561 - allOf: - *263 - - *557 + - *561 - allOf: - *264 - - *557 + - *561 - allOf: - *265 - - *557 + - *561 - allOf: - *266 - - *557 + - *561 - allOf: - *267 - - *557 + - *561 + - allOf: + - *268 + - *561 + - allOf: + - *269 + - *561 + - allOf: + - *270 + - *561 + - allOf: + - *271 + - *561 + - allOf: + - *563 + - *561 examples: default: value: @@ -88697,8 +89200,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - name: includes_parents @@ -88709,7 +89212,7 @@ paths: schema: type: boolean default: true - - *559 + - *564 responses: '200': description: Response @@ -88717,7 +89220,7 @@ paths: application/json: schema: type: array - items: *268 + items: *272 examples: default: value: @@ -88748,7 +89251,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88764,8 +89267,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 requestBody: description: Request body required: true @@ -88785,16 +89288,16 @@ paths: - tag - push default: branch - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *243 + items: *250 + conditions: *247 rules: type: array description: An array of rules within the ruleset. - items: *560 + items: *565 required: - name - enforcement @@ -88825,9 +89328,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: &570 + default: &575 value: id: 42 name: super cool ruleset @@ -88860,7 +89363,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *98 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88874,12 +89377,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *306 - - *307 - - *561 - - *562 - - *563 - - *564 + - *310 + - *311 + - *566 + - *567 + - *568 + - *569 - *17 - *19 responses: @@ -88887,11 +89390,11 @@ paths: description: Response content: application/json: - schema: *565 + schema: *570 examples: - default: *566 + default: *571 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88910,19 +89413,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *306 - - *307 - - *567 + - *310 + - *311 + - *572 responses: '200': description: Response content: application/json: - schema: *568 + schema: *573 examples: - default: *569 + default: *574 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88948,8 +89451,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88969,11 +89472,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *570 + default: *575 '404': *6 - '500': *91 + '500': *98 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -88989,8 +89492,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89015,16 +89518,16 @@ paths: - branch - tag - push - enforcement: *245 + enforcement: *249 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *246 - conditions: *243 + items: *250 + conditions: *247 rules: description: An array of rules within the ruleset. type: array - items: *560 + items: *565 examples: default: value: @@ -89052,11 +89555,11 @@ paths: description: Response content: application/json: - schema: *268 + schema: *272 examples: - default: *570 + default: *575 '404': *6 - '500': *91 + '500': *98 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89072,8 +89575,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89084,7 +89587,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *98 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89096,8 +89599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 - name: ruleset_id @@ -89113,11 +89616,11 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *571 + default: *576 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89134,8 +89637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *306 - - *307 + - *310 + - *311 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89153,7 +89656,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: default: value: @@ -89186,7 +89689,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89208,21 +89711,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *306 - - *307 - - *272 - - *273 - - *274 - - *275 - - *46 - - *19 - - *17 - - *573 - - *574 + - *310 + - *311 - *276 - *277 - *278 - *279 + - *46 + - *19 + - *17 + - *578 + - *579 + - *280 + - *281 + - *282 + - *283 responses: '200': description: Response @@ -89230,7 +89733,7 @@ paths: application/json: schema: type: array - items: &578 + items: &583 type: object properties: number: *52 @@ -89246,8 +89749,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *575 - resolution: *576 + state: *580 + resolution: *581 resolved_at: type: - string @@ -89341,7 +89844,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *577 + - *582 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -89441,7 +89944,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89463,16 +89966,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 - - *279 + - *310 + - *311 + - *411 + - *283 responses: '200': description: Response content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -89503,7 +90006,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89524,9 +90027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 requestBody: required: true content: @@ -89534,8 +90037,8 @@ paths: schema: type: object properties: - state: *575 - resolution: *576 + state: *580 + resolution: *581 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89554,7 +90057,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -89607,7 +90110,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89629,9 +90132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *306 - - *307 - - *407 + - *310 + - *311 + - *411 - *19 - *17 responses: @@ -89642,7 +90145,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &732 + items: &737 type: object properties: type: @@ -89669,11 +90172,6 @@ paths: - commit details: oneOf: - - *579 - - *580 - - *581 - - *582 - - *583 - *584 - *585 - *586 @@ -89682,6 +90180,11 @@ paths: - *589 - *590 - *591 + - *592 + - *593 + - *594 + - *595 + - *596 examples: default: value: @@ -89745,7 +90248,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89767,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -89776,14 +90279,14 @@ paths: schema: type: object properties: - reason: &593 + reason: &598 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *592 + placeholder_id: *597 required: - reason - placeholder_id @@ -89800,7 +90303,7 @@ paths: schema: type: object properties: - reason: *593 + reason: *598 expire_at: type: - string @@ -89824,7 +90327,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *62 + '503': *69 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89844,13 +90347,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *62 + '503': *69 '200': description: Response content: @@ -89860,7 +90363,7 @@ paths: properties: incremental_scans: type: array - items: &594 + items: &599 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89888,15 +90391,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *594 + items: *599 backfill_scans: type: array - items: *594 + items: *599 custom_pattern_backfill_scans: type: array items: allOf: - - *594 + - *599 - type: object properties: pattern_name: @@ -89966,8 +90469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *306 - - *307 + - *310 + - *311 - *46 - name: sort description: The property to sort the results by. @@ -90011,9 +90514,9 @@ paths: application/json: schema: type: array - items: *595 + items: *600 examples: - default: *596 + default: *601 '400': *14 '404': *6 x-github: @@ -90036,8 +90539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -90117,7 +90620,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 required: - login - type @@ -90207,9 +90710,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: &598 + default: &603 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90442,8 +90945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -90556,7 +91059,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: default: value: @@ -90703,17 +91206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '200': description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: *598 + default: *603 '403': *27 '404': *6 x-github: @@ -90737,9 +91240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 requestBody: required: true content: @@ -90819,7 +91322,7 @@ paths: login: type: string description: The username of the user credited. - type: *284 + type: *288 required: - login - type @@ -90910,17 +91413,17 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: - default: *598 - add_credit: *598 + default: *603 + add_credit: *603 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *94 + schema: *101 examples: invalid_state_transition: value: @@ -90951,9 +91454,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: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '202': *37 '400': *14 @@ -90980,17 +91483,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *306 - - *307 - - *597 + - *310 + - *311 + - *602 responses: '202': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 '400': *14 '422': *15 '403': *27 @@ -91016,8 +91519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91113,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91123,7 +91626,7 @@ paths: application/json: schema: type: array - items: &599 + items: &604 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91136,7 +91639,7 @@ paths: - 1124 - -435 '202': *37 - '204': *146 + '204': *152 '422': description: Repository contains more than 10,000 commits x-github: @@ -91156,8 +91659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91208,7 +91711,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91235,8 +91738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91308,7 +91811,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91330,8 +91833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91485,8 +91988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91496,7 +91999,7 @@ paths: application/json: schema: type: array - items: *599 + items: *604 examples: default: value: @@ -91509,7 +92012,7 @@ paths: - - 0 - 2 - 21 - '204': *146 + '204': *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91529,8 +92032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *306 - - *307 + - *310 + - *311 - name: sha in: path required: true @@ -91586,7 +92089,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *605 examples: default: value: @@ -91640,8 +92143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91653,7 +92156,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -91673,14 +92176,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &601 + schema: &606 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91753,8 +92256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: false content: @@ -91780,7 +92283,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: default: value: @@ -91807,8 +92310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -91828,8 +92331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -91911,8 +92414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -91920,7 +92423,7 @@ paths: application/json: schema: type: array - items: &602 + items: &607 title: Tag protection description: Tag protection type: object @@ -91977,8 +92480,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: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92001,7 +92504,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -92032,8 +92535,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: - - *306 - - *307 + - *310 + - *311 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92070,8 +92573,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *306 - - *307 + - *310 + - *311 - name: ref in: path required: true @@ -92107,8 +92610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *306 - - *307 + - *310 + - *311 - *17 - *19 responses: @@ -92118,9 +92621,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - default: *208 + default: *212 headers: Link: *57 '404': *6 @@ -92140,8 +92643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *306 - - *307 + - *310 + - *311 - *19 - *17 responses: @@ -92149,7 +92652,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &608 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92161,7 +92664,7 @@ paths: required: - names examples: - default: &604 + default: &609 value: names: - octocat @@ -92184,8 +92687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92216,9 +92719,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *604 + default: *609 '404': *6 '422': *7 x-github: @@ -92239,9 +92742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *306 - - *307 - - &605 + - *310 + - *311 + - &610 name: per description: The time frame to display results for. in: query @@ -92272,7 +92775,7 @@ paths: - 128 clones: type: array - items: &606 + items: &611 title: Traffic type: object properties: @@ -92359,8 +92862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -92454,8 +92957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *306 - - *307 + - *310 + - *311 responses: '200': description: Response @@ -92518,9 +93021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *306 - - *307 - - *605 + - *310 + - *311 + - *610 responses: '200': description: Response @@ -92541,7 +93044,7 @@ paths: - 3782 views: type: array - items: *606 + items: *611 required: - uniques - count @@ -92618,8 +93121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *306 - - *307 + - *310 + - *311 requestBody: required: true content: @@ -92655,7 +93158,7 @@ paths: description: Response content: application/json: - schema: *120 + schema: *127 examples: default: value: @@ -92893,8 +93396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92917,8 +93420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -92940,8 +93443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -92967,8 +93470,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *306 - - *307 + - *310 + - *311 - name: ref in: path required: true @@ -93060,9 +93563,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93103,7 +93606,7 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: default: value: @@ -93292,7 +93795,7 @@ paths: html_url: type: string format: uri - repository: *120 + repository: *127 score: type: number file_size: @@ -93311,7 +93814,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &607 + text_matches: &612 title: Search Result Text Matches type: array items: @@ -93426,7 +93929,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *62 + '503': *69 '422': *15 '403': *27 x-github: @@ -93474,7 +93977,7 @@ paths: enum: - author-date - committer-date - - &608 + - &613 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 @@ -93543,7 +94046,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 comment_count: type: integer message: @@ -93562,7 +94065,7 @@ paths: url: type: string format: uri - verification: *484 + verification: *488 required: - author - committer @@ -93577,7 +94080,7 @@ paths: committer: anyOf: - type: 'null' - - *374 + - *378 parents: type: array items: @@ -93589,12 +94092,12 @@ paths: type: string sha: type: string - repository: *120 + repository: *127 score: type: number node_id: type: string - text_matches: *607 + text_matches: *612 required: - sha - node_id @@ -93776,7 +94279,7 @@ paths: - interactions - created - updated - - *608 + - *613 - *17 - *19 - name: advanced_search @@ -93873,11 +94376,11 @@ paths: type: - string - 'null' - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: type: string state_reason: @@ -93891,7 +94394,7 @@ paths: milestone: anyOf: - type: 'null' - - *231 + - *235 comments: type: integer created_at: @@ -93905,7 +94408,7 @@ paths: - string - 'null' format: date-time - text_matches: *607 + text_matches: *612 pull_request: type: object properties: @@ -93943,10 +94446,10 @@ paths: type: string score: type: number - author_association: *60 + author_association: *67 draft: type: boolean - repository: *59 + repository: *66 body_html: type: string body_text: @@ -93954,12 +94457,12 @@ paths: timeline_url: type: string format: uri - type: *190 + type: *196 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *61 + reactions: *68 required: - assignee - closed_at @@ -94075,7 +94578,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *62 + '503': *69 '422': *15 '304': *35 '403': *27 @@ -94131,7 +94634,7 @@ paths: enum: - created - updated - - *608 + - *613 - *17 - *19 responses: @@ -94176,7 +94679,7 @@ paths: - 'null' score: type: number - text_matches: *607 + text_matches: *612 required: - id - node_id @@ -94261,7 +94764,7 @@ paths: - forks - help-wanted-issues - updated - - *608 + - *613 - *17 - *19 responses: @@ -94480,7 +94983,7 @@ paths: license: anyOf: - type: 'null' - - *75 + - *82 permissions: type: object properties: @@ -94498,7 +95001,7 @@ paths: - admin - pull - push - text_matches: *607 + text_matches: *612 temp_clone_token: type: string allow_merge_commit: @@ -94701,7 +95204,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *62 + '503': *69 '422': *15 '304': *35 x-github: @@ -94806,7 +95309,7 @@ paths: - string - 'null' format: uri - text_matches: *607 + text_matches: *612 related: type: - array @@ -94999,7 +95502,7 @@ paths: - followers - repositories - joined - - *608 + - *613 - *17 - *19 responses: @@ -95109,7 +95612,7 @@ paths: type: - boolean - 'null' - text_matches: *607 + text_matches: *612 blog: type: - string @@ -95171,7 +95674,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *62 + '503': *69 '422': *15 x-github: githubCloudOnly: false @@ -95191,7 +95694,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &612 + - &617 name: team_id description: The unique identifier of the team. in: path @@ -95203,9 +95706,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -95232,7 +95735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *612 + - *617 requestBody: required: true content: @@ -95296,16 +95799,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '201': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: *292 + default: *296 '404': *6 '422': *15 '403': *27 @@ -95333,7 +95836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *612 + - *617 responses: '204': description: Response @@ -95364,7 +95867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *612 + - *617 - *46 - *17 - *19 @@ -95375,9 +95878,9 @@ paths: application/json: schema: type: array - items: *293 + items: *297 examples: - default: *613 + default: *618 headers: Link: *57 x-github: @@ -95406,7 +95909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *612 + - *617 requestBody: required: true content: @@ -95440,9 +95943,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -95469,16 +95972,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 responses: '200': description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95503,8 +96006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: false content: @@ -95527,9 +96030,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *297 examples: - default: *614 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95554,8 +96057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 responses: '204': description: Response @@ -95584,8 +96087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *612 - - *295 + - *617 + - *299 - *46 - *17 - *19 @@ -95596,9 +96099,9 @@ paths: application/json: schema: type: array - items: *296 + items: *300 examples: - default: *615 + default: *620 headers: Link: *57 x-github: @@ -95627,8 +96130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: true content: @@ -95650,9 +96153,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: triggersNotification: true githubCloudOnly: false @@ -95679,17 +96182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *297 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95714,9 +96217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 requestBody: required: true content: @@ -95738,9 +96241,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *300 examples: - default: *616 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95765,9 +96268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 responses: '204': description: Response @@ -95796,9 +96299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 - 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. @@ -95824,9 +96327,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -95855,9 +96358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *612 - - *295 - - *298 + - *617 + - *299 + - *302 requestBody: required: true content: @@ -95889,9 +96392,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95917,8 +96420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 - 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. @@ -95944,9 +96447,9 @@ paths: application/json: schema: type: array - items: *299 + items: *303 examples: - default: *301 + default: *305 headers: Link: *57 x-github: @@ -95975,8 +96478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *612 - - *295 + - *617 + - *299 requestBody: required: true content: @@ -96008,9 +96511,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96034,7 +96537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96044,9 +96547,9 @@ paths: application/json: schema: type: array - items: *187 + items: *193 examples: - default: *188 + default: *194 headers: Link: *57 x-github: @@ -96072,7 +96575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *612 + - *617 - name: role description: Filters members returned by their role in the team. in: query @@ -96095,7 +96598,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '404': *6 @@ -96123,8 +96626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: if user is a member @@ -96160,8 +96663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96200,8 +96703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96237,16 +96740,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '200': description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-user-is-a-team-maintainer: *617 + response-if-user-is-a-team-maintainer: *622 '404': *6 x-github: githubCloudOnly: false @@ -96279,8 +96782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 requestBody: required: false content: @@ -96305,9 +96808,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *618 + response-if-users-membership-with-team-is-now-pending: *623 '403': description: Forbidden if team synchronization is set up '422': @@ -96341,8 +96844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *612 - - *133 + - *617 + - *62 responses: '204': description: Response @@ -96370,7 +96873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96380,9 +96883,9 @@ paths: application/json: schema: type: array - items: *304 + items: *308 examples: - default: *619 + default: *624 headers: Link: *57 '404': *6 @@ -96408,16 +96911,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *612 - - *305 + - *617 + - *309 responses: '200': description: Response content: application/json: - schema: *304 + schema: *308 examples: - default: *620 + default: *625 '404': description: Not Found if project is not managed by this team x-github: @@ -96441,8 +96944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *612 - - *305 + - *617 + - *309 requestBody: required: false content: @@ -96509,8 +97012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *612 - - *305 + - *617 + - *309 responses: '204': description: Response @@ -96537,7 +97040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96547,9 +97050,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '404': *6 @@ -96579,15 +97082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *621 + schema: *626 examples: alternative-response-with-extra-repository-information: value: @@ -96738,9 +97241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 requestBody: required: false content: @@ -96790,9 +97293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *612 - - *306 - - *307 + - *617 + - *310 + - *311 responses: '204': description: Response @@ -96817,7 +97320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *612 + - *617 - *17 - *19 responses: @@ -96827,9 +97330,9 @@ paths: application/json: schema: type: array - items: *151 + items: *157 examples: - response-if-child-teams-exist: *622 + response-if-child-teams-exist: *627 headers: Link: *57 '404': *6 @@ -96862,7 +97365,7 @@ paths: application/json: schema: oneOf: - - &624 + - &629 title: Private User description: Private User type: object @@ -97112,7 +97615,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *623 + - *628 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97272,7 +97775,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -97351,7 +97854,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 '304': *35 '404': *6 '403': *27 @@ -97374,7 +97877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *133 + - *62 responses: '204': description: If the user is blocked @@ -97402,7 +97905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -97426,7 +97929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -97475,11 +97978,11 @@ paths: type: integer codespaces: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -97616,21 +98119,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 - '503': *62 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97670,7 +98173,7 @@ paths: type: integer secrets: type: array - items: &625 + items: &630 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97712,7 +98215,7 @@ paths: - visibility - selected_repositories_url examples: - default: *429 + default: *433 headers: Link: *57 x-github: @@ -97784,13 +98287,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 responses: '200': description: Response content: application/json: - schema: *625 + schema: *630 examples: default: value: @@ -97820,7 +98323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 requestBody: required: true content: @@ -97865,7 +98368,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -97893,7 +98396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *128 + - *135 responses: '204': description: Response @@ -97918,7 +98421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *128 + - *135 responses: '200': description: Response @@ -97934,13 +98437,13 @@ paths: type: integer repositories: type: array - items: *120 + items: *127 examples: - default: *626 + default: *631 '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97961,7 +98464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *128 + - *135 requestBody: required: true content: @@ -97993,7 +98496,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98015,7 +98518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *128 + - *135 - name: repository_id in: path required: true @@ -98027,7 +98530,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98048,7 +98551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *128 + - *135 - name: repository_id in: path required: true @@ -98060,7 +98563,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *91 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98080,17 +98583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98114,7 +98617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 requestBody: required: false content: @@ -98144,9 +98647,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '401': *23 '403': *27 '404': *6 @@ -98168,11 +98671,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '202': *37 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98197,13 +98700,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '202': description: Response content: application/json: - schema: &627 + schema: &632 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98256,7 +98759,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &628 + default: &633 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98264,7 +98767,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98288,7 +98791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *198 + - *203 - name: export_id in: path required: true @@ -98301,9 +98804,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '404': *6 x-github: githubCloudOnly: false @@ -98324,7 +98827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *198 + - *203 responses: '200': description: Response @@ -98340,11 +98843,11 @@ paths: type: integer machines: type: array - items: *428 + items: *432 examples: - default: *629 + default: *634 '304': *35 - '500': *91 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -98371,7 +98874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *198 + - *203 requestBody: required: true content: @@ -98427,11 +98930,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *314 + repository: *318 machine: anyOf: - type: 'null' - - *428 + - *432 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99228,17 +99731,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 + default: *431 '304': *35 - '500': *91 + '500': *98 '400': *14 '401': *23 '402': @@ -99268,16 +99771,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *198 + - *203 responses: '200': description: Response content: application/json: - schema: *196 + schema: *201 examples: - default: *427 - '500': *91 + default: *431 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -99306,9 +99809,9 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: &641 + default: &646 value: - id: 197 name: hello_docker @@ -99409,7 +99912,7 @@ paths: application/json: schema: type: array - items: &630 + items: &635 title: Email description: Email type: object @@ -99479,9 +99982,9 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: - default: &643 + default: &648 value: - email: octocat@github.com verified: true @@ -99558,7 +100061,7 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: default: value: @@ -99670,7 +100173,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '304': *35 @@ -99703,7 +100206,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 '304': *35 @@ -99725,7 +100228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *133 + - *62 responses: '204': description: if the person is followed by the authenticated user @@ -99755,7 +100258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -99780,7 +100283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *133 + - *62 responses: '204': description: Response @@ -99816,7 +100319,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: GPG Key description: A unique encryption key type: object @@ -99961,7 +100464,7 @@ paths: - subkeys - revoked examples: - default: &661 + default: &666 value: - id: 3 name: Octocat's GPG Key @@ -100046,9 +100549,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: - default: &632 + default: &637 value: id: 3 name: Octocat's GPG Key @@ -100105,7 +100608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &633 + - &638 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100117,9 +100620,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: - default: *632 + default: *637 '404': *6 '304': *35 '403': *27 @@ -100142,7 +100645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *633 + - *638 responses: '204': description: Response @@ -100331,9 +100834,9 @@ paths: type: string repositories: type: array - items: *59 + items: *66 examples: - default: *112 + default: *119 headers: Link: *57 '404': *6 @@ -100358,7 +100861,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *109 + - *116 responses: '204': description: Response @@ -100384,7 +100887,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *109 + - *116 responses: '204': description: Response @@ -100418,12 +100921,12 @@ paths: application/json: schema: anyOf: - - *185 + - *191 - type: object properties: {} additionalProperties: false examples: - default: *186 + default: *192 '204': description: Response when there are no restrictions x-github: @@ -100447,7 +100950,7 @@ paths: required: true content: application/json: - schema: *495 + schema: *499 examples: default: value: @@ -100458,7 +100961,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *191 examples: default: value: @@ -100539,7 +101042,7 @@ paths: - closed - all default: open - - *193 + - *199 - name: sort description: What to sort results by. in: query @@ -100552,7 +101055,7 @@ paths: - comments default: created - *46 - - *64 + - *71 - *17 - *19 responses: @@ -100562,9 +101065,9 @@ paths: application/json: schema: type: array - items: *74 + items: *81 examples: - default: *194 + default: *200 headers: Link: *57 '404': *6 @@ -100597,7 +101100,7 @@ paths: application/json: schema: type: array - items: &634 + items: &639 title: Key description: Key type: object @@ -100700,9 +101203,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *639 examples: - default: &635 + default: &640 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100735,15 +101238,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *522 + - *526 responses: '200': description: Response content: application/json: - schema: *634 + schema: *639 examples: - default: *635 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100766,7 +101269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *522 + - *526 responses: '204': description: Response @@ -100799,7 +101302,7 @@ paths: application/json: schema: type: array - items: &636 + items: &641 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100867,7 +101370,7 @@ paths: - id - type - login - plan: *77 + plan: *84 required: - billing_cycle - next_billing_date @@ -100878,7 +101381,7 @@ paths: - account - plan examples: - default: &637 + default: &642 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100940,9 +101443,9 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: Link: *57 '304': *35 @@ -100982,7 +101485,7 @@ paths: application/json: schema: type: array - items: *200 + items: *205 examples: default: value: @@ -101084,13 +101587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *97 responses: '200': description: Response content: application/json: - schema: *200 + schema: *205 examples: default: value: @@ -101148,7 +101651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *97 requestBody: required: true content: @@ -101173,7 +101676,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *205 examples: default: value: @@ -101241,7 +101744,7 @@ paths: application/json: schema: type: array - items: *202 + items: *207 examples: default: value: @@ -101503,7 +102006,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -101683,7 +102186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *203 + - *208 - name: exclude in: query required: false @@ -101696,7 +102199,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *207 examples: default: value: @@ -101890,7 +102393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *203 + - *208 responses: '302': description: Response @@ -101916,7 +102419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *203 + - *208 responses: '204': description: Response @@ -101945,8 +102448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *203 - - *638 + - *208 + - *643 responses: '204': description: Response @@ -101970,7 +102473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *203 + - *208 - *17 - *19 responses: @@ -101980,9 +102483,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '404': *6 @@ -102017,9 +102520,9 @@ paths: application/json: schema: type: array - items: *150 + items: *156 examples: - default: *639 + default: *644 headers: Link: *57 '304': *35 @@ -102061,7 +102564,7 @@ paths: - docker - nuget - container - - *640 + - *645 - *19 - *17 responses: @@ -102071,10 +102574,10 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 - '400': *642 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102094,16 +102597,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: - default: &662 + default: &667 value: id: 40201 name: octo-name @@ -102216,8 +102719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 responses: '204': description: Response @@ -102247,8 +102750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *211 - - *212 + - *215 + - *216 - name: token description: package token schema: @@ -102280,8 +102783,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: - - *211 - - *212 + - *215 + - *216 - *19 - *17 - name: state @@ -102301,7 +102804,7 @@ paths: application/json: schema: type: array - items: *213 + items: *217 examples: default: value: @@ -102350,15 +102853,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -102394,9 +102897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '204': description: Response @@ -102426,9 +102929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *211 - - *212 - - *214 + - *215 + - *216 + - *218 responses: '204': description: Response @@ -102486,7 +102989,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -102558,9 +103061,9 @@ paths: application/json: schema: type: array - items: *630 + items: *635 examples: - default: *643 + default: *648 headers: Link: *57 '304': *35 @@ -102671,9 +103174,9 @@ paths: application/json: schema: type: array - items: *59 + items: *66 examples: - default: &650 + default: &655 summary: Default response value: - id: 1296269 @@ -102991,9 +103494,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *316 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103031,9 +103534,9 @@ paths: application/json: schema: type: array - items: *497 + items: *501 examples: - default: *644 + default: *649 headers: Link: *57 '304': *35 @@ -103056,7 +103559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *189 + - *195 responses: '204': description: Response @@ -103079,7 +103582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *189 + - *195 responses: '204': description: Response @@ -103112,7 +103615,7 @@ paths: application/json: schema: type: array - items: &645 + items: &650 title: Social account description: Social media account type: object @@ -103129,7 +103632,7 @@ paths: - provider - url examples: - default: &646 + default: &651 value: - provider: twitter url: https://twitter.com/github @@ -103192,9 +103695,9 @@ paths: application/json: schema: type: array - items: *645 + items: *650 examples: - default: *646 + default: *651 '422': *15 '304': *35 '404': *6 @@ -103282,7 +103785,7 @@ paths: application/json: schema: type: array - items: &647 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103302,7 +103805,7 @@ paths: - title - created_at examples: - default: &673 + default: &678 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103369,9 +103872,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *652 examples: - default: &648 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103402,7 +103905,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: - - &649 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103414,9 +103917,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *652 examples: - default: *648 + default: *653 '404': *6 '304': *35 '403': *27 @@ -103439,7 +103942,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: - - *649 + - *654 responses: '204': description: Response @@ -103468,7 +103971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &674 + - &679 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 @@ -103491,13 +103994,13 @@ paths: application/json: schema: type: array - items: *59 + items: *66 examples: - default-response: *650 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &675 + items: &680 title: Starred Repository description: Starred Repository type: object @@ -103505,7 +104008,7 @@ paths: starred_at: type: string format: date-time - repo: *59 + repo: *66 required: - starred_at - repo @@ -103653,8 +104156,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: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response if this repository is starred by you @@ -103682,8 +104185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -103707,8 +104210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *306 - - *307 + - *310 + - *311 responses: '204': description: Response @@ -103741,9 +104244,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 '304': *35 @@ -103780,7 +104283,7 @@ paths: application/json: schema: type: array - items: *291 + items: *295 examples: default: value: @@ -103858,7 +104361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *79 + - *86 responses: '200': description: Response @@ -103866,10 +104369,10 @@ paths: application/json: schema: oneOf: - - *624 - - *623 + - *629 + - *628 examples: - default-response: &656 + default-response: &661 summary: Default response value: login: octocat @@ -103904,7 +104407,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &657 + response-with-git-hub-plan-information: &662 summary: Response with GitHub plan information value: login: octocat @@ -103964,7 +104467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *651 + - *656 - *17 responses: '200': @@ -103975,7 +104478,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: example: ; rel="next" @@ -103998,8 +104501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *228 - - &652 + - *232 + - &657 name: user_id description: The unique identifier of the user. in: path @@ -104011,9 +104514,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -104035,8 +104538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *228 - - *652 + - *232 + - *657 - *17 - *38 - *39 @@ -104047,9 +104550,9 @@ paths: application/json: schema: type: array - items: *229 + items: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -104071,17 +104574,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *228 - - *653 - - *652 + - *232 + - *658 + - *657 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: - default: *230 + default: *234 headers: Link: *57 '304': *35 @@ -104104,8 +104607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *228 - - *652 + - *232 + - *657 - *38 - *39 - *17 @@ -104135,9 +104638,9 @@ paths: application/json: schema: type: array - items: *234 + items: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -104158,8 +104661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *652 - - *228 + - *657 + - *232 requestBody: required: true description: Details of the item to add to the project. @@ -104196,9 +104699,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *659 examples: - default: *655 + default: *660 '304': *35 '403': *27 '401': *23 @@ -104218,9 +104721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104238,9 +104741,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 headers: Link: *57 '304': *35 @@ -104261,9 +104764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104336,9 +104839,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 '401': *23 '403': *27 '404': *6 @@ -104358,9 +104861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *228 - - *652 - - *236 + - *232 + - *657 + - *240 responses: '204': description: Response @@ -104389,7 +104892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *133 + - *62 responses: '200': description: Response @@ -104397,11 +104900,11 @@ paths: application/json: schema: oneOf: - - *624 - - *623 + - *629 + - *628 examples: - default-response: *656 - response-with-git-hub-plan-information: *657 + default-response: *661 + response-with-git-hub-plan-information: *662 '404': *6 x-github: githubCloudOnly: false @@ -104427,7 +104930,7 @@ paths: - *17 - *38 - *39 - - *133 + - *62 requestBody: required: true content: @@ -104450,8 +104953,8 @@ paths: required: - subject_digests examples: - default: *658 - withPredicateType: *659 + default: *663 + withPredicateType: *664 responses: '200': description: Response @@ -104505,7 +105008,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *660 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104523,7 +105026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *133 + - *62 requestBody: required: true content: @@ -104588,7 +105091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *133 + - *62 - name: subject_digest description: Subject Digest in: path @@ -104619,7 +105122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *133 + - *62 - name: attestation_id description: Attestation ID in: path @@ -104657,7 +105160,7 @@ paths: - *17 - *38 - *39 - - *133 + - *62 - name: subject_digest description: Subject Digest in: path @@ -104707,12 +105210,12 @@ paths: bundle_url: type: string examples: - default: *370 + default: *374 '201': description: Response content: application/json: - schema: *129 + schema: *136 examples: default: value: @@ -104738,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *133 + - *62 responses: '200': description: Response @@ -104746,9 +105249,9 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 + default: *646 '403': *27 '401': *23 x-github: @@ -104771,7 +105274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -104781,7 +105284,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -104852,8 +105355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *133 - - *90 + - *62 + - *97 - *17 - *19 responses: @@ -104863,7 +105366,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -104942,7 +105445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -104952,7 +105455,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105019,7 +105522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105031,7 +105534,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -105050,7 +105553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105062,7 +105565,7 @@ paths: type: array items: *4 examples: - default: *195 + default: *61 headers: Link: *57 x-github: @@ -105081,7 +105584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *133 + - *62 - name: target_user in: path required: true @@ -105108,8 +105611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *133 - - *64 + - *62 + - *71 - *17 - *19 responses: @@ -105119,9 +105622,9 @@ paths: application/json: schema: type: array - items: *65 + items: *72 examples: - default: *66 + default: *73 headers: Link: *57 '422': *15 @@ -105142,7 +105645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105152,9 +105655,9 @@ paths: application/json: schema: type: array - items: *631 + items: *636 examples: - default: *661 + default: *666 headers: Link: *57 x-github: @@ -105178,7 +105681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *133 + - *62 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -105250,7 +105753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *133 + - *62 responses: '200': description: Response @@ -105258,7 +105761,7 @@ paths: application/json: schema: *20 examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105276,7 +105779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105332,7 +105835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105342,9 +105845,9 @@ paths: application/json: schema: type: array - items: *150 + items: *156 examples: - default: *639 + default: *644 headers: Link: *57 x-github: @@ -105383,8 +105886,8 @@ paths: - docker - nuget - container - - *640 - - *133 + - *645 + - *62 - *19 - *17 responses: @@ -105394,12 +105897,12 @@ paths: application/json: schema: type: array - items: *209 + items: *213 examples: - default: *641 + default: *646 '403': *27 '401': *23 - '400': *642 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105419,17 +105922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '200': description: Response content: application/json: - schema: *209 + schema: *213 examples: - default: *662 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105450,9 +105953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '204': description: Response @@ -105484,9 +105987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 - name: token description: package token schema: @@ -105518,9 +106021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *211 - - *212 - - *133 + - *215 + - *216 + - *62 responses: '200': description: Response @@ -105528,7 +106031,7 @@ paths: application/json: schema: type: array - items: *213 + items: *217 examples: default: value: @@ -105586,16 +106089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *211 - - *212 - - *214 - - *133 + - *215 + - *216 + - *218 + - *62 responses: '200': description: Response content: application/json: - schema: *213 + schema: *217 examples: default: value: @@ -105630,10 +106133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *211 - - *212 - - *133 - - *214 + - *215 + - *216 + - *62 + - *218 responses: '204': description: Response @@ -105665,10 +106168,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *211 - - *212 - - *133 - - *214 + - *215 + - *216 + - *62 + - *218 responses: '204': description: Response @@ -105694,7 +106197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *133 + - *62 - name: state description: Indicates the state of the projects to return. in: query @@ -105715,7 +106218,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -105773,7 +106276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *133 + - *62 - name: q description: Limit results to projects of the specified type. in: query @@ -105790,9 +106293,9 @@ paths: application/json: schema: type: array - items: *226 + items: *230 examples: - default: *227 + default: *231 headers: Link: *57 '304': *35 @@ -105819,7 +106322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105829,7 +106332,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105908,7 +106411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -105918,7 +106421,7 @@ paths: application/json: schema: type: array - items: *85 + items: *92 examples: default: value: @@ -105995,7 +106498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *133 + - *62 - name: type description: Limit results to repositories of the specified type. in: query @@ -106038,9 +106541,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -106064,15 +106567,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *664 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106094,15 +106597,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: *666 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106124,15 +106627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *133 + - *62 responses: '200': description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: *668 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106152,11 +106655,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *133 - - *669 - - *670 - - *671 - - *672 + - *62 + - *674 + - *675 + - *676 + - *677 responses: '200': description: Response when getting a billing usage report @@ -106226,8 +106729,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *91 - '503': *62 + '500': *98 + '503': *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106245,7 +106748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106255,9 +106758,9 @@ paths: application/json: schema: type: array - items: *645 + items: *650 examples: - default: *646 + default: *651 headers: Link: *57 x-github: @@ -106277,7 +106780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106287,9 +106790,9 @@ paths: application/json: schema: type: array - items: *647 + items: *652 examples: - default: *673 + default: *678 headers: Link: *57 x-github: @@ -106313,8 +106816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *133 - - *674 + - *62 + - *679 - *46 - *17 - *19 @@ -106326,11 +106829,11 @@ paths: schema: anyOf: - type: array - items: *675 + items: *680 - type: array - items: *59 + items: *66 examples: - default-response: *650 + default-response: *655 headers: Link: *57 x-github: @@ -106349,7 +106852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *133 + - *62 - *17 - *19 responses: @@ -106359,9 +106862,9 @@ paths: application/json: schema: type: array - items: *120 + items: *127 examples: - default: *215 + default: *219 headers: Link: *57 x-github: @@ -106490,7 +106993,7 @@ webhooks: type: string enum: - disabled - enterprise: &676 + enterprise: &681 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106559,7 +107062,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &677 + installation: &682 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106580,7 +107083,7 @@ webhooks: required: - id - node_id - organization: &678 + organization: &683 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106653,7 +107156,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &679 + repository: &684 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106682,7 +107185,7 @@ webhooks: license: anyOf: - type: 'null' - - *75 + - *82 organization: anyOf: - type: 'null' @@ -107566,10 +108069,10 @@ webhooks: type: string enum: - enabled - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -107645,11 +108148,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: &680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: &685 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) @@ -107872,11 +108375,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: *680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: *685 sender: *4 required: - action @@ -108064,11 +108567,11 @@ webhooks: - everyone required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - rule: *680 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + rule: *685 sender: *4 required: - action @@ -108152,7 +108655,7 @@ webhooks: type: string enum: - completed - check_run: &682 + check_run: &687 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108217,8 +108720,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *387 - repository: *120 + items: *391 + repository: *127 status: type: string enum: @@ -108262,7 +108765,7 @@ webhooks: - examples: - neutral - deployment: *681 + deployment: *686 details_url: type: string examples: @@ -108322,7 +108825,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *387 + items: *391 started_at: type: string format: date-time @@ -108360,10 +108863,10 @@ webhooks: - output - app - pull_requests - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -108756,11 +109259,11 @@ webhooks: type: string enum: - created - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -109156,11 +109659,11 @@ webhooks: type: string enum: - requested_action - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 requested_action: description: The action requested by the user. type: object @@ -109565,11 +110068,11 @@ webhooks: type: string enum: - rerequested - check_run: *682 - installation: *677 - enterprise: *676 - organization: *678 - repository: *679 + check_run: *687 + installation: *682 + enterprise: *681 + organization: *683 + repository: *684 sender: *4 required: - check_run @@ -110561,10 +111064,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -111249,10 +111752,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -111931,10 +112434,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -112100,7 +112603,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112252,20 +112755,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &683 + commit_oid: &688 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: *676 - installation: *677 - organization: *678 - ref: &684 + enterprise: *681 + installation: *682 + organization: *683 + ref: &689 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: *679 + repository: *684 sender: *4 required: - action @@ -112429,7 +112932,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112670,12 +113173,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -112773,7 +113276,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112955,12 +113458,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -113126,7 +113629,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113303,12 +113806,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -113408,7 +113911,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113588,9 +114091,9 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113598,7 +114101,7 @@ webhooks: type: - string - 'null' - repository: *679 + repository: *684 sender: *4 required: - action @@ -113694,7 +114197,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113841,12 +114344,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *683 - enterprise: *676 - installation: *677 - organization: *678 - ref: *684 - repository: *679 + commit_oid: *688 + enterprise: *681 + installation: *682 + organization: *683 + ref: *689 + repository: *684 sender: *4 required: - action @@ -114108,10 +114611,10 @@ webhooks: - updated_at - author_association - body - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -114192,18 +114695,18 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *678 - pusher_type: &685 + organization: *683 + pusher_type: &690 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &686 + ref: &691 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114213,7 +114716,7 @@ webhooks: enum: - tag - branch - repository: *679 + repository: *684 sender: *4 required: - ref @@ -114295,10 +114798,10 @@ webhooks: type: string enum: - created - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114383,9 +114886,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114462,10 +114965,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114542,10 +115045,10 @@ webhooks: type: string enum: - updated - definition: *237 - enterprise: *676 - installation: *677 - organization: *678 + definition: *241 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -114622,19 +115125,19 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - repository: *679 - organization: *678 + enterprise: *681 + installation: *682 + repository: *684 + organization: *683 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *241 + items: *245 old_property_values: type: array description: The old custom property values for the repository. - items: *241 + items: *245 required: - action - repository @@ -114710,18 +115213,18 @@ webhooks: title: delete event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - pusher_type: *685 - ref: *686 + enterprise: *681 + installation: *682 + organization: *683 + pusher_type: *690 + ref: *691 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *679 + repository: *684 sender: *4 required: - ref @@ -114805,11 +115308,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -114893,11 +115396,11 @@ webhooks: type: string enum: - auto_reopened - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -114981,11 +115484,11 @@ webhooks: type: string enum: - created - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115067,11 +115570,11 @@ webhooks: type: string enum: - dismissed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115153,11 +115656,11 @@ webhooks: type: string enum: - fixed - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115240,11 +115743,11 @@ webhooks: type: string enum: - reintroduced - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115326,11 +115829,11 @@ webhooks: type: string enum: - reopened - alert: *453 - installation: *677 - organization: *678 - enterprise: *676 - repository: *679 + alert: *457 + installation: *682 + organization: *683 + enterprise: *681 + repository: *684 sender: *4 required: - action @@ -115407,9 +115910,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - key: &687 + enterprise: *681 + installation: *682 + key: &692 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115447,8 +115950,8 @@ webhooks: - verified - created_at - read_only - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -115525,11 +116028,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - key: *687 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + key: *692 + organization: *683 + repository: *684 sender: *4 required: - action @@ -116101,12 +116604,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: &691 + workflow: &696 title: Workflow type: - object @@ -116844,13 +117347,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *459 + deployment: *463 pull_requests: type: array - items: *540 - repository: *679 - organization: *678 - installation: *677 + items: *544 + repository: *684 + organization: *683 + installation: *682 sender: *4 responses: '200': @@ -116921,7 +117424,7 @@ webhooks: type: string enum: - approved - approver: &688 + approver: &693 type: object properties: avatar_url: @@ -116964,11 +117467,11 @@ webhooks: type: string comment: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - reviewers: &689 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + reviewers: &694 type: array items: type: object @@ -117049,7 +117552,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &690 + workflow_job_run: &695 type: object properties: conclusion: @@ -117795,18 +118298,18 @@ webhooks: type: string enum: - rejected - approver: *688 + approver: *693 comment: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - reviewers: *689 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + reviewers: *694 sender: *4 since: type: string - workflow_job_run: *690 + workflow_job_run: *695 workflow_job_runs: type: array items: @@ -118523,13 +119026,13 @@ webhooks: type: string enum: - requested - enterprise: *676 + enterprise: *681 environment: type: string - installation: *677 - organization: *678 - repository: *679 - requestor: &696 + installation: *682 + organization: *683 + repository: *684 + requestor: &701 title: User type: - object @@ -120472,12 +120975,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Deployment Workflow Run type: @@ -121168,7 +121671,7 @@ webhooks: type: string enum: - answered - answer: &694 + answer: &699 type: object properties: author_association: @@ -121328,7 +121831,7 @@ webhooks: - created_at - updated_at - body - discussion: &692 + discussion: &697 title: Discussion description: A Discussion in a repository. type: object @@ -121624,7 +122127,7 @@ webhooks: - id labels: type: array - items: *505 + items: *509 required: - repository_url - category @@ -121646,10 +122149,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121776,11 +122279,11 @@ webhooks: - from required: - category - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121863,11 +122366,11 @@ webhooks: type: string enum: - closed - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -121949,7 +122452,7 @@ webhooks: type: string enum: - created - comment: &693 + comment: &698 type: object properties: author_association: @@ -122109,11 +122612,11 @@ webhooks: - updated_at - body - reactions - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122196,12 +122699,12 @@ webhooks: type: string enum: - deleted - comment: *693 - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + comment: *698 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122296,12 +122799,12 @@ webhooks: - from required: - body - comment: *693 - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + comment: *698 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122385,11 +122888,11 @@ webhooks: type: string enum: - created - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122471,11 +122974,11 @@ webhooks: type: string enum: - deleted - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122575,11 +123078,11 @@ webhooks: type: string required: - from - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122661,10 +123164,10 @@ webhooks: type: string enum: - labeled - discussion: *692 - enterprise: *676 - installation: *677 - label: &695 + discussion: *697 + enterprise: *681 + installation: *682 + label: &700 title: Label type: object properties: @@ -122697,8 +123200,8 @@ webhooks: - color - default - description - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122781,11 +123284,11 @@ webhooks: type: string enum: - locked - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122867,11 +123370,11 @@ webhooks: type: string enum: - pinned - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -122953,11 +123456,11 @@ webhooks: type: string enum: - reopened - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123042,16 +123545,16 @@ webhooks: changes: type: object properties: - new_discussion: *692 - new_repository: *679 + new_discussion: *697 + new_repository: *684 required: - new_discussion - new_repository - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123134,10 +123637,10 @@ webhooks: type: string enum: - unanswered - discussion: *692 - old_answer: *694 - organization: *678 - repository: *679 + discussion: *697 + old_answer: *699 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123219,12 +123722,12 @@ webhooks: type: string enum: - unlabeled - discussion: *692 - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123307,11 +123810,11 @@ webhooks: type: string enum: - unlocked - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123393,11 +123896,11 @@ webhooks: type: string enum: - unpinned - discussion: *692 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + discussion: *697 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -123470,7 +123973,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *676 + enterprise: *681 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124148,9 +124651,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *677 - organization: *678 - repository: *679 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - forkee @@ -124296,9 +124799,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pages: description: The pages that were updated. type: array @@ -124336,7 +124839,7 @@ webhooks: - action - sha - html_url - repository: *679 + repository: *684 sender: *4 required: - pages @@ -124412,10 +124915,10 @@ webhooks: type: string enum: - created - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: &697 + organization: *683 + repositories: &702 description: An array of repository objects that the installation can access. type: array @@ -124441,8 +124944,8 @@ webhooks: - name - full_name - private - repository: *679 - requester: *696 + repository: *684 + requester: *701 sender: *4 required: - action @@ -124517,11 +125020,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -124598,11 +125101,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -124679,10 +125182,10 @@ webhooks: type: string enum: - added - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories_added: &698 + organization: *683 + repositories_added: &703 description: An array of repository objects, which were added to the installation. type: array @@ -124728,15 +125231,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *679 - repository_selection: &699 + repository: *684 + repository_selection: &704 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *696 + requester: *701 sender: *4 required: - action @@ -124815,10 +125318,10 @@ webhooks: type: string enum: - removed - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories_added: *698 + organization: *683 + repositories_added: *703 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124845,9 +125348,9 @@ webhooks: - name - full_name - private - repository: *679 - repository_selection: *699 - requester: *696 + repository: *684 + repository_selection: *704 + requester: *701 sender: *4 required: - action @@ -124926,11 +125429,11 @@ webhooks: type: string enum: - suspend - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -125112,10 +125615,10 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 target_type: type: string @@ -125194,11 +125697,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *676 + enterprise: *681 installation: *20 - organization: *678 - repositories: *697 - repository: *679 + organization: *683 + repositories: *702 + repository: *684 requester: type: - 'null' @@ -125446,8 +125949,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126264,8 +126767,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126282,7 +126785,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -126626,8 +127129,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -126707,7 +127210,7 @@ webhooks: type: string enum: - deleted - comment: &700 + comment: &705 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126874,8 +127377,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127688,8 +128191,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127706,7 +128209,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -128052,8 +128555,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -128133,7 +128636,7 @@ webhooks: type: string enum: - edited - changes: &724 + changes: &729 description: The changes to the comment. type: object properties: @@ -128145,9 +128648,9 @@ webhooks: type: string required: - from - comment: *700 - enterprise: *676 - installation: *677 + comment: *705 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128963,8 +129466,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128981,7 +129484,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -129325,8 +129828,8 @@ webhooks: - state - locked - assignee - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129410,15 +129913,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *59 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + blocking_issue_repo: *66 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129506,15 +130009,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 + blocked_issue: *81 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - blocking_issue_repo: *59 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + blocking_issue_repo: *66 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129601,15 +130104,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *59 + blocked_issue: *81 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129697,15 +130200,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *74 - blocked_issue_repo: *59 + blocked_issue: *81 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *74 - installation: *677 - organization: *678 - repository: *679 + blocking_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -129790,10 +130293,10 @@ webhooks: type: string enum: - assigned - assignee: *696 - enterprise: *676 - installation: *677 - issue: &703 + assignee: *701 + enterprise: *681 + installation: *682 + issue: &708 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130605,11 +131108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130626,7 +131129,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -130729,8 +131232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -130810,8 +131313,8 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131628,11 +132131,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131649,7 +132152,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -131895,8 +132398,8 @@ webhooks: required: - state - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -131975,8 +132478,8 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132784,11 +133287,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132805,7 +133308,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -132907,8 +133410,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -132987,8 +133490,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133819,11 +134322,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133840,7 +134343,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -133921,7 +134424,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &701 + milestone: &706 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134064,8 +134567,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -134164,8 +134667,8 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134977,11 +135480,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134995,7 +135498,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -135101,9 +135604,9 @@ webhooks: - active_lock_reason - body - reactions - label: *695 - organization: *678 - repository: *679 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -135183,8 +135686,8 @@ webhooks: type: string enum: - labeled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135995,11 +136498,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136013,7 +136516,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -136119,9 +136622,9 @@ webhooks: - active_lock_reason - body - reactions - label: *695 - organization: *678 - repository: *679 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -136201,8 +136704,8 @@ webhooks: type: string enum: - locked - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137038,11 +137541,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137056,7 +137559,7 @@ webhooks: timeline_url: type: string format: uri - type: *190 + type: *196 title: description: Title of the issue type: string @@ -137139,8 +137642,8 @@ webhooks: format: uri user_view_type: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -137219,8 +137722,8 @@ webhooks: type: string enum: - milestoned - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138050,11 +138553,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138071,7 +138574,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -138151,9 +138654,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *701 - organization: *678 - repository: *679 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -139045,11 +139548,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139145,7 +139648,7 @@ webhooks: required: - login - id - type: *190 + type: *196 required: - id - number @@ -139626,8 +140129,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140439,11 +140942,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140460,7 +140963,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -140562,8 +141065,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -140643,9 +141146,9 @@ webhooks: type: string enum: - pinned - enterprise: *676 - installation: *677 - issue: &702 + enterprise: *681 + installation: *682 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -141451,11 +141954,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141472,7 +141975,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -141574,8 +142077,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -141654,8 +142157,8 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142489,11 +142992,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142590,9 +143093,9 @@ webhooks: format: uri user_view_type: type: string - type: *190 - organization: *678 - repository: *679 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -143481,11 +143984,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143502,7 +144005,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -144084,11 +144587,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *676 - installation: *677 - issue: *702 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *707 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144168,12 +144671,12 @@ webhooks: type: string enum: - typed - enterprise: *676 - installation: *677 - issue: *703 - type: *190 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144254,7 +144757,7 @@ webhooks: type: string enum: - unassigned - assignee: &727 + assignee: &732 title: User type: - object @@ -144326,11 +144829,11 @@ webhooks: required: - login - id - enterprise: *676 - installation: *677 - issue: *703 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144409,12 +144912,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *676 - installation: *677 - issue: *703 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -144494,8 +144997,8 @@ webhooks: type: string enum: - unlocked - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145329,11 +145832,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *609 - issue_dependencies_summary: *610 + sub_issues_summary: *614 + issue_dependencies_summary: *615 issue_field_values: type: array - items: *611 + items: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145350,7 +145853,7 @@ webhooks: title: description: Title of the issue type: string - type: *190 + type: *196 updated_at: type: string format: date-time @@ -145430,8 +145933,8 @@ webhooks: format: uri user_view_type: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145511,11 +146014,11 @@ webhooks: type: string enum: - unpinned - enterprise: *676 - installation: *677 - issue: *702 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *707 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145594,12 +146097,12 @@ webhooks: type: string enum: - untyped - enterprise: *676 - installation: *677 - issue: *703 - type: *190 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + issue: *708 + type: *196 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145679,11 +146182,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145761,11 +146264,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145875,11 +146378,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - label: *695 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + label: *700 + organization: *683 + repository: *684 sender: *4 required: - action @@ -145961,9 +146464,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: &704 + enterprise: *681 + installation: *682 + marketplace_purchase: &709 title: Marketplace Purchase type: object required: @@ -146051,8 +146554,8 @@ webhooks: type: integer unit_count: type: integer - organization: *678 - previous_marketplace_purchase: &705 + organization: *683 + previous_marketplace_purchase: &710 title: Marketplace Purchase type: object properties: @@ -146136,7 +146639,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146216,10 +146719,10 @@ webhooks: - changed effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146307,7 +146810,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146389,10 +146892,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146478,7 +146981,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *679 + repository: *684 sender: *4 required: - action @@ -146559,8 +147062,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 marketplace_purchase: title: Marketplace Purchase type: object @@ -146646,9 +147149,9 @@ webhooks: type: integer unit_count: type: integer - organization: *678 - previous_marketplace_purchase: *705 - repository: *679 + organization: *683 + previous_marketplace_purchase: *710 + repository: *684 sender: *4 required: - action @@ -146728,12 +147231,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *676 - installation: *677 - marketplace_purchase: *704 - organization: *678 - previous_marketplace_purchase: *705 - repository: *679 + enterprise: *681 + installation: *682 + marketplace_purchase: *709 + organization: *683 + previous_marketplace_purchase: *710 + repository: *684 sender: *4 required: - action @@ -146835,11 +147338,11 @@ webhooks: type: string required: - to - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -146941,11 +147444,11 @@ webhooks: type: - string - 'null' - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147024,11 +147527,11 @@ webhooks: type: string enum: - removed - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147106,11 +147609,11 @@ webhooks: type: string enum: - added - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147188,7 +147691,7 @@ webhooks: required: - login - id - team: &706 + team: &711 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147381,11 +147884,11 @@ webhooks: type: string enum: - removed - enterprise: *676 - installation: *677 - member: *696 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + member: *701 + organization: *683 + repository: *684 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147464,7 +147967,7 @@ webhooks: required: - login - id - team: *706 + team: *711 required: - action - scope @@ -147546,8 +148049,8 @@ webhooks: type: string enum: - checks_requested - installation: *677 - merge_group: &707 + installation: *682 + merge_group: &712 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147566,15 +148069,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *395 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147660,10 +148163,10 @@ webhooks: - merged - invalidated - dequeued - installation: *677 - merge_group: *707 - organization: *678 - repository: *679 + installation: *682 + merge_group: *712 + organization: *683 + repository: *684 sender: *4 required: - action @@ -147736,7 +148239,7 @@ webhooks: type: string enum: - deleted - enterprise: *676 + enterprise: *681 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147845,12 +148348,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *677 - organization: *678 + installation: *682 + organization: *683 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -147930,11 +148433,11 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148013,9 +148516,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - milestone: &708 + enterprise: *681 + installation: *682 + milestone: &713 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148157,8 +148660,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148237,11 +148740,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148351,11 +148854,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - milestone: *701 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *706 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148435,11 +148938,11 @@ webhooks: type: string enum: - opened - enterprise: *676 - installation: *677 - milestone: *708 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + milestone: *713 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148518,11 +149021,11 @@ webhooks: type: string enum: - blocked - blocked_user: *696 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + blocked_user: *701 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148601,11 +149104,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *696 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + blocked_user: *701 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148684,9 +149187,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - membership: &709 + enterprise: *681 + installation: *682 + membership: &714 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148796,8 +149299,8 @@ webhooks: - role - organization_url - user - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148875,11 +149378,11 @@ webhooks: type: string enum: - member_added - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -148958,8 +149461,8 @@ webhooks: type: string enum: - member_invited - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149081,10 +149584,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 - user: *696 + user: *701 required: - action - invitation @@ -149162,11 +149665,11 @@ webhooks: type: string enum: - member_removed - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -149253,11 +149756,11 @@ webhooks: properties: from: type: string - enterprise: *676 - installation: *677 - membership: *709 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + membership: *714 + organization: *683 + repository: *684 sender: *4 required: - action @@ -149333,9 +149836,9 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 package: description: Information about the package. type: object @@ -149858,7 +150361,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &710 + items: &715 title: Ruby Gems metadata type: object properties: @@ -149955,7 +150458,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -150031,9 +150534,9 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 package: description: Information about the package. type: object @@ -150395,7 +150898,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *710 + items: *715 source_url: type: string format: uri @@ -150466,7 +150969,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -150647,12 +151150,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *676 + enterprise: *681 id: type: integer - installation: *677 - organization: *678 - repository: *679 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - id @@ -150729,7 +151232,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &711 + personal_access_token_request: &716 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150879,10 +151382,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *676 - organization: *678 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -150959,11 +151462,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *711 - enterprise: *676 - organization: *678 + personal_access_token_request: *716 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151039,11 +151542,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *711 - enterprise: *676 - organization: *678 + personal_access_token_request: *716 + enterprise: *681 + organization: *683 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151118,11 +151621,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *711 - organization: *678 - enterprise: *676 + personal_access_token_request: *716 + organization: *683 + enterprise: *681 sender: *4 - installation: *677 + installation: *682 required: - action - personal_access_token_request @@ -151227,7 +151730,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *712 + last_response: *717 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151259,8 +151762,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 zen: description: Random string of GitHub zen. @@ -151505,10 +152008,10 @@ webhooks: - from required: - note - enterprise: *676 - installation: *677 - organization: *678 - project_card: &713 + enterprise: *681 + installation: *682 + organization: *683 + project_card: &718 title: Project Card type: object properties: @@ -151631,7 +152134,7 @@ webhooks: - creator - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -151712,11 +152215,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project_card: *713 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_card: *718 + repository: *684 sender: *4 required: - action @@ -151796,9 +152299,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 project_card: title: Project Card type: object @@ -151928,7 +152431,7 @@ webhooks: repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -152022,11 +152525,11 @@ webhooks: - from required: - note - enterprise: *676 - installation: *677 - organization: *678 - project_card: *713 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_card: *718 + repository: *684 sender: *4 required: - action @@ -152120,9 +152623,9 @@ webhooks: - from required: - column_id - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 project_card: allOf: - title: Project Card @@ -152319,7 +152822,7 @@ webhooks: type: string required: - after_id - repository: *679 + repository: *684 sender: *4 required: - action @@ -152399,10 +152902,10 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - organization: *678 - project: &715 + enterprise: *681 + installation: *682 + organization: *683 + project: &720 title: Project type: object properties: @@ -152529,7 +153032,7 @@ webhooks: - creator - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -152609,10 +153112,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project_column: &714 + enterprise: *681 + installation: *682 + organization: *683 + project_column: &719 title: Project Column type: object properties: @@ -152652,7 +153155,7 @@ webhooks: - name - created_at - updated_at - repository: *679 + repository: *684 sender: *4 required: - action @@ -152731,14 +153234,14 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -152827,11 +153330,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 + repository: *684 sender: *4 required: - action @@ -152911,11 +153414,11 @@ webhooks: type: string enum: - moved - enterprise: *676 - installation: *677 - organization: *678 - project_column: *714 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project_column: *719 + repository: *684 sender: *4 required: - action @@ -152995,11 +153498,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153079,14 +153582,14 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - project: *715 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 repository: anyOf: - type: 'null' - - *679 + - *684 sender: *4 required: - action @@ -153187,11 +153690,11 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153270,11 +153773,11 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 - organization: *678 - project: *715 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + project: *720 + repository: *684 sender: *4 required: - action @@ -153355,9 +153858,9 @@ webhooks: type: string enum: - closed - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153438,9 +153941,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153521,9 +154024,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153644,9 +154147,9 @@ webhooks: type: string to: type: string - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -153729,7 +154232,7 @@ webhooks: type: string enum: - archived - changes: &719 + changes: &724 type: object properties: archived_at: @@ -153745,9 +154248,9 @@ webhooks: - string - 'null' format: date-time - installation: *677 - organization: *678 - projects_v2_item: &716 + installation: *682 + organization: *683 + projects_v2_item: &721 title: Projects v2 Item description: An item belonging to a project type: object @@ -153765,7 +154268,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *233 + content_type: *237 creator: *4 created_at: type: string @@ -153887,9 +154390,9 @@ webhooks: - 'null' to: type: string - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -153971,9 +154474,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154054,9 +154557,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154161,7 +154664,7 @@ webhooks: oneOf: - type: string - type: integer - - &717 + - &722 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154185,7 +154688,7 @@ webhooks: required: - id - name - - &718 + - &723 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154225,8 +154728,8 @@ webhooks: oneOf: - type: string - type: integer - - *717 - - *718 + - *722 + - *723 type: - 'null' - string @@ -154249,9 +154752,9 @@ webhooks: - 'null' required: - body - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154348,9 +154851,9 @@ webhooks: type: - string - 'null' - installation: *677 - organization: *678 - projects_v2_item: *716 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154433,10 +154936,10 @@ webhooks: type: string enum: - restored - changes: *719 - installation: *677 - organization: *678 - projects_v2_item: *716 + changes: *724 + installation: *682 + organization: *683 + projects_v2_item: *721 sender: *4 required: - action @@ -154518,9 +155021,9 @@ webhooks: type: string enum: - reopened - installation: *677 - organization: *678 - projects_v2: *226 + installation: *682 + organization: *683 + projects_v2: *230 sender: *4 required: - action @@ -154601,9 +155104,9 @@ webhooks: type: string enum: - created - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154684,9 +155187,9 @@ webhooks: type: string enum: - deleted - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154832,9 +155335,9 @@ webhooks: - string - 'null' format: date - installation: *677 - organization: *678 - projects_v2_status_update: *720 + installation: *682 + organization: *683 + projects_v2_status_update: *725 sender: *4 required: - action @@ -154905,10 +155408,10 @@ webhooks: title: public event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - repository @@ -154985,13 +155488,13 @@ webhooks: type: string enum: - assigned - assignee: *696 - enterprise: *676 - installation: *677 - number: &721 + assignee: *701 + enterprise: *681 + installation: *682 + number: &726 description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -157340,7 +157843,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -157422,11 +157925,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -159768,7 +160271,7 @@ webhooks: - draft reason: type: string - repository: *679 + repository: *684 sender: *4 required: - action @@ -159850,11 +160353,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -162196,7 +162699,7 @@ webhooks: - draft reason: type: string - repository: *679 + repository: *684 sender: *4 required: - action @@ -162278,13 +162781,13 @@ webhooks: type: string enum: - closed - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: &722 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: &727 allOf: - - *540 + - *544 - type: object properties: allow_auto_merge: @@ -162346,7 +162849,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *679 + repository: *684 sender: *4 required: - action @@ -162427,12 +162930,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -162512,11 +163015,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *676 - milestone: *231 - number: *721 - organization: *678 - pull_request: &723 + enterprise: *681 + milestone: *235 + number: *726 + organization: *683 + pull_request: &728 title: Pull Request type: object properties: @@ -164843,7 +165346,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -164922,11 +165425,11 @@ webhooks: type: string enum: - dequeued - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -167272,7 +167775,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *679 + repository: *684 sender: *4 required: - action @@ -167396,12 +167899,12 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -167481,11 +167984,11 @@ webhooks: type: string enum: - enqueued - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -169816,7 +170319,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -169896,11 +170399,11 @@ webhooks: type: string enum: - labeled - enterprise: *676 - installation: *677 - label: *695 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + label: *700 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -172248,7 +172751,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -172329,10 +172832,10 @@ webhooks: type: string enum: - locked - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -174678,7 +175181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -174758,12 +175261,12 @@ webhooks: type: string enum: - milestoned - enterprise: *676 - milestone: *231 - number: *721 - organization: *678 - pull_request: *723 - repository: *679 + enterprise: *681 + milestone: *235 + number: *726 + organization: *683 + pull_request: *728 + repository: *684 sender: *4 required: - action @@ -174842,12 +175345,12 @@ webhooks: type: string enum: - opened - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -174928,12 +175431,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -175013,12 +175516,12 @@ webhooks: type: string enum: - reopened - enterprise: *676 - installation: *677 - number: *721 - organization: *678 - pull_request: *722 - repository: *679 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 + pull_request: *727 + repository: *684 sender: *4 required: - action @@ -175393,9 +175896,9 @@ webhooks: - start_side - side - reactions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -177625,7 +178128,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -177705,7 +178208,7 @@ webhooks: type: string enum: - deleted - comment: &725 + comment: &730 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -177998,9 +178501,9 @@ webhooks: - start_side - side - reactions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -180218,7 +180721,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -180298,11 +180801,11 @@ webhooks: type: string enum: - edited - changes: *724 - comment: *725 - enterprise: *676 - installation: *677 - organization: *678 + changes: *729 + comment: *730 + enterprise: *681 + installation: *682 + organization: *683 pull_request: type: object properties: @@ -182523,7 +183026,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *679 + repository: *684 sender: *4 required: - action @@ -182604,9 +183107,9 @@ webhooks: type: string enum: - dismissed - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -184839,7 +185342,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 review: description: The review that was affected. type: object @@ -185090,9 +185593,9 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -187206,8 +187709,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 - review: &726 + repository: *684 + review: &731 description: The review that was affected. type: object properties: @@ -187445,12 +187948,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -189797,7 +190300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_reviewer: title: User type: @@ -189883,12 +190386,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -192242,7 +192745,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192437,12 +192940,12 @@ webhooks: type: string enum: - review_requested - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -194791,7 +195294,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_reviewer: title: User type: @@ -194878,12 +195381,12 @@ webhooks: type: string enum: - review_requested - enterprise: *676 - installation: *677 + enterprise: *681 + installation: *682 number: description: The pull request number. type: integer - organization: *678 + organization: *683 pull_request: title: Pull Request type: object @@ -197223,7 +197726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197407,9 +197910,9 @@ webhooks: type: string enum: - submitted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -199645,8 +200148,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 - review: *726 + repository: *684 + review: *731 sender: *4 required: - action @@ -199726,9 +200229,9 @@ webhooks: type: string enum: - resolved - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -201859,7 +202362,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 sender: *4 thread: type: object @@ -202256,9 +202759,9 @@ webhooks: type: string enum: - unresolved - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 pull_request: title: Simple Pull Request type: object @@ -204372,7 +204875,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *679 + repository: *684 sender: *4 thread: type: object @@ -204771,10 +205274,10 @@ webhooks: type: string before: type: string - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -207109,7 +207612,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -207191,11 +207694,11 @@ webhooks: type: string enum: - unassigned - assignee: *727 - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + assignee: *732 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -209545,7 +210048,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -209624,11 +210127,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *676 - installation: *677 - label: *695 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + label: *700 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -211967,7 +212470,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -212048,10 +212551,10 @@ webhooks: type: string enum: - unlocked - enterprise: *676 - installation: *677 - number: *721 - organization: *678 + enterprise: *681 + installation: *682 + number: *726 + organization: *683 pull_request: title: Pull Request type: object @@ -214380,7 +214883,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *679 + repository: *684 sender: *4 required: - action @@ -214583,7 +215086,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *676 + enterprise: *681 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214678,8 +215181,8 @@ webhooks: - url - author - committer - installation: *677 - organization: *678 + installation: *682 + organization: *683 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215267,9 +215770,9 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 registry_package: type: object properties: @@ -215746,7 +216249,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *710 + items: *715 summary: type: string tag_name: @@ -215802,7 +216305,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -215880,9 +216383,9 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 registry_package: type: object properties: @@ -216194,7 +216697,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *710 + items: *715 summary: type: string tag_name: @@ -216244,7 +216747,7 @@ webhooks: - owner - package_version - registry - repository: *679 + repository: *684 sender: *4 required: - action @@ -216321,10 +216824,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - release: &728 + enterprise: *681 + installation: *682 + organization: *683 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -216655,7 +217158,7 @@ webhooks: - updated_at - zipball_url - body - repository: *679 + repository: *684 sender: *4 required: - action @@ -216732,11 +217235,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -216853,11 +217356,11 @@ webhooks: type: boolean required: - to - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -216935,9 +217438,9 @@ webhooks: type: string enum: - prereleased - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -217273,7 +217776,7 @@ webhooks: - string - 'null' format: uri - repository: *679 + repository: *684 sender: *4 required: - action @@ -217349,10 +217852,10 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - release: &729 + enterprise: *681 + installation: *682 + organization: *683 + release: &734 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217685,7 +218188,7 @@ webhooks: - string - 'null' format: uri - repository: *679 + repository: *684 sender: *4 required: - action @@ -217761,11 +218264,11 @@ webhooks: type: string enum: - released - enterprise: *676 - installation: *677 - organization: *678 - release: *728 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *733 + repository: *684 sender: *4 required: - action @@ -217841,11 +218344,11 @@ webhooks: type: string enum: - unpublished - enterprise: *676 - installation: *677 - organization: *678 - release: *729 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + release: *734 + repository: *684 sender: *4 required: - action @@ -217921,11 +218424,11 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_advisory: *595 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_advisory: *600 sender: *4 required: - action @@ -218001,11 +218504,11 @@ webhooks: type: string enum: - reported - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_advisory: *595 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_advisory: *600 sender: *4 required: - action @@ -218081,10 +218584,10 @@ webhooks: type: string enum: - archived - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218161,10 +218664,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218242,10 +218745,10 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218330,10 +218833,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218448,10 +218951,10 @@ webhooks: - 'null' items: type: string - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218523,10 +219026,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 status: type: string @@ -218607,10 +219110,10 @@ webhooks: type: string enum: - privatized - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218687,10 +219190,10 @@ webhooks: type: string enum: - publicized - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218784,10 +219287,10 @@ webhooks: - name required: - repository - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -218867,11 +219370,11 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 sender: *4 required: - action @@ -218949,11 +219452,11 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 sender: *4 required: - action @@ -219031,11 +219534,11 @@ webhooks: type: string enum: - edited - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - repository_ruleset: *268 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + repository_ruleset: *272 changes: type: object properties: @@ -219054,16 +219557,16 @@ webhooks: properties: added: type: array - items: *243 + items: *247 deleted: type: array - items: *243 + items: *247 updated: type: array items: type: object properties: - condition: *243 + condition: *247 changes: type: object properties: @@ -219096,16 +219599,16 @@ webhooks: properties: added: type: array - items: *560 + items: *565 deleted: type: array - items: *560 + items: *565 updated: type: array items: type: object properties: - rule: *560 + rule: *565 changes: type: object properties: @@ -219342,10 +219845,10 @@ webhooks: - from required: - owner - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219423,10 +219926,10 @@ webhooks: type: string enum: - unarchived - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219504,7 +220007,7 @@ webhooks: type: string enum: - create - alert: &730 + alert: &735 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219628,10 +220131,10 @@ webhooks: type: string enum: - open - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219841,10 +220344,10 @@ webhooks: type: string enum: - dismissed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -219922,11 +220425,11 @@ webhooks: type: string enum: - reopen - alert: *730 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *735 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220128,10 +220631,10 @@ webhooks: enum: - fixed - open - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220209,7 +220712,7 @@ webhooks: type: string enum: - created - alert: &731 + alert: &736 type: object properties: number: *52 @@ -220319,10 +220822,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220403,11 +220906,11 @@ webhooks: type: string enum: - created - alert: *731 - installation: *677 - location: *732 - organization: *678 - repository: *679 + alert: *736 + installation: *682 + location: *737 + organization: *683 + repository: *684 sender: *4 required: - location @@ -220645,11 +221148,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220727,11 +221230,11 @@ webhooks: type: string enum: - reopened - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220809,11 +221312,11 @@ webhooks: type: string enum: - resolved - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -220891,11 +221394,11 @@ webhooks: type: string enum: - validated - alert: *731 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + alert: *736 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -221025,10 +221528,10 @@ webhooks: - organization - enterprise - - repository: *679 - enterprise: *676 - installation: *677 - organization: *678 + repository: *684 + enterprise: *681 + installation: *682 + organization: *683 sender: *4 required: - action @@ -221106,11 +221609,11 @@ webhooks: type: string enum: - published - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - security_advisory: &733 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + security_advisory: &738 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221296,11 +221799,11 @@ webhooks: type: string enum: - updated - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 - security_advisory: *733 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 + security_advisory: *738 sender: *4 required: - action @@ -221373,10 +221876,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221562,11 +222065,11 @@ webhooks: from: type: object properties: - security_and_analysis: *242 - enterprise: *676 - installation: *677 - organization: *678 - repository: *314 + security_and_analysis: *246 + enterprise: *681 + installation: *682 + organization: *683 + repository: *318 sender: *4 required: - changes @@ -221644,12 +222147,12 @@ webhooks: type: string enum: - cancelled - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: &734 + sponsorship: &739 type: object properties: created_at: @@ -221954,12 +222457,12 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - sponsorship @@ -222047,12 +222550,12 @@ webhooks: type: string required: - from - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222129,17 +222632,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &735 + effective_date: &740 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: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - sponsorship @@ -222213,7 +222716,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &736 + changes: &741 type: object properties: tier: @@ -222257,13 +222760,13 @@ webhooks: - from required: - tier - effective_date: *735 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + effective_date: *740 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222340,13 +222843,13 @@ webhooks: type: string enum: - tier_changed - changes: *736 - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + changes: *741 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - sponsorship: *734 + sponsorship: *739 required: - action - changes @@ -222420,10 +222923,10 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222507,10 +223010,10 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222944,15 +223447,15 @@ webhooks: type: - string - 'null' - enterprise: *676 + enterprise: *681 id: description: The unique identifier of the status. type: integer - installation: *677 + installation: *682 name: type: string - organization: *678 - repository: *679 + organization: *683 + repository: *684 sender: *4 sha: description: The Commit SHA. @@ -223062,15 +223565,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *59 + parent_issue: *81 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - installation: *677 - organization: *678 - repository: *679 + sub_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223154,15 +223657,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - parent_issue_repo: *59 + parent_issue: *81 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - installation: *677 - organization: *678 - repository: *679 + sub_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223246,15 +223749,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *59 + sub_issue: *81 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - installation: *677 - organization: *678 - repository: *679 + parent_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223338,15 +223841,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *74 - sub_issue_repo: *59 + sub_issue: *81 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *74 - installation: *677 - organization: *678 - repository: *679 + parent_issue: *81 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -223423,12 +223926,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - team: &737 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223621,9 +224124,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -224093,7 +224596,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -224169,9 +224672,9 @@ webhooks: type: string enum: - created - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -224641,7 +225144,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -224718,9 +225221,9 @@ webhooks: type: string enum: - deleted - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -225190,7 +225693,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -225334,9 +225837,9 @@ webhooks: - from required: - permissions - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -225806,7 +226309,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - changes @@ -225884,9 +226387,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *676 - installation: *677 - organization: *678 + enterprise: *681 + installation: *682 + organization: *683 repository: title: Repository description: A git repository @@ -226356,7 +226859,7 @@ webhooks: - topics - visibility sender: *4 - team: *737 + team: *742 required: - action - team @@ -226432,10 +226935,10 @@ webhooks: type: string enum: - started - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 required: - action @@ -226508,17 +227011,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *676 + enterprise: *681 inputs: type: - object - 'null' additionalProperties: true - installation: *677 - organization: *678 + installation: *682 + organization: *683 ref: type: string - repository: *679 + repository: *684 sender: *4 workflow: type: string @@ -226600,10 +227103,10 @@ webhooks: type: string enum: - completed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: allOf: @@ -226859,7 +227362,7 @@ webhooks: type: string required: - conclusion - deployment: *459 + deployment: *463 required: - action - repository @@ -226938,10 +227441,10 @@ webhooks: type: string enum: - in_progress - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: allOf: @@ -227223,7 +227726,7 @@ webhooks: required: - status - steps - deployment: *459 + deployment: *463 required: - action - repository @@ -227302,10 +227805,10 @@ webhooks: type: string enum: - queued - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: type: object @@ -227451,7 +227954,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *459 + deployment: *463 required: - action - repository @@ -227530,10 +228033,10 @@ webhooks: type: string enum: - waiting - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 workflow_job: type: object @@ -227680,7 +228183,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *459 + deployment: *463 required: - action - repository @@ -227760,12 +228263,12 @@ webhooks: type: string enum: - completed - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Workflow Run type: object @@ -228784,12 +229287,12 @@ webhooks: type: string enum: - in_progress - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 workflow_run: title: Workflow Run type: object @@ -229793,12 +230296,12 @@ webhooks: type: string enum: - requested - enterprise: *676 - installation: *677 - organization: *678 - repository: *679 + enterprise: *681 + installation: *682 + organization: *683 + repository: *684 sender: *4 - workflow: *691 + workflow: *696 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 fbeeaff94b..8ddc4e5948 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -184,6 +184,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -18771,6 +18775,314 @@ } } }, + "/enterprises/{enterprise}/access-restrictions/disable": { + "post": { + "summary": "Disable access restrictions for an enterprise", + "description": "Disable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/disable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully disabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/access-restrictions/enable": { + "post": { + "summary": "Enable access restrictions for an enterprise", + "description": "Enable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/enable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully enabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, "/enterprises/{enterprise}/actions/cache/usage": { "get": { "summary": "Get GitHub Actions cache usage for an enterprise", @@ -42775,6 +43087,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -42782,7 +43095,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -42799,6 +43112,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -42830,7 +43144,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -47244,6 +47559,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -47251,7 +47567,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -47268,6 +47584,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -47299,7 +47616,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -52413,6 +52731,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -53803,6 +54150,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -56526,6 +56902,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -62983,34 +63388,2277 @@ } } }, - "403": { - "description": "Forbidden", + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", "type": "object", "properties": { - "message": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { "type": "string" }, - "documentation_url": { + "description": { "type": "string" }, - "url": { + "slug": { "type": "string" }, - "status": { + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -63034,9 +65682,52 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "422": { - "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -63063,10 +65754,10 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" } } }, @@ -117044,13 +119735,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -134661,6 +137358,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -134668,7 +137366,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -134685,6 +137383,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -134716,7 +137415,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -167745,6 +170445,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -167752,7 +170453,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -167769,6 +170470,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -167800,7 +170502,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -203592,7 +206295,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -203819,7 +206522,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -204199,7 +206902,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -204416,7 +207119,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -204734,7 +207437,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -213147,6 +215850,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -215655,6 +218387,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -217612,6 +220373,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -220141,6 +222931,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -577304,6 +580123,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -578666,6 +581540,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -579742,6 +582645,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -581031,6 +583963,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -583007,6 +585968,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -584098,6 +587088,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -585383,6 +588402,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1446745,6 +1449793,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1449972,6 +1453049,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1453199,6 +1456305,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1454199,6 +1457334,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1455027,6 +1458191,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1455858,6 +1459051,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, 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 b06756d63e..7e87801889 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -97,6 +97,8 @@ tags: description: Endpoints to manage DSR operations. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -444,7 +446,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &96 + - &97 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -453,7 +455,7 @@ paths: required: false schema: type: string - - &97 + - &98 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -462,7 +464,7 @@ paths: required: false schema: type: string - - &98 + - &99 name: direction description: The direction to sort the results by. in: query @@ -701,7 +703,7 @@ paths: required: - vector_string - score - cvss_severities: &110 + cvss_severities: &111 type: - object - 'null' @@ -748,7 +750,7 @@ paths: required: - vector_string - score - epss: &111 + epss: &112 type: - object - 'null' @@ -911,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &386 + type: &391 type: string description: The type of credit the user is receiving. enum: @@ -1044,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &210 + schema: &218 title: Validation Error Simple description: Validation Error Simple type: object @@ -1077,7 +1079,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: - - &702 + - &708 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1662,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &297 + - &304 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 @@ -1678,7 +1680,7 @@ paths: application/json: schema: type: array - items: &298 + items: &305 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1774,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &299 + default: &306 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1806,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &712 + schema: &718 title: Scim Error description: Scim Error type: object @@ -1837,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &209 + schema: &217 title: Validation Error description: Validation Error type: object @@ -1909,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &307 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2044,7 +2046,7 @@ paths: - request - response examples: - default: &301 + default: &308 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2248,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &175 + - &183 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2814,7 +2816,7 @@ paths: suspended_at: suspended_by: headers: - Link: &38 + Link: &41 example: ; rel="next", ; rel="last" schema: @@ -2855,7 +2857,7 @@ paths: application/json: schema: *20 examples: - default: &75 + default: &77 value: id: 1 account: @@ -3006,7 +3008,7 @@ paths: - selected repositories: type: array - items: &65 + items: &67 title: Repository description: A repository on GitHub. type: object @@ -3033,7 +3035,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &194 title: License Simple description: License Simple type: object @@ -5411,7 +5413,7 @@ paths: responses: '202': *37 '422': *7 - '500': &89 + '500': &38 description: Internal Error content: application/json: @@ -7669,6 +7671,98 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: admin-stats + "/enterprises/{enterprise}/access-restrictions/disable": + post: + summary: Disable access restrictions for an enterprise + description: Disable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/disable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise + parameters: + - &39 + name: enterprise + description: The slug version of the enterprise name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &40 + type: object + title: Enterprise Access Restrictions + description: Information about the enterprise access restrictions + proxy header. + properties: + message: + type: string + description: The message returned for the request. + header_name: + type: string + description: The name of the proxy header. + examples: + - sec-GitHub-allowed-enterprise + header_value: + type: string + description: The value of the proxy header. + required: + - message + - header_name + - header_value + examples: + default: + value: + message: Enterprise access restrictions successfully disabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *27 + '404': *6 + '500': *38 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises + "/enterprises/{enterprise}/access-restrictions/enable": + post: + summary: Enable access restrictions for an enterprise + description: Enable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/enable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: *40 + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *27 + '404': *6 + '500': *38 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises "/enterprises/{enterprise}/actions/cache/usage": get: summary: Get GitHub Actions cache usage for an enterprise @@ -7684,19 +7778,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise parameters: - - &39 - name: enterprise - description: The slug version of the enterprise name. - in: path - required: true - schema: - type: string + - *39 responses: '200': description: Response content: application/json: - schema: &211 + schema: &219 type: object properties: total_active_caches_count: @@ -7711,12 +7799,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &212 + default: &220 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7754,7 +7842,7 @@ paths: type: integer runners: type: array - items: &40 + items: &42 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7811,7 +7899,7 @@ paths: - size_gb - display_name - source - machine_size_details: &43 + machine_size_details: &45 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7916,7 +8004,7 @@ paths: - public_ip_enabled - platform examples: - default: &213 + default: &221 value: total_count: 2 runners: @@ -7958,7 +8046,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8044,9 +8132,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: &44 + default: &46 value: id: 5 name: My hosted ubuntu runner @@ -8101,7 +8189,7 @@ paths: type: integer images: type: array - items: &41 + items: &43 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8141,7 +8229,7 @@ paths: - display_name - source examples: - default: &42 + default: &44 value: id: ubuntu-20.04 platform: linux-x64 @@ -8181,9 +8269,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8206,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &222 type: object properties: public_ips: @@ -8233,7 +8321,7 @@ paths: required: - public_ips examples: - default: &215 + default: &223 value: public_ips: current_usage: 17 @@ -8271,9 +8359,9 @@ paths: type: integer machine_specs: type: array - items: *43 + items: *45 examples: - default: &216 + default: &224 value: id: 4-core cpu_cores: 4 @@ -8341,7 +8429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - &45 + - &47 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8353,11 +8441,11 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8376,7 +8464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *45 + - *47 requestBody: required: true content: @@ -8414,9 +8502,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8433,15 +8521,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *45 + - *47 responses: '202': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8510,7 +8598,7 @@ paths: schema: type: object properties: - enabled_organizations: &46 + enabled_organizations: &48 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8523,7 +8611,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &47 + allowed_actions: &49 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8531,12 +8619,12 @@ paths: - all - local_only - selected - selected_actions_url: &219 + selected_actions_url: &227 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &48 + sha_pinning_required: &50 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8578,9 +8666,9 @@ paths: schema: type: object properties: - enabled_organizations: *46 - allowed_actions: *47 - sha_pinning_required: *48 + enabled_organizations: *48 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled_organizations examples: @@ -8611,7 +8699,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &221 + schema: &229 type: object properties: days: @@ -8629,7 +8717,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &713 + '401': &719 description: Authorization failure '404': *6 x-github: @@ -8657,7 +8745,7 @@ paths: required: true content: application/json: - schema: &222 + schema: &230 type: object properties: days: @@ -8692,7 +8780,7 @@ paths: description: Response content: application/json: - schema: &49 + schema: &51 type: object properties: approval_policy: @@ -8706,7 +8794,7 @@ paths: required: - approval_policy examples: - default: &223 + default: &231 value: approval_policy: first_time_contributors '404': *6 @@ -8735,7 +8823,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -8764,7 +8852,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &232 type: object required: - run_workflows_from_fork_pull_requests @@ -8790,7 +8878,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &50 + default: &52 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8818,7 +8906,7 @@ paths: required: true content: application/json: - schema: &225 + schema: &233 type: object required: - run_workflows_from_fork_pull_requests @@ -8841,7 +8929,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -8881,7 +8969,7 @@ paths: type: number organizations: type: array - items: &60 + items: &62 title: Organization Simple description: A GitHub organization. type: object @@ -8956,7 +9044,7 @@ paths: - total_count - organizations examples: - default: &61 + default: &63 value: total_count: 1 organizations: @@ -9035,7 +9123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - &51 + - &53 name: org_id description: The unique identifier of the organization. in: path @@ -9064,7 +9152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - *51 + - *53 responses: '204': description: Response @@ -9093,7 +9181,7 @@ paths: description: Response content: application/json: - schema: &52 + schema: &54 type: object properties: github_owned_allowed: @@ -9114,7 +9202,7 @@ paths: items: type: string examples: - default: &53 + default: &55 value: github_owned_allowed: true verified_allowed: false @@ -9147,9 +9235,9 @@ paths: required: true content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9254,17 +9342,17 @@ paths: description: Success response content: application/json: - schema: &228 + schema: &236 type: object properties: - default_workflow_permissions: &54 + default_workflow_permissions: &56 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &55 + can_approve_pull_request_reviews: &57 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9272,7 +9360,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &56 + default: &58 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9302,13 +9390,13 @@ paths: required: true content: application/json: - schema: &229 + schema: &237 type: object properties: - default_workflow_permissions: *54 - can_approve_pull_request_reviews: *55 + default_workflow_permissions: *56 + can_approve_pull_request_reviews: *57 examples: - default: *56 + default: *58 responses: '204': description: Success response @@ -9353,7 +9441,7 @@ paths: type: number runner_groups: type: array - items: &57 + items: &59 type: object properties: id: @@ -9534,9 +9622,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: &58 + default: &60 value: id: 2 name: octo-runner-group @@ -9571,7 +9659,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - &59 + - &61 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9583,9 +9671,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 + default: *60 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9605,7 +9693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: false content: @@ -9659,7 +9747,7 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: default: value: @@ -9695,7 +9783,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - *39 - - *59 + - *61 responses: '204': description: Response @@ -9719,7 +9807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 + - *61 - *17 - *19 responses: @@ -9734,12 +9822,12 @@ paths: type: number organizations: type: array - items: *60 + items: *62 required: - total_count - organizations examples: - default: *61 + default: *63 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9759,7 +9847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: true content: @@ -9805,8 +9893,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 - - *51 + - *61 + - *53 responses: '204': description: Response @@ -9829,8 +9917,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 - - *51 + - *61 + - *53 responses: '204': description: Response @@ -9854,7 +9942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *59 + - *61 - *17 - *19 responses: @@ -9869,7 +9957,7 @@ paths: type: number runners: type: array - items: &63 + items: &65 title: Self hosted runners description: A self hosted runner type: object @@ -9903,7 +9991,7 @@ paths: type: boolean labels: type: array - items: &67 + items: &69 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9936,7 +10024,7 @@ paths: - total_count - runners examples: - default: &64 + default: &66 value: total_count: 2 runners: @@ -9976,7 +10064,7 @@ paths: name: no-gpu type: custom headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9996,7 +10084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: true content: @@ -10041,8 +10129,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - *39 - - *59 - - &62 + - *61 + - &64 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -10071,8 +10159,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - *39 - - *59 - - *62 + - *61 + - *64 responses: '204': description: Response @@ -10115,11 +10203,11 @@ paths: type: number runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -10147,7 +10235,7 @@ paths: application/json: schema: type: array - items: &233 + items: &241 title: Runner Application description: Runner Application type: object @@ -10172,7 +10260,7 @@ paths: - download_url - filename examples: - default: &234 + default: &242 value: - os: osx architecture: x64 @@ -10256,7 +10344,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &235 + '201': &243 description: Response content: application/json: @@ -10266,7 +10354,7 @@ paths: - runner - encoded_jit_config properties: - runner: *63 + runner: *65 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10295,7 +10383,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &106 + '409': &107 description: Conflict content: application/json: @@ -10333,7 +10421,7 @@ paths: description: Response content: application/json: - schema: &66 + schema: &68 title: Authentication Token description: Authentication Token type: object @@ -10357,7 +10445,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *65 + items: *67 single_file: type: - string @@ -10375,7 +10463,7 @@ paths: - token - expires_at examples: - default: &236 + default: &244 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10413,9 +10501,9 @@ paths: description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: &237 + default: &245 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10439,15 +10527,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: &238 + default: &246 value: id: 23 name: MBP @@ -10487,7 +10575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *39 - - *62 + - *64 responses: '204': description: Response @@ -10512,9 +10600,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: - '200': &68 + '200': &70 description: Response content: application/json: @@ -10528,7 +10616,7 @@ paths: type: integer labels: type: array - items: *67 + items: *69 examples: default: value: @@ -10566,7 +10654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 requestBody: required: true content: @@ -10590,7 +10678,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10613,7 +10701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 requestBody: required: true content: @@ -10638,7 +10726,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10661,9 +10749,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: - '200': &239 + '200': &247 description: Response content: application/json: @@ -10677,7 +10765,7 @@ paths: type: integer labels: type: array - items: *67 + items: *69 examples: default: value: @@ -10718,8 +10806,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 - - &240 + - *64 + - &248 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10727,7 +10815,7 @@ paths: schema: type: string responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10752,13 +10840,13 @@ paths: description: Response content: application/json: - schema: &73 + schema: &75 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &69 + announcement: &71 type: - string - 'null' @@ -10767,7 +10855,7 @@ paths: writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." examples: - Very **important** announcement about _something_. - expires_at: &70 + expires_at: &72 type: - string - 'null' @@ -10779,7 +10867,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &71 + user_dismissible: &73 type: - boolean - 'null' @@ -10792,7 +10880,7 @@ paths: - expires_at - user_dismissible examples: - default: &72 + default: &74 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10816,18 +10904,18 @@ paths: required: true content: application/json: - schema: &247 + schema: &255 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *69 - expires_at: *70 - user_dismissible: *71 + announcement: *71 + expires_at: *72 + user_dismissible: *73 required: - announcement examples: - default: *72 + default: *74 parameters: - *39 responses: @@ -10835,9 +10923,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10936,7 +11024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *39 - - &74 + - &76 name: org description: The organization name. The name is not case sensitive. in: path @@ -10953,7 +11041,7 @@ paths: application/json: schema: type: array - items: &76 + items: &78 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -11007,7 +11095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 - *17 - *19 responses: @@ -11106,7 +11194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 responses: '200': description: A GitHub App installation that was installed previously. @@ -11114,14 +11202,14 @@ paths: application/json: schema: *20 examples: - default: *75 + default: *77 '201': description: A GitHub App installation. content: application/json: schema: *20 examples: - default: *75 + default: *77 requestBody: required: true content: @@ -11189,7 +11277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 - *21 responses: '204': @@ -11217,7 +11305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - *39 - - *74 + - *76 - *21 - *17 - *19 @@ -11229,7 +11317,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11258,7 +11346,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - *39 - - *74 + - *76 - *21 requestBody: required: true @@ -11298,7 +11386,7 @@ paths: application/json: schema: *20 examples: - default: *75 + default: *77 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11319,7 +11407,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *39 - - *74 + - *76 - *21 responses: '200': @@ -11329,7 +11417,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11380,7 +11468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *39 - - *74 + - *76 - *21 responses: '200': @@ -11390,7 +11478,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11467,7 +11555,7 @@ paths: required: false schema: type: string - - &248 + - &256 name: include description: |- The event types to include: @@ -11485,7 +11573,7 @@ paths: - web - git - all - - &249 + - &257 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. @@ -11493,7 +11581,7 @@ paths: required: false schema: type: string - - &250 + - &258 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. @@ -11501,7 +11589,7 @@ paths: required: false schema: type: string - - &251 + - &259 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11523,7 +11611,7 @@ paths: application/json: schema: type: array - items: &252 + items: &260 type: object properties: "@timestamp": @@ -11645,7 +11733,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &253 + default: &261 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11825,7 +11913,7 @@ paths: vendor_specific: type: object oneOf: - - &80 + - &82 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11844,7 +11932,7 @@ paths: - key_id - encrypted_sas_url - container - - &81 + - &83 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11863,7 +11951,7 @@ paths: - name - encrypted_connstring - key_id - - &82 + - &84 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11891,7 +11979,7 @@ paths: - bucket - key_id - region - - &83 + - &85 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11925,7 +12013,7 @@ paths: - encrypted_secret_key - key_id - region - - &84 + - &86 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11953,7 +12041,7 @@ paths: - key_id - port - ssl_verify - - &85 + - &87 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11985,7 +12073,7 @@ paths: - key_id - port - ssl_verify - - &86 + - &88 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -12003,7 +12091,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &87 + - &89 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -12034,7 +12122,7 @@ paths: - stream_type - vendor_specific examples: - default: &88 + default: &90 value: enabled: false stream_type: Azure Event Hubs @@ -12048,7 +12136,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &77 + schema: &79 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -12080,7 +12168,7 @@ paths: - created_at - updated_at examples: - default: &78 + default: &80 value: id: 1 stream_type: Splunk @@ -12109,7 +12197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *39 - - &79 + - &81 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -12121,9 +12209,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *77 + schema: *79 examples: - default: *78 + default: *80 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -12143,7 +12231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *39 - - *79 + - *81 requestBody: required: true content: @@ -12169,28 +12257,28 @@ paths: vendor_specific: type: object oneOf: - - *80 - - *81 - *82 - *83 - *84 - *85 - *86 - *87 + - *88 + - *89 required: - enabled - stream_type - vendor_specific examples: - default: *88 + default: *90 responses: '200': description: Successful update content: application/json: - schema: *77 + schema: *79 examples: - default: *78 + default: *80 '422': description: Validation error content: @@ -12221,7 +12309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *39 - - *79 + - *81 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -12248,13 +12336,13 @@ paths: subcategory: bypass-requests parameters: - *39 - - &90 + - &91 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &91 + - &92 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -12262,7 +12350,7 @@ paths: required: false schema: type: string - - &92 + - &93 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -12270,7 +12358,7 @@ paths: required: false schema: type: string - - &93 + - &94 name: time_period description: |- The time period to filter by. @@ -12286,7 +12374,7 @@ paths: - week - month default: day - - &94 + - &95 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12313,7 +12401,7 @@ paths: application/json: schema: type: array - items: &255 + items: &262 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12439,7 +12527,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &95 + items: &96 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12485,7 +12573,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &256 + default: &263 value: - id: 21 number: 42 @@ -12554,7 +12642,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *89 + '500': *38 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -12576,11 +12664,11 @@ paths: subcategory: delegated-bypass parameters: - *39 - - *90 - *91 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -12590,7 +12678,7 @@ paths: application/json: schema: type: array - items: &258 + items: &265 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12708,7 +12796,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *95 + items: *96 url: type: string format: uri @@ -12721,7 +12809,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &259 + default: &266 value: - id: 21 number: 42 @@ -12788,7 +12876,7 @@ paths: 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': *6 - '500': *89 + '500': *38 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12806,17 +12894,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &264 + - &271 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: &99 + schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &265 + - &272 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 @@ -12824,23 +12912,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &100 + schema: &101 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *96 - *97 + - *98 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &266 + schema: &273 type: string description: State of a code scanning alert. enum: @@ -12865,42 +12953,42 @@ paths: application/json: schema: type: array - items: &267 + items: &274 type: object properties: - number: &108 + number: &109 type: integer description: The security alert number. readOnly: true - created_at: &115 + created_at: &116 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &116 + updated_at: &117 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &113 + url: &114 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &114 + html_url: &115 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &499 + instances_url: &504 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &101 + state: &102 type: - string - 'null' @@ -12910,7 +12998,7 @@ paths: - dismissed - fixed - - fixed_at: &118 + fixed_at: &119 type: - string - 'null' @@ -12922,7 +13010,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &117 + dismissed_at: &118 type: - string - 'null' @@ -12930,7 +13018,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &500 + dismissed_reason: &505 type: - string - 'null' @@ -12941,14 +13029,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &501 + dismissed_comment: &506 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &502 + rule: &507 type: object properties: id: @@ -13009,26 +13097,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &503 + tool: &508 type: object properties: - name: *99 + name: *100 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *100 - most_recent_instance: &504 + guid: *101 + most_recent_instance: &509 type: object properties: - ref: &497 + ref: &502 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &514 + analysis_key: &519 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13039,13 +13127,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &515 + category: &520 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: *101 + state: *102 commit_sha: type: string message: @@ -13086,7 +13174,7 @@ paths: - test - library - - repository: &107 + repository: &108 title: Simple Repository description: A GitHub repository. type: object @@ -13427,7 +13515,7 @@ paths: - most_recent_instance - repository examples: - default: &268 + default: &275 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13656,9 +13744,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *38 + Link: *41 '404': *6 - '503': &162 + '503': &163 description: Service unavailable content: application/json: @@ -13702,8 +13790,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 responses: '200': description: Response @@ -13711,7 +13799,7 @@ paths: application/json: schema: type: array - items: &102 + items: &103 type: object description: A code security configuration properties: @@ -14086,7 +14174,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &269 + code_scanning_options: &276 type: - object - 'null' @@ -14105,7 +14193,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &105 + code_scanning_default_setup_options: &106 type: - object - 'null' @@ -14224,9 +14312,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *102 + schema: *103 examples: - default: &103 + default: &104 value: id: 1325 target_type: enterprise @@ -14284,7 +14372,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &278 type: array description: A list of default code security configurations items: @@ -14298,9 +14386,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *102 + configuration: *103 examples: - default: &272 + default: &279 value: - default_for_new_repos: public configuration: @@ -14389,7 +14477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *39 - - &104 + - &105 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14401,9 +14489,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *103 + default: *104 '304': *35 '403': *27 '404': *6 @@ -14428,7 +14516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14507,7 +14595,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14595,13 +14683,13 @@ paths: description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *103 + default: *104 '304': *35 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14625,14 +14713,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *39 - - *104 + - *105 responses: - '204': &128 + '204': &129 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14657,7 +14745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14684,7 +14772,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14709,7 +14797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14749,12 +14837,12 @@ paths: - none - private_and_internal - public - configuration: *102 + configuration: *103 examples: default: value: default_for_new_repos: all - configuration: &270 + configuration: &277 value: id: 1325 target_type: organization @@ -14811,7 +14899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *39 - - *104 + - *105 - 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)." @@ -14820,8 +14908,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14839,7 +14927,7 @@ paths: application/json: schema: type: array - items: &273 + items: &280 type: object description: Repositories associated with a code security configuration and attachment status @@ -14857,13 +14945,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *107 + repository: *108 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &274 + repository: &281 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15289,7 +15377,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15346,7 +15434,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &119 + items: &120 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15359,12 +15447,12 @@ paths: organization: anyOf: - type: 'null' - - *60 + - *62 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &260 + - &267 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15423,7 +15511,7 @@ paths: parent: anyOf: - type: 'null' - - &334 + - &339 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15521,7 +15609,8 @@ paths: - repositories_url - slug - parent - - title: Enterprise Team + - &172 + title: Enterprise Team description: Group of enterprise owners and/or members type: object properties: @@ -15539,12 +15628,14 @@ paths: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' examples: - disabled | all organization_selection_type: type: string examples: - - disabled | all + - disabled | selected | all group_id: type: - string @@ -15555,6 +15646,8 @@ paths: type: - string - 'null' + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' examples: - Justice League html_url: @@ -15579,6 +15672,7 @@ paths: - slug - created_at - updated_at + - group_id type: - 'null' - object @@ -15638,7 +15732,7 @@ paths: - created_at additionalProperties: false examples: - default: &120 + default: &121 value: total_seats: 2 seats: @@ -15708,8 +15802,8 @@ paths: type: User site_admin: false headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15781,7 +15875,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15870,7 +15964,7 @@ paths: response: value: message: Status for delete command - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15946,7 +16040,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -16023,7 +16117,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -16090,7 +16184,7 @@ paths: application/json: schema: type: array - items: &168 + items: &169 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16405,7 +16499,7 @@ paths: - date additionalProperties: true examples: - default: &169 + default: &170 value: - date: '2024-06-24' total_active_users: 24 @@ -16504,10 +16598,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *89 + '500': *38 '403': *27 '404': *6 - '422': &170 + '422': &171 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16537,7 +16631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &281 + - &288 name: state in: query description: |- @@ -16546,7 +16640,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &282 + - &289 name: severity in: query description: |- @@ -16555,7 +16649,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &283 + - &290 name: ecosystem in: query description: |- @@ -16564,14 +16658,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &284 + - &291 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 - - &285 + - &292 name: epss_percentage in: query description: |- @@ -16583,7 +16677,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 - - &286 + - &293 name: has in: query description: |- @@ -16597,7 +16691,7 @@ paths: type: string enum: - patch - - &287 + - &294 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16607,7 +16701,7 @@ paths: enum: - development - runtime - - &288 + - &295 name: sort in: query description: |- @@ -16622,10 +16716,10 @@ paths: - updated - epss_percentage default: created - - *98 - - *96 + - *99 - *97 - - &289 + - *98 + - &296 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16638,7 +16732,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &290 + - &297 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16658,11 +16752,11 @@ paths: application/json: schema: type: array - items: &291 + items: &298 type: object description: A Dependabot alert. properties: - number: *108 + number: *109 state: type: string description: The state of the Dependabot alert. @@ -16677,7 +16771,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &109 + package: &110 type: object description: Details for the vulnerable package. readOnly: true @@ -16725,7 +16819,7 @@ paths: - direct - transitive - - security_advisory: &550 + security_advisory: &555 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16756,13 +16850,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &112 + items: &113 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *109 + package: *110 severity: type: string description: The severity of the vulnerability. @@ -16830,8 +16924,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *110 - epss: *111 + cvss_severities: *111 + epss: *112 cwes: type: array description: Details for the advisory pertaining to Common @@ -16931,12 +17025,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *112 - url: *113 - html_url: *114 - created_at: *115 - updated_at: *116 - dismissed_at: *117 + security_vulnerability: *113 + url: *114 + html_url: *115 + created_at: *116 + updated_at: *117 + dismissed_at: *118 dismissed_by: anyOf: - type: 'null' @@ -16960,8 +17054,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *118 - auto_dismissed_at: &551 + fixed_at: *119 + auto_dismissed_at: &556 type: - string - 'null' @@ -16969,7 +17063,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *107 + repository: *108 required: - number - state @@ -16988,7 +17082,7 @@ paths: - repository additionalProperties: false examples: - default: &292 + default: &299 value: - number: 2 state: dismissed @@ -17405,7 +17499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &254 + - &176 name: username description: The handle for the GitHub user account. in: path @@ -17427,10 +17521,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *119 + items: *120 examples: - default: *120 - '500': *89 + default: *121 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -17472,7 +17566,7 @@ paths: type: integer network_configurations: type: array - items: &121 + items: &122 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17517,7 +17611,7 @@ paths: - name - created_on examples: - default: &396 + default: &401 value: total_count: 2 network_configurations: @@ -17536,7 +17630,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17595,9 +17689,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: &122 + default: &123 value: id: 123456789ABCDEF name: My network configuration @@ -17624,7 +17718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &123 + - &124 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17636,11 +17730,11 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17658,7 +17752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *123 + - *124 requestBody: required: true content: @@ -17697,9 +17791,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17717,7 +17811,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *123 + - *124 responses: '204': description: Response @@ -17740,7 +17834,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: - *39 - - &397 + - &402 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17752,7 +17846,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &403 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17791,7 +17885,7 @@ paths: - subnet_id - region examples: - default: &399 + default: &404 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17799,7 +17893,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17826,7 +17920,7 @@ paths: application/json: schema: type: array - items: &124 + items: &125 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17902,7 +17996,7 @@ paths: - property_name - value_type examples: - default: &125 + default: &126 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17959,7 +18053,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *124 + items: *125 minItems: 1 maxItems: 100 required: @@ -17989,9 +18083,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -18014,8 +18108,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - *74 - - &126 + - *76 + - &127 name: custom_property_name description: The custom property name in: path @@ -18027,9 +18121,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: &127 + default: &128 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18062,15 +18156,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 responses: '200': description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -18092,12 +18186,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 requestBody: required: true content: application/json: - schema: &364 + schema: &369 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18170,9 +18264,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -18194,9 +18288,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 responses: - '204': *128 + '204': *129 '403': *27 '404': *6 x-github: @@ -18236,7 +18330,7 @@ paths: - push - repository default: branch - enforcement: &135 + enforcement: &136 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18249,7 +18343,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &136 + items: &137 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18291,7 +18385,7 @@ paths: - pull_request - exempt default: always - conditions: &159 + conditions: &160 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18305,7 +18399,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &129 + - &130 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18331,7 +18425,7 @@ paths: type: string required: - organization_name - - &132 + - &133 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18360,7 +18454,7 @@ paths: is prevented. required: - repository_name - - &131 + - &132 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18388,8 +18482,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *129 - - &134 + - *130 + - &135 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18402,7 +18496,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &130 + items: &131 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18433,16 +18527,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *130 + items: *131 required: - repository_property - - *131 + - *132 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &133 + - &134 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18459,25 +18553,25 @@ paths: type: integer required: - organization_id + - *133 - *132 - - *131 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *133 - *134 - - *131 + - *135 + - *132 rules: type: array description: An array of rules within the ruleset. - items: &160 + items: &161 title: Repository Rule type: object description: A repository rule. oneOf: - - &137 + - &138 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18489,7 +18583,7 @@ paths: type: string enum: - creation - - &138 + - &139 title: update description: Only allow users with bypass permission to update matching refs. @@ -18510,7 +18604,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &139 + - &140 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18522,7 +18616,7 @@ paths: type: string enum: - deletion - - &140 + - &141 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18534,7 +18628,7 @@ paths: type: string enum: - required_linear_history - - &141 + - &142 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18558,7 +18652,7 @@ paths: type: string required: - required_deployment_environments - - &142 + - &143 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18570,7 +18664,7 @@ paths: type: string enum: - required_signatures - - &143 + - &144 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. @@ -18630,7 +18724,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &144 + - &145 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18677,7 +18771,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &145 + - &146 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18689,7 +18783,7 @@ paths: type: string enum: - non_fast_forward - - &146 + - &147 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18725,7 +18819,7 @@ paths: required: - operator - pattern - - &147 + - &148 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18761,7 +18855,7 @@ paths: required: - operator - pattern - - &148 + - &149 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18797,7 +18891,7 @@ paths: required: - operator - pattern - - &149 + - &150 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18833,7 +18927,7 @@ paths: required: - operator - pattern - - &150 + - &151 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18869,7 +18963,7 @@ paths: required: - operator - pattern - - &151 + - &152 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18893,7 +18987,7 @@ paths: type: string required: - restricted_file_paths - - &152 + - &153 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18917,7 +19011,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &153 + - &154 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18940,7 +19034,7 @@ paths: type: string required: - restricted_file_extensions - - &154 + - &155 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18964,7 +19058,7 @@ paths: maximum: 100 required: - max_file_size - - &155 + - &156 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19013,7 +19107,7 @@ paths: - repository_id required: - workflows - - &156 + - &157 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19099,7 +19193,7 @@ paths: description: Response content: application/json: - schema: &157 + schema: &158 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19134,11 +19228,11 @@ paths: source: type: string description: The name of the source - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 + items: *137 current_user_can_bypass: type: string description: |- @@ -19170,8 +19264,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *131 - - &369 + - *132 + - &374 title: Organization ruleset conditions type: object description: |- @@ -19185,14 +19279,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *131 - *132 + - *133 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *131 + - *132 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19214,23 +19308,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *131 - - *134 + - *132 + - *135 type: - 'null' - object rules: type: array - items: &668 + items: &674 title: Repository Rule type: object description: A repository rule. oneOf: - - *137 - *138 - *139 - *140 - - &666 + - *141 + - &671 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19308,7 +19402,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *141 - *142 - *143 - *144 @@ -19324,6 +19417,30 @@ paths: - *154 - *155 - *156 + - *157 + - &672 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull + requests before they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new + push to the pull request. created_at: type: string format: date-time @@ -19331,7 +19448,7 @@ paths: type: string format: date-time examples: - default: &158 + default: &159 value: id: 21 name: super cool ruleset @@ -19357,7 +19474,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19390,11 +19507,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19436,16 +19553,16 @@ paths: - tag - push - repository - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *159 + items: *137 + conditions: *160 rules: description: An array of rules within the ruleset. type: array - items: *160 + items: *161 examples: default: value: @@ -19469,11 +19586,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19500,7 +19617,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19533,7 +19650,7 @@ paths: application/json: schema: type: array - items: &161 + items: &162 title: Ruleset version type: object description: The historical version of a ruleset @@ -19557,7 +19674,7 @@ paths: type: string format: date-time examples: - default: &372 + default: &377 value: - version_id: 3 actor: @@ -19575,7 +19692,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19610,9 +19727,9 @@ paths: description: Response content: application/json: - schema: &373 + schema: &378 allOf: - - *161 + - *162 - type: object required: - state @@ -19645,7 +19762,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19665,7 +19782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &374 + - &379 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19676,7 +19793,7 @@ paths: enum: - open - resolved - - &375 + - &380 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19686,7 +19803,7 @@ paths: required: false schema: type: string - - &376 + - &381 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19695,7 +19812,7 @@ paths: required: false schema: type: string - - &377 + - &382 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. @@ -19707,11 +19824,11 @@ paths: - created - updated default: created - - *98 + - *99 - *17 - - *96 - *97 - - &378 + - *98 + - &383 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19720,7 +19837,7 @@ paths: required: false schema: type: string - - &379 + - &384 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19729,7 +19846,7 @@ paths: schema: type: boolean default: false - - &380 + - &385 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19738,7 +19855,7 @@ paths: schema: type: boolean default: false - - &381 + - &386 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19754,30 +19871,30 @@ paths: application/json: schema: type: array - items: &382 + items: &387 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &680 + state: &686 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: &681 + resolution: &687 type: - string - 'null' @@ -19811,7 +19928,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *107 + repository: *108 push_protection_bypassed: type: - boolean @@ -19884,14 +20001,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &682 + - &688 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &684 + - &690 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19948,7 +20065,7 @@ paths: - blob_url - commit_sha - commit_url - - &685 + - &691 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -20009,7 +20126,7 @@ paths: - page_url - commit_sha - commit_url - - &686 + - &692 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20024,7 +20141,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &687 + - &693 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20039,7 +20156,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &688 + - &694 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20054,7 +20171,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &689 + - &695 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20069,7 +20186,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &690 + - &696 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20084,7 +20201,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &691 + - &697 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20099,7 +20216,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &692 + - &698 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -20114,7 +20231,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &693 + - &699 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -20129,7 +20246,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &694 + - &700 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -20144,7 +20261,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &695 + - &701 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -20159,7 +20276,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &696 + - &702 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -20180,7 +20297,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &383 + default: &388 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20337,9 +20454,9 @@ paths: commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20370,13 +20487,13 @@ paths: description: Response content: application/json: - schema: &384 + schema: &389 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &164 + pattern_config_version: &165 type: - string - 'null' @@ -20386,7 +20503,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &163 + items: &164 type: object properties: token_type: @@ -20455,9 +20572,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *163 + items: *164 examples: - default: &385 + default: &390 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20512,7 +20629,7 @@ paths: schema: type: object properties: - pattern_config_version: *164 + pattern_config_version: *165 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20538,7 +20655,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *164 + custom_pattern_version: *165 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20574,7 +20691,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20601,7 +20718,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &392 type: object properties: total_minutes_used: @@ -20671,7 +20788,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &388 + default: &393 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20702,7 +20819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &389 + - &394 name: advanced_security_product in: query description: | @@ -20722,7 +20839,7 @@ paths: description: Success content: application/json: - schema: &390 + schema: &395 type: object properties: total_advanced_security_committers: @@ -20785,7 +20902,7 @@ paths: required: - repositories examples: - default: &391 + default: &396 value: total_advanced_security_committers: 2 total_count: 2 @@ -20895,8 +21012,8 @@ paths: name: Octocat '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21026,7 +21143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &167 + - &168 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21038,7 +21155,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &165 + schema: &166 type: object properties: id: @@ -21078,7 +21195,7 @@ paths: - name - resources examples: - default: &166 + default: &167 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21091,8 +21208,8 @@ paths: name: octocat/hello-world '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21142,15 +21259,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 '400': *14 '403': *27 '404': *6 - '409': *106 - '500': *89 - '503': *162 + '409': *107 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21168,7 +21285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *167 + - *168 responses: '200': description: Response when deleting a cost center @@ -21206,8 +21323,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21228,7 +21345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *167 + - *168 requestBody: required: true content: @@ -21299,9 +21416,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *106 - '500': *89 - '503': *162 + '409': *107 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21321,7 +21438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *167 + - *168 requestBody: required: true content: @@ -21367,8 +21484,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21399,7 +21516,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &397 type: object properties: total_gigabytes_bandwidth_used: @@ -21417,7 +21534,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &393 + default: &398 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21452,7 +21569,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &399 type: object properties: days_left_in_billing_cycle: @@ -21470,7 +21587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &395 + default: &400 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21495,7 +21612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &201 + - &209 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -21504,7 +21621,7 @@ paths: required: false schema: type: integer - - &202 + - &210 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21513,7 +21630,7 @@ paths: required: false schema: type: integer - - &203 + - &211 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -21522,7 +21639,7 @@ paths: required: false schema: type: integer - - &204 + - &212 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21543,7 +21660,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &205 + schema: &213 type: object properties: usageItems: @@ -21596,7 +21713,7 @@ paths: - netAmount - organizationName examples: - default: &206 + default: &214 value: usageItems: - date: '2023-08-01' @@ -21612,8 +21729,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21684,18 +21801,506 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: true enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - *39 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *172 + examples: + default: &173 + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - *39 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - *39 + - &174 + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: &175 + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + headers: + Link: *41 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - *39 + - *174 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *175 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - *39 + - *174 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *175 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - *39 + - *174 + - *176 + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &177 + value: + 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 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - *39 + - *174 + - *176 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *177 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - *39 + - *174 + - *176 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - *39 + - &178 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - *39 + - *178 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - *39 + - *178 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -21779,7 +22384,7 @@ paths: application/json: schema: type: array - items: &196 + items: &204 title: Event description: Event type: object @@ -21790,7 +22395,7 @@ paths: type: - string - 'null' - actor: &171 + actor: &179 title: Actor description: Actor type: object @@ -21831,13 +22436,13 @@ paths: - id - name - url - org: *171 + org: *179 payload: type: object properties: action: type: string - issue: &185 + issue: &193 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -21958,7 +22563,7 @@ paths: milestone: anyOf: - type: 'null' - - &358 + - &363 title: Milestone description: A collection of related issues and pull requests. @@ -22130,7 +22735,7 @@ paths: timeline_url: type: string format: uri - type: &319 + type: &326 title: Issue Type description: The type of issue. type: @@ -22183,12 +22788,12 @@ paths: - node_id - name - description - repository: *65 + repository: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &172 + author_association: &180 title: author_association type: string description: How the author is associated with the repository. @@ -22203,7 +22808,7 @@ paths: - OWNER examples: - OWNER - reactions: &173 + reactions: &181 title: Reaction Rollup type: object properties: @@ -22239,7 +22844,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &740 + sub_issues_summary: &746 title: Sub-issues Summary type: object properties: @@ -22260,7 +22865,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &741 + issue_dependencies_summary: &747 title: Issue Dependencies Summary type: object properties: @@ -22279,7 +22884,7 @@ paths: - total_blocking issue_field_values: type: array - items: &742 + items: &748 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22374,7 +22979,7 @@ paths: - user - created_at - updated_at - comment: &606 + comment: &611 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -22424,12 +23029,12 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *180 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - id - node_id @@ -22526,7 +23131,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22616,7 +23221,7 @@ paths: _links: type: object properties: - timeline: &174 + timeline: &182 title: Link With Type description: Hypermedia Link with Type type: object @@ -22628,17 +23233,17 @@ paths: required: - href - type - user: *174 - security_advisories: *174 - current_user: *174 - current_user_public: *174 - current_user_actor: *174 - current_user_organization: *174 + user: *182 + security_advisories: *182 + current_user: *182 + current_user_public: *182 + current_user_actor: *182 + current_user_organization: *182 current_user_organizations: type: array - items: *174 - repository_discussions: *174 - repository_discussions_category: *174 + items: *182 + repository_discussions: *182 + repository_discussions_category: *182 required: - timeline - user @@ -22700,7 +23305,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *175 + - *183 - *17 - *19 responses: @@ -22710,7 +23315,7 @@ paths: application/json: schema: type: array - items: &176 + items: &184 title: Base Gist description: Base Gist type: object @@ -22807,7 +23412,7 @@ paths: - created_at - updated_at examples: - default: &177 + default: &185 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22852,7 +23457,7 @@ paths: site_admin: false truncated: false headers: - Link: *38 + Link: *41 '304': *35 '403': *27 x-github: @@ -22931,7 +23536,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &186 title: Gist Simple description: Gist Simple type: object @@ -22949,7 +23554,7 @@ paths: url: type: string format: uri - user: &754 + user: &760 title: Public User description: Public User type: object @@ -23323,7 +23928,7 @@ paths: truncated: type: boolean examples: - default: &179 + default: &187 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -23427,7 +24032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *175 + - *183 - *17 - *19 responses: @@ -23437,11 +24042,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '403': *27 @@ -23461,7 +24066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *175 + - *183 - *17 - *19 responses: @@ -23471,11 +24076,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '401': *23 '304': *35 '403': *27 @@ -23501,7 +24106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &180 + - &188 name: gist_id description: The unique identifier of the gist. in: path @@ -23513,10 +24118,10 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - default: *179 - '403': &183 + default: *187 + '403': &191 description: Forbidden Gist content: application/json: @@ -23565,7 +24170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *180 + - *188 requestBody: required: true content: @@ -23629,9 +24234,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - updateGist: *179 + updateGist: *187 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23789,7 +24394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -23818,7 +24423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *180 + - *188 - *17 - *19 responses: @@ -23828,7 +24433,7 @@ paths: application/json: schema: type: array - items: &181 + items: &189 title: Gist Comment description: A comment made to a gist. type: object @@ -23866,7 +24471,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *172 + author_association: *180 required: - url - id @@ -23906,7 +24511,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -23931,7 +24536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *180 + - *188 requestBody: required: true content: @@ -23957,9 +24562,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: &182 + default: &190 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -24017,8 +24622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *180 - - &184 + - *188 + - &192 name: comment_id description: The unique identifier of the comment. in: path @@ -24031,12 +24636,12 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: *182 + default: *190 '304': *35 '404': *6 - '403': *183 + '403': *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24058,8 +24663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *180 - - *184 + - *188 + - *192 requestBody: required: true content: @@ -24085,9 +24690,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: *182 + default: *190 '404': *6 x-github: githubCloudOnly: false @@ -24104,8 +24709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *180 - - *184 + - *188 + - *192 responses: '204': description: Response @@ -24128,7 +24733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *180 + - *188 - *17 - *19 responses: @@ -24229,7 +24834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *180 + - *188 - *17 - *19 responses: @@ -24239,7 +24844,7 @@ paths: application/json: schema: type: array - items: *178 + items: *186 examples: default: value: @@ -24285,7 +24890,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '404': *6 '304': *35 '403': *27 @@ -24304,13 +24909,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *180 + - *188 responses: '201': description: Response content: application/json: - schema: *176 + schema: *184 examples: default: value: @@ -24381,7 +24986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *180 + - *188 responses: '204': description: Response if gist is starred @@ -24411,7 +25016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -24433,7 +25038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -24462,7 +25067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *180 + - *188 - name: sha in: path required: true @@ -24473,9 +25078,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - default: *179 + default: *187 '422': *15 '404': *6 '403': *27 @@ -24636,7 +25241,7 @@ paths: type: integer repositories: type: array - items: *65 + items: *67 repository_selection: type: string examples: @@ -24760,7 +25365,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '403': *27 '304': *35 '401': *23 @@ -24844,7 +25449,7 @@ paths: - closed - all default: open - - &322 + - &329 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24862,8 +25467,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - name: collab in: query required: false @@ -24893,9 +25498,9 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: &323 + default: &330 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25140,7 +25745,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '404': *6 @@ -25175,7 +25780,7 @@ paths: application/json: schema: type: array - items: *186 + items: *194 examples: default: value: @@ -25473,7 +26078,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &187 + X-CommonMarker-Version: &195 example: 0.17.4 schema: type: string @@ -25528,7 +26133,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *187 + X-CommonMarker-Version: *195 content: text/html: schema: @@ -25557,7 +26162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &190 + - &198 name: account_id description: account_id parameter in: path @@ -25569,7 +26174,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &197 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -25603,7 +26208,7 @@ paths: - 'null' id: type: integer - plan: &188 + plan: &196 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -25706,7 +26311,7 @@ paths: - 'null' updated_at: type: string - plan: *188 + plan: *196 required: - url - id @@ -25714,7 +26319,7 @@ paths: - login - marketplace_purchase examples: - default: &191 + default: &199 value: url: https://api.github.com/orgs/github type: Organization @@ -25799,9 +26404,9 @@ paths: application/json: schema: type: array - items: *188 + items: *196 examples: - default: &192 + default: &200 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25819,7 +26424,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '404': *6 '401': *23 x-github: @@ -25841,14 +26446,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &193 + - &201 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &194 + - &202 name: sort description: The property to sort the results by. in: query @@ -25878,9 +26483,9 @@ paths: application/json: schema: type: array - items: *189 + items: *197 examples: - default: &195 + default: &203 value: - url: https://api.github.com/orgs/github type: Organization @@ -25931,7 +26536,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '404': *6 '422': *15 '401': *23 @@ -25954,15 +26559,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *190 + - *198 responses: '200': description: Response content: application/json: - schema: *189 + schema: *197 examples: - default: *191 + default: *199 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -25994,11 +26599,11 @@ paths: application/json: schema: type: array - items: *188 + items: *196 examples: - default: *192 + default: *200 headers: - Link: *38 + Link: *41 '401': *23 x-github: githubCloudOnly: false @@ -26019,8 +26624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *193 - - *194 + - *201 + - *202 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -26040,11 +26645,11 @@ paths: application/json: schema: type: array - items: *189 + items: *197 examples: - default: *195 + default: *203 headers: - Link: *38 + Link: *41 '401': *23 x-github: githubCloudOnly: false @@ -26307,14 +26912,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: - - &419 + - &424 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &420 + - &425 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26331,7 +26936,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -26385,7 +26990,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &433 + '301': &438 description: Moved permanently content: application/json: @@ -26407,7 +27012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &635 + - &640 name: all description: If `true`, show notifications marked as read. in: query @@ -26415,7 +27020,7 @@ paths: schema: type: boolean default: false - - &636 + - &641 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26424,8 +27029,8 @@ paths: schema: type: boolean default: false - - *175 - - &637 + - *183 + - &642 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: @@ -26450,14 +27055,14 @@ paths: application/json: schema: type: array - items: &197 + items: &205 title: Thread description: Thread type: object properties: id: type: string - repository: &232 + repository: &240 title: Minimal Repository description: Minimal Repository type: object @@ -26796,7 +27401,7 @@ paths: type: boolean examples: - false - security_and_analysis: &366 + security_and_analysis: &371 type: - object - 'null' @@ -26969,7 +27574,7 @@ paths: - url - subscription_url examples: - default: &638 + default: &643 value: - id: '1' repository: @@ -27051,7 +27656,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -27135,7 +27740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &198 + - &206 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -27149,7 +27754,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *205 examples: default: value: @@ -27252,7 +27857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *198 + - *206 responses: '205': description: Reset Content @@ -27275,7 +27880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *198 + - *206 responses: '204': description: No content @@ -27298,13 +27903,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *198 + - *206 responses: '200': description: Response content: application/json: - schema: &199 + schema: &207 title: Thread Subscription description: Thread Subscription type: object @@ -27348,7 +27953,7 @@ paths: - url - subscribed examples: - default: &200 + default: &208 value: subscribed: true ignored: false @@ -27379,7 +27984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *198 + - *206 requestBody: required: false content: @@ -27400,9 +28005,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *207 examples: - default: *200 + default: *208 '304': *35 '403': *27 '401': *23 @@ -27425,7 +28030,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *198 + - *206 responses: '204': description: Response @@ -27520,9 +28125,9 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: &770 + default: &776 value: - login: github id: 1 @@ -27587,7 +28192,7 @@ paths: - 3 custom_roles: type: array - items: &276 + items: &283 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -27636,7 +28241,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &284 value: id: 8030 name: Security Engineer @@ -27683,7 +28288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *74 + - *76 - name: page in: query description: The page number of results to fetch. @@ -27729,7 +28334,7 @@ paths: items: anyOf: - type: 'null' - - *107 + - *108 additionalProperties: false examples: default: @@ -27834,7 +28439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -27900,7 +28505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *74 + - *76 requestBody: required: true content: @@ -27948,23 +28553,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *74 - - *201 - - *202 - - *203 - - *204 + - *76 + - *209 + - *210 + - *211 + - *212 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *205 + schema: *213 examples: - default: *206 + default: *214 '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27990,13 +28595,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &207 + schema: &215 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -28406,7 +29011,7 @@ paths: - updated_at - archived_at examples: - default-response: &208 + default-response: &216 value: login: github id: 1 @@ -28508,7 +29113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *74 + - *76 requestBody: required: false content: @@ -28732,18 +29337,18 @@ paths: description: Response content: application/json: - schema: *207 + schema: *215 examples: - default: *208 + default: *216 '422': description: Validation failed content: application/json: schema: oneOf: - - *209 - - *210 - '409': *106 + - *217 + - *218 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28766,7 +29371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *74 + - *76 responses: '202': *37 '404': *6 @@ -28791,17 +29396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *211 + schema: *219 examples: - default: *212 + default: *220 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28822,7 +29427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -28840,7 +29445,7 @@ paths: type: integer repository_cache_usages: type: array - items: &438 + items: &443 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28878,7 +29483,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28898,7 +29503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -28916,11 +29521,11 @@ paths: type: integer runners: type: array - items: *40 + items: *42 examples: - default: *213 + default: *221 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28938,7 +29543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -29005,9 +29610,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29025,7 +29630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29041,9 +29646,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29061,7 +29666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29077,9 +29682,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29096,15 +29701,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *214 + schema: *222 examples: - default: *215 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29122,7 +29727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29138,9 +29743,9 @@ paths: type: integer machine_specs: type: array - items: *43 + items: *45 examples: - default: *216 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29158,7 +29763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29202,18 +29807,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 responses: '200': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29231,8 +29836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 requestBody: required: true content: @@ -29270,9 +29875,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29288,16 +29893,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 responses: '202': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29317,13 +29922,13 @@ 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-an-organization parameters: - - *74 + - *76 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &217 + schema: &225 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29337,7 +29942,7 @@ paths: required: - include_claim_keys examples: - default: &218 + default: &226 value: include_claim_keys: - repo @@ -29359,20 +29964,20 @@ 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-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *217 + schema: *225 examples: - default: *218 + default: *226 responses: '201': description: Empty response content: application/json: - schema: &243 + schema: &251 title: Empty Object description: An object without any properties. type: object @@ -29402,7 +30007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29411,7 +30016,7 @@ paths: schema: type: object properties: - enabled_repositories: &220 + enabled_repositories: &228 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -29424,9 +30029,9 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: *47 - selected_actions_url: *219 - sha_pinning_required: *48 + allowed_actions: *49 + selected_actions_url: *227 + sha_pinning_required: *50 required: - enabled_repositories examples: @@ -29456,7 +30061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29467,9 +30072,9 @@ paths: schema: type: object properties: - enabled_repositories: *220 - allowed_actions: *47 - sha_pinning_required: *48 + enabled_repositories: *228 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled_repositories examples: @@ -29497,13 +30102,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *221 + schema: *229 examples: response: summary: Example response @@ -29529,12 +30134,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *222 + schema: *230 examples: application/json: value: @@ -29544,7 +30149,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -29564,15 +30169,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *49 + schema: *51 examples: - default: *223 + default: *231 '404': *6 x-github: enabledForGitHubApps: true @@ -29591,7 +30196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29601,7 +30206,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -29623,15 +30228,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *224 + schema: *232 examples: - default: *50 + default: *52 '403': *27 '404': *6 x-github: @@ -29649,14 +30254,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *225 + schema: *233 examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -29686,7 +30291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -29704,9 +30309,9 @@ paths: type: number repositories: type: array - items: *65 + items: *67 examples: - default: &227 + default: &235 value: total_count: 1 repositories: @@ -29846,7 +30451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29890,8 +30495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - &226 + - *76 + - &234 name: repository_id description: The unique identifier of the repository. in: path @@ -29919,8 +30524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: Response @@ -29943,15 +30548,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *52 + schema: *54 examples: - default: *53 + default: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29974,7 +30579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29982,9 +30587,9 @@ paths: required: false content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30004,7 +30609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -30052,7 +30657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30079,7 +30684,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30099,7 +30704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -30114,9 +30719,9 @@ paths: type: integer repositories: type: array - items: *65 + items: *67 examples: - default: *227 + default: *235 '403': *27 '404': *6 x-github: @@ -30136,7 +30741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30184,14 +30789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30211,14 +30816,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30240,15 +30845,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *228 + schema: *236 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30269,7 +30874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Success response @@ -30280,9 +30885,9 @@ paths: required: false content: application/json: - schema: *229 + schema: *237 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30302,7 +30907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *74 + - *76 - *17 - *19 - name: visible_to_repository @@ -30327,7 +30932,7 @@ paths: type: number runner_groups: type: array - items: &230 + items: &238 type: object properties: id: @@ -30444,7 +31049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30517,9 +31122,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *238 examples: - default: &231 + default: &239 value: id: 2 name: octo-runner-group @@ -30554,14 +31159,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: default: value: @@ -30597,8 +31202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -30654,9 +31259,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *238 examples: - default: *231 + default: *239 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30675,8 +31280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *74 - - *59 + - *76 + - *61 responses: '204': description: Response @@ -30699,8 +31304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *17 - *19 responses: @@ -30718,11 +31323,11 @@ paths: type: number runners: type: array - items: *40 + items: *42 examples: - default: *213 + default: *221 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30742,8 +31347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *19 - *17 responses: @@ -30761,9 +31366,9 @@ paths: type: number repositories: type: array - items: *232 + items: *240 examples: - default: &757 + default: &763 value: total_count: 1 repositories: @@ -31015,8 +31620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -31060,9 +31665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 - - *226 + - *76 + - *61 + - *234 responses: '204': description: Response @@ -31084,9 +31689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 - - *226 + - *76 + - *61 + - *234 responses: '204': description: Response @@ -31109,8 +31714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *17 - *19 responses: @@ -31128,11 +31733,11 @@ paths: type: number runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31151,8 +31756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -31196,9 +31801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *74 - - *59 - - *62 + - *76 + - *61 + - *64 responses: '204': description: Response @@ -31220,9 +31825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *74 - - *59 - - *62 + - *76 + - *61 + - *64 responses: '204': description: Response @@ -31252,7 +31857,7 @@ paths: in: query schema: type: string - - *74 + - *76 - *17 - *19 responses: @@ -31270,11 +31875,11 @@ paths: type: integer runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31296,7 +31901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -31304,9 +31909,9 @@ paths: application/json: schema: type: array - items: *233 + items: *241 examples: - default: *234 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31328,7 +31933,7 @@ 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-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -31371,10 +31976,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *235 + '201': *243 '404': *6 '422': *7 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31402,15 +32007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *74 + - *76 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *236 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31438,15 +32043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *74 + - *76 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *237 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31468,16 +32073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: *238 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31498,8 +32103,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: '204': description: Response @@ -31525,10 +32130,10 @@ 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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: - '200': *68 + '200': *70 '404': *6 x-github: githubCloudOnly: false @@ -31550,8 +32155,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 requestBody: required: true content: @@ -31575,7 +32180,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31599,8 +32204,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 requestBody: required: true content: @@ -31625,7 +32230,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31649,10 +32254,10 @@ 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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: - '200': *239 + '200': *247 '404': *6 x-github: githubCloudOnly: false @@ -31679,11 +32284,11 @@ 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-an-organization parameters: - - *74 - - *62 - - *240 + - *76 + - *64 + - *248 responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31708,7 +32313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -31726,7 +32331,7 @@ paths: type: integer secrets: type: array - items: &241 + items: &249 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -31778,7 +32383,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31801,13 +32406,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &458 + schema: &463 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31842,7 +32447,7 @@ paths: - key_id - key examples: - default: &459 + default: &464 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31867,8 +32472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *74 - - &242 + - *76 + - &250 name: secret_name description: The name of the secret. in: path @@ -31880,7 +32485,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *249 examples: default: value: @@ -31910,8 +32515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -31968,7 +32573,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -31994,8 +32599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -32021,8 +32626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -32040,9 +32645,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: &246 + default: &254 value: total_count: 1 repositories: @@ -32134,8 +32739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -32187,8 +32792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -32221,8 +32826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -32254,8 +32859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *74 - - &443 + - *76 + - &448 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)." @@ -32279,7 +32884,7 @@ paths: type: integer variables: type: array - items: &244 + items: &252 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -32348,7 +32953,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32369,7 +32974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *74 + - *76 requestBody: required: true content: @@ -32417,7 +33022,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -32442,8 +33047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *74 - - &245 + - *76 + - &253 name: name description: The name of the variable. in: path @@ -32455,7 +33060,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *252 examples: default: value: @@ -32485,8 +33090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 requestBody: required: true content: @@ -32548,8 +33153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 responses: '204': description: Response @@ -32575,8 +33180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - *19 - *17 responses: @@ -32594,9 +33199,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 '409': description: Response when the visibility of the variable is not set to `selected` @@ -32622,8 +33227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 requestBody: required: true content: @@ -32672,8 +33277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - name: repository_id in: path required: true @@ -32707,8 +33312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - name: repository_id in: path required: true @@ -32739,15 +33344,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32766,19 +33371,19 @@ paths: required: true content: application/json: - schema: *247 + schema: *255 examples: - default: *72 + default: *74 parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32794,7 +33399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -32817,7 +33422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *74 + - *76 requestBody: required: true content: @@ -32912,11 +33517,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -32955,7 +33564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *74 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -33039,9 +33648,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *96 - *97 - - *74 + - *98 + - *76 requestBody: required: true content: @@ -33064,12 +33673,12 @@ paths: required: - subject_digests examples: - default: &789 + default: &795 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &790 + withPredicateType: &796 value: subject_digests: - sha256:abc123 @@ -33128,7 +33737,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &791 + default: &797 value: attestations_subject_digests: - sha256:abc: @@ -33237,7 +33846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *74 + - *76 requestBody: required: true content: @@ -33302,7 +33911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *76 - name: subject_digest description: Subject Digest in: path @@ -33333,7 +33942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *74 + - *76 - name: attestation_id description: Attestation ID in: path @@ -33369,9 +33978,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *96 - *97 - - *74 + - *98 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -33422,7 +34031,7 @@ paths: bundle_url: type: string examples: - default: &472 + default: &477 value: attestations: - bundle: @@ -33540,7 +34149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *74 + - *76 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -33548,10 +34157,10 @@ paths: required: false schema: type: string - - *248 - - *249 - - *250 - - *251 + - *256 + - *257 + - *258 + - *259 - *17 responses: '200': @@ -33560,9 +34169,9 @@ paths: application/json: schema: type: array - items: *252 + items: *260 examples: - default: *253 + default: *261 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33579,7 +34188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -33591,26 +34200,7 @@ paths: type: array items: *4 examples: - default: &324 - value: - - 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 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33629,8 +34219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: If the user is blocked @@ -33655,8 +34245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -33676,8 +34266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -33703,17 +34293,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *74 - - &257 + - *76 + - &264 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *91 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -33723,11 +34313,11 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *256 + default: *263 '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -33748,12 +34338,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *74 - - *257 - - *91 + - *76 + - *264 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -33763,11 +34353,11 @@ paths: application/json: schema: type: array - items: *258 + items: *265 examples: - default: *259 + default: *266 '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -33784,15 +34374,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *74 + - *76 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &261 + schema: &268 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -33818,7 +34408,7 @@ paths: application/json: schema: type: array - items: &262 + items: &269 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -33849,7 +34439,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *260 + items: *267 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -33868,7 +34458,7 @@ paths: - string - 'null' format: date-time - state: *261 + state: *268 contact_link: description: The contact link of the campaign. type: @@ -33964,9 +34554,9 @@ paths: closed_at: state: open headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33990,7 +34580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -34085,9 +34675,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: &263 + default: &270 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -34136,7 +34726,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34158,7 +34748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34170,16 +34760,16 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: *263 + default: *270 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34200,7 +34790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34250,7 +34840,7 @@ paths: - string - 'null' format: uri - state: *261 + state: *268 examples: default: value: @@ -34260,9 +34850,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: *263 + default: *270 '400': description: Bad Request content: @@ -34274,7 +34864,7 @@ paths: content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34295,7 +34885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34306,7 +34896,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34328,20 +34918,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *74 - - *264 - - *265 - - *96 + - *76 + - *271 + - *272 - *97 + - *98 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *266 + schema: *273 - name: sort description: The property by which to sort the results. in: query @@ -34357,7 +34947,7 @@ paths: be returned. in: query required: false - schema: &498 + schema: &503 type: string description: Severity of a code scanning alert. enum: @@ -34375,13 +34965,13 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34403,7 +34993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *74 + - *76 - name: target_type in: query description: The target type of the code security configuration @@ -34422,8 +35012,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 responses: '200': description: Response @@ -34431,7 +35021,7 @@ paths: application/json: schema: type: array - items: *102 + items: *103 examples: default: value: @@ -34514,7 +35104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *74 + - *76 requestBody: required: true content: @@ -34592,7 +35182,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *269 + code_scanning_options: *276 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -34601,7 +35191,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34733,9 +35323,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *102 + schema: *103 examples: - default: *270 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34757,15 +35347,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '304': *35 '403': *27 '404': *6 @@ -34791,7 +35381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *74 + - *76 requestBody: required: true content: @@ -34817,11 +35407,11 @@ paths: - 32 - 91 responses: - '204': *128 + '204': *129 '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34843,16 +35433,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 responses: '200': description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *270 + default: *277 '304': *35 '403': *27 '404': *6 @@ -34876,8 +35466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -34956,7 +35546,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -35074,7 +35664,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *102 + schema: *103 examples: default: value: @@ -35133,14 +35723,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 responses: - '204': *128 + '204': *129 '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35164,8 +35754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -35228,8 +35818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -35269,12 +35859,12 @@ paths: - none - private_and_internal - public - configuration: *102 + configuration: *103 examples: default: value: default_for_new_repos: all - configuration: *270 + configuration: *277 '403': *27 '404': *6 x-github: @@ -35298,8 +35888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 - 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)." @@ -35308,8 +35898,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -35327,13 +35917,13 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *274 + repository: *281 '403': *27 '404': *6 x-github: @@ -35357,7 +35947,7 @@ paths: parameters: - *17 - *19 - - *74 + - *76 responses: '200': description: Response @@ -35373,7 +35963,7 @@ paths: type: integer codespaces: type: array - items: &325 + items: &331 type: object title: Codespace description: A codespace. @@ -35404,11 +35994,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *232 + repository: *240 machine: anyOf: - type: 'null' - - &527 + - &532 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -35695,7 +36285,7 @@ paths: - pulls_url - recent_folders examples: - default: &326 + default: &332 value: total_count: 3 codespaces: @@ -36105,7 +36695,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36127,7 +36717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *74 + - *76 deprecated: true requestBody: required: true @@ -36171,7 +36761,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36194,7 +36784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *74 + - *76 deprecated: true requestBody: required: true @@ -36226,7 +36816,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36249,7 +36839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *74 + - *76 requestBody: required: true content: @@ -36280,7 +36870,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36301,7 +36891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -36319,7 +36909,7 @@ paths: type: integer secrets: type: array - items: &275 + items: &282 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36360,7 +36950,7 @@ paths: - updated_at - visibility examples: - default: &528 + default: &533 value: total_count: 2 secrets: @@ -36373,7 +36963,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36392,13 +36982,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &529 + schema: &534 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36433,7 +37023,7 @@ paths: - key_id - key examples: - default: &530 + default: &535 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36456,23 +37046,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: &532 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36492,8 +37082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -36548,7 +37138,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -36574,8 +37164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -36600,8 +37190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -36619,9 +37209,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 '404': *6 x-github: githubCloudOnly: false @@ -36643,8 +37233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -36694,8 +37284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -36728,8 +37318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -36768,7 +37358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: OK @@ -36877,7 +37467,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36909,7 +37499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *74 + - *76 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -36932,12 +37522,12 @@ paths: currently being billed. seats: type: array - items: *119 + items: *120 examples: - default: *120 + default: *121 headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36970,7 +37560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37012,7 +37602,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37048,7 +37638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37090,7 +37680,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37128,7 +37718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37169,7 +37759,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37205,7 +37795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37247,7 +37837,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37286,7 +37876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *74 + - *76 - 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`). @@ -37318,13 +37908,13 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37346,7 +37936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -37505,7 +38095,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *74 + - *76 - name: credential_id in: path required: true @@ -37536,7 +38126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response - list of custom role names @@ -37552,7 +38142,7 @@ paths: - 3 custom_roles: type: array - items: *276 + items: *283 examples: default: value: @@ -37639,12 +38229,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: &279 + schema: &286 type: object properties: name: @@ -37686,9 +38276,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37712,8 +38302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *74 - - &278 + - *76 + - &285 name: role_id description: The unique identifier of the role. in: path @@ -37725,9 +38315,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '404': *6 x-github: githubCloudOnly: true @@ -37749,13 +38339,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: application/json: - schema: &280 + schema: &287 type: object properties: name: @@ -37794,9 +38384,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37820,8 +38410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -37849,12 +38439,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *279 + schema: *286 examples: default: value: @@ -37868,9 +38458,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37900,16 +38490,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '200': description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '404': *6 x-github: githubCloudOnly: true @@ -37937,13 +38527,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: application/json: - schema: *280 + schema: *287 examples: default: value: @@ -37958,9 +38548,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37990,8 +38580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -38019,12 +38609,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *74 - - *281 - - *282 - - *283 - - *284 - - *285 + - *76 + - *288 + - *289 + - *290 + - *291 + - *292 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38040,14 +38630,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *286 - - *287 - - *288 - - *98 - - *96 + - *293 + - *294 + - *295 + - *99 - *97 - - *289 - - *290 + - *98 + - *296 + - *297 - *17 responses: '200': @@ -38056,9 +38646,9 @@ paths: application/json: schema: type: array - items: *291 + items: *298 examples: - default: *292 + default: *299 '304': *35 '400': *14 '403': *27 @@ -38084,7 +38674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -38102,7 +38692,7 @@ paths: type: integer secrets: type: array - items: &293 + items: &300 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38154,7 +38744,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38175,13 +38765,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &554 + schema: &559 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38200,7 +38790,7 @@ paths: - key_id - key examples: - default: &555 + default: &560 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38223,14 +38813,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: Response content: application/json: - schema: *293 + schema: *300 examples: default: value: @@ -38258,8 +38848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -38314,7 +38904,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -38338,8 +38928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -38363,8 +38953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -38382,9 +38972,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38405,8 +38995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -38456,8 +39046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -38488,8 +39078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -38525,8 +39115,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *74 - - &563 + - *76 + - &568 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -38534,7 +39124,7 @@ paths: required: false schema: type: string - - &564 + - &569 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -38542,7 +39132,7 @@ paths: required: false schema: type: string - - &565 + - &570 name: time_period description: |- The time period to filter by. @@ -38558,7 +39148,7 @@ paths: - week - month default: month - - &566 + - &571 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -38573,7 +39163,7 @@ paths: - denied - all default: all - - *257 + - *264 - *17 - *19 responses: @@ -38583,7 +39173,7 @@ paths: application/json: schema: type: array - items: &567 + items: &572 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -38746,7 +39336,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &568 + default: &573 value: - id: 21 number: 42 @@ -38811,7 +39401,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -38832,12 +39422,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *74 - - *257 - - *91 + - *76 + - *264 - *92 - *93 - - &569 + - *94 + - &574 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -38863,7 +39453,7 @@ paths: application/json: schema: type: array - items: &570 + items: &575 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -38977,7 +39567,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *95 + items: *96 url: type: string format: uri @@ -38990,7 +39580,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &571 + default: &576 value: - id: 21 number: 42 @@ -39055,7 +39645,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *27 - '500': *89 + '500': *38 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -39070,7 +39660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -39078,7 +39668,7 @@ paths: application/json: schema: type: array - items: &336 + items: &341 title: Package description: A software package type: object @@ -39131,7 +39721,7 @@ paths: repository: anyOf: - type: 'null' - - *232 + - *240 created_at: type: string format: date-time @@ -39149,7 +39739,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &342 value: - id: 197 name: hello_docker @@ -39227,7 +39817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39237,7 +39827,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: 200-response: value: @@ -39307,7 +39897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *74 + - *76 - name: group_id description: The unique identifier of the group. in: path @@ -39333,7 +39923,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &419 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39423,7 +40013,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &415 + default: &420 value: group_id: '123' group_name: Octocat admins @@ -39461,7 +40051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -39478,7 +40068,7 @@ paths: description: Response content: application/json: - schema: &412 + schema: &417 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39518,7 +40108,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &413 + default: &418 value: groups: - group_id: '123' @@ -39552,7 +40142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39562,7 +40152,7 @@ paths: application/json: schema: type: array - items: &316 + items: &323 title: Organization Invitation description: Organization Invitation type: object @@ -39616,7 +40206,7 @@ paths: - invitation_teams_url - node_id examples: - default: &317 + default: &324 value: - id: 1 login: monalisa @@ -39649,7 +40239,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -39675,7 +40265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -39683,7 +40273,7 @@ paths: application/json: schema: type: array - items: &367 + items: &372 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39697,7 +40287,7 @@ paths: - name - description examples: - default: &368 + default: &373 value: - name: add_assignee description: Assign or remove a user @@ -39728,7 +40318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39738,7 +40328,7 @@ paths: application/json: schema: type: array - items: &294 + items: &301 title: Org Hook description: Org Hook type: object @@ -39838,7 +40428,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -39859,7 +40449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *74 + - *76 requestBody: required: true content: @@ -39921,9 +40511,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: - default: &295 + default: &302 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39967,8 +40557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *74 - - &296 + - *76 + - &303 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. @@ -39981,9 +40571,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: - default: *295 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -40004,8 +40594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 requestBody: required: false content: @@ -40051,7 +40641,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: default: value: @@ -40090,8 +40680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 responses: '204': description: Response @@ -40116,8 +40706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *74 - - *296 + - *76 + - *303 responses: '200': description: Response @@ -40145,8 +40735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *74 - - *296 + - *76 + - *303 requestBody: required: false content: @@ -40194,10 +40784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *17 - - *297 + - *304 responses: '200': description: Response @@ -40205,9 +40795,9 @@ paths: application/json: schema: type: array - items: *298 + items: *305 examples: - default: *299 + default: *306 '400': *14 '422': *15 x-github: @@ -40230,17 +40820,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *16 responses: '200': description: Response content: application/json: - schema: *300 + schema: *307 examples: - default: *301 + default: *308 '400': *14 '422': *15 x-github: @@ -40263,8 +40853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *16 responses: '202': *37 @@ -40290,8 +40880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 responses: '204': description: Response @@ -40313,8 +40903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *74 - - &306 + - *76 + - &313 name: actor_type in: path description: The type of the actor @@ -40327,14 +40917,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &307 + - &314 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &302 + - &309 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`.' @@ -40342,7 +40932,7 @@ paths: required: true schema: type: string - - &303 + - &310 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) @@ -40353,7 +40943,7 @@ paths: type: string - *19 - *17 - - *98 + - *99 - name: sort description: The property to sort the results by. in: query @@ -40436,13 +41026,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *74 - - *302 - - *303 + - *76 + - *309 + - *310 - *19 - *17 - - *98 - - &312 + - *99 + - &319 name: sort description: The property to sort the results by. in: query @@ -40521,15 +41111,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *74 - - *302 - - *303 + - *76 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &304 + schema: &311 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40545,7 +41135,7 @@ paths: type: integer format: int64 examples: - default: &305 + default: &312 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40565,24 +41155,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *74 - - &308 + - *76 + - &315 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *302 - - *303 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *304 + schema: *311 examples: - default: *305 + default: *312 x-github: enabledForGitHubApps: true category: orgs @@ -40600,19 +41190,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *74 - - *302 - - *303 - - *306 - - *307 + - *76 + - *309 + - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *304 + schema: *311 examples: - default: *305 + default: *312 x-github: enabledForGitHubApps: true category: orgs @@ -40629,10 +41219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *74 - - *302 - - *303 - - &309 + - *76 + - *309 + - *310 + - &316 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40645,7 +41235,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &317 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40661,7 +41251,7 @@ paths: type: integer format: int64 examples: - default: &311 + default: &318 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40697,19 +41287,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *74 - - *308 - - *302 - - *303 + - *76 + - *315 - *309 + - *310 + - *316 responses: '200': description: Response content: application/json: - schema: *310 + schema: *317 examples: - default: *311 + default: *318 x-github: enabledForGitHubApps: true category: orgs @@ -40726,20 +41316,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *74 - - *306 - - *307 - - *302 - - *303 + - *76 + - *313 + - *314 - *309 + - *310 + - *316 responses: '200': description: Response content: application/json: - schema: *310 + schema: *317 examples: - default: *311 + default: *318 x-github: enabledForGitHubApps: true category: orgs @@ -40756,14 +41346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *74 - - *308 - - *302 - - *303 + - *76 + - *315 + - *309 + - *310 - *19 - *17 - - *98 - - *312 + - *99 + - *319 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40839,7 +41429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *74 + - *76 responses: '200': description: Response @@ -40847,7 +41437,7 @@ paths: application/json: schema: *20 examples: - default: &602 + default: &607 value: id: 1 account: @@ -40916,7 +41506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -40986,7 +41576,7 @@ paths: suspended_at: suspended_by: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41005,7 +41595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -41013,12 +41603,12 @@ paths: application/json: schema: anyOf: - - &314 + - &321 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &313 + limit: &320 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -41046,7 +41636,7 @@ paths: properties: {} additionalProperties: false examples: - default: &315 + default: &322 value: limit: collaborators_only origin: organization @@ -41070,18 +41660,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: &603 + schema: &608 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *313 + limit: *320 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41106,9 +41696,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -41126,7 +41716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -41152,7 +41742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *74 + - *76 - *17 - *19 - name: role @@ -41186,11 +41776,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41212,7 +41802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *74 + - *76 requestBody: required: false content: @@ -41266,7 +41856,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *323 examples: default: value: @@ -41322,8 +41912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *74 - - &318 + - *76 + - &325 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41356,8 +41946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *74 - - *318 + - *76 + - *325 - *17 - *19 responses: @@ -41367,9 +41957,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: &335 + default: &340 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41385,7 +41975,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41404,7 +41994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -41412,7 +42002,7 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: default: value: @@ -41450,7 +42040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -41500,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *326 examples: - default: &320 + default: &327 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41534,8 +42124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *74 - - &321 + - *76 + - &328 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41591,9 +42181,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *326 examples: - default: *320 + default: *327 '404': *6 '422': *7 x-github: @@ -41617,8 +42207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *74 - - *321 + - *76 + - *328 responses: '204': description: Response @@ -41651,7 +42241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *74 + - *76 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -41681,7 +42271,7 @@ paths: - closed - all default: open - - *322 + - *329 - name: type description: Can be the name of an issue type. in: query @@ -41699,8 +42289,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -41710,11 +42300,11 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *323 + default: *330 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41734,7 +42324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *74 + - *76 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -41772,9 +42362,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -41792,8 +42382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response if requester is an organization member and user is @@ -41827,8 +42417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -41854,8 +42444,8 @@ paths: parameters: - *17 - *19 - - *74 - - *254 + - *76 + - *176 responses: '200': description: Response @@ -41871,11 +42461,11 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: - default: *326 + default: *332 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -41898,9 +42488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *74 - - *254 - - &327 + - *76 + - *176 + - &333 name: codespace_name in: path required: true @@ -41910,7 +42500,7 @@ paths: responses: '202': *37 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -41933,17 +42523,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *74 - - *254 - - *327 + - *76 + - *176 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: &526 + default: &531 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42085,7 +42675,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -42116,14 +42706,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -42167,7 +42757,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -42192,14 +42782,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '200': description: Response content: application/json: - schema: &328 + schema: &334 title: Org Membership description: Org Membership type: object @@ -42248,7 +42838,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *60 + organization: *62 user: anyOf: - type: 'null' @@ -42268,7 +42858,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &329 + response-if-user-has-an-active-admin-membership-with-organization: &335 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42336,8 +42926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 requestBody: required: false content: @@ -42365,9 +42955,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: - response-if-user-already-had-membership-with-organization: *329 + response-if-user-already-had-membership-with-organization: *335 '422': *15 '403': *27 x-github: @@ -42391,8 +42981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -42417,7 +43007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *74 + - *76 - *17 - *19 - name: exclude @@ -42439,7 +43029,7 @@ paths: application/json: schema: type: array - items: &330 + items: &336 title: Migration description: A migration. type: object @@ -42481,7 +43071,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *65 + items: *67 url: type: string format: uri @@ -42680,7 +43270,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42696,7 +43286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *74 + - *76 requestBody: required: true content: @@ -42777,7 +43367,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -42955,8 +43545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *74 - - &331 + - *76 + - &337 name: migration_id description: The unique identifier of the migration. in: path @@ -42984,7 +43574,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -43153,8 +43743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *74 - - *331 + - *76 + - *337 responses: '302': description: Response @@ -43175,8 +43765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *74 - - *331 + - *76 + - *337 responses: '204': description: Response @@ -43199,9 +43789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *74 - - *331 - - &769 + - *76 + - *337 + - &775 name: repo_name description: repo_name parameter in: path @@ -43228,8 +43818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *74 - - *331 + - *76 + - *337 - *17 - *19 responses: @@ -43239,9 +43829,9 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: &342 + default: &347 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43352,7 +43942,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -43380,7 +43970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -43434,7 +44024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response - list of organization roles @@ -43450,7 +44040,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &332 + items: &338 title: Organization Role description: Organization roles type: object @@ -43612,7 +44202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *74 + - *76 requestBody: required: true content: @@ -43659,7 +44249,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -43688,7 +44278,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43710,14 +44300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *74 - - &333 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *76 + - *178 responses: '204': description: Response @@ -43742,9 +44326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *74 - - *333 - - *278 + - *76 + - *178 + - *285 responses: '204': description: Response @@ -43773,9 +44357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *74 - - *333 - - *278 + - *76 + - *178 + - *285 responses: '204': description: Response @@ -43800,8 +44384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -43826,9 +44410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *74 - - *254 - - *278 + - *76 + - *176 + - *285 responses: '204': description: Response @@ -43858,9 +44442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *74 - - *254 - - *278 + - *76 + - *176 + - *285 responses: '204': description: Response @@ -43888,14 +44472,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '200': description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -43952,8 +44536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: @@ -43992,7 +44576,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -44020,7 +44604,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *106 + '409': *107 '404': *6 x-github: githubCloudOnly: true @@ -44045,8 +44629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -44071,8 +44655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 - *17 - *19 responses: @@ -44151,7 +44735,7 @@ paths: parent: anyOf: - type: 'null' - - *334 + - *339 required: - id - node_id @@ -44165,9 +44749,9 @@ paths: - slug - parent examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '404': description: Response if the organization or role does not exist. '422': @@ -44194,8 +44778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 - *17 - *19 responses: @@ -44224,7 +44808,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *334 + items: *339 name: type: - string @@ -44341,9 +44925,9 @@ paths: - type - url examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': description: Response if the organization or role does not exist. '422': @@ -44365,7 +44949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *74 + - *76 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44392,9 +44976,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44417,8 +45001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *74 - - *254 + - *76 + - *176 requestBody: required: false content: @@ -44475,8 +45059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -44533,8 +45117,8 @@ paths: - docker - nuget - container - - *74 - - &771 + - *76 + - &777 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44570,12 +45154,12 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '403': *27 '401': *23 - '400': &773 + '400': &779 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44597,7 +45181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &338 + - &343 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 @@ -44615,20 +45199,20 @@ paths: - docker - nuget - container - - &339 + - &344 name: package_name description: The name of the package. in: path required: true schema: type: string - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: default: value: @@ -44680,9 +45264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 responses: '204': description: Response @@ -44714,9 +45298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 - name: token description: package token schema: @@ -44748,9 +45332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 - *19 - *17 - name: state @@ -44770,7 +45354,7 @@ paths: application/json: schema: type: array - items: &340 + items: &345 title: Package Version description: A version of a software package type: object @@ -44905,10 +45489,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: - - *338 - - *339 - - *74 - - &341 + - *343 + - *344 + - *76 + - &346 name: package_version_id description: Unique identifier of the package version. in: path @@ -44920,7 +45504,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -44956,10 +45540,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *338 - - *339 - - *74 - - *341 + - *343 + - *344 + - *76 + - *346 responses: '204': description: Response @@ -44991,10 +45575,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *338 - - *339 - - *74 - - *341 + - *343 + - *344 + - *76 + - *346 responses: '204': description: Response @@ -45021,10 +45605,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *76 - *17 - *19 - - &343 + - &348 name: sort description: The property by which to sort the results. in: query @@ -45034,8 +45618,8 @@ paths: enum: - created_at default: created_at - - *98 - - &344 + - *99 + - &349 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45047,7 +45631,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &345 + - &350 name: repository description: The name of the repository to use to filter the results. in: query @@ -45056,7 +45640,7 @@ paths: type: string examples: - Hello-World - - &346 + - &351 name: permission description: The permission to use to filter the results. in: query @@ -45065,7 +45649,7 @@ paths: type: string examples: - issues_read - - &347 + - &352 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) @@ -45075,7 +45659,7 @@ paths: schema: type: string format: date-time - - &348 + - &353 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) @@ -45085,7 +45669,7 @@ paths: schema: type: string format: date-time - - &349 + - &354 name: token_id description: The ID of the token in: query @@ -45098,7 +45682,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45233,7 +45817,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45253,7 +45837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *76 requestBody: required: true content: @@ -45295,7 +45879,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45320,7 +45904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *74 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45357,11 +45941,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45382,7 +45966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *74 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45393,7 +45977,7 @@ paths: - *17 - *19 responses: - '500': *89 + '500': *38 '404': *6 '403': *27 '200': @@ -45402,11 +45986,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45427,19 +46011,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *74 + - *76 - *17 - *19 - - *343 - - *98 - - *344 - - *345 - - *346 - - *347 - *348 + - *99 - *349 + - *350 + - *351 + - *352 + - *353 + - *354 responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45568,7 +46152,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45588,7 +46172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *74 + - *76 requestBody: required: true content: @@ -45623,7 +46207,7 @@ paths: - 1296269 - 1296280 responses: - '500': *89 + '500': *38 '404': *6 '202': *37 '403': *27 @@ -45648,7 +46232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *74 + - *76 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -45676,9 +46260,9 @@ paths: value: action: revoke responses: - '500': *89 + '500': *38 '404': *6 - '204': *128 + '204': *129 '403': *27 '422': *15 x-github: @@ -45700,7 +46284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *74 + - *76 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -45710,7 +46294,7 @@ paths: - *17 - *19 responses: - '500': *89 + '500': *38 '404': *6 '403': *27 '200': @@ -45719,11 +46303,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45745,7 +46329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -45763,7 +46347,7 @@ paths: type: integer configurations: type: array - items: &350 + items: &355 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45832,7 +46416,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *38 + Link: *41 '400': *14 '404': *6 x-github: @@ -45854,7 +46438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -46022,7 +46606,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &351 + org-private-registry-with-selected-visibility: &356 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46063,7 +46647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -46091,7 +46675,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -46113,16 +46697,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *350 + schema: *355 examples: - default: *351 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -46143,8 +46727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -46240,8 +46824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -46266,7 +46850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *74 + - *76 - name: state description: Indicates the state of the projects to return. in: query @@ -46287,7 +46871,7 @@ paths: application/json: schema: type: array - items: &352 + items: &357 title: Project description: Projects are a way to organize columns and cards of work. @@ -46420,7 +47004,7 @@ paths: organization_permission: write private: true headers: - Link: *38 + Link: *41 '422': *7 x-github: githubCloudOnly: false @@ -46443,7 +47027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *74 + - *76 requestBody: required: true content: @@ -46469,7 +47053,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -46507,7 +47091,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &430 + '410': &435 description: Gone content: application/json: @@ -46533,15 +47117,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *74 + - *76 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *96 - *97 + - *98 - *17 responses: '200': @@ -46550,7 +47134,7 @@ paths: application/json: schema: type: array - items: &353 + items: &358 title: Projects v2 Project description: A projects v2 project type: object @@ -46624,7 +47208,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &848 + - &854 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46709,7 +47293,7 @@ paths: - deleted_at - deleted_by examples: - default: &354 + default: &359 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46792,7 +47376,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -46812,24 +47396,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &355 + - &360 name: project_number description: The project's number. in: path required: true schema: type: integer - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *353 + schema: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -46849,11 +47433,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *355 - - *74 + - *360 + - *76 - *17 - - *96 - *97 + - *98 responses: '200': description: Response @@ -46861,7 +47445,7 @@ paths: application/json: schema: type: array - items: &356 + items: &361 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47011,7 +47595,7 @@ paths: - updated_at - project_url examples: - default: &357 + default: &362 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47034,7 +47618,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47054,25 +47638,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *355 - - &784 + - *360 + - &790 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *356 + schema: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47093,8 +47677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *355 - - *74 + - *360 + - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -47114,8 +47698,8 @@ paths: type: string examples: - fields[]=123,fields[]=456,fields[]=789 - - *96 - *97 + - *98 - *17 responses: '200': @@ -47124,7 +47708,7 @@ paths: application/json: schema: type: array - items: &361 + items: &366 title: Projects v2 Item description: An item belonging to a project type: object @@ -47141,7 +47725,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &360 + content_type: &365 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47198,7 +47782,7 @@ paths: - updated_at - archived_at examples: - default: &362 + default: &367 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47872,7 +48456,7 @@ paths: type: sub_issues_progress value: headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47892,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *74 - - *355 + - *76 + - *360 requestBody: required: true description: Details of the item to add to the project. @@ -47930,7 +48514,7 @@ paths: description: Response content: application/json: - schema: &785 + schema: &791 title: Projects v2 Item description: An item belonging to a project type: object @@ -47943,8 +48527,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *185 - - &539 + - *193 + - &544 title: Pull Request Simple description: Pull Request Simple type: object @@ -48064,7 +48648,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 active_lock_reason: type: - string @@ -48119,7 +48703,7 @@ paths: type: - array - 'null' - items: *260 + items: *267 head: type: object properties: @@ -48127,7 +48711,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: @@ -48147,7 +48731,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: @@ -48163,7 +48747,7 @@ paths: _links: type: object properties: - comments: &359 + comments: &364 title: Link description: Hypermedia Link type: object @@ -48172,13 +48756,13 @@ paths: type: string required: - href - commits: *359 - statuses: *359 - html: *359 - issue: *359 - review_comments: *359 - review_comment: *359 - self: *359 + commits: *364 + statuses: *364 + html: *364 + issue: *364 + review_comments: *364 + review_comment: *364 + self: *364 required: - comments - commits @@ -48188,8 +48772,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: &645 + author_association: *180 + auto_merge: &650 title: Auto merge description: The status of auto merging a pull request. type: @@ -48291,7 +48875,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *360 + content_type: *365 creator: *4 created_at: type: string @@ -48328,7 +48912,7 @@ paths: - updated_at - archived_at examples: - default: &786 + default: &792 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -48402,9 +48986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *355 - - *74 - - &363 + - *360 + - *76 + - &368 name: item_id description: The unique identifier of the project item. in: path @@ -48428,11 +49012,11 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -48451,9 +49035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *355 - - *74 - - *363 + - *360 + - *76 + - *368 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48526,9 +49110,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 @@ -48548,9 +49132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *355 - - *74 - - *363 + - *360 + - *76 + - *368 responses: '204': description: Response @@ -48569,12 +49153,12 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -48582,9 +49166,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -48606,12 +49190,12 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -48622,7 +49206,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *124 + items: *125 minItems: 1 maxItems: 100 required: @@ -48652,9 +49236,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -48670,21 +49254,21 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 responses: '200': description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -48702,18 +49286,18 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 requestBody: required: true content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -48729,9 +49313,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -48749,15 +49333,15 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 responses: - '204': *128 + '204': *129 '403': *27 '404': *6 x-github: @@ -48778,7 +49362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *74 + - *76 - *17 - *19 - name: repository_query @@ -48819,7 +49403,7 @@ paths: - octocat/Hello-World properties: type: array - items: &365 + items: &370 title: Custom Property Value description: Custom property name and associated value type: object @@ -48861,7 +49445,7 @@ paths: - property_name: team value: octocat headers: - Link: *38 + Link: *41 '403': *27 '404': *6 x-github: @@ -48889,7 +49473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *74 + - *76 requestBody: required: true content: @@ -48909,7 +49493,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *365 + items: *370 required: - repository_names - properties @@ -48950,7 +49534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *74 + - *76 - *17 - *19 responses: @@ -48962,9 +49546,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48981,8 +49565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response if user is a public member @@ -49006,8 +49590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -49028,8 +49612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -49053,7 +49637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *74 + - *76 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -49100,11 +49684,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49123,7 +49707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *74 + - *76 requestBody: required: true content: @@ -49306,7 +49890,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &437 title: Full Repository description: Full Repository type: object @@ -49652,7 +50236,7 @@ paths: template_repository: anyOf: - type: 'null' - - *65 + - *67 temp_clone_token: type: - string @@ -49752,13 +50336,13 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 organization: anyOf: - type: 'null' - *4 - parent: *65 - source: *65 + parent: *67 + source: *67 forks: type: integer master_branch: @@ -49771,7 +50355,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &544 + code_of_conduct: &549 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -49801,7 +50385,7 @@ paths: - key - name - html_url - security_and_analysis: *366 + security_and_analysis: *371 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49885,7 +50469,7 @@ paths: - network_count - subscribers_count examples: - default: &434 + default: &439 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50403,7 +50987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -50411,9 +50995,9 @@ paths: application/json: schema: type: array - items: *367 + items: *372 examples: - default: *368 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50435,10 +51019,10 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - *17 - *19 - - &667 + - &673 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50457,7 +51041,7 @@ paths: application/json: schema: type: array - items: *157 + items: *158 examples: default: value: @@ -50488,7 +51072,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -50504,7 +51088,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 requestBody: description: Request body required: true @@ -50525,21 +51109,20 @@ paths: - push - repository default: branch - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *369 + items: *137 + conditions: *374 rules: type: array description: An array of rules within the ruleset. - items: &371 + items: &376 title: Repository Rule type: object description: A repository rule. oneOf: - - *137 - *138 - *139 - *140 @@ -50559,6 +51142,7 @@ paths: - *154 - *155 - *156 + - *157 required: - name - enforcement @@ -50596,9 +51180,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &370 + default: &375 value: id: 21 name: super cool ruleset @@ -50638,7 +51222,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -50652,8 +51236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *74 - - &669 + - *76 + - &675 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 @@ -50663,16 +51247,16 @@ paths: schema: type: string x-multi-segment: true - - *257 - - *93 - - &670 + - *264 + - *94 + - &676 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 - - &671 + - &677 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50692,7 +51276,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &678 title: Rule Suites description: Response type: array @@ -50748,7 +51332,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &673 + default: &679 value: - id: 21 actor_id: 12 @@ -50772,7 +51356,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50791,8 +51375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *74 - - &674 + - *76 + - &680 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50808,7 +51392,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &681 title: Rule Suite description: Response type: object @@ -50915,7 +51499,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &676 + default: &682 value: id: 21 actor_id: 12 @@ -50950,7 +51534,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50976,7 +51560,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -50988,11 +51572,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *370 + default: *375 '404': *6 - '500': *89 + '500': *38 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -51008,7 +51592,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51034,16 +51618,16 @@ paths: - tag - push - repository - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *369 + items: *137 + conditions: *374 rules: description: An array of rules within the ruleset. type: array - items: *371 + items: *376 examples: default: value: @@ -51078,11 +51662,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *370 + default: *375 '404': *6 - '500': *89 + '500': *38 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -51098,7 +51682,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51109,7 +51693,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -51121,7 +51705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *74 + - *76 - *17 - *19 - name: ruleset_id @@ -51137,11 +51721,11 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: - default: *372 + default: *377 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51158,7 +51742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51176,7 +51760,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -51216,7 +51800,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51238,15 +51822,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *74 - - *374 - - *375 - - *376 - - *377 - - *98 + - *76 + - *379 + - *380 + - *381 + - *382 + - *99 - *19 - *17 - - &678 + - &684 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 @@ -51256,7 +51840,7 @@ paths: required: false schema: type: string - - &679 + - &685 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 @@ -51266,10 +51850,10 @@ paths: required: false schema: type: string - - *378 - - *379 - - *380 - - *381 + - *383 + - *384 + - *385 + - *386 responses: '200': description: Response @@ -51277,13 +51861,13 @@ paths: application/json: schema: type: array - items: *382 + items: *387 examples: - default: *383 + default: *388 headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51308,15 +51892,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *384 + schema: *389 examples: - default: *385 + default: *390 '403': *27 '404': *6 patch: @@ -51337,7 +51921,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *76 requestBody: required: true content: @@ -51345,7 +51929,7 @@ paths: schema: type: object properties: - pattern_config_version: *164 + pattern_config_version: *165 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -51371,7 +51955,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *164 + custom_pattern_version: *165 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -51407,7 +51991,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 "/orgs/{org}/security-advisories": get: @@ -51425,8 +52009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *74 - - *98 + - *76 + - *99 - name: sort description: The property to sort the results by. in: query @@ -51438,8 +52022,8 @@ paths: - updated - published default: created - - *96 - *97 + - *98 - name: per_page description: The number of advisories to return per page. 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)." @@ -51469,7 +52053,7 @@ paths: application/json: schema: type: array - items: &700 + items: &706 description: A repository security advisory. type: object properties: @@ -51677,7 +52261,7 @@ paths: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: - array @@ -51713,7 +52297,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 credits_detailed: type: - array @@ -51724,7 +52308,7 @@ paths: type: object properties: user: *4 - type: *386 + type: *391 state: type: string description: The state of the user's acceptance of the @@ -51750,13 +52334,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *260 + items: *267 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *107 + - *108 type: - 'null' required: @@ -51788,7 +52372,7 @@ paths: - private_fork additionalProperties: false examples: - default: &701 + default: &707 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52167,7 +52751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *74 + - *76 responses: '200': description: Response @@ -52175,9 +52759,9 @@ paths: application/json: schema: type: array - items: *334 + items: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52200,8 +52784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -52226,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -52256,15 +52840,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *387 + schema: *392 examples: - default: *388 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52288,8 +52872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *74 - - *389 + - *76 + - *394 - *17 - *19 responses: @@ -52297,9 +52881,9 @@ paths: description: Success content: application/json: - schema: *390 + schema: *395 examples: - default: *391 + default: *396 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52321,15 +52905,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *392 + schema: *397 examples: - default: *393 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52351,15 +52935,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *395 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52379,7 +52963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -52397,11 +52981,11 @@ paths: type: integer network_configurations: type: array - items: *121 + items: *122 examples: - default: *396 + default: *401 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52420,7 +53004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -52462,9 +53046,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52484,18 +53068,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *123 + - *76 + - *124 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52514,8 +53098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *123 + - *76 + - *124 requestBody: required: true content: @@ -52554,9 +53138,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52575,8 +53159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *74 - - *123 + - *76 + - *124 responses: '204': description: Response @@ -52599,18 +53183,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *74 - - *397 + - *76 + - *402 responses: '200': description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52627,7 +53211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -52646,7 +53230,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &426 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52698,7 +53282,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &422 + default: &427 value: groups: - group_id: '123' @@ -52743,8 +53327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *74 - - *333 + - *76 + - *178 - 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`). @@ -52776,13 +53360,13 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52800,7 +53384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *74 + - *76 - *17 - *19 responses: @@ -52810,11 +53394,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '403': *27 x-github: githubCloudOnly: false @@ -52834,7 +53418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *74 + - *76 requestBody: required: true content: @@ -52906,7 +53490,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &405 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52980,7 +53564,7 @@ paths: parent: anyOf: - type: 'null' - - *334 + - *339 members_count: type: integer examples: @@ -53286,7 +53870,7 @@ paths: - repos_count - organization examples: - default: &401 + default: &406 value: id: 1 node_id: MDQ6VGVhbTE= @@ -53356,16 +53940,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -53386,8 +53970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: false content: @@ -53450,16 +54034,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '201': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 '422': *15 '403': *27 @@ -53484,8 +54068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -53511,9 +54095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *74 - - *333 - - *98 + - *76 + - *178 + - *99 - *17 - *19 - name: pinned @@ -53529,7 +54113,7 @@ paths: application/json: schema: type: array - items: &402 + items: &407 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -53620,7 +54204,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *173 + reactions: *181 required: - author - body @@ -53640,7 +54224,7 @@ paths: - updated_at - url examples: - default: &744 + default: &750 value: - author: login: octocat @@ -53690,7 +54274,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53714,8 +54298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -53749,9 +54333,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &403 + default: &408 value: author: login: octocat @@ -53823,9 +54407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *74 - - *333 - - &404 + - *76 + - *178 + - &409 name: discussion_number description: The number that identifies the discussion. in: path @@ -53837,9 +54421,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53861,9 +54445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: false content: @@ -53886,9 +54470,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &745 + default: &751 value: author: login: octocat @@ -53958,9 +54542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 responses: '204': description: Response @@ -53986,10 +54570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *74 - - *333 - - *404 - - *98 + - *76 + - *178 + - *409 + - *99 - *17 - *19 responses: @@ -53999,7 +54583,7 @@ paths: application/json: schema: type: array - items: &405 + items: &410 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -54064,7 +54648,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *173 + reactions: *181 required: - author - body @@ -54079,7 +54663,7 @@ paths: - updated_at - url examples: - default: &746 + default: &752 value: - author: login: octocat @@ -54123,7 +54707,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54147,9 +54731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: true content: @@ -54171,9 +54755,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: &406 + default: &411 value: author: login: octocat @@ -54239,10 +54823,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - &407 + - *76 + - *178 + - *409 + - &412 name: comment_number description: The number that identifies the comment. in: path @@ -54254,9 +54838,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54278,10 +54862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 requestBody: required: true content: @@ -54303,9 +54887,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: &747 + default: &753 value: author: login: octocat @@ -54369,10 +54953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 responses: '204': description: Response @@ -54398,10 +54982,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 - 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. @@ -54427,7 +55011,7 @@ paths: application/json: schema: type: array - items: &408 + items: &413 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -54471,7 +55055,7 @@ paths: - content - created_at examples: - default: &410 + default: &415 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54497,7 +55081,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54521,10 +55105,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 requestBody: required: true content: @@ -54557,9 +55141,9 @@ paths: team discussion comment content: application/json: - schema: *408 + schema: *413 examples: - default: &409 + default: &414 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54588,9 +55172,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54613,11 +55197,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *74 - - *333 - - *404 - - *407 - - &411 + - *76 + - *178 + - *409 + - *412 + - &416 name: reaction_id description: The unique identifier of the reaction. in: path @@ -54649,9 +55233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 - 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. @@ -54677,11 +55261,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54705,9 +55289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: true content: @@ -54739,16 +55323,16 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54771,10 +55355,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *74 - - *333 - - *404 - - *411 + - *76 + - *178 + - *409 + - *416 responses: '204': description: Response @@ -54797,16 +55381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *412 + schema: *417 examples: - default: *413 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54825,8 +55409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -54850,9 +55434,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54871,8 +55455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -54896,8 +55480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -54907,11 +55491,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54931,8 +55515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *74 - - *333 + - *76 + - *178 - name: role description: Filters members returned by their role in the team. in: query @@ -54955,9 +55539,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54985,15 +55569,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 responses: '200': description: Response content: application/json: - schema: &416 + schema: &421 title: Team Membership description: Team Membership type: object @@ -55021,7 +55605,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &748 + response-if-user-is-a-team-maintainer: &754 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55057,9 +55641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 requestBody: required: false content: @@ -55084,9 +55668,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-users-membership-with-team-is-now-pending: &749 + response-if-users-membership-with-team-is-now-pending: &755 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55121,9 +55705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 responses: '204': description: Response @@ -55148,8 +55732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -55159,7 +55743,7 @@ paths: application/json: schema: type: array - items: &417 + items: &422 title: Team Project description: A team's access to a project. type: object @@ -55228,7 +55812,7 @@ paths: - updated_at - permissions examples: - default: &750 + default: &756 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55268,7 +55852,7 @@ paths: write: true admin: false headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55291,9 +55875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *74 - - *333 - - &418 + - *76 + - *178 + - &423 name: project_id description: The unique identifier of the project. in: path @@ -55305,9 +55889,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *422 examples: - default: &751 + default: &757 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55369,9 +55953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *74 - - *333 - - *418 + - *76 + - *178 + - *423 requestBody: required: false content: @@ -55438,9 +56022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *74 - - *333 - - *418 + - *76 + - *178 + - *423 responses: '204': description: Response @@ -55467,8 +56051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -55478,11 +56062,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55509,16 +56093,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &752 + schema: &758 title: Team Repository description: A team's access to a repository. type: object @@ -55544,7 +56128,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 forks: type: integer permissions: @@ -56159,10 +56743,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 requestBody: required: false content: @@ -56207,10 +56791,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 responses: '204': description: Response @@ -56236,16 +56820,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56267,8 +56851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -56311,7 +56895,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -56343,8 +56927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -56354,9 +56938,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - response-if-child-teams-exist: &753 + response-if-child-teams-exist: &759 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56384,7 +56968,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56409,7 +56993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *74 + - *76 - name: security_product in: path description: The security feature to enable or disable. @@ -56483,7 +57067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &423 + - &428 name: card_id description: The unique identifier of the card. in: path @@ -56495,7 +57079,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &429 title: Project Card description: Project cards represent a scope of work. type: object @@ -56570,7 +57154,7 @@ paths: - created_at - updated_at examples: - default: &425 + default: &430 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -56626,7 +57210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *423 + - *428 requestBody: required: false content: @@ -56656,9 +57240,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '304': *35 '403': *27 '401': *23 @@ -56685,7 +57269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *423 + - *428 responses: '204': description: Response @@ -56729,7 +57313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *423 + - *428 requestBody: required: true content: @@ -56842,7 +57426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &426 + - &431 name: column_id description: The unique identifier of the column. in: path @@ -56854,7 +57438,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &432 title: Project Column description: Project columns contain cards of work. type: object @@ -56908,7 +57492,7 @@ paths: - created_at - updated_at examples: - default: &428 + default: &433 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56943,7 +57527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *426 + - *431 requestBody: required: true content: @@ -56968,9 +57552,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '304': *35 '403': *27 '401': *23 @@ -56995,7 +57579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *426 + - *431 responses: '204': description: Response @@ -57024,7 +57608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *426 + - *431 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -57045,7 +57629,7 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: default: value: @@ -57079,7 +57663,7 @@ paths: content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 project_url: https://api.github.com/projects/120 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -57104,7 +57688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *426 + - *431 requestBody: required: true content: @@ -57148,9 +57732,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '304': *35 '403': *27 '401': *23 @@ -57160,8 +57744,8 @@ paths: application/json: schema: oneOf: - - *209 - - *210 + - *217 + - *218 '503': description: Response content: @@ -57206,7 +57790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *426 + - *431 requestBody: required: true content: @@ -57267,15 +57851,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *418 + - *423 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: &429 + default: &434 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -57332,7 +57916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *418 + - *423 requestBody: required: false content: @@ -57381,9 +57965,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: *429 + default: *434 '404': description: Not Found if the authenticated user does not have access to the project @@ -57404,7 +57988,7 @@ paths: items: type: string '401': *23 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -57427,7 +58011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *418 + - *423 responses: '204': description: Delete Success @@ -57448,7 +58032,7 @@ paths: items: type: string '401': *23 - '410': *430 + '410': *435 '404': *6 x-github: githubCloudOnly: false @@ -57472,7 +58056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *418 + - *423 - 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 @@ -57499,9 +58083,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 '422': *15 '304': *35 @@ -57529,8 +58113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *418 - - *254 + - *423 + - *176 requestBody: required: false content: @@ -57584,8 +58168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *418 - - *254 + - *423 + - *176 responses: '204': description: Response @@ -57616,8 +58200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *418 - - *254 + - *423 + - *176 responses: '200': description: Response @@ -57687,7 +58271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *418 + - *423 - *17 - *19 responses: @@ -57697,7 +58281,7 @@ paths: application/json: schema: type: array - items: *427 + items: *432 examples: default: value: @@ -57710,7 +58294,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -57735,7 +58319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *418 + - *423 requestBody: required: true content: @@ -57759,7 +58343,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: default: value: @@ -57824,7 +58408,7 @@ paths: resources: type: object properties: - core: &431 + core: &436 title: Rate Limit type: object properties: @@ -57841,21 +58425,21 @@ paths: - remaining - reset - used - graphql: *431 - search: *431 - code_search: *431 - source_import: *431 - integration_manifest: *431 - code_scanning_upload: *431 - actions_runner_registration: *431 - scim: *431 - dependency_snapshots: *431 - dependency_sbom: *431 - code_scanning_autofix: *431 + graphql: *436 + search: *436 + code_search: *436 + source_import: *436 + integration_manifest: *436 + code_scanning_upload: *436 + actions_runner_registration: *436 + scim: *436 + dependency_snapshots: *436 + dependency_sbom: *436 + code_scanning_autofix: *436 required: - core - search - rate: *431 + rate: *436 required: - rate - resources @@ -57960,14 +58544,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: default-response: summary: Default response @@ -58472,7 +59056,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *433 + '301': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58490,8 +59074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -58749,10 +59333,10 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 - '307': &435 + default: *439 + '307': &440 description: Temporary Redirect content: application/json: @@ -58781,8 +59365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -58804,9 +59388,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *435 + '307': *440 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58828,11 +59412,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - - &450 + - &455 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58855,7 +59439,7 @@ paths: type: integer artifacts: type: array - items: &436 + items: &441 title: Artifact description: An artifact type: object @@ -58950,7 +59534,7 @@ paths: - expires_at - updated_at examples: - default: &451 + default: &456 value: total_count: 2 artifacts: @@ -58989,7 +59573,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59011,9 +59595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *419 - - *420 - - &437 + - *424 + - *425 + - &442 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59025,7 +59609,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: default: value: @@ -59063,9 +59647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *419 - - *420 - - *437 + - *424 + - *425 + - *442 responses: '204': description: Response @@ -59089,9 +59673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *419 - - *420 - - *437 + - *424 + - *425 + - *442 - name: archive_format in: path required: true @@ -59105,7 +59689,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': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59128,14 +59712,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *438 + schema: *443 examples: default: value: @@ -59161,11 +59745,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: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - - &439 + - &444 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 @@ -59193,13 +59777,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *98 + - *99 responses: '200': description: Response content: application/json: - schema: &440 + schema: &445 title: Repository actions caches description: Repository actions caches type: object @@ -59249,7 +59833,7 @@ paths: - total_count - actions_caches examples: - default: &441 + default: &446 value: total_count: 1 actions_caches: @@ -59261,7 +59845,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59281,23 +59865,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: - - *419 - - *420 + - *424 + - *425 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *439 + - *444 responses: '200': description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59317,8 +59901,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: - - *419 - - *420 + - *424 + - *425 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59349,9 +59933,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: - - *419 - - *420 - - &442 + - *424 + - *425 + - &447 name: job_id description: The unique identifier of the job. in: path @@ -59363,7 +59947,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &459 title: Job description: Information of a job execution in a workflow run type: object @@ -59710,9 +60294,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: - - *419 - - *420 - - *442 + - *424 + - *425 + - *447 responses: '302': description: Response @@ -59740,9 +60324,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: - - *419 - - *420 - - *442 + - *424 + - *425 + - *447 requestBody: required: false content: @@ -59764,7 +60348,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -59788,8 +60372,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Status response @@ -59839,8 +60423,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -59874,7 +60458,7 @@ paths: description: Empty response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -59903,8 +60487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -59922,7 +60506,7 @@ paths: type: integer secrets: type: array - items: &456 + items: &461 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59943,7 +60527,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &462 value: total_count: 2 secrets: @@ -59954,7 +60538,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59976,9 +60560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *419 - - *420 - - *443 + - *424 + - *425 + - *448 - *19 responses: '200': @@ -59995,7 +60579,7 @@ paths: type: integer variables: type: array - items: &460 + items: &465 title: Actions Variable type: object properties: @@ -60029,7 +60613,7 @@ paths: - created_at - updated_at examples: - default: &461 + default: &466 value: total_count: 2 variables: @@ -60042,7 +60626,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60062,8 +60646,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -60072,12 +60656,12 @@ paths: schema: type: object properties: - enabled: &444 + enabled: &449 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *47 - selected_actions_url: *219 - sha_pinning_required: *48 + allowed_actions: *49 + selected_actions_url: *227 + sha_pinning_required: *50 required: - enabled examples: @@ -60107,8 +60691,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60119,9 +60703,9 @@ paths: schema: type: object properties: - enabled: *444 - allowed_actions: *47 - sha_pinning_required: *48 + enabled: *449 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled examples: @@ -60152,14 +60736,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &445 + schema: &450 type: object properties: access_level: @@ -60177,7 +60761,7 @@ paths: required: - access_level examples: - default: &446 + default: &451 value: access_level: organization x-github: @@ -60202,15 +60786,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *445 + schema: *450 examples: - default: *446 + default: *451 responses: '204': description: Response @@ -60234,14 +60818,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *221 + schema: *229 examples: default: value: @@ -60265,8 +60849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Empty response for successful settings update @@ -60276,7 +60860,7 @@ paths: required: true content: application/json: - schema: *222 + schema: *230 examples: default: summary: Set retention days @@ -60300,16 +60884,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *49 + schema: *51 examples: - default: *223 + default: *231 '404': *6 x-github: enabledForGitHubApps: true @@ -60328,8 +60912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60339,7 +60923,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -60363,16 +60947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *224 + schema: *232 examples: - default: *50 + default: *52 '403': *27 '404': *6 x-github: @@ -60392,15 +60976,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *225 + schema: *233 examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -60424,16 +61008,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *52 + schema: *54 examples: - default: *53 + default: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60456,8 +61040,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60465,9 +61049,9 @@ paths: required: false content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60489,16 +61073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *228 + schema: *236 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60519,8 +61103,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Success response @@ -60531,9 +61115,9 @@ paths: required: true content: application/json: - schema: *229 + schema: *237 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60560,8 +61144,8 @@ paths: in: query schema: type: string - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -60579,11 +61163,11 @@ paths: type: integer runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60605,8 +61189,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -60614,9 +61198,9 @@ paths: application/json: schema: type: array - items: *233 + items: *241 examples: - default: *234 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60638,8 +61222,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -60682,10 +61266,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *235 + '201': *243 '404': *6 '422': *7 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60713,16 +61297,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *236 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60750,16 +61334,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *237 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60781,17 +61365,17 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: *238 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60812,9 +61396,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: '204': description: Response @@ -60840,11 +61424,11 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: - '200': *68 + '200': *70 '404': *6 x-github: githubCloudOnly: false @@ -60866,9 +61450,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 requestBody: required: true content: @@ -60892,7 +61476,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -60916,9 +61500,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 requestBody: required: true content: @@ -60943,7 +61527,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -60967,11 +61551,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: - '200': *239 + '200': *247 '404': *6 x-github: githubCloudOnly: false @@ -60998,12 +61582,12 @@ 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: - - *419 - - *420 - - *62 - - *240 + - *424 + - *425 + - *64 + - *248 responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -61029,9 +61613,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: - - *419 - - *420 - - &464 + - *424 + - *425 + - &469 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. @@ -61039,7 +61623,7 @@ paths: required: false schema: type: string - - &465 + - &470 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61047,7 +61631,7 @@ paths: required: false schema: type: string - - &466 + - &471 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61056,7 +61640,7 @@ paths: required: false schema: type: string - - &467 + - &472 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 @@ -61083,7 +61667,7 @@ paths: - pending - *17 - *19 - - &468 + - &473 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)." @@ -61092,7 +61676,7 @@ paths: schema: type: string format: date-time - - &447 + - &452 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61101,13 +61685,13 @@ paths: schema: type: boolean default: false - - &469 + - &474 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &470 + - &475 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61130,7 +61714,7 @@ paths: type: integer workflow_runs: type: array - items: &448 + items: &453 title: Workflow Run description: An invocation of a workflow type: object @@ -61247,7 +61831,7 @@ paths: type: - array - 'null' - items: &489 + items: &494 title: Pull Request Minimal type: object properties: @@ -61374,7 +61958,7 @@ paths: head_commit: anyOf: - type: 'null' - - &493 + - &498 title: Simple Commit description: A commit. type: object @@ -61448,8 +62032,8 @@ paths: - timestamp - author - committer - repository: *232 - head_repository: *232 + repository: *240 + head_repository: *240 head_repository_id: type: integer examples: @@ -61489,7 +62073,7 @@ paths: - workflow_url - pull_requests examples: - default: &471 + default: &476 value: total_count: 1 workflow_runs: @@ -61703,7 +62287,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61725,24 +62309,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *419 - - *420 - - &449 + - *424 + - *425 + - &454 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *447 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: &452 + default: &457 value: id: 30433642 name: Build @@ -61983,9 +62567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '204': description: Response @@ -62008,9 +62592,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -62138,15 +62722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -62173,12 +62757,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 - *17 - *19 - - *450 + - *455 responses: '200': description: Response @@ -62194,11 +62778,11 @@ paths: type: integer artifacts: type: array - items: *436 + items: *441 examples: - default: *451 + default: *456 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62220,25 +62804,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *419 - - *420 - - *449 - - &453 + - *424 + - *425 + - *454 + - &458 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *447 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *452 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62261,10 +62845,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: - - *419 - - *420 - - *449 - - *453 + - *424 + - *425 + - *454 + - *458 - *17 - *19 responses: @@ -62282,9 +62866,9 @@ paths: type: integer jobs: type: array - items: *454 + items: *459 examples: - default: &455 + default: &460 value: total_count: 1 jobs: @@ -62373,7 +62957,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -62397,10 +62981,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *419 - - *420 - - *449 - - *453 + - *424 + - *425 + - *454 + - *458 responses: '302': description: Response @@ -62428,19 +63012,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '202': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62463,9 +63047,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: true content: @@ -62532,19 +63116,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '202': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62567,9 +63151,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 - 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 @@ -62599,11 +63183,11 @@ paths: type: integer jobs: type: array - items: *454 + items: *459 examples: - default: *455 + default: *460 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62626,9 +63210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '302': description: Response @@ -62655,14 +63239,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '204': description: Response '403': *27 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62684,9 +63268,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -62755,7 +63339,7 @@ paths: items: type: object properties: - type: &572 + type: &577 type: string description: The type of reviewer. enum: @@ -62766,7 +63350,7 @@ paths: reviewer: anyOf: - *4 - - *260 + - *267 required: - environment - wait_timer @@ -62841,9 +63425,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: true content: @@ -62893,7 +63477,7 @@ paths: application/json: schema: type: array - items: &558 + items: &563 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63005,7 +63589,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &564 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63061,9 +63645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: false content: @@ -63085,7 +63669,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63108,9 +63692,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: false content: @@ -63132,7 +63716,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63165,9 +63749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -63304,8 +63888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -63323,11 +63907,11 @@ paths: type: integer secrets: type: array - items: *456 + items: *461 examples: - default: *457 + default: *462 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63350,16 +63934,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *458 + schema: *463 examples: - default: *459 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63381,17 +63965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: &585 + default: &590 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63417,9 +64001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -63450,7 +64034,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63476,9 +64060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -63503,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *419 - - *420 - - *443 + - *424 + - *425 + - *448 - *19 responses: '200': @@ -63522,11 +64106,11 @@ paths: type: integer variables: type: array - items: *460 + items: *465 examples: - default: *461 + default: *466 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63547,8 +64131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -63575,7 +64159,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63600,17 +64184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 responses: '200': description: Response content: application/json: - schema: *460 + schema: *465 examples: - default: &586 + default: &591 value: name: USERNAME value: octocat @@ -63636,9 +64220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 requestBody: required: true content: @@ -63680,9 +64264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 responses: '204': description: Response @@ -63707,8 +64291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -63726,7 +64310,7 @@ paths: type: integer workflows: type: array - items: &462 + items: &467 title: Workflow description: A GitHub Actions workflow type: object @@ -63821,7 +64405,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63844,9 +64428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *419 - - *420 - - &463 + - *424 + - *425 + - &468 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63861,7 +64445,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *467 examples: default: value: @@ -63894,9 +64478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -63921,9 +64505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -63974,9 +64558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -64003,19 +64587,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: - - *419 - - *420 - - *463 - - *464 - - *465 - - *466 - - *467 - - *17 - - *19 + - *424 + - *425 - *468 - - *447 - *469 - *470 + - *471 + - *472 + - *17 + - *19 + - *473 + - *452 + - *474 + - *475 responses: '200': description: Response @@ -64031,11 +64615,11 @@ paths: type: integer workflow_runs: type: array - items: *448 + items: *453 examples: - default: *471 + default: *476 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64066,9 +64650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '200': description: Response @@ -64129,12 +64713,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *419 - - *420 - - *98 + - *424 + - *425 + - *99 - *17 - - *96 - *97 + - *98 - name: ref description: |- The Git reference for the activities you want to list. @@ -64279,7 +64863,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '422': *7 x-github: githubCloudOnly: false @@ -64298,8 +64882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -64311,9 +64895,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -64336,8 +64920,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: - - *419 - - *420 + - *424 + - *425 - name: assignee in: path required: true @@ -64373,8 +64957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -64486,11 +65070,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *419 - - *420 + - *424 + - *425 - *17 - - *96 - *97 + - *98 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -64541,7 +65125,7 @@ paths: bundle_url: type: string examples: - default: *472 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64561,8 +65145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -64570,7 +65154,7 @@ paths: application/json: schema: type: array - items: &473 + items: &478 title: Autolink reference description: An autolink reference. type: object @@ -64629,8 +65213,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -64669,9 +65253,9 @@ paths: description: response content: application/json: - schema: *473 + schema: *478 examples: - default: &474 + default: &479 value: id: 1 key_prefix: TICKET- @@ -64702,9 +65286,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: - - *419 - - *420 - - &475 + - *424 + - *425 + - &480 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64716,9 +65300,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *478 examples: - default: *474 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -64738,9 +65322,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: - - *419 - - *420 - - *475 + - *424 + - *425 + - *480 responses: '204': description: Response @@ -64764,8 +65348,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response if Dependabot is enabled @@ -64815,8 +65399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -64837,8 +65421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -64858,8 +65442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *419 - - *420 + - *424 + - *425 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64897,7 +65481,7 @@ paths: - url protected: type: boolean - protection: &477 + protection: &482 title: Branch Protection description: Branch Protection type: object @@ -64940,7 +65524,7 @@ paths: required: - contexts - checks - enforce_admins: &480 + enforce_admins: &485 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64957,7 +65541,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &482 + required_pull_request_reviews: &487 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64979,7 +65563,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *260 + items: *267 apps: description: The list of apps with review dismissal access. @@ -65011,7 +65595,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *260 + items: *267 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65041,7 +65625,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &479 + restrictions: &484 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65104,7 +65688,7 @@ paths: type: string teams: type: array - items: *260 + items: *267 apps: type: array items: @@ -65316,7 +65900,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -65334,9 +65918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *419 - - *420 - - &478 + - *424 + - *425 + - &483 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). @@ -65350,14 +65934,14 @@ paths: description: Response content: application/json: - schema: &488 + schema: &493 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &535 + commit: &540 title: Commit description: Commit type: object @@ -65396,7 +65980,7 @@ paths: author: anyOf: - type: 'null' - - &476 + - &481 title: Git User description: Metaproperties for Git author/committer information. @@ -65417,7 +66001,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 message: type: string examples: @@ -65441,7 +66025,7 @@ paths: required: - sha - url - verification: &592 + verification: &597 title: Verification type: object properties: @@ -65477,14 +66061,14 @@ paths: author: oneOf: - *4 - - *243 + - *251 type: - 'null' - object committer: oneOf: - *4 - - *243 + - *251 type: - 'null' - object @@ -65521,7 +66105,7 @@ paths: type: integer files: type: array - items: &546 + items: &551 title: Diff Entry description: Diff Entry type: object @@ -65617,7 +66201,7 @@ paths: - self protected: type: boolean - protection: *477 + protection: *482 protection_url: type: string format: uri @@ -65726,7 +66310,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *433 + '301': *438 '404': *6 x-github: githubCloudOnly: false @@ -65748,15 +66332,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *477 + schema: *482 examples: default: value: @@ -65950,9 +66534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -66212,7 +66796,7 @@ paths: url: type: string format: uri - required_status_checks: &485 + required_status_checks: &490 title: Status Check Policy description: Status Check Policy type: object @@ -66293,7 +66877,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 apps: type: array items: *5 @@ -66311,7 +66895,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 apps: type: array items: *5 @@ -66371,7 +66955,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *479 + restrictions: *484 required_conversation_resolution: type: object properties: @@ -66483,9 +67067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66510,17 +67094,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: &481 + default: &486 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66542,17 +67126,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: *481 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66571,9 +67155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66598,17 +67182,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *482 + schema: *487 examples: - default: &483 + default: &488 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66704,9 +67288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -66804,9 +67388,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *487 examples: - default: *483 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -66827,9 +67411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66856,17 +67440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: &484 + default: &489 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66889,17 +67473,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: *484 + default: *489 '404': *6 x-github: githubCloudOnly: false @@ -66919,9 +67503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66946,17 +67530,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: &486 + default: &491 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66982,9 +67566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67036,9 +67620,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: *486 + default: *491 '404': *6 '422': *15 x-github: @@ -67060,9 +67644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -67086,9 +67670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67122,9 +67706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67191,9 +67775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67257,9 +67841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: content: application/json: @@ -67325,15 +67909,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *479 + schema: *484 examples: default: value: @@ -67424,9 +68008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -67449,9 +68033,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67461,7 +68045,7 @@ paths: type: array items: *5 examples: - default: &487 + default: &492 value: - id: 1 slug: octoapp @@ -67518,9 +68102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67554,7 +68138,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67575,9 +68159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67611,7 +68195,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67632,9 +68216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67668,7 +68252,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67690,9 +68274,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67700,9 +68284,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -67722,9 +68306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67760,9 +68344,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67783,9 +68367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67821,9 +68405,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67844,9 +68428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: content: application/json: @@ -67881,9 +68465,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67905,9 +68489,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67917,7 +68501,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '404': *6 x-github: githubCloudOnly: false @@ -67941,9 +68525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67976,7 +68560,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68001,9 +68585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68036,7 +68620,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68061,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68096,7 +68680,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68123,9 +68707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68147,7 +68731,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *493 examples: default: value: @@ -68261,12 +68845,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -68276,11 +68860,11 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *256 + default: *263 '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -68298,8 +68882,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68313,7 +68897,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *262 examples: default: value: @@ -68351,7 +68935,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -68372,12 +68956,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -68387,12 +68971,12 @@ paths: application/json: schema: type: array - items: *258 + items: *265 examples: - default: *259 + default: *266 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -68413,8 +68997,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68426,7 +69010,7 @@ paths: description: A single bypass request. content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -68464,7 +69048,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review a bypass request for secret scanning description: |- @@ -68484,8 +69068,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68535,7 +69119,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -68556,8 +69140,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_response_id in: path required: true @@ -68570,7 +69154,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -68590,8 +69174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -68870,7 +69454,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &495 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69005,8 +69589,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *489 - deployment: &809 + items: *494 + deployment: &815 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69293,9 +69877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *419 - - *420 - - &491 + - *424 + - *425 + - &496 name: check_run_id description: The unique identifier of the check run. in: path @@ -69307,9 +69891,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *495 examples: - default: &492 + default: &497 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69409,9 +69993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 requestBody: required: true content: @@ -69651,9 +70235,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *495 examples: - default: *492 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69673,9 +70257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 - *17 - *19 responses: @@ -69765,7 +70349,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69785,15 +70369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -69831,8 +70415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -69854,7 +70438,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &494 + schema: &499 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69936,12 +70520,12 @@ paths: type: - array - 'null' - items: *489 + items: *494 app: anyOf: - type: 'null' - *5 - repository: *232 + repository: *240 created_at: type: - string @@ -69952,7 +70536,7 @@ paths: - string - 'null' format: date-time - head_commit: *493 + head_commit: *498 latest_check_runs_count: type: integer check_runs_url: @@ -69980,7 +70564,7 @@ paths: - check_runs_url - pull_requests examples: - default: &495 + default: &500 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70271,9 +70855,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *494 + schema: *499 examples: - default: *495 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70292,8 +70876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -70354,7 +70938,7 @@ paths: required: - app_id - setting - repository: *232 + repository: *240 examples: default: value: @@ -70602,9 +71186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *419 - - *420 - - &496 + - *424 + - *425 + - &501 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70616,9 +71200,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *499 examples: - default: *495 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70641,17 +71225,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: - - *419 - - *420 - - *496 - - &541 + - *424 + - *425 + - *501 + - &546 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &542 + - &547 name: status description: Returns check runs with the specified `status`. in: query @@ -70690,9 +71274,9 @@ paths: type: integer check_runs: type: array - items: *490 + items: *495 examples: - default: &543 + default: &548 value: total_count: 1 check_runs: @@ -70774,7 +71358,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70794,15 +71378,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *419 - - *420 - - *496 + - *424 + - *425 + - *501 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -70829,30 +71413,30 @@ 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: - - *419 - - *420 - - *264 - - *265 + - *424 + - *425 + - *271 + - *272 - *19 - *17 - - &512 + - &517 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: *497 - - &513 + schema: *502 + - &518 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *98 - - *96 + - *99 - *97 + - *98 - name: sort description: The property by which to sort the results. in: query @@ -70868,13 +71452,13 @@ paths: be returned. in: query required: false - schema: *266 + schema: *273 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *498 + schema: *503 responses: '200': description: Response @@ -70885,24 +71469,24 @@ paths: items: type: object properties: - number: *108 - created_at: *115 - updated_at: *116 - url: *113 - html_url: *114 - instances_url: *499 - state: *101 - fixed_at: *118 + number: *109 + created_at: *116 + updated_at: *117 + url: *114 + html_url: *115 + instances_url: *504 + state: *102 + fixed_at: *119 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *117 - dismissed_reason: *500 - dismissed_comment: *501 - rule: *502 - tool: *503 - most_recent_instance: *504 + dismissed_at: *118 + dismissed_reason: *505 + dismissed_comment: *506 + rule: *507 + tool: *508 + most_recent_instance: *509 dismissal_approved_by: anyOf: - type: 'null' @@ -71022,14 +71606,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &505 + '403': &510 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71049,9 +71633,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: - - *419 - - *420 - - &506 + - *424 + - *425 + - &511 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71059,30 +71643,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *108 + schema: *109 responses: '200': description: Response content: application/json: - schema: &507 + schema: &512 type: object properties: - number: *108 - created_at: *115 - updated_at: *116 - url: *113 - html_url: *114 - instances_url: *499 - state: *101 - fixed_at: *118 + number: *109 + created_at: *116 + updated_at: *117 + url: *114 + html_url: *115 + instances_url: *504 + state: *102 + fixed_at: *119 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *117 - dismissed_reason: *500 - dismissed_comment: *501 + dismissed_at: *118 + dismissed_reason: *505 + dismissed_comment: *506 rule: type: object properties: @@ -71144,8 +71728,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *503 - most_recent_instance: *504 + tool: *508 + most_recent_instance: *509 dismissal_approved_by: anyOf: - type: 'null' @@ -71238,9 +71822,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71258,9 +71842,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: true content: @@ -71275,8 +71859,8 @@ paths: enum: - open - dismissed - dismissed_reason: *500 - dismissed_comment: *501 + dismissed_reason: *505 + dismissed_comment: *506 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71295,7 +71879,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *512 examples: default: value: @@ -71371,14 +71955,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &511 + '403': &516 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71398,15 +71982,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 responses: '200': description: Response content: application/json: - schema: &508 + schema: &513 type: object properties: status: @@ -71433,13 +72017,13 @@ paths: - description - started_at examples: - default: &509 + default: &514 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &510 + '400': &515 description: Bad Request content: application/json: @@ -71450,9 +72034,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71475,29 +72059,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 responses: '200': description: OK content: application/json: - schema: *508 + schema: *513 examples: - default: *509 + default: *514 '202': description: Accepted content: application/json: - schema: *508 + schema: *513 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *510 + '400': *515 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71507,7 +72091,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71529,9 +72113,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: false content: @@ -71577,12 +72161,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *510 - '403': *511 + '400': *515 + '403': *516 '404': *6 '422': description: Unprocessable Entity - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71602,13 +72186,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 - *19 - *17 - - *512 - - *513 + - *517 + - *518 responses: '200': description: Response @@ -71616,7 +72200,7 @@ paths: application/json: schema: type: array - items: *504 + items: *509 examples: default: value: @@ -71655,9 +72239,9 @@ paths: end_column: 50 classifications: - source - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71689,30 +72273,30 @@ 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: - - *419 - - *420 - - *264 - - *265 + - *424 + - *425 + - *271 + - *272 - *19 - *17 - - *513 + - *518 - 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: *497 + schema: *502 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &516 + schema: &521 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *98 + - *99 - name: sort description: The property by which to sort the results. in: query @@ -71729,23 +72313,23 @@ paths: application/json: schema: type: array - items: &517 + items: &522 type: object properties: - ref: *497 - commit_sha: &525 + ref: *502 + commit_sha: &530 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: *514 + analysis_key: *519 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *515 + category: *520 error: type: string examples: @@ -71770,8 +72354,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *516 - tool: *503 + sarif_id: *521 + tool: *508 deletable: type: boolean warning: @@ -71833,9 +72417,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71869,8 +72453,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: - - *419 - - *420 + - *424 + - *425 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71883,7 +72467,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: response: summary: application/json response @@ -71937,14 +72521,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *505 + '403': *510 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72024,8 +72608,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: - - *419 - - *420 + - *424 + - *425 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72081,9 +72665,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *511 + '403': *516 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72103,8 +72687,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -72112,7 +72696,7 @@ paths: application/json: schema: type: array - items: &518 + items: &523 title: CodeQL Database description: A CodeQL database. type: object @@ -72224,9 +72808,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72253,8 +72837,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: - - *419 - - *420 + - *424 + - *425 - name: language in: path description: The language of the CodeQL database. @@ -72266,7 +72850,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *523 examples: default: value: @@ -72298,11 +72882,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &548 + '302': &553 description: Found - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72322,8 +72906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *419 - - *420 + - *424 + - *425 - name: language in: path description: The language of the CodeQL database. @@ -72333,9 +72917,9 @@ paths: responses: '204': description: Response - '403': *511 + '403': *516 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72361,8 +72945,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -72371,7 +72955,7 @@ paths: type: object additionalProperties: false properties: - language: &519 + language: &524 type: string description: The language targeted by the CodeQL query enum: @@ -72450,7 +73034,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &523 + schema: &528 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72458,9 +73042,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *107 + controller_repo: *108 actor: *4 - query_language: *519 + query_language: *524 query_pack_url: type: string description: The download url for the query pack. @@ -72508,7 +73092,7 @@ paths: items: type: object properties: - repository: &520 + repository: &525 title: Repository Identifier description: Repository Identifier type: object @@ -72550,7 +73134,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &524 + analysis_status: &529 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72582,7 +73166,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &521 + access_mismatch_repos: &526 type: object properties: repository_count: @@ -72597,7 +73181,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: *520 + items: *525 required: - repository_count - repositories @@ -72620,8 +73204,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *521 - over_limit_repos: *521 + no_codeql_db_repos: *526 + over_limit_repos: *526 required: - access_mismatch_repos - not_found_repos @@ -72637,7 +73221,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &522 + value: &527 summary: Default response value: id: 1 @@ -72789,17 +73373,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *522 + value: *527 repository_lists: summary: Response for a successful variant analysis submission - value: *522 + value: *527 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72820,8 +73404,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: - - *419 - - *420 + - *424 + - *425 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72833,11 +73417,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: - default: *522 + default: *527 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72858,7 +73442,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: - - *419 + - *424 - name: repo in: path description: The name of the controller repository. @@ -72892,8 +73476,8 @@ paths: schema: type: object properties: - repository: *107 - analysis_status: *524 + repository: *108 + analysis_status: *529 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72997,7 +73581,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73018,8 +73602,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73112,9 +73696,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73133,8 +73717,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -73203,7 +73787,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -73228,7 +73812,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *511 + '403': *516 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73242,7 +73826,7 @@ paths: content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73299,8 +73883,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -73308,7 +73892,7 @@ paths: schema: type: object properties: - commit_sha: *525 + commit_sha: *530 ref: type: string description: |- @@ -73368,7 +73952,7 @@ paths: schema: type: object properties: - id: *516 + id: *521 url: type: string description: The REST API URL for checking the status of the upload. @@ -73382,11 +73966,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *511 + '403': *516 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73405,8 +73989,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: - - *419 - - *420 + - *424 + - *425 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73454,10 +74038,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *505 + '403': *510 '404': description: Not Found if the sarif id does not match any upload - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73479,8 +74063,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73504,7 +74088,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *102 + configuration: *103 examples: default: value: @@ -73536,7 +74120,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': *128 + '204': *129 '304': *35 '403': *27 '404': *6 @@ -73561,8 +74145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *419 - - *420 + - *424 + - *425 - 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 @@ -73690,8 +74274,8 @@ paths: parameters: - *17 - *19 - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73707,7 +74291,7 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: default: value: @@ -73983,7 +74567,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': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -74005,8 +74589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -74070,22 +74654,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74109,8 +74693,8 @@ paths: parameters: - *17 - *19 - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -74150,7 +74734,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *89 + '500': *38 '400': *14 '401': *23 '403': *27 @@ -74174,8 +74758,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: - - *419 - - *420 + - *424 + - *425 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74212,9 +74796,9 @@ paths: type: integer machines: type: array - items: *527 + items: *532 examples: - default: &760 + default: &766 value: total_count: 2 machines: @@ -74231,7 +74815,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -74254,8 +74838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *419 - - *420 + - *424 + - *425 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74342,8 +74926,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: - - *419 - - *420 + - *424 + - *425 - 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 @@ -74391,7 +74975,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74412,8 +74996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -74431,7 +75015,7 @@ paths: type: integer secrets: type: array - items: &531 + items: &536 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74452,9 +75036,9 @@ paths: - created_at - updated_at examples: - default: *528 + default: *533 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74475,16 +75059,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *529 + schema: *534 examples: - default: *530 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74504,17 +75088,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74534,9 +75118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -74564,7 +75148,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -74588,9 +75172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -74618,8 +75202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *419 - - *420 + - *424 + - *425 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74657,7 +75241,7 @@ paths: application/json: schema: type: array - items: &533 + items: &538 title: Collaborator description: Collaborator type: object @@ -74825,7 +75409,7 @@ paths: admin: false role_name: write headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -74850,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '204': description: Response if user is a collaborator @@ -74898,9 +75482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 requestBody: required: false content: @@ -74926,7 +75510,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &605 + schema: &610 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74938,7 +75522,7 @@ paths: format: int64 examples: - 42 - repository: *232 + repository: *240 invitee: anyOf: - type: 'null' @@ -75114,7 +75698,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *209 + schema: *217 '403': *27 x-github: triggersNotification: true @@ -75154,9 +75738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75187,9 +75771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '200': description: if user has admin permissions @@ -75209,7 +75793,7 @@ paths: user: anyOf: - type: 'null' - - *533 + - *538 required: - permission - role_name @@ -75263,8 +75847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -75274,7 +75858,7 @@ paths: application/json: schema: type: array - items: &534 + items: &539 title: Commit Comment description: Commit Comment type: object @@ -75315,8 +75899,8 @@ paths: updated_at: type: string format: date-time - author_association: *172 - reactions: *173 + author_association: *180 + reactions: *181 required: - url - html_url @@ -75332,7 +75916,7 @@ paths: - created_at - updated_at examples: - default: &537 + default: &542 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75366,7 +75950,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75391,17 +75975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: &538 + default: &543 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75458,9 +76042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -75482,7 +76066,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: default: value: @@ -75533,9 +76117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -75556,9 +76140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -75584,11 +76168,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -75607,9 +76191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -75641,16 +76225,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -75672,10 +76256,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -75724,8 +76308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *419 - - *420 + - *424 + - *425 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75781,9 +76365,9 @@ paths: application/json: schema: type: array - items: *535 + items: *540 examples: - default: &652 + default: &657 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75853,11 +76437,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '400': *14 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75877,9 +76461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *419 - - *420 - - &536 + - *424 + - *425 + - &541 name: commit_sha description: The SHA of the commit. in: path @@ -75926,7 +76510,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75951,9 +76535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 - *17 - *19 responses: @@ -75963,11 +76547,11 @@ paths: application/json: schema: type: array - items: *534 + items: *539 examples: - default: *537 + default: *542 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75993,9 +76577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 requestBody: required: true content: @@ -76030,9 +76614,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *538 + default: *543 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76060,9 +76644,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: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 - *17 - *19 responses: @@ -76072,9 +76656,9 @@ paths: application/json: schema: type: array - items: *539 + items: *544 examples: - default: &644 + default: &649 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76553,8 +77137,8 @@ paths: auto_merge: draft: false headers: - Link: *38 - '409': *106 + Link: *41 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76611,11 +77195,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 - - &540 + - &545 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)" @@ -76630,9 +77214,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *540 examples: - default: &632 + default: &637 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76718,9 +77302,9 @@ paths: ..... '422': *15 '404': *6 - '500': *89 - '503': *162 - '409': *106 + '500': *38 + '503': *163 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76745,11 +77329,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: - - *419 - - *420 - - *540 - - *541 - - *542 + - *424 + - *425 + - *545 + - *546 + - *547 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76783,11 +77367,11 @@ paths: type: integer check_runs: type: array - items: *490 + items: *495 examples: - default: *543 + default: *548 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76810,9 +77394,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: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76820,7 +77404,7 @@ paths: schema: type: integer example: 1 - - *541 + - *546 - *17 - *19 responses: @@ -76838,7 +77422,7 @@ paths: type: integer check_suites: type: array - items: *494 + items: *499 examples: default: value: @@ -77013,7 +77597,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77038,9 +77622,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: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - *17 - *19 responses: @@ -77111,7 +77695,7 @@ paths: type: string total_count: type: integer - repository: *232 + repository: *240 commit_url: type: string format: uri @@ -77242,9 +77826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - *17 - *19 responses: @@ -77254,7 +77838,7 @@ paths: application/json: schema: type: array - items: &705 + items: &711 title: Status description: The status of a commit. type: object @@ -77334,8 +77918,8 @@ paths: type: User site_admin: false headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77363,8 +77947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -77397,11 +77981,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *544 + - *549 code_of_conduct_file: anyOf: - type: 'null' - - &545 + - &550 title: Community Health File type: object properties: @@ -77417,23 +78001,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 contributing: anyOf: - type: 'null' - - *545 + - *550 readme: anyOf: - type: 'null' - - *545 + - *550 issue_template: anyOf: - type: 'null' - - *545 + - *550 pull_request_template: anyOf: - type: 'null' - - *545 + - *550 required: - code_of_conduct - code_of_conduct_file @@ -77562,8 +78146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 - name: basehead @@ -77611,8 +78195,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *535 - merge_base_commit: *535 + base_commit: *540 + merge_base_commit: *540 status: type: string enum: @@ -77636,10 +78220,10 @@ paths: - 6 commits: type: array - items: *535 + items: *540 files: type: array - items: *546 + items: *551 required: - url - html_url @@ -77882,8 +78466,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77925,8 +78509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78079,7 +78663,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &547 + response-if-content-is-a-file: &552 summary: Response if content is a file value: type: file @@ -78216,7 +78800,7 @@ paths: - size - type - url - - &657 + - &662 title: Content File description: Content File type: object @@ -78434,7 +79018,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *547 + response-if-content-is-a-file: *552 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78503,7 +79087,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *548 + '302': *553 '304': *35 x-github: githubCloudOnly: false @@ -78526,8 +79110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78622,7 +79206,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &554 title: File Commit description: File Commit type: object @@ -78778,7 +79362,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: example-for-creating-a-file: value: @@ -78832,7 +79416,7 @@ paths: schema: oneOf: - *3 - - &587 + - &592 description: Repository rule violation was detected type: object properties: @@ -78853,7 +79437,7 @@ paths: items: type: object properties: - placeholder_id: &697 + placeholder_id: &703 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78885,8 +79469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78947,7 +79531,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -78981,8 +79565,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *106 - '503': *162 + '409': *107 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79002,8 +79586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *419 - - *420 + - *424 + - *425 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79104,7 +79688,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *38 + Link: *41 '204': description: Response if repository is empty '403': *27 @@ -79127,23 +79711,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *419 - - *420 - - *281 - - *282 - - *283 - - *284 + - *424 + - *425 + - *288 + - *289 + - *290 + - *291 - 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 - - *285 - - *286 - - *287 - - *288 - - *98 + - *292 + - *293 + - *294 + - *295 + - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -79160,10 +79744,10 @@ paths: schema: type: integer default: 30 - - *96 - *97 - - *289 - - *290 + - *98 + - *296 + - *297 responses: '200': description: Response @@ -79171,11 +79755,11 @@ paths: application/json: schema: type: array - items: &552 + items: &557 type: object description: A Dependabot alert. properties: - number: *108 + number: *109 state: type: string description: The state of the Dependabot alert. @@ -79190,7 +79774,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *109 + package: *110 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79221,13 +79805,13 @@ paths: - direct - transitive - - security_advisory: *550 - security_vulnerability: *112 - url: *113 - html_url: *114 - created_at: *115 - updated_at: *116 - dismissed_at: *117 + security_advisory: *555 + security_vulnerability: *113 + url: *114 + html_url: *115 + created_at: *116 + updated_at: *117 + dismissed_at: *118 dismissed_by: anyOf: - type: 'null' @@ -79251,8 +79835,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *118 - auto_dismissed_at: *551 + fixed_at: *119 + auto_dismissed_at: *556 required: - number - state @@ -79482,9 +80066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *419 - - *420 - - &553 + - *424 + - *425 + - &558 name: alert_number in: path description: |- @@ -79493,13 +80077,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *108 + schema: *109 responses: '200': description: Response content: application/json: - schema: *552 + schema: *557 examples: default: value: @@ -79612,9 +80196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *419 - - *420 - - *553 + - *424 + - *425 + - *558 requestBody: required: true content: @@ -79659,7 +80243,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *557 examples: default: value: @@ -79765,7 +80349,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *7 x-github: githubCloudOnly: false @@ -79788,8 +80372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -79807,7 +80391,7 @@ paths: type: integer secrets: type: array - items: &556 + items: &561 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79839,7 +80423,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79861,16 +80445,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *554 + schema: *559 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79890,15 +80474,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *556 + schema: *561 examples: default: value: @@ -79924,9 +80508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -79954,7 +80538,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -79978,9 +80562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -80002,8 +80586,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: - - *419 - - *420 + - *424 + - *425 - 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 @@ -80153,7 +80737,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *38 + Link: *41 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -80177,8 +80761,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -80415,7 +80999,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *38 + Link: *41 '404': *6 '403': *27 x-github: @@ -80438,8 +81022,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -80522,7 +81106,7 @@ paths: - version - url additionalProperties: false - metadata: &557 + metadata: &562 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80561,7 +81145,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *557 + metadata: *562 resolved: type: object description: A collection of resolved package dependencies. @@ -80575,7 +81159,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *557 + metadata: *562 relationship: type: string description: A notation of whether a dependency is requested @@ -80708,8 +81292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *419 - - *420 + - *424 + - *425 - name: sha description: The SHA recorded at creation time. in: query @@ -80750,11 +81334,11 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80818,8 +81402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -80901,7 +81485,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: simple-example: summary: Simple example @@ -80974,9 +81558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *419 - - *420 - - &560 + - *424 + - *425 + - &565 name: deployment_id description: deployment_id parameter in: path @@ -80988,7 +81572,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -81053,9 +81637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 responses: '204': description: Response @@ -81077,9 +81661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 - *17 - *19 responses: @@ -81089,7 +81673,7 @@ paths: application/json: schema: type: array - items: &561 + items: &566 title: Deployment Status description: The status of a deployment. type: object @@ -81233,7 +81817,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -81253,9 +81837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 requestBody: required: true content: @@ -81330,9 +81914,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *566 examples: - default: &562 + default: &567 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81388,9 +81972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 - name: status_id in: path required: true @@ -81401,9 +81985,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *566 examples: - default: *562 + default: *567 '404': *6 x-github: githubCloudOnly: false @@ -81430,12 +82014,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 - - *563 - - *564 - - *565 - - *566 + - *424 + - *425 + - *568 + - *569 + - *570 + - *571 - *17 - *19 responses: @@ -81445,12 +82029,12 @@ paths: application/json: schema: type: array - items: *567 + items: *572 examples: - default: *568 + default: *573 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -81471,8 +82055,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81484,7 +82068,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *567 + schema: *572 examples: default: value: @@ -81520,7 +82104,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -81540,8 +82124,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81579,7 +82163,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -81600,12 +82184,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - - *569 + - *94 + - *574 - *17 - *19 responses: @@ -81615,12 +82199,12 @@ paths: application/json: schema: type: array - items: *570 + items: *575 examples: - default: *571 + default: *576 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -81642,8 +82226,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81655,7 +82239,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *570 + schema: *575 examples: default: value: @@ -81692,7 +82276,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -81713,8 +82297,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81764,7 +82348,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -81783,8 +82367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -81841,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -81860,7 +82444,7 @@ paths: - 5 environments: type: array - items: &573 + items: &578 title: Environment description: Details of a deployment environment type: object @@ -81922,7 +82506,7 @@ paths: type: string examples: - wait_timer - wait_timer: &575 + wait_timer: &580 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -81964,11 +82548,11 @@ paths: items: type: object properties: - type: *572 + type: *577 reviewer: anyOf: - *4 - - *260 + - *267 required: - id - node_id @@ -81991,7 +82575,7 @@ paths: - id - node_id - type - deployment_branch_policy: &576 + deployment_branch_policy: &581 type: - object - 'null' @@ -82108,9 +82692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *419 - - *420 - - &574 + - *424 + - *425 + - &579 name: environment_name in: path required: true @@ -82123,9 +82707,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: - default: &577 + default: &582 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82209,9 +82793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: false content: @@ -82221,7 +82805,7 @@ paths: - object - 'null' properties: - wait_timer: *575 + wait_timer: *580 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -82240,14 +82824,14 @@ paths: items: type: object properties: - type: *572 + type: *577 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *576 + deployment_branch_policy: *581 additionalProperties: false examples: default: @@ -82267,9 +82851,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: - default: *577 + default: *582 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82293,9 +82877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 responses: '204': description: Default response @@ -82320,9 +82904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 - *17 - *19 responses: @@ -82341,7 +82925,7 @@ paths: - 2 branch_policies: type: array - items: &578 + items: &583 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82402,9 +82986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: true content: @@ -82452,9 +83036,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - example-wildcard: &579 + example-wildcard: &584 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82496,10 +83080,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - &580 + - *424 + - *425 + - *579 + - &585 name: branch_policy_id in: path required: true @@ -82511,9 +83095,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - default: *579 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82532,10 +83116,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - *580 + - *424 + - *425 + - *579 + - *585 requestBody: required: true content: @@ -82564,9 +83148,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - default: *579 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82585,10 +83169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - *580 + - *424 + - *425 + - *579 + - *585 responses: '204': description: Response @@ -82613,9 +83197,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 responses: '200': description: List of deployment protection rules @@ -82632,7 +83216,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &581 + items: &586 title: Deployment protection rule description: Deployment protection rule type: object @@ -82654,7 +83238,7 @@ paths: for the environment. examples: - true - app: &582 + app: &587 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82757,9 +83341,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 requestBody: content: application/json: @@ -82780,9 +83364,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *581 + schema: *586 examples: - default: &583 + default: &588 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82817,9 +83401,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 - *19 - *17 responses: @@ -82839,7 +83423,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *582 + items: *587 examples: default: value: @@ -82874,10 +83458,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: - - *419 - - *420 - - *574 - - &584 + - *424 + - *425 + - *579 + - &589 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82889,9 +83473,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *586 examples: - default: *583 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82912,10 +83496,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: - - *574 - - *420 - - *419 - - *584 + - *579 + - *425 + - *424 + - *589 responses: '204': description: Response @@ -82941,9 +83525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 - *17 - *19 responses: @@ -82961,11 +83545,11 @@ paths: type: integer secrets: type: array - items: *456 + items: *461 examples: - default: *457 + default: *462 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82988,17 +83572,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 responses: '200': description: Response content: application/json: - schema: *458 + schema: *463 examples: - default: *459 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83020,18 +83604,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *585 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83053,10 +83637,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 requestBody: required: true content: @@ -83087,7 +83671,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -83113,10 +83697,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 responses: '204': description: Default response @@ -83141,10 +83725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *419 - - *420 - - *574 - - *443 + - *424 + - *425 + - *579 + - *448 - *19 responses: '200': @@ -83161,11 +83745,11 @@ paths: type: integer variables: type: array - items: *460 + items: *465 examples: - default: *461 + default: *466 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83186,9 +83770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: true content: @@ -83215,7 +83799,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -83240,18 +83824,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *419 - - *420 - - *574 - - *245 + - *424 + - *425 + - *579 + - *253 responses: '200': description: Response content: application/json: - schema: *460 + schema: *465 examples: - default: *586 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83272,10 +83856,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *419 - - *420 - - *245 - - *574 + - *424 + - *425 + - *253 + - *579 requestBody: required: true content: @@ -83317,10 +83901,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *419 - - *420 - - *245 - - *574 + - *424 + - *425 + - *253 + - *579 responses: '204': description: Response @@ -83342,8 +83926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -83353,7 +83937,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: 200-response: value: @@ -83420,8 +84004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *419 - - *420 + - *424 + - *425 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83443,7 +84027,7 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: default: value: @@ -83556,7 +84140,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *38 + Link: *41 '400': *14 x-github: githubCloudOnly: false @@ -83580,8 +84164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -83614,9 +84198,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 '400': *14 '422': *15 '403': *27 @@ -83637,8 +84221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -83689,7 +84273,7 @@ paths: schema: type: string '404': *6 - '409': *106 + '409': *107 '403': *27 '422': description: Validation failed @@ -83697,8 +84281,8 @@ paths: application/json: schema: oneOf: - - *209 - - *587 + - *217 + - *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83723,8 +84307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *419 - - *420 + - *424 + - *425 - name: file_sha in: path required: true @@ -83776,7 +84360,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83824,8 +84408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -83934,7 +84518,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &593 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84111,7 +84695,7 @@ paths: type: string '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84161,15 +84745,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 responses: '200': description: Response content: application/json: - schema: *588 + schema: *593 examples: default: value: @@ -84200,7 +84784,7 @@ paths: payload: verified_at: '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84225,9 +84809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *419 - - *420 - - &589 + - *424 + - *425 + - &594 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. @@ -84244,7 +84828,7 @@ paths: application/json: schema: type: array - items: &590 + items: &595 title: Git Reference description: Git references within a repository type: object @@ -84298,8 +84882,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *38 - '409': *106 + Link: *41 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84320,17 +84904,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 responses: '200': description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: &591 + default: &596 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84340,7 +84924,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84359,8 +84943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84389,16 +84973,16 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: *591 + default: *596 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84417,9 +85001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 requestBody: required: true content: @@ -84448,11 +85032,11 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: *591 + default: *596 '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84468,16 +85052,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84525,8 +85109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84593,7 +85177,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &598 title: Git Tag description: Metadata for a Git tag type: object @@ -84649,7 +85233,7 @@ paths: - sha - type - url - verification: *592 + verification: *597 required: - sha - url @@ -84659,7 +85243,7 @@ paths: - tag - message examples: - default: &594 + default: &599 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84686,7 +85270,7 @@ paths: schema: type: string '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84732,8 +85316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *419 - - *420 + - *424 + - *425 - name: tag_sha in: path required: true @@ -84744,11 +85328,11 @@ paths: description: Response content: application/json: - schema: *593 + schema: *598 examples: - default: *594 + default: *599 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84770,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84845,7 +85429,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &600 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84924,7 +85508,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84947,8 +85531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *419 - - *420 + - *424 + - *425 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84971,7 +85555,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: default-response: summary: Default response @@ -85012,7 +85596,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85030,8 +85614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -85041,7 +85625,7 @@ paths: application/json: schema: type: array - items: &596 + items: &601 title: Webhook description: Webhooks for repositories. type: object @@ -85104,7 +85688,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &840 + last_response: &846 title: Hook Response type: object properties: @@ -85162,7 +85746,7 @@ paths: status: unused message: headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -85181,8 +85765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -85235,9 +85819,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: &597 + default: &602 value: type: Repository id: 12345678 @@ -85285,17 +85869,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '200': description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -85315,9 +85899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 requestBody: required: true content: @@ -85362,9 +85946,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '422': *15 '404': *6 x-github: @@ -85385,9 +85969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85411,9 +85995,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '200': description: Response @@ -85440,9 +86024,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 requestBody: required: false content: @@ -85486,11 +86070,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *17 - - *297 + - *304 responses: '200': description: Response @@ -85498,9 +86082,9 @@ paths: application/json: schema: type: array - items: *298 + items: *305 examples: - default: *299 + default: *306 '400': *14 '422': *15 x-github: @@ -85519,18 +86103,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *16 responses: '200': description: Response content: application/json: - schema: *300 + schema: *307 examples: - default: *301 + default: *308 '400': *14 '422': *15 x-github: @@ -85549,9 +86133,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *16 responses: '202': *37 @@ -85574,9 +86158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85601,9 +86185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85661,14 +86245,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &598 + schema: &603 title: Import description: A repository import from an external source. type: object @@ -85775,7 +86359,7 @@ paths: - html_url - authors_url examples: - default: &601 + default: &606 value: vcs: subversion use_lfs: true @@ -85791,7 +86375,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': &599 + '503': &604 description: Unavailable due to service under maintenance. content: application/json: @@ -85820,8 +86404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -85869,7 +86453,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: default: value: @@ -85894,7 +86478,7 @@ paths: type: string '422': *15 '404': *6 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85922,8 +86506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -85975,7 +86559,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: example-1: summary: Example 1 @@ -86023,7 +86607,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': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86046,12 +86630,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86077,9 +86661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *419 - - *420 - - &782 + - *424 + - *425 + - &788 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86093,7 +86677,7 @@ paths: application/json: schema: type: array - items: &600 + items: &605 title: Porter Author description: Porter Author type: object @@ -86147,7 +86731,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': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86172,8 +86756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *419 - - *420 + - *424 + - *425 - name: author_id in: path required: true @@ -86203,7 +86787,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *605 examples: default: value: @@ -86216,7 +86800,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86240,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86282,7 +86866,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86310,8 +86894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -86338,11 +86922,11 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: - default: *601 + default: *606 '422': *15 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86365,8 +86949,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86374,8 +86958,8 @@ paths: application/json: schema: *20 examples: - default: *602 - '301': *433 + default: *607 + '301': *438 '404': *6 x-github: githubCloudOnly: false @@ -86395,8 +86979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86404,12 +86988,12 @@ paths: application/json: schema: anyOf: - - *314 + - *321 - type: object properties: {} additionalProperties: false examples: - default: &604 + default: &609 value: limit: collaborators_only origin: repository @@ -86434,13 +87018,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *603 + schema: *608 examples: default: summary: Example request body @@ -86452,9 +87036,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *604 + default: *609 '409': description: Response x-github: @@ -86476,8 +87060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -86500,8 +87084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -86511,9 +87095,9 @@ paths: application/json: schema: type: array - items: *605 + items: *610 examples: - default: &775 + default: &781 value: - id: 1 repository: @@ -86627,7 +87211,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86644,9 +87228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *419 - - *420 - - *318 + - *424 + - *425 + - *325 requestBody: required: false content: @@ -86675,7 +87259,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: default: value: @@ -86806,9 +87390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *419 - - *420 - - *318 + - *424 + - *425 + - *325 responses: '204': description: Response @@ -86839,8 +87423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *419 - - *420 + - *424 + - *425 - 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 @@ -86888,7 +87472,7 @@ paths: required: false schema: type: string - - *322 + - *329 - name: sort description: What to sort results by. in: query @@ -86900,8 +87484,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -86911,9 +87495,9 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: &612 + default: &617 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87060,8 +87644,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '422': *15 '404': *6 x-github: @@ -87090,8 +87674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -87181,9 +87765,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: &609 + default: &614 value: id: 1 node_id: MDU6SXNzdWUx @@ -87337,9 +87921,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *162 + '503': *163 '404': *6 - '410': *430 + '410': *435 x-github: triggersNotification: true githubCloudOnly: false @@ -87367,9 +87951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *419 - - *420 - - *194 + - *424 + - *425 + - *202 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87379,7 +87963,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -87389,9 +87973,9 @@ paths: application/json: schema: type: array - items: *606 + items: *611 examples: - default: &611 + default: &616 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87422,7 +88006,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '422': *15 '404': *6 x-github: @@ -87449,17 +88033,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: &607 + default: &612 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87513,9 +88097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -87537,9 +88121,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: *607 + default: *612 '422': *15 x-github: githubCloudOnly: false @@ -87557,9 +88141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -87579,9 +88163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -87607,11 +88191,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -87630,9 +88214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -87664,16 +88248,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -87695,10 +88279,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -87718,8 +88302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -87729,7 +88313,7 @@ paths: application/json: schema: type: array - items: &608 + items: &613 title: Issue Event description: Issue Event type: object @@ -87776,7 +88360,7 @@ paths: issue: anyOf: - type: 'null' - - *185 + - *193 label: title: Issue Event Label description: Issue Event Label @@ -87809,7 +88393,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *260 + requested_team: *267 dismissed_review: title: Issue Event Dismissed Review type: object @@ -87876,7 +88460,7 @@ paths: required: - from - to - author_association: *172 + author_association: *180 lock_reason: type: - string @@ -88050,7 +88634,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -88068,8 +88652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *419 - - *420 + - *424 + - *425 - name: event_id in: path required: true @@ -88080,7 +88664,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: default: value: @@ -88273,7 +88857,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *430 + '410': *435 '403': *27 x-github: githubCloudOnly: false @@ -88307,9 +88891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *419 - - *420 - - &610 + - *424 + - *425 + - &615 name: issue_number description: The number that identifies the issue. in: path @@ -88321,12 +88905,12 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '404': *6 - '410': *430 + '410': *435 '304': *35 x-github: githubCloudOnly: false @@ -88351,9 +88935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -88472,15 +89056,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 '422': *15 - '503': *162 + '503': *163 '403': *27 - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88498,9 +89082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -88526,9 +89110,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88544,9 +89128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: content: application/json: @@ -88571,9 +89155,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88595,9 +89179,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: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: assignee in: path required: true @@ -88637,10 +89221,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *419 - - *420 - - *610 - - *175 + - *424 + - *425 + - *615 + - *183 - *17 - *19 responses: @@ -88650,13 +89234,13 @@ paths: application/json: schema: type: array - items: *606 + items: *611 examples: - default: *611 + default: *616 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88685,9 +89269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -88709,16 +89293,16 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: *607 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -88746,9 +89330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88758,14 +89342,14 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88793,9 +89377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -88817,17 +89401,17 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *433 + '301': *438 '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -88858,9 +89442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88872,15 +89456,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 x-github: triggersNotification: true githubCloudOnly: false @@ -88906,9 +89490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88918,14 +89502,14 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88942,9 +89526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88958,7 +89542,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &615 + - &620 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89007,7 +89591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &616 + - &621 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89135,7 +89719,7 @@ paths: - performed_via_github_app - assignee - assigner - - &617 + - &622 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89181,7 +89765,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &618 + - &623 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89227,7 +89811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &619 + - &624 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89276,7 +89860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &620 + - &625 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89305,7 +89889,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *260 + requested_team: *267 requested_reviewer: *4 required: - review_requester @@ -89318,7 +89902,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &621 + - &626 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89347,7 +89931,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *260 + requested_team: *267 requested_reviewer: *4 required: - review_requester @@ -89360,7 +89944,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &622 + - &627 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89416,7 +90000,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &623 + - &628 title: Locked Issue Event description: Locked Issue Event type: object @@ -89461,7 +90045,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &624 + - &629 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -89522,7 +90106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &625 + - &630 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89583,7 +90167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &631 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89644,7 +90228,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &627 + - &632 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89736,8 +90320,8 @@ paths: name: label color: red headers: - Link: *38 - '410': *430 + Link: *41 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89754,9 +90338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -89766,7 +90350,7 @@ paths: application/json: schema: type: array - items: &613 + items: &618 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -89821,7 +90405,7 @@ paths: - color - default examples: - default: &614 + default: &619 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89838,10 +90422,10 @@ paths: color: a2eeef default: false headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89858,9 +90442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -89919,12 +90503,12 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 - '301': *433 + default: *619 + '301': *438 '404': *6 - '410': *430 + '410': *435 '422': *15 x-github: githubCloudOnly: false @@ -89941,9 +90525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -90003,12 +90587,12 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 - '301': *433 + default: *619 + '301': *438 '404': *6 - '410': *430 + '410': *435 '422': *15 x-github: githubCloudOnly: false @@ -90025,15 +90609,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '204': description: Response - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90052,9 +90636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: name in: path required: true @@ -90067,7 +90651,7 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: default: value: @@ -90078,9 +90662,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90100,9 +90684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -90131,7 +90715,7 @@ paths: '204': description: Response '403': *27 - '410': *430 + '410': *435 '404': *6 '422': *15 x-github: @@ -90149,9 +90733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '204': description: Response @@ -90181,20 +90765,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '200': description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90211,9 +90795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - 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. @@ -90239,13 +90823,13 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90263,9 +90847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90297,16 +90881,16 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -90328,10 +90912,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *419 - - *420 - - *610 - - *411 + - *424 + - *425 + - *615 + - *416 responses: '204': description: Response @@ -90360,9 +90944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90384,9 +90968,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90419,9 +91003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -90431,13 +91015,13 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90465,9 +91049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90494,16 +91078,16 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -90523,9 +91107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90556,13 +91140,13 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 '403': *27 '404': *6 '422': *7 - '503': *162 + '503': *163 x-github: triggersNotification: true githubCloudOnly: false @@ -90580,9 +91164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -90597,11 +91181,6 @@ paths: description: Timeline Event type: object anyOf: - - *615 - - *616 - - *617 - - *618 - - *619 - *620 - *621 - *622 @@ -90610,6 +91189,11 @@ paths: - *625 - *626 - *627 + - *628 + - *629 + - *630 + - *631 + - *632 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90657,12 +91241,12 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *180 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - event - actor @@ -90693,7 +91277,7 @@ paths: properties: type: type: string - issue: *185 + issue: *193 required: - event - created_at @@ -90915,7 +91499,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *180 required: - event - id @@ -90938,7 +91522,7 @@ paths: type: string comments: type: array - items: &646 + items: &651 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91043,7 +91627,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *180 _links: type: object properties: @@ -91138,7 +91722,7 @@ paths: enum: - line - file - reactions: *173 + reactions: *181 body_html: type: string examples: @@ -91176,7 +91760,7 @@ paths: type: string comments: type: array - items: *534 + items: *539 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91449,9 +92033,9 @@ paths: type: User site_admin: true headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91468,8 +92052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -91479,7 +92063,7 @@ paths: application/json: schema: type: array - items: &628 + items: &633 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91531,7 +92115,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91547,8 +92131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -91584,9 +92168,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: &629 + default: &634 value: id: 1 key: ssh-rsa AAA... @@ -91620,9 +92204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *419 - - *420 - - &630 + - *424 + - *425 + - &635 name: key_id description: The unique identifier of the key. in: path @@ -91634,9 +92218,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: *629 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -91654,9 +92238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *419 - - *420 - - *630 + - *424 + - *425 + - *635 responses: '204': description: Response @@ -91676,8 +92260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -91687,11 +92271,11 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 + default: *619 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -91710,8 +92294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -91747,9 +92331,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: &631 + default: &636 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91781,8 +92365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91793,9 +92377,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: *631 + default: *636 '404': *6 x-github: githubCloudOnly: false @@ -91812,8 +92396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91852,7 +92436,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: default: value: @@ -91878,8 +92462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91905,8 +92489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -91942,8 +92526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '202': *37 '403': @@ -91971,8 +92555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -91998,9 +92582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *419 - - *420 - - *512 + - *424 + - *425 + - *517 responses: '200': description: Response @@ -92066,7 +92650,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 required: - _links - git_url @@ -92147,8 +92731,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92213,8 +92797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92248,9 +92832,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *535 + schema: *540 examples: - default: *632 + default: *637 '204': description: Response when already merged '404': @@ -92275,8 +92859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92317,7 +92901,7 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: default: value: @@ -92356,7 +92940,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -92373,8 +92957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92414,9 +92998,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: &633 + default: &638 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92475,9 +93059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *419 - - *420 - - &634 + - *424 + - *425 + - &639 name: milestone_number description: The number that identifies the milestone. in: path @@ -92489,9 +93073,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *633 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -92508,9 +93092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 requestBody: required: false content: @@ -92548,9 +93132,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *633 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92566,9 +93150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 responses: '204': description: Response @@ -92589,9 +93173,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: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 - *17 - *19 responses: @@ -92601,11 +93185,11 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 + default: *619 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92622,12 +93206,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: - - *419 - - *420 - - *635 - - *636 - - *175 - - *637 + - *424 + - *425 + - *640 + - *641 + - *183 + - *642 - *17 - *19 responses: @@ -92637,11 +93221,11 @@ paths: application/json: schema: type: array - items: *197 + items: *205 examples: - default: *638 + default: *643 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92663,8 +93247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -92722,14 +93306,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &639 + schema: &644 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92873,7 +93457,7 @@ paths: - custom_404 - public examples: - default: &640 + default: &645 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92914,8 +93498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92970,11 +93554,11 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: *640 + default: *645 '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92995,8 +93579,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -93083,7 +93667,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93104,14 +93688,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93131,8 +93715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -93142,7 +93726,7 @@ paths: application/json: schema: type: array - items: &641 + items: &646 title: Page Build description: Page Build type: object @@ -93215,7 +93799,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93234,8 +93818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response @@ -93282,16 +93866,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *641 + schema: *646 examples: - default: &642 + default: &647 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93339,8 +93923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *419 - - *420 + - *424 + - *425 - name: build_id in: path required: true @@ -93351,9 +93935,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *646 examples: - default: *642 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93373,8 +93957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -93482,9 +94066,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: - - *419 - - *420 - - &643 + - *424 + - *425 + - &648 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93542,11 +94126,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *419 - - *420 - - *643 + - *424 + - *425 + - *648 responses: - '204': *128 + '204': *129 '404': *6 x-github: githubCloudOnly: false @@ -93571,8 +94155,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -93840,7 +94424,7 @@ paths: description: Empty response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -93867,8 +94451,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Private vulnerability reporting status @@ -93905,10 +94489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: - '204': *128 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -93927,10 +94511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: - '204': *128 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -93951,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: Indicates the state of the projects to return. in: query @@ -93973,7 +94557,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -94009,11 +94593,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *38 + Link: *41 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -94036,8 +94620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94063,13 +94647,13 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: *429 + default: *434 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -94092,8 +94676,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -94101,7 +94685,7 @@ paths: application/json: schema: type: array - items: *365 + items: *370 examples: default: value: @@ -94132,8 +94716,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94145,7 +94729,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *365 + items: *370 required: - properties examples: @@ -94195,8 +94779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94256,11 +94840,11 @@ paths: application/json: schema: type: array - items: *539 + items: *544 examples: - default: *644 + default: *649 headers: - Link: *38 + Link: *41 '304': *35 '422': *15 x-github: @@ -94290,8 +94874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94358,7 +94942,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &653 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94487,7 +95071,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 active_lock_reason: type: - string @@ -94542,7 +95126,7 @@ paths: type: - array - 'null' - items: *334 + items: *339 head: type: object properties: @@ -94550,7 +95134,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: *4 @@ -94567,7 +95151,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: *4 @@ -94580,14 +95164,14 @@ paths: _links: type: object properties: - comments: *359 - commits: *359 - statuses: *359 - html: *359 - issue: *359 - review_comments: *359 - review_comment: *359 - self: *359 + comments: *364 + commits: *364 + statuses: *364 + html: *364 + issue: *364 + review_comments: *364 + review_comment: *364 + self: *364 required: - comments - commits @@ -94597,8 +95181,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: *645 + author_association: *180 + auto_merge: *650 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -94700,7 +95284,7 @@ paths: - merged_by - review_comments examples: - default: &649 + default: &654 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95227,8 +95811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - name: sort in: query required: false @@ -95247,7 +95831,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -95257,9 +95841,9 @@ paths: application/json: schema: type: array - items: *646 + items: *651 examples: - default: &651 + default: &656 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95311,7 +95895,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95336,17 +95920,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: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *646 + schema: *651 examples: - default: &647 + default: &652 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95421,9 +96005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -95445,9 +96029,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: - default: *647 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95463,9 +96047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -95486,9 +96070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -95514,11 +96098,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -95537,9 +96121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -95571,16 +96155,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -95602,10 +96186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -95648,9 +96232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *419 - - *420 - - &650 + - *424 + - *425 + - &655 name: pull_number description: The number that identifies the pull request. in: path @@ -95663,9 +96247,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *648 + schema: *653 examples: - default: *649 + default: *654 '304': *35 '404': *6 '406': @@ -95673,8 +96257,8 @@ paths: content: application/json: schema: *3 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95700,9 +96284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -95744,9 +96328,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *653 examples: - default: *649 + default: *654 '422': *15 '403': *27 x-github: @@ -95768,9 +96352,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -95831,21 +96415,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95871,10 +96455,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *419 - - *420 - - *650 - - *194 + - *424 + - *425 + - *655 + - *202 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -95884,7 +96468,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -95894,11 +96478,11 @@ paths: application/json: schema: type: array - items: *646 + items: *651 examples: - default: *651 + default: *656 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95929,9 +96513,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -96037,7 +96621,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: example-for-a-multi-line-comment: value: @@ -96125,10 +96709,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *419 - - *420 - - *650 - - *184 + - *424 + - *425 + - *655 + - *192 requestBody: required: true content: @@ -96150,7 +96734,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: default: value: @@ -96236,9 +96820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -96248,11 +96832,11 @@ paths: application/json: schema: type: array - items: *535 + items: *540 examples: - default: *652 + default: *657 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96280,9 +96864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -96292,7 +96876,7 @@ paths: application/json: schema: type: array - items: *546 + items: *551 examples: default: value: @@ -96308,10 +96892,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *38 + Link: *41 '422': *15 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96330,9 +96914,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 responses: '204': description: Response if pull request has been merged @@ -96355,9 +96939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -96469,9 +97053,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 responses: '200': description: Response @@ -96487,7 +97071,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 required: - users - teams @@ -96528,7 +97112,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96546,9 +97130,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -96585,7 +97169,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default: value: @@ -97121,9 +97705,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -97157,7 +97741,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default: value: @@ -97662,9 +98246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -97674,7 +98258,7 @@ paths: application/json: schema: type: array - items: &653 + items: &658 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97748,7 +98332,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *180 required: - id - node_id @@ -97797,7 +98381,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97830,9 +98414,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -97922,9 +98506,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: &655 + default: &660 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97987,10 +98571,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: - - *419 - - *420 - - *650 - - &654 + - *424 + - *425 + - *655 + - &659 name: review_id description: The unique identifier of the review. in: path @@ -98002,9 +98586,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: &656 + default: &661 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98063,10 +98647,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98089,7 +98673,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: default: value: @@ -98151,18 +98735,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 responses: '200': description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: *655 + default: *660 '422': *7 '404': *6 x-github: @@ -98189,10 +98773,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 - *17 - *19 responses: @@ -98286,13 +98870,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *180 _links: type: object properties: - self: *359 - html: *359 - pull_request: *359 + self: *364 + html: *364 + pull_request: *364 required: - self - html @@ -98301,7 +98885,7 @@ paths: type: string body_html: type: string - reactions: *173 + reactions: *181 side: description: The side of the first line of the range for a multi-line comment. @@ -98421,7 +99005,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -98450,10 +99034,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98482,7 +99066,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: default: value: @@ -98545,10 +99129,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98583,9 +99167,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: *656 + default: *661 '404': *6 '422': *7 '403': *27 @@ -98607,9 +99191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -98673,8 +99257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *419 - - *420 + - *424 + - *425 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98687,9 +99271,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: &658 + default: &663 value: type: file encoding: base64 @@ -98731,8 +99315,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: - - *419 - - *420 + - *424 + - *425 - name: dir description: The alternate path to look for a README file in: path @@ -98752,9 +99336,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: *658 + default: *663 '404': *6 '422': *15 x-github: @@ -98776,8 +99360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -98787,7 +99371,7 @@ paths: application/json: schema: type: array - items: &659 + items: &664 title: Release description: A release. type: object @@ -98869,7 +99453,7 @@ paths: author: *4 assets: type: array - items: &660 + items: &665 title: Release Asset description: Data related to a release. type: object @@ -98944,7 +99528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *173 + reactions: *181 required: - assets_url - upload_url @@ -99036,7 +99620,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -99056,8 +99640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -99133,9 +99717,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: &663 + default: &668 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99240,9 +99824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *419 - - *420 - - &661 + - *424 + - *425 + - &666 name: asset_id description: The unique identifier of the asset. in: path @@ -99254,9 +99838,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *665 examples: - default: &662 + default: &667 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 @@ -99291,7 +99875,7 @@ paths: type: User site_admin: false '404': *6 - '302': *548 + '302': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99307,9 +99891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *419 - - *420 - - *661 + - *424 + - *425 + - *666 requestBody: required: false content: @@ -99338,9 +99922,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *665 examples: - default: *662 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99356,9 +99940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *419 - - *420 - - *661 + - *424 + - *425 + - *666 responses: '204': description: Response @@ -99382,8 +99966,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -99469,16 +100053,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99495,8 +100079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *419 - - *420 + - *424 + - *425 - name: tag description: tag parameter in: path @@ -99509,9 +100093,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -99533,9 +100117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *419 - - *420 - - &664 + - *424 + - *425 + - &669 name: release_id description: The unique identifier of the release. in: path @@ -99549,9 +100133,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: *659 + schema: *664 examples: - default: *663 + default: *668 '401': description: Unauthorized x-github: @@ -99569,9 +100153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 requestBody: required: false content: @@ -99635,9 +100219,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 '404': description: Not Found if the discussion category name is invalid content: @@ -99658,9 +100242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 responses: '204': description: Response @@ -99680,9 +100264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - *17 - *19 responses: @@ -99692,7 +100276,7 @@ paths: application/json: schema: type: array - items: *660 + items: *665 examples: default: value: @@ -99729,7 +100313,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99774,9 +100358,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: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - name: name in: query required: true @@ -99802,7 +100386,7 @@ paths: description: Response for successful upload content: application/json: - schema: *660 + schema: *665 examples: response-for-successful-upload: value: @@ -99857,9 +100441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - 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. @@ -99883,11 +100467,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -99906,9 +100490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 requestBody: required: true content: @@ -99938,16 +100522,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -99969,10 +100553,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *419 - - *420 - - *664 - - *411 + - *424 + - *425 + - *669 + - *416 responses: '204': description: Response @@ -99996,9 +100580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 - *17 - *19 responses: @@ -100014,8 +100598,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *137 - - &665 + - *138 + - &670 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100034,66 +100618,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *138 - - *665 - allOf: - *139 - - *665 + - *670 - allOf: - *140 - - *665 - - allOf: - - *666 - - *665 + - *670 - allOf: - *141 - - *665 + - *670 + - allOf: + - *671 + - *670 - allOf: - *142 - - *665 + - *670 - allOf: - *143 - - *665 + - *670 - allOf: - *144 - - *665 + - *670 - allOf: - *145 - - *665 + - *670 - allOf: - *146 - - *665 + - *670 - allOf: - *147 - - *665 + - *670 - allOf: - *148 - - *665 + - *670 - allOf: - *149 - - *665 + - *670 - allOf: - *150 - - *665 + - *670 - allOf: - *151 - - *665 + - *670 - allOf: - *152 - - *665 + - *670 - allOf: - *153 - - *665 + - *670 - allOf: - *154 - - *665 + - *670 - allOf: - *155 - - *665 + - *670 - allOf: - *156 - - *665 + - *670 + - allOf: + - *157 + - *670 + - allOf: + - *672 + - *670 examples: default: value: @@ -100132,8 +100719,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - name: includes_parents @@ -100144,7 +100731,7 @@ paths: schema: type: boolean default: true - - *667 + - *673 responses: '200': description: Response @@ -100152,7 +100739,7 @@ paths: application/json: schema: type: array - items: *157 + items: *158 examples: default: value: @@ -100183,7 +100770,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -100199,8 +100786,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 requestBody: description: Request body required: true @@ -100220,16 +100807,16 @@ paths: - tag - push default: branch - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *131 + items: *137 + conditions: *132 rules: type: array description: An array of rules within the ruleset. - items: *668 + items: *674 required: - name - enforcement @@ -100260,9 +100847,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &677 + default: &683 value: id: 42 name: super cool ruleset @@ -100295,7 +100882,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -100309,12 +100896,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *419 - - *420 - - *669 - - *93 - - *670 - - *671 + - *424 + - *425 + - *675 + - *94 + - *676 + - *677 - *17 - *19 responses: @@ -100322,11 +100909,11 @@ paths: description: Response content: application/json: - schema: *672 + schema: *678 examples: - default: *673 + default: *679 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100345,19 +100932,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *419 - - *420 - - *674 + - *424 + - *425 + - *680 responses: '200': description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: *676 + default: *682 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100383,8 +100970,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100404,11 +100991,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *677 + default: *683 '404': *6 - '500': *89 + '500': *38 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -100424,8 +101011,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100450,16 +101037,16 @@ paths: - branch - tag - push - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *131 + items: *137 + conditions: *132 rules: description: An array of rules within the ruleset. type: array - items: *668 + items: *674 examples: default: value: @@ -100487,11 +101074,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *677 + default: *683 '404': *6 - '500': *89 + '500': *38 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -100507,8 +101094,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100519,7 +101106,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -100531,8 +101118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - name: ruleset_id @@ -100548,11 +101135,11 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: - default: *372 + default: *377 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100569,8 +101156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100588,7 +101175,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -100621,7 +101208,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100643,21 +101230,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *419 - - *420 - - *374 - - *375 - - *376 - - *377 - - *98 - - *19 - - *17 - - *678 - - *679 - - *378 + - *424 + - *425 - *379 - *380 - *381 + - *382 + - *99 + - *19 + - *17 + - *684 + - *685 + - *383 + - *384 + - *385 + - *386 responses: '200': description: Response @@ -100665,24 +101252,24 @@ paths: application/json: schema: type: array - items: &683 + items: &689 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *680 - resolution: *681 + state: *686 + resolution: *687 resolved_at: type: - string @@ -100776,7 +101363,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *682 + - *688 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -100876,7 +101463,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100898,16 +101485,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *419 - - *420 - - *506 - - *381 + - *424 + - *425 + - *511 + - *386 responses: '200': description: Response content: application/json: - schema: *683 + schema: *689 examples: default: value: @@ -100938,7 +101525,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100959,9 +101546,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: true content: @@ -100969,8 +101556,8 @@ paths: schema: type: object properties: - state: *680 - resolution: *681 + state: *686 + resolution: *687 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100989,7 +101576,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *689 examples: default: value: @@ -101042,7 +101629,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101064,9 +101651,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 - *19 - *17 responses: @@ -101077,7 +101664,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &860 + items: &866 type: object properties: type: @@ -101104,12 +101691,6 @@ paths: - commit details: oneOf: - - *684 - - *685 - - *686 - - *687 - - *688 - - *689 - *690 - *691 - *692 @@ -101117,6 +101698,12 @@ paths: - *694 - *695 - *696 + - *697 + - *698 + - *699 + - *700 + - *701 + - *702 examples: default: value: @@ -101176,11 +101763,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *38 + Link: *41 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101202,8 +101789,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101211,14 +101798,14 @@ paths: schema: type: object properties: - reason: &698 + reason: &704 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *697 + placeholder_id: *703 required: - reason - placeholder_id @@ -101235,7 +101822,7 @@ paths: schema: type: object properties: - reason: *698 + reason: *704 expire_at: type: - string @@ -101259,7 +101846,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101279,13 +101866,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *162 + '503': *163 '200': description: Response content: @@ -101295,7 +101882,7 @@ paths: properties: incremental_scans: type: array - items: &699 + items: &705 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101323,15 +101910,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *699 + items: *705 backfill_scans: type: array - items: *699 + items: *705 custom_pattern_backfill_scans: type: array items: allOf: - - *699 + - *705 - type: object properties: pattern_name: @@ -101401,9 +101988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *419 - - *420 - - *98 + - *424 + - *425 + - *99 - name: sort description: The property to sort the results by. in: query @@ -101415,8 +102002,8 @@ paths: - updated - published default: created - - *96 - *97 + - *98 - name: per_page description: The number of advisories to return per page. 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)." @@ -101446,9 +102033,9 @@ paths: application/json: schema: type: array - items: *700 + items: *706 examples: - default: *701 + default: *707 '400': *14 '404': *6 x-github: @@ -101471,8 +102058,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101552,7 +102139,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 required: - login - type @@ -101642,9 +102229,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: &703 + default: &709 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101877,8 +102464,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101991,7 +102578,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: default: value: @@ -102138,17 +102725,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '200': description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: *703 + default: *709 '403': *27 '404': *6 x-github: @@ -102172,9 +102759,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 requestBody: required: true content: @@ -102254,7 +102841,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 required: - login - type @@ -102345,17 +102932,17 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: *703 - add_credit: *703 + default: *709 + add_credit: *709 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *209 + schema: *217 examples: invalid_state_transition: value: @@ -102386,9 +102973,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '202': *37 '400': *14 @@ -102415,17 +103002,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '202': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 '400': *14 '422': *15 '403': *27 @@ -102451,8 +103038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -102526,7 +103113,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -102548,8 +103135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102558,7 +103145,7 @@ paths: application/json: schema: type: array - items: &704 + items: &710 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102571,7 +103158,7 @@ paths: - 1124 - -435 '202': *37 - '204': *128 + '204': *129 '422': description: Repository contains more than 10,000 commits x-github: @@ -102591,8 +103178,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -102643,7 +103230,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102670,8 +103257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -102743,7 +103330,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102765,8 +103352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -102920,8 +103507,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -102931,7 +103518,7 @@ paths: application/json: schema: type: array - items: *704 + items: *710 examples: default: value: @@ -102944,7 +103531,7 @@ paths: - - 0 - 2 - 21 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102964,8 +103551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *419 - - *420 + - *424 + - *425 - name: sha in: path required: true @@ -103021,7 +103608,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *711 examples: default: value: @@ -103075,8 +103662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103088,9 +103675,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103108,14 +103695,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &706 + schema: &712 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103188,8 +103775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -103215,7 +103802,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *712 examples: default: value: @@ -103242,8 +103829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -103263,8 +103850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103323,7 +103910,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103346,8 +103933,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103355,7 +103942,7 @@ paths: application/json: schema: type: array - items: &707 + items: &713 title: Tag protection description: Tag protection type: object @@ -103412,8 +103999,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -103436,7 +104023,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -103467,8 +104054,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: - - *419 - - *420 + - *424 + - *425 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103505,8 +104092,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *419 - - *420 + - *424 + - *425 - name: ref in: path required: true @@ -103542,8 +104129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103553,11 +104140,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -103575,8 +104162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 responses: @@ -103584,7 +104171,7 @@ paths: description: Response content: application/json: - schema: &708 + schema: &714 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103596,7 +104183,7 @@ paths: required: - names examples: - default: &709 + default: &715 value: names: - octocat @@ -103619,8 +104206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -103651,9 +104238,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *714 examples: - default: *709 + default: *715 '404': *6 '422': *7 x-github: @@ -103674,9 +104261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *419 - - *420 - - &710 + - *424 + - *425 + - &716 name: per description: The time frame to display results for. in: query @@ -103707,7 +104294,7 @@ paths: - 128 clones: type: array - items: &711 + items: &717 title: Traffic type: object properties: @@ -103794,8 +104381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103889,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103953,9 +104540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *419 - - *420 - - *710 + - *424 + - *425 + - *716 responses: '200': description: Response @@ -103976,7 +104563,7 @@ paths: - 3782 views: type: array - items: *711 + items: *717 required: - uniques - count @@ -104053,8 +104640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -104090,7 +104677,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *240 examples: default: value: @@ -104328,8 +104915,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104352,8 +104939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -104375,8 +104962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -104402,8 +104989,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *419 - - *420 + - *424 + - *425 - name: ref in: path required: true @@ -104495,9 +105082,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104538,7 +105125,7 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: default: value: @@ -104648,7 +105235,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &719 + - &725 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104658,7 +105245,7 @@ paths: type: string examples: - members - - &724 + - &730 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104670,7 +105257,7 @@ paths: format: int32 examples: - 1 - - &725 + - &731 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104714,7 +105301,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &714 + items: &720 allOf: - type: object required: @@ -104796,7 +105383,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: &726 + meta: &732 type: object description: The metadata associated with the creation/updates to the user. @@ -104861,30 +105448,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &715 + '400': &721 description: Bad request content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '401': *713 - '403': &716 + schema: *718 + '401': *719 + '403': &722 description: Permission denied - '429': &717 + '429': &723 description: Too many requests content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '500': &718 + schema: *718 + '500': &724 description: Internal server error content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 + schema: *718 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104908,7 +105495,7 @@ paths: required: true content: application/json: - schema: &722 + schema: &728 type: object required: - schemas @@ -104972,9 +105559,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *714 + schema: *720 examples: - group: &720 + group: &726 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -104993,13 +105580,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': *715 - '401': *713 - '403': *716 - '409': &723 + '400': *721 + '401': *719 + '403': *722 + '409': &729 description: Duplicate record detected - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105016,7 +105603,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: - - &721 + - &727 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105025,22 +105612,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *719 + - *725 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *714 + schema: *720 examples: - default: *720 - '400': *715 - '401': *713 - '403': *716 + default: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105059,13 +105646,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: - - *721 + - *727 - *39 requestBody: required: true content: application/json: - schema: *722 + schema: *728 examples: group: summary: Group @@ -105091,17 +105678,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *714 + schema: *720 examples: - group: *720 - groupWithMembers: *720 - '400': *715 - '401': *713 - '403': *716 + group: *726 + groupWithMembers: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105125,13 +105712,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: - - *721 + - *727 - *39 requestBody: required: true content: application/json: - schema: &733 + schema: &739 type: object required: - Operations @@ -105191,17 +105778,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *714 + schema: *720 examples: - updateGroup: *720 - addMembers: *720 - '400': *715 - '401': *713 - '403': *716 + updateGroup: *726 + addMembers: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105217,17 +105804,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: - - *721 + - *727 - *39 responses: '204': description: Group was deleted, no content - '400': *715 - '401': *713 - '403': *716 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105261,8 +105848,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *724 - - *725 + - *730 + - *731 - *39 responses: '200': @@ -105296,7 +105883,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &728 + items: &734 allOf: - type: object required: @@ -105388,7 +105975,7 @@ paths: address. examples: - true - roles: &727 + roles: &733 type: array description: The roles assigned to the user. items: @@ -105447,7 +106034,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *726 + meta: *732 startIndex: type: integer description: A starting index for the returned page @@ -105486,11 +106073,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *715 - '401': *713 - '403': *716 - '429': *717 - '500': *718 + '400': *721 + '401': *719 + '403': *722 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105514,7 +106101,7 @@ paths: required: true content: application/json: - schema: &731 + schema: &737 type: object required: - schemas @@ -105607,9 +106194,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *727 + roles: *733 examples: - user: &732 + user: &738 summary: User value: schemas: @@ -105656,9 +106243,9 @@ paths: description: User has been created content: application/scim+json: - schema: *728 + schema: *734 examples: - user: &729 + user: &735 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105684,13 +106271,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: *729 - '400': *715 - '401': *713 - '403': *716 - '409': *723 - '429': *717 - '500': *718 + enterpriseOwner: *735 + '400': *721 + '401': *719 + '403': *722 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105707,7 +106294,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: - - &730 + - &736 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105720,15 +106307,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *728 + schema: *734 examples: - default: *729 - '400': *715 - '401': *713 - '403': *716 + default: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105750,30 +106337,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: - - *730 + - *736 - *39 requestBody: required: true content: application/json: - schema: *731 + schema: *737 examples: - user: *732 + user: *738 responses: '200': description: User was updated content: application/scim+json: - schema: *728 + schema: *734 examples: - user: *729 - '400': *715 - '401': *713 - '403': *716 + user: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105808,13 +106395,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: - - *730 + - *736 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *739 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105854,18 +106441,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *728 + schema: *734 examples: - userMultiValuedProperties: *729 - userSingleValuedProperties: *729 - disableUser: *729 - '400': *715 - '401': *713 - '403': *716 + userMultiValuedProperties: *735 + userSingleValuedProperties: *735 + disableUser: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105885,17 +106472,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: - - *730 + - *736 - *39 responses: '204': description: User was deleted, no content - '400': *715 - '401': *713 - '403': *716 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105928,7 +106515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *74 + - *76 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -105986,7 +106573,7 @@ paths: - 1 Resources: type: array - items: &734 + items: &740 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106233,22 +106820,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': &735 + '404': &741 description: Resource not found content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '403': &736 + schema: *718 + '403': &742 description: Forbidden content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '400': *715 - '429': *717 + schema: *718 + '400': *721 + '429': *723 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106268,15 +106855,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *74 + - *76 responses: '201': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: &737 + default: &743 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106299,17 +106886,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': *735 - '403': *736 - '500': *718 + '404': *741 + '403': *742 + '500': *724 '409': description: Conflict content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '400': *715 + schema: *718 + '400': *721 requestBody: required: true content: @@ -106408,18 +106995,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 - '404': *735 - '403': *736 + default: *743 + '404': *741 + '403': *742 '304': *35 x-github: githubCloudOnly: true @@ -106442,19 +107029,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 + default: *743 '304': *35 - '404': *735 - '403': *736 + '404': *741 + '403': *742 requestBody: required: true content: @@ -106568,20 +107155,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 + default: *743 '304': *35 - '404': *735 - '403': *736 - '400': *715 + '404': *741 + '403': *742 + '400': *721 '429': description: Response content: @@ -106676,13 +107263,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *74 - - *730 + - *76 + - *736 responses: '204': description: Response - '404': *735 - '403': *736 + '404': *741 + '403': *742 '304': *35 x-github: githubCloudOnly: true @@ -106797,7 +107384,7 @@ paths: html_url: type: string format: uri - repository: *232 + repository: *240 score: type: number file_size: @@ -106816,7 +107403,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &738 + text_matches: &744 title: Search Result Text Matches type: array items: @@ -106931,7 +107518,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *162 + '503': *163 '422': *15 '403': *27 x-github: @@ -106980,7 +107567,7 @@ paths: enum: - author-date - committer-date - - &739 + - &745 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 @@ -107049,7 +107636,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 comment_count: type: integer message: @@ -107068,7 +107655,7 @@ paths: url: type: string format: uri - verification: *592 + verification: *597 required: - author - committer @@ -107083,7 +107670,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 parents: type: array items: @@ -107095,12 +107682,12 @@ paths: type: string sha: type: string - repository: *232 + repository: *240 score: type: number node_id: type: string - text_matches: *738 + text_matches: *744 required: - sha - node_id @@ -107283,7 +107870,7 @@ paths: - interactions - created - updated - - *739 + - *745 - *17 - *19 - name: advanced_search @@ -107380,11 +107967,11 @@ paths: type: - string - 'null' - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: type: string state_reason: @@ -107398,7 +107985,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 comments: type: integer created_at: @@ -107412,7 +107999,7 @@ paths: - string - 'null' format: date-time - text_matches: *738 + text_matches: *744 pull_request: type: object properties: @@ -107450,10 +108037,10 @@ paths: type: string score: type: number - author_association: *172 + author_association: *180 draft: type: boolean - repository: *65 + repository: *67 body_html: type: string body_text: @@ -107461,12 +108048,12 @@ paths: timeline_url: type: string format: uri - type: *319 + type: *326 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - assignee - closed_at @@ -107582,7 +108169,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *162 + '503': *163 '422': *15 '304': *35 '403': *27 @@ -107638,7 +108225,7 @@ paths: enum: - created - updated - - *739 + - *745 - *17 - *19 responses: @@ -107683,7 +108270,7 @@ paths: - 'null' score: type: number - text_matches: *738 + text_matches: *744 required: - id - node_id @@ -107769,7 +108356,7 @@ paths: - forks - help-wanted-issues - updated - - *739 + - *745 - *17 - *19 responses: @@ -107988,7 +108575,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 permissions: type: object properties: @@ -108006,7 +108593,7 @@ paths: - admin - pull - push - text_matches: *738 + text_matches: *744 temp_clone_token: type: string allow_merge_commit: @@ -108209,7 +108796,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *162 + '503': *163 '422': *15 '304': *35 x-github: @@ -108315,7 +108902,7 @@ paths: - string - 'null' format: uri - text_matches: *738 + text_matches: *744 related: type: - array @@ -108510,7 +109097,7 @@ paths: - followers - repositories - joined - - *739 + - *745 - *17 - *19 responses: @@ -108620,7 +109207,7 @@ paths: type: - boolean - 'null' - text_matches: *738 + text_matches: *744 blog: type: - string @@ -108682,7 +109269,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *162 + '503': *163 '422': *15 x-github: githubCloudOnly: false @@ -108702,7 +109289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &743 + - &749 name: team_id description: The unique identifier of the team. in: path @@ -108714,9 +109301,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -108743,7 +109330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *743 + - *749 requestBody: required: true content: @@ -108807,16 +109394,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '201': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 '422': *15 '403': *27 @@ -108844,7 +109431,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *743 + - *749 responses: '204': description: Response @@ -108875,8 +109462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *743 - - *98 + - *749 + - *99 - *17 - *19 responses: @@ -108886,11 +109473,11 @@ paths: application/json: schema: type: array - items: *402 + items: *407 examples: - default: *744 + default: *750 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108917,7 +109504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *743 + - *749 requestBody: required: true content: @@ -108951,9 +109538,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: triggersNotification: true githubCloudOnly: false @@ -108980,16 +109567,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109014,8 +109601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 requestBody: required: false content: @@ -109038,9 +109625,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *745 + default: *751 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109065,8 +109652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 responses: '204': description: Response @@ -109095,9 +109682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *743 - - *404 - - *98 + - *749 + - *409 + - *99 - *17 - *19 responses: @@ -109107,11 +109694,11 @@ paths: application/json: schema: type: array - items: *405 + items: *410 examples: - default: *746 + default: *752 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109138,8 +109725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *743 - - *404 + - *749 + - *409 requestBody: required: true content: @@ -109161,9 +109748,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: triggersNotification: true githubCloudOnly: false @@ -109190,17 +109777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 responses: '200': description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109225,9 +109812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 requestBody: required: true content: @@ -109249,9 +109836,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *747 + default: *753 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109276,9 +109863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 responses: '204': description: Response @@ -109307,9 +109894,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: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 - 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. @@ -109335,11 +109922,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109366,9 +109953,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: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 requestBody: required: true content: @@ -109400,9 +109987,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109428,8 +110015,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: - - *743 - - *404 + - *749 + - *409 - 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. @@ -109455,11 +110042,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109486,8 +110073,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: - - *743 - - *404 + - *749 + - *409 requestBody: required: true content: @@ -109519,9 +110106,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109545,7 +110132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -109555,11 +110142,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109583,7 +110170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *743 + - *749 - name: role description: Filters members returned by their role in the team. in: query @@ -109606,9 +110193,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -109634,8 +110221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: if user is a member @@ -109671,8 +110258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109711,8 +110298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109748,16 +110335,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: - - *743 - - *254 + - *749 + - *176 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-user-is-a-team-maintainer: *748 + response-if-user-is-a-team-maintainer: *754 '404': *6 x-github: githubCloudOnly: false @@ -109790,8 +110377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *743 - - *254 + - *749 + - *176 requestBody: required: false content: @@ -109816,9 +110403,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-users-membership-with-team-is-now-pending: *749 + response-if-users-membership-with-team-is-now-pending: *755 '403': description: Forbidden if team synchronization is set up '422': @@ -109852,8 +110439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109881,7 +110468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -109891,11 +110478,11 @@ paths: application/json: schema: type: array - items: *417 + items: *422 examples: - default: *750 + default: *756 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -109919,16 +110506,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: - - *743 - - *418 + - *749 + - *423 responses: '200': description: Response content: application/json: - schema: *417 + schema: *422 examples: - default: *751 + default: *757 '404': description: Not Found if project is not managed by this team x-github: @@ -109952,8 +110539,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: - - *743 - - *418 + - *749 + - *423 requestBody: required: false content: @@ -110020,8 +110607,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: - - *743 - - *418 + - *749 + - *423 responses: '204': description: Response @@ -110048,7 +110635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -110058,11 +110645,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -110090,15 +110677,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *752 + schema: *758 examples: alternative-response-with-extra-repository-information: value: @@ -110249,9 +110836,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 requestBody: required: false content: @@ -110301,9 +110888,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 responses: '204': description: Response @@ -110332,15 +110919,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: - - *743 + - *749 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 '403': *27 '404': *6 x-github: @@ -110367,7 +110954,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: - - *743 + - *749 requestBody: required: true content: @@ -110428,7 +111015,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -110459,7 +111046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -110469,11 +111056,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - response-if-child-teams-exist: *753 + response-if-child-teams-exist: *759 headers: - Link: *38 + Link: *41 '404': *6 '403': *27 '422': *15 @@ -110504,7 +111091,7 @@ paths: application/json: schema: oneOf: - - &755 + - &761 title: Private User description: Private User type: object @@ -110754,7 +111341,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *754 + - *760 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110914,7 +111501,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *761 examples: default: value: @@ -110993,7 +111580,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '304': *35 '404': *6 '403': *27 @@ -111016,7 +111603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *254 + - *176 responses: '204': description: If the user is blocked @@ -111044,7 +111631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -111068,7 +111655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -111117,11 +111704,11 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: - default: *326 + default: *332 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111258,21 +111845,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111312,7 +111899,7 @@ paths: type: integer secrets: type: array - items: &756 + items: &762 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111354,9 +111941,9 @@ paths: - visibility - selected_repositories_url examples: - default: *528 + default: *533 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111426,13 +112013,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 responses: '200': description: Response content: application/json: - schema: *756 + schema: *762 examples: default: value: @@ -111462,7 +112049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 requestBody: required: true content: @@ -111507,7 +112094,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -111535,7 +112122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 responses: '204': description: Response @@ -111560,7 +112147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *242 + - *250 responses: '200': description: Response @@ -111576,13 +112163,13 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *757 + default: *763 '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111603,7 +112190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *242 + - *250 requestBody: required: true content: @@ -111635,7 +112222,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111657,7 +112244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *242 + - *250 - name: repository_id in: path required: true @@ -111669,7 +112256,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111690,7 +112277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *242 + - *250 - name: repository_id in: path required: true @@ -111702,7 +112289,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111722,17 +112309,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111756,7 +112343,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: - - *327 + - *333 requestBody: required: false content: @@ -111786,9 +112373,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 @@ -111810,11 +112397,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '202': *37 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111839,13 +112426,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: - - *327 + - *333 responses: '202': description: Response content: application/json: - schema: &758 + schema: &764 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111898,7 +112485,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &759 + default: &765 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111906,7 +112493,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111930,7 +112517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *327 + - *333 - name: export_id in: path required: true @@ -111943,9 +112530,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *764 examples: - default: *759 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -111966,7 +112553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *327 + - *333 responses: '200': description: Response @@ -111982,11 +112569,11 @@ paths: type: integer machines: type: array - items: *527 + items: *532 examples: - default: *760 + default: *766 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -112013,7 +112600,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: - - *327 + - *333 requestBody: required: true content: @@ -112069,11 +112656,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *432 + repository: *437 machine: anyOf: - type: 'null' - - *527 + - *532 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -112870,17 +113457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '304': *35 - '500': *89 + '500': *38 '400': *14 '401': *23 '402': @@ -112890,7 +113477,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112910,16 +113497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 - '500': *89 + default: *531 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -112948,9 +113535,9 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: &772 + default: &778 value: - id: 197 name: hello_docker @@ -113051,7 +113638,7 @@ paths: application/json: schema: type: array - items: &761 + items: &767 title: Email description: Email type: object @@ -113121,16 +113708,16 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: - default: &774 + default: &780 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -113200,7 +113787,7 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: default: value: @@ -113312,9 +113899,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113345,9 +113932,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113367,7 +113954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *254 + - *176 responses: '204': description: if the person is followed by the authenticated user @@ -113397,7 +113984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -113422,7 +114009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -113458,7 +114045,7 @@ paths: application/json: schema: type: array - items: &762 + items: &768 title: GPG Key description: A unique encryption key type: object @@ -113603,7 +114190,7 @@ paths: - subkeys - revoked examples: - default: &792 + default: &798 value: - id: 3 name: Octocat's GPG Key @@ -113635,7 +114222,7 @@ paths: revoked: false raw_key: string headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -113688,9 +114275,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *768 examples: - default: &763 + default: &769 value: id: 3 name: Octocat's GPG Key @@ -113747,7 +114334,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: - - &764 + - &770 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113759,9 +114346,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *768 examples: - default: *763 + default: *769 '404': *6 '304': *35 '403': *27 @@ -113784,7 +114371,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: - - *764 + - *770 responses: '204': description: Response @@ -113927,7 +114514,7 @@ paths: suspended_at: suspended_by: headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113973,11 +114560,11 @@ paths: type: string repositories: type: array - items: *65 + items: *67 examples: - default: *227 + default: *235 headers: - Link: *38 + Link: *41 '404': *6 '403': *27 '304': *35 @@ -114000,7 +114587,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *226 + - *234 responses: '204': description: Response @@ -114026,7 +114613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *226 + - *234 responses: '204': description: Response @@ -114060,12 +114647,12 @@ paths: application/json: schema: anyOf: - - *314 + - *321 - type: object properties: {} additionalProperties: false examples: - default: *315 + default: *322 '204': description: Response when there are no restrictions x-github: @@ -114089,7 +114676,7 @@ paths: required: true content: application/json: - schema: *603 + schema: *608 examples: default: value: @@ -114100,7 +114687,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: default: value: @@ -114181,7 +114768,7 @@ paths: - closed - all default: open - - *322 + - *329 - name: sort description: What to sort results by. in: query @@ -114193,8 +114780,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -114204,11 +114791,11 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *323 + default: *330 headers: - Link: *38 + Link: *41 '404': *6 '304': *35 x-github: @@ -114239,7 +114826,7 @@ paths: application/json: schema: type: array - items: &765 + items: &771 title: Key description: Key type: object @@ -114291,7 +114878,7 @@ paths: verified: false read_only: false headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -114342,9 +114929,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: &766 + default: &772 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114377,15 +114964,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: - - *630 + - *635 responses: '200': description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: *766 + default: *772 '404': *6 '304': *35 '403': *27 @@ -114408,7 +114995,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: - - *630 + - *635 responses: '204': description: Response @@ -114441,7 +115028,7 @@ paths: application/json: schema: type: array - items: &767 + items: &773 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114509,7 +115096,7 @@ paths: - id - type - login - plan: *188 + plan: *196 required: - billing_cycle - next_billing_date @@ -114520,7 +115107,7 @@ paths: - account - plan examples: - default: &768 + default: &774 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114553,7 +115140,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '304': *35 '401': *23 '404': *6 @@ -114582,11 +115169,11 @@ paths: application/json: schema: type: array - items: *767 + items: *773 examples: - default: *768 + default: *774 headers: - Link: *38 + Link: *41 '304': *35 '401': *23 x-github: @@ -114624,7 +115211,7 @@ paths: application/json: schema: type: array - items: *328 + items: *334 examples: default: value: @@ -114701,7 +115288,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -114726,13 +115313,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *328 + schema: *334 examples: default: value: @@ -114790,7 +115377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *76 requestBody: required: true content: @@ -114815,7 +115402,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: default: value: @@ -114883,7 +115470,7 @@ paths: application/json: schema: type: array - items: *330 + items: *336 examples: default: value: @@ -115036,7 +115623,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -115145,7 +115732,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -115325,7 +115912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *331 + - *337 - name: exclude in: query required: false @@ -115338,7 +115925,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -115532,7 +116119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *331 + - *337 responses: '302': description: Response @@ -115558,7 +116145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *331 + - *337 responses: '204': description: Response @@ -115587,8 +116174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *331 - - *769 + - *337 + - *775 responses: '204': description: Response @@ -115612,7 +116199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *331 + - *337 - *17 - *19 responses: @@ -115622,11 +116209,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -115659,11 +116246,11 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: *770 + default: *776 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -115703,7 +116290,7 @@ paths: - docker - nuget - container - - *771 + - *777 - *19 - *17 responses: @@ -115713,10 +116300,10 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 - '400': *773 + default: *778 + '400': *779 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115736,16 +116323,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: - - *338 - - *339 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: &793 + default: &799 value: id: 40201 name: octo-name @@ -115858,8 +116445,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: - - *338 - - *339 + - *343 + - *344 responses: '204': description: Response @@ -115889,8 +116476,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: - - *338 - - *339 + - *343 + - *344 - name: token description: package token schema: @@ -115922,8 +116509,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: - - *338 - - *339 + - *343 + - *344 - *19 - *17 - name: state @@ -115943,7 +116530,7 @@ paths: application/json: schema: type: array - items: *340 + items: *345 examples: default: value: @@ -115992,15 +116579,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -116036,9 +116623,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '204': description: Response @@ -116068,9 +116655,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '204': description: Response @@ -116128,7 +116715,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -116200,11 +116787,11 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: - default: *774 + default: *780 headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116313,9 +116900,9 @@ paths: application/json: schema: type: array - items: *65 + items: *67 examples: - default: &781 + default: &787 summary: Default response value: - id: 1296269 @@ -116436,7 +117023,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '403': *27 @@ -116633,9 +117220,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116673,11 +117260,11 @@ paths: application/json: schema: type: array - items: *605 + items: *610 examples: - default: *775 + default: *781 headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116698,12 +117285,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *318 + - *325 responses: '204': description: Response '403': *27 - '409': *106 + '409': *107 '404': *6 '304': *35 x-github: @@ -116721,11 +117308,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *318 + - *325 responses: '204': description: Response - '409': *106 + '409': *107 '304': *35 '404': *6 '403': *27 @@ -116754,7 +117341,7 @@ paths: application/json: schema: type: array - items: &776 + items: &782 title: Social account description: Social media account type: object @@ -116771,12 +117358,12 @@ paths: - provider - url examples: - default: &777 + default: &783 value: - provider: twitter url: https://twitter.com/github headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116834,9 +117421,9 @@ paths: application/json: schema: type: array - items: *776 + items: *782 examples: - default: *777 + default: *783 '422': *15 '304': *35 '404': *6 @@ -116924,7 +117511,7 @@ paths: application/json: schema: type: array - items: &778 + items: &784 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116944,7 +117531,7 @@ paths: - title - created_at examples: - default: &794 + default: &800 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116957,7 +117544,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -117011,9 +117598,9 @@ paths: description: Response content: application/json: - schema: *778 + schema: *784 examples: - default: &779 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117044,7 +117631,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: - - &780 + - &786 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117056,9 +117643,9 @@ paths: description: Response content: application/json: - schema: *778 + schema: *784 examples: - default: *779 + default: *785 '404': *6 '304': *35 '403': *27 @@ -117081,7 +117668,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: - - *780 + - *786 responses: '204': description: Response @@ -117110,7 +117697,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: - - &795 + - &801 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 @@ -117123,7 +117710,7 @@ paths: - created - updated default: created - - *98 + - *99 - *17 - *19 responses: @@ -117133,13 +117720,13 @@ paths: application/json: schema: type: array - items: *65 + items: *67 examples: - default-response: *781 + default-response: *787 application/vnd.github.v3.star+json: schema: type: array - items: &796 + items: &802 title: Starred Repository description: Starred Repository type: object @@ -117147,7 +117734,7 @@ paths: starred_at: type: string format: date-time - repo: *65 + repo: *67 required: - starred_at - repo @@ -117275,7 +117862,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117295,8 +117882,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response if this repository is starred by you @@ -117324,8 +117911,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -117349,8 +117936,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -117383,11 +117970,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117422,7 +118009,7 @@ paths: application/json: schema: type: array - items: *400 + items: *405 examples: default: value: @@ -117473,7 +118060,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -117500,7 +118087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *190 + - *198 responses: '200': description: Response @@ -117508,10 +118095,10 @@ paths: application/json: schema: oneOf: - - *755 - - *754 + - *761 + - *760 examples: - default-response: &787 + default-response: &793 summary: Default response value: login: octocat @@ -117546,7 +118133,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &788 + response-with-git-hub-plan-information: &794 summary: Response with GitHub plan information value: login: octocat @@ -117606,7 +118193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *782 + - *788 - *17 responses: '200': @@ -117617,7 +118204,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: Link: example: ; rel="next" @@ -117640,8 +118227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *355 - - &783 + - *360 + - &789 name: user_id description: The unique identifier of the user. in: path @@ -117653,11 +118240,11 @@ paths: description: Response content: application/json: - schema: *353 + schema: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117677,11 +118264,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *355 - - *783 + - *360 + - *789 - *17 - - *96 - *97 + - *98 responses: '200': description: Response @@ -117689,11 +118276,11 @@ paths: application/json: schema: type: array - items: *356 + items: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117713,19 +118300,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *355 - - *784 - - *783 + - *360 + - *790 + - *789 responses: '200': description: Response content: application/json: - schema: *356 + schema: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117746,10 +118333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *355 - - *783 - - *96 + - *360 + - *789 - *97 + - *98 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -117777,11 +118364,11 @@ paths: application/json: schema: type: array - items: *361 + items: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117800,8 +118387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *783 - - *355 + - *789 + - *360 requestBody: required: true description: Details of the item to add to the project. @@ -117838,9 +118425,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *791 examples: - default: *786 + default: *792 '304': *35 '403': *27 '401': *23 @@ -117860,9 +118447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117880,11 +118467,11 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117903,9 +118490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117978,9 +118565,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 @@ -118000,9 +118587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 responses: '204': description: Response @@ -118031,7 +118618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *254 + - *176 responses: '200': description: Response @@ -118039,11 +118626,11 @@ paths: application/json: schema: oneOf: - - *755 - - *754 + - *761 + - *760 examples: - default-response: *787 - response-with-git-hub-plan-information: *788 + default-response: *793 + response-with-git-hub-plan-information: *794 '404': *6 x-github: githubCloudOnly: false @@ -118067,9 +118654,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *96 - *97 - - *254 + - *98 + - *176 requestBody: required: true content: @@ -118092,8 +118679,8 @@ paths: required: - subject_digests examples: - default: *789 - withPredicateType: *790 + default: *795 + withPredicateType: *796 responses: '200': description: Response @@ -118147,7 +118734,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *791 + default: *797 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118165,7 +118752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *254 + - *176 requestBody: required: true content: @@ -118230,7 +118817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *254 + - *176 - name: subject_digest description: Subject Digest in: path @@ -118261,7 +118848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *254 + - *176 - name: attestation_id description: Attestation ID in: path @@ -118297,9 +118884,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *96 - *97 - - *254 + - *98 + - *176 - name: subject_digest description: Subject Digest in: path @@ -118349,12 +118936,12 @@ paths: bundle_url: type: string examples: - default: *472 + default: *477 '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -118380,7 +118967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *254 + - *176 responses: '200': description: Response @@ -118388,9 +118975,9 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 + default: *778 '403': *27 '401': *23 x-github: @@ -118413,7 +119000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118423,7 +119010,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118494,8 +119081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *254 - - *74 + - *176 + - *76 - *17 - *19 responses: @@ -118505,7 +119092,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118584,7 +119171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118594,7 +119181,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118661,7 +119248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118673,9 +119260,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118692,7 +119279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118704,9 +119291,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118723,7 +119310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *254 + - *176 - name: target_user in: path required: true @@ -118750,8 +119337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *254 - - *175 + - *176 + - *183 - *17 - *19 responses: @@ -118761,11 +119348,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -118784,7 +119371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118794,11 +119381,11 @@ paths: application/json: schema: type: array - items: *762 + items: *768 examples: - default: *792 + default: *798 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118820,7 +119407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *254 + - *176 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118892,7 +119479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *254 + - *176 responses: '200': description: Response @@ -118900,7 +119487,7 @@ paths: application/json: schema: *20 examples: - default: *602 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118918,7 +119505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118954,7 +119541,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118974,7 +119561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118984,11 +119571,11 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: *770 + default: *776 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119025,8 +119612,8 @@ paths: - docker - nuget - container - - *771 - - *254 + - *777 + - *176 - *19 - *17 responses: @@ -119036,12 +119623,12 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 + default: *778 '403': *27 '401': *23 - '400': *773 + '400': *779 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119061,17 +119648,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *793 + default: *799 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119092,9 +119679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '204': description: Response @@ -119126,9 +119713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 - name: token description: package token schema: @@ -119160,9 +119747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '200': description: Response @@ -119170,7 +119757,7 @@ paths: application/json: schema: type: array - items: *340 + items: *345 examples: default: value: @@ -119228,16 +119815,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: - - *338 - - *339 - - *341 - - *254 + - *343 + - *344 + - *346 + - *176 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -119272,10 +119859,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *338 - - *339 - - *254 - - *341 + - *343 + - *344 + - *176 + - *346 responses: '204': description: Response @@ -119307,10 +119894,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *338 - - *339 - - *254 - - *341 + - *343 + - *344 + - *176 + - *346 responses: '204': description: Response @@ -119336,7 +119923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *254 + - *176 - name: state description: Indicates the state of the projects to return. in: query @@ -119357,7 +119944,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -119393,7 +119980,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -119415,15 +120002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *254 + - *176 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *96 - *97 + - *98 - *17 responses: '200': @@ -119432,11 +120019,11 @@ paths: application/json: schema: type: array - items: *353 + items: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -119461,7 +120048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119471,7 +120058,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -119550,7 +120137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119560,7 +120147,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -119637,7 +120224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *254 + - *176 - name: type description: Limit results to repositories of the specified type. in: query @@ -119680,11 +120267,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119706,15 +120293,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *387 + schema: *392 examples: - default: *388 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119736,15 +120323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *392 + schema: *397 examples: - default: *393 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119766,15 +120353,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *395 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119794,11 +120381,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *254 - - *201 - - *202 - - *203 - - *204 + - *176 + - *209 + - *210 + - *211 + - *212 responses: '200': description: Response when getting a billing usage report @@ -119868,8 +120455,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119887,7 +120474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119897,11 +120484,11 @@ paths: application/json: schema: type: array - items: *776 + items: *782 examples: - default: *777 + default: *783 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119919,7 +120506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119929,11 +120516,11 @@ paths: application/json: schema: type: array - items: *778 + items: *784 examples: - default: *794 + default: *800 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119955,9 +120542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *254 - - *795 - - *98 + - *176 + - *801 + - *99 - *17 - *19 responses: @@ -119968,13 +120555,13 @@ paths: schema: anyOf: - type: array - items: *796 + items: *802 - type: array - items: *65 + items: *67 examples: - default-response: *781 + default-response: *787 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119991,7 +120578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -120001,11 +120588,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120132,7 +120719,7 @@ webhooks: type: string enum: - disabled - enterprise: &797 + enterprise: &803 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120201,7 +120788,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &798 + installation: &804 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120222,7 +120809,7 @@ webhooks: required: - id - node_id - organization: &799 + organization: &805 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120295,7 +120882,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &800 + repository: &806 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -120324,7 +120911,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *194 organization: anyOf: - type: 'null' @@ -121208,10 +121795,10 @@ webhooks: type: string enum: - enabled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -121287,11 +121874,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: &801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: &807 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) @@ -121514,11 +122101,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: *807 sender: *4 required: - action @@ -121706,11 +122293,11 @@ webhooks: - everyone required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: *807 sender: *4 required: - action @@ -121781,7 +122368,7 @@ webhooks: required: true content: application/json: - schema: &804 + schema: &810 title: Exemption request cancellation event type: object properties: @@ -121789,11 +122376,11 @@ webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: &802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: &808 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122031,7 +122618,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &803 + items: &809 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122141,7 +122728,7 @@ webhooks: required: true content: application/json: - schema: &805 + schema: &811 title: Exemption request completed event type: object properties: @@ -122149,11 +122736,11 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 sender: *4 required: - action @@ -122223,7 +122810,7 @@ webhooks: required: true content: application/json: - schema: &806 + schema: &812 title: Exemption request created event type: object properties: @@ -122231,11 +122818,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 sender: *4 required: - action @@ -122305,7 +122892,7 @@ webhooks: required: true content: application/json: - schema: &807 + schema: &813 title: Exemption response dismissed event type: object properties: @@ -122313,12 +122900,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 - exemption_response: *803 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 + exemption_response: *809 sender: *4 required: - action @@ -122390,7 +122977,7 @@ webhooks: required: true content: application/json: - schema: &808 + schema: &814 title: Exemption response submitted event type: object properties: @@ -122398,12 +122985,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 - exemption_response: *803 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 + exemption_response: *809 sender: *4 required: - action @@ -122476,7 +123063,7 @@ webhooks: required: true content: application/json: - schema: *804 + schema: *810 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122543,7 +123130,7 @@ webhooks: required: true content: application/json: - schema: *805 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122610,7 +123197,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122677,7 +123264,7 @@ webhooks: required: true content: application/json: - schema: *807 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122745,7 +123332,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122823,7 +123410,7 @@ webhooks: type: string enum: - completed - check_run: &810 + check_run: &816 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122888,8 +123475,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *489 - repository: *232 + items: *494 + repository: *240 status: type: string enum: @@ -122933,7 +123520,7 @@ webhooks: - examples: - neutral - deployment: *809 + deployment: *815 details_url: type: string examples: @@ -122993,7 +123580,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *489 + items: *494 started_at: type: string format: date-time @@ -123031,10 +123618,10 @@ webhooks: - output - app - pull_requests - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -123427,11 +124014,11 @@ webhooks: type: string enum: - created - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -123827,11 +124414,11 @@ webhooks: type: string enum: - requested_action - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 requested_action: description: The action requested by the user. type: object @@ -124236,11 +124823,11 @@ webhooks: type: string enum: - rerequested - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -125232,10 +125819,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -125920,10 +126507,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -126602,10 +127189,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -126771,7 +127358,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126923,20 +127510,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &811 + commit_oid: &817 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: *797 - installation: *798 - organization: *799 - ref: &812 + enterprise: *803 + installation: *804 + organization: *805 + ref: &818 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: *800 + repository: *806 sender: *4 required: - action @@ -127100,7 +127687,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127341,12 +127928,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -127444,7 +128031,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127626,12 +128213,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -127797,7 +128384,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127974,12 +128561,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -128079,7 +128666,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128259,9 +128846,9 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128269,7 +128856,7 @@ webhooks: type: - string - 'null' - repository: *800 + repository: *806 sender: *4 required: - action @@ -128365,7 +128952,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128512,12 +129099,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -128779,10 +129366,10 @@ webhooks: - updated_at - author_association - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -128863,18 +129450,18 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *799 - pusher_type: &813 + organization: *805 + pusher_type: &819 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &814 + ref: &820 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128884,7 +129471,7 @@ webhooks: enum: - tag - branch - repository: *800 + repository: *806 sender: *4 required: - ref @@ -128966,10 +129553,10 @@ webhooks: type: string enum: - created - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129054,9 +129641,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129133,10 +129720,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129213,10 +129800,10 @@ webhooks: type: string enum: - updated - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129293,19 +129880,19 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - repository: *800 - organization: *799 + enterprise: *803 + installation: *804 + repository: *806 + organization: *805 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *365 + items: *370 old_property_values: type: array description: The old custom property values for the repository. - items: *365 + items: *370 required: - action - repository @@ -129381,18 +129968,18 @@ webhooks: title: delete event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - pusher_type: *813 - ref: *814 + enterprise: *803 + installation: *804 + organization: *805 + pusher_type: *819 + ref: *820 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *800 + repository: *806 sender: *4 required: - ref @@ -129476,11 +130063,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129564,11 +130151,11 @@ webhooks: type: string enum: - auto_reopened - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129652,11 +130239,11 @@ webhooks: type: string enum: - created - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129738,11 +130325,11 @@ webhooks: type: string enum: - dismissed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129824,11 +130411,11 @@ webhooks: type: string enum: - fixed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129911,11 +130498,11 @@ webhooks: type: string enum: - reintroduced - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129997,11 +130584,11 @@ webhooks: type: string enum: - reopened - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -130078,9 +130665,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - key: &815 + enterprise: *803 + installation: *804 + key: &821 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130118,8 +130705,8 @@ webhooks: - verified - created_at - read_only - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -130196,11 +130783,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - key: *815 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + key: *821 + organization: *805 + repository: *806 sender: *4 required: - action @@ -130772,12 +131359,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: &819 + workflow: &825 title: Workflow type: - object @@ -131515,13 +132102,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *558 + deployment: *563 pull_requests: type: array - items: *648 - repository: *800 - organization: *799 - installation: *798 + items: *653 + repository: *806 + organization: *805 + installation: *804 sender: *4 responses: '200': @@ -131592,7 +132179,7 @@ webhooks: type: string enum: - approved - approver: &816 + approver: &822 type: object properties: avatar_url: @@ -131635,11 +132222,11 @@ webhooks: type: string comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: &817 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + reviewers: &823 type: array items: type: object @@ -131720,7 +132307,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &818 + workflow_job_run: &824 type: object properties: conclusion: @@ -132466,18 +133053,18 @@ webhooks: type: string enum: - rejected - approver: *816 + approver: *822 comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: *817 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + reviewers: *823 sender: *4 since: type: string - workflow_job_run: *818 + workflow_job_run: *824 workflow_job_runs: type: array items: @@ -133194,13 +133781,13 @@ webhooks: type: string enum: - requested - enterprise: *797 + enterprise: *803 environment: type: string - installation: *798 - organization: *799 - repository: *800 - requestor: &824 + installation: *804 + organization: *805 + repository: *806 + requestor: &830 title: User type: - object @@ -135143,12 +135730,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Deployment Workflow Run type: @@ -135839,7 +136426,7 @@ webhooks: type: string enum: - answered - answer: &822 + answer: &828 type: object properties: author_association: @@ -135999,7 +136586,7 @@ webhooks: - created_at - updated_at - body - discussion: &820 + discussion: &826 title: Discussion description: A Discussion in a repository. type: object @@ -136295,7 +136882,7 @@ webhooks: - id labels: type: array - items: *613 + items: *618 required: - repository_url - category @@ -136317,10 +136904,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136447,11 +137034,11 @@ webhooks: - from required: - category - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136534,11 +137121,11 @@ webhooks: type: string enum: - closed - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136620,7 +137207,7 @@ webhooks: type: string enum: - created - comment: &821 + comment: &827 type: object properties: author_association: @@ -136780,11 +137367,11 @@ webhooks: - updated_at - body - reactions - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136867,12 +137454,12 @@ webhooks: type: string enum: - deleted - comment: *821 - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *827 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136967,12 +137554,12 @@ webhooks: - from required: - body - comment: *821 - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *827 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137056,11 +137643,11 @@ webhooks: type: string enum: - created - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137142,11 +137729,11 @@ webhooks: type: string enum: - deleted - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137246,11 +137833,11 @@ webhooks: type: string required: - from - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137332,10 +137919,10 @@ webhooks: type: string enum: - labeled - discussion: *820 - enterprise: *797 - installation: *798 - label: &823 + discussion: *826 + enterprise: *803 + installation: *804 + label: &829 title: Label type: object properties: @@ -137368,8 +137955,8 @@ webhooks: - color - default - description - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137452,11 +138039,11 @@ webhooks: type: string enum: - locked - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137538,11 +138125,11 @@ webhooks: type: string enum: - pinned - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137624,11 +138211,11 @@ webhooks: type: string enum: - reopened - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137713,16 +138300,16 @@ webhooks: changes: type: object properties: - new_discussion: *820 - new_repository: *800 + new_discussion: *826 + new_repository: *806 required: - new_discussion - new_repository - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137805,10 +138392,10 @@ webhooks: type: string enum: - unanswered - discussion: *820 - old_answer: *822 - organization: *799 - repository: *800 + discussion: *826 + old_answer: *828 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137890,12 +138477,12 @@ webhooks: type: string enum: - unlabeled - discussion: *820 - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137978,11 +138565,11 @@ webhooks: type: string enum: - unlocked - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -138064,11 +138651,11 @@ webhooks: type: string enum: - unpinned - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -138137,7 +138724,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138200,7 +138787,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138266,7 +138853,7 @@ webhooks: required: true content: application/json: - schema: *804 + schema: *810 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138332,7 +138919,7 @@ webhooks: required: true content: application/json: - schema: *805 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138398,7 +138985,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138464,7 +139051,7 @@ webhooks: required: true content: application/json: - schema: *807 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138530,7 +139117,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138597,7 +139184,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *797 + enterprise: *803 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139275,9 +139862,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - forkee @@ -139423,9 +140010,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pages: description: The pages that were updated. type: array @@ -139463,7 +140050,7 @@ webhooks: - action - sha - html_url - repository: *800 + repository: *806 sender: *4 required: - pages @@ -139539,10 +140126,10 @@ webhooks: type: string enum: - created - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: &825 + organization: *805 + repositories: &831 description: An array of repository objects that the installation can access. type: array @@ -139568,8 +140155,8 @@ webhooks: - name - full_name - private - repository: *800 - requester: *824 + repository: *806 + requester: *830 sender: *4 required: - action @@ -139644,11 +140231,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -139725,11 +140312,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -139806,10 +140393,10 @@ webhooks: type: string enum: - added - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories_added: &826 + organization: *805 + repositories_added: &832 description: An array of repository objects, which were added to the installation. type: array @@ -139855,15 +140442,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *800 - repository_selection: &827 + repository: *806 + repository_selection: &833 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *824 + requester: *830 sender: *4 required: - action @@ -139942,10 +140529,10 @@ webhooks: type: string enum: - removed - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories_added: *826 + organization: *805 + repositories_added: *832 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139972,9 +140559,9 @@ webhooks: - name - full_name - private - repository: *800 - repository_selection: *827 - requester: *824 + repository: *806 + repository_selection: *833 + requester: *830 sender: *4 required: - action @@ -140053,11 +140640,11 @@ webhooks: type: string enum: - suspend - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -140240,10 +140827,10 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 target_type: type: string @@ -140322,11 +140909,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -140574,8 +141161,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141392,8 +141979,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141410,7 +141997,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -141754,8 +142341,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -141835,7 +142422,7 @@ webhooks: type: string enum: - deleted - comment: &828 + comment: &834 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142002,8 +142589,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142816,8 +143403,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142834,7 +143421,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -143180,8 +143767,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -143261,7 +143848,7 @@ webhooks: type: string enum: - edited - changes: &852 + changes: &858 description: The changes to the comment. type: object properties: @@ -143273,9 +143860,9 @@ webhooks: type: string required: - from - comment: *828 - enterprise: *797 - installation: *798 + comment: *834 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144091,8 +144678,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144109,7 +144696,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -144453,8 +145040,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144538,15 +145125,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *193 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - blocking_issue_repo: *65 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + blocking_issue_repo: *67 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144634,15 +145221,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *193 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - blocking_issue_repo: *65 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + blocking_issue_repo: *67 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144729,15 +145316,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 - blocked_issue_repo: *65 + blocked_issue: *193 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144825,15 +145412,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 - blocked_issue_repo: *65 + blocked_issue: *193 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144918,10 +145505,10 @@ webhooks: type: string enum: - assigned - assignee: *824 - enterprise: *797 - installation: *798 - issue: &831 + assignee: *830 + enterprise: *803 + installation: *804 + issue: &837 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145733,11 +146320,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145754,7 +146341,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -145857,8 +146444,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -145938,8 +146525,8 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146756,11 +147343,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146777,7 +147364,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -147023,8 +147610,8 @@ webhooks: required: - state - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -147103,8 +147690,8 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147912,11 +148499,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147933,7 +148520,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -148035,8 +148622,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -148115,8 +148702,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148947,11 +149534,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148968,7 +149555,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -149049,7 +149636,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &829 + milestone: &835 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149192,8 +149779,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -149292,8 +149879,8 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150105,11 +150692,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150123,7 +150710,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -150229,9 +150816,9 @@ webhooks: - active_lock_reason - body - reactions - label: *823 - organization: *799 - repository: *800 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -150311,8 +150898,8 @@ webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151123,11 +151710,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151141,7 +151728,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -151247,9 +151834,9 @@ webhooks: - active_lock_reason - body - reactions - label: *823 - organization: *799 - repository: *800 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -151329,8 +151916,8 @@ webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152166,11 +152753,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152184,7 +152771,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -152267,8 +152854,8 @@ webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -152347,8 +152934,8 @@ webhooks: type: string enum: - milestoned - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153178,11 +153765,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153199,7 +153786,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -153279,9 +153866,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *829 - organization: *799 - repository: *800 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -154173,11 +154760,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154273,7 +154860,7 @@ webhooks: required: - login - id - type: *319 + type: *326 required: - id - number @@ -154754,8 +155341,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155567,11 +156154,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155588,7 +156175,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -155690,8 +156277,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -155771,9 +156358,9 @@ webhooks: type: string enum: - pinned - enterprise: *797 - installation: *798 - issue: &830 + enterprise: *803 + installation: *804 + issue: &836 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156579,11 +157166,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156600,7 +157187,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -156702,8 +157289,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -156782,8 +157369,8 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157617,11 +158204,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157718,9 +158305,9 @@ webhooks: format: uri user_view_type: type: string - type: *319 - organization: *799 - repository: *800 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -158609,11 +159196,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158630,7 +159217,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -159212,11 +159799,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *797 - installation: *798 - issue: *830 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *836 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159296,12 +159883,12 @@ webhooks: type: string enum: - typed - enterprise: *797 - installation: *798 - issue: *831 - type: *319 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159382,7 +159969,7 @@ webhooks: type: string enum: - unassigned - assignee: &855 + assignee: &861 title: User type: - object @@ -159454,11 +160041,11 @@ webhooks: required: - login - id - enterprise: *797 - installation: *798 - issue: *831 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159537,12 +160124,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - issue: *831 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159622,8 +160209,8 @@ webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160457,11 +161044,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160478,7 +161065,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -160558,8 +161145,8 @@ webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160639,11 +161226,11 @@ webhooks: type: string enum: - unpinned - enterprise: *797 - installation: *798 - issue: *830 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *836 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160722,12 +161309,12 @@ webhooks: type: string enum: - untyped - enterprise: *797 - installation: *798 - issue: *831 - type: *319 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160807,11 +161394,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160889,11 +161476,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -161003,11 +161590,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -161089,9 +161676,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: &832 + enterprise: *803 + installation: *804 + marketplace_purchase: &838 title: Marketplace Purchase type: object required: @@ -161179,8 +161766,8 @@ webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: &833 + organization: *805 + previous_marketplace_purchase: &839 title: Marketplace Purchase type: object properties: @@ -161264,7 +161851,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161344,10 +161931,10 @@ webhooks: - changed effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161435,7 +162022,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161517,10 +162104,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161606,7 +162193,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161687,8 +162274,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 marketplace_purchase: title: Marketplace Purchase type: object @@ -161774,9 +162361,9 @@ webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: *833 - repository: *800 + organization: *805 + previous_marketplace_purchase: *839 + repository: *806 sender: *4 required: - action @@ -161856,12 +162443,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 - previous_marketplace_purchase: *833 - repository: *800 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 + previous_marketplace_purchase: *839 + repository: *806 sender: *4 required: - action @@ -161963,11 +162550,11 @@ webhooks: type: string required: - to - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162069,11 +162656,11 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162152,11 +162739,11 @@ webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162234,11 +162821,11 @@ webhooks: type: string enum: - added - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162316,7 +162903,7 @@ webhooks: required: - login - id - team: &834 + team: &840 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162509,11 +163096,11 @@ webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162592,7 +163179,7 @@ webhooks: required: - login - id - team: *834 + team: *840 required: - action - scope @@ -162674,8 +163261,8 @@ webhooks: type: string enum: - checks_requested - installation: *798 - merge_group: &835 + installation: *804 + merge_group: &841 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162694,15 +163281,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *493 + head_commit: *498 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162788,10 +163375,10 @@ webhooks: - merged - invalidated - dequeued - installation: *798 - merge_group: *835 - organization: *799 - repository: *800 + installation: *804 + merge_group: *841 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162864,7 +163451,7 @@ webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *803 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162973,12 +163560,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *798 - organization: *799 + installation: *804 + organization: *805 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -163058,11 +163645,11 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163141,9 +163728,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - milestone: &836 + enterprise: *803 + installation: *804 + milestone: &842 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163285,8 +163872,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163365,11 +163952,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163479,11 +164066,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163563,11 +164150,11 @@ webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - milestone: *836 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *842 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163646,11 +164233,11 @@ webhooks: type: string enum: - blocked - blocked_user: *824 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *830 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163729,11 +164316,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *824 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *830 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163812,9 +164399,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - membership: &837 + enterprise: *803 + installation: *804 + membership: &843 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -163924,8 +164511,8 @@ webhooks: - role - organization_url - user - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164003,11 +164590,11 @@ webhooks: type: string enum: - member_added - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164086,8 +164673,8 @@ webhooks: type: string enum: - member_invited - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164209,10 +164796,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 - user: *824 + user: *830 required: - action - invitation @@ -164290,11 +164877,11 @@ webhooks: type: string enum: - member_removed - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164381,11 +164968,11 @@ webhooks: properties: from: type: string - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164461,9 +165048,9 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 package: description: Information about the package. type: object @@ -164986,7 +165573,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &838 + items: &844 title: Ruby Gems metadata type: object properties: @@ -165083,7 +165670,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -165159,9 +165746,9 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 package: description: Information about the package. type: object @@ -165523,7 +166110,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *838 + items: *844 source_url: type: string format: uri @@ -165594,7 +166181,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -165775,12 +166362,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *797 + enterprise: *803 id: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - id @@ -165857,7 +166444,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &839 + personal_access_token_request: &845 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166007,10 +166594,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *797 - organization: *799 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166087,11 +166674,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *839 - enterprise: *797 - organization: *799 + personal_access_token_request: *845 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166167,11 +166754,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *839 - enterprise: *797 - organization: *799 + personal_access_token_request: *845 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166246,11 +166833,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *839 - organization: *799 - enterprise: *797 + personal_access_token_request: *845 + organization: *805 + enterprise: *803 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166355,7 +166942,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *840 + last_response: *846 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166387,8 +166974,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 zen: description: Random string of GitHub zen. @@ -166633,10 +167220,10 @@ webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: &841 + enterprise: *803 + installation: *804 + organization: *805 + project_card: &847 title: Project Card type: object properties: @@ -166759,7 +167346,7 @@ webhooks: - creator - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -166840,11 +167427,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_card: *841 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_card: *847 + repository: *806 sender: *4 required: - action @@ -166924,9 +167511,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 project_card: title: Project Card type: object @@ -167056,7 +167643,7 @@ webhooks: repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -167150,11 +167737,11 @@ webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: *841 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_card: *847 + repository: *806 sender: *4 required: - action @@ -167248,9 +167835,9 @@ webhooks: - from required: - column_id - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 project_card: allOf: - title: Project Card @@ -167447,7 +168034,7 @@ webhooks: type: string required: - after_id - repository: *800 + repository: *806 sender: *4 required: - action @@ -167527,10 +168114,10 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - organization: *799 - project: &843 + enterprise: *803 + installation: *804 + organization: *805 + project: &849 title: Project type: object properties: @@ -167657,7 +168244,7 @@ webhooks: - creator - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -167737,10 +168324,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_column: &842 + enterprise: *803 + installation: *804 + organization: *805 + project_column: &848 title: Project Column type: object properties: @@ -167780,7 +168367,7 @@ webhooks: - name - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -167859,14 +168446,14 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -167955,11 +168542,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 + repository: *806 sender: *4 required: - action @@ -168039,11 +168626,11 @@ webhooks: type: string enum: - moved - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 + repository: *806 sender: *4 required: - action @@ -168123,11 +168710,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168207,14 +168794,14 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project: *843 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -168315,11 +168902,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168398,11 +168985,11 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168483,9 +169070,9 @@ webhooks: type: string enum: - closed - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168566,9 +169153,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168649,9 +169236,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168772,9 +169359,9 @@ webhooks: type: string to: type: string - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168857,7 +169444,7 @@ webhooks: type: string enum: - archived - changes: &847 + changes: &853 type: object properties: archived_at: @@ -168873,9 +169460,9 @@ webhooks: - string - 'null' format: date-time - installation: *798 - organization: *799 - projects_v2_item: &844 + installation: *804 + organization: *805 + projects_v2_item: &850 title: Projects v2 Item description: An item belonging to a project type: object @@ -168893,7 +169480,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *360 + content_type: *365 creator: *4 created_at: type: string @@ -169015,9 +169602,9 @@ webhooks: - 'null' to: type: string - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169099,9 +169686,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169182,9 +169769,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169289,7 +169876,7 @@ webhooks: oneOf: - type: string - type: integer - - &845 + - &851 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169313,7 +169900,7 @@ webhooks: required: - id - name - - &846 + - &852 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169353,8 +169940,8 @@ webhooks: oneOf: - type: string - type: integer - - *845 - - *846 + - *851 + - *852 type: - 'null' - string @@ -169377,9 +169964,9 @@ webhooks: - 'null' required: - body - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169476,9 +170063,9 @@ webhooks: type: - string - 'null' - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169561,10 +170148,10 @@ webhooks: type: string enum: - restored - changes: *847 - installation: *798 - organization: *799 - projects_v2_item: *844 + changes: *853 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169646,9 +170233,9 @@ webhooks: type: string enum: - reopened - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -169729,9 +170316,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -169812,9 +170399,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -169960,9 +170547,9 @@ webhooks: - string - 'null' format: date - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -170033,10 +170620,10 @@ webhooks: title: public event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - repository @@ -170113,13 +170700,13 @@ webhooks: type: string enum: - assigned - assignee: *824 - enterprise: *797 - installation: *798 - number: &849 + assignee: *830 + enterprise: *803 + installation: *804 + number: &855 description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -172468,7 +173055,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -172550,11 +173137,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -174896,7 +175483,7 @@ webhooks: - draft reason: type: string - repository: *800 + repository: *806 sender: *4 required: - action @@ -174978,11 +175565,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -177324,7 +177911,7 @@ webhooks: - draft reason: type: string - repository: *800 + repository: *806 sender: *4 required: - action @@ -177406,13 +177993,13 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: &850 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: &856 allOf: - - *648 + - *653 - type: object properties: allow_auto_merge: @@ -177474,7 +178061,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *800 + repository: *806 sender: *4 required: - action @@ -177555,12 +178142,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -177640,11 +178227,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *797 - milestone: *358 - number: *849 - organization: *799 - pull_request: &851 + enterprise: *803 + milestone: *363 + number: *855 + organization: *805 + pull_request: &857 title: Pull Request type: object properties: @@ -179971,7 +180558,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -180050,11 +180637,11 @@ webhooks: type: string enum: - dequeued - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -182400,7 +182987,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *800 + repository: *806 sender: *4 required: - action @@ -182524,12 +183111,12 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -182609,11 +183196,11 @@ webhooks: type: string enum: - enqueued - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -184944,7 +185531,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -185024,11 +185611,11 @@ webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 - label: *823 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + label: *829 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -187376,7 +187963,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -187457,10 +188044,10 @@ webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -189806,7 +190393,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -189886,12 +190473,12 @@ webhooks: type: string enum: - milestoned - enterprise: *797 - milestone: *358 - number: *849 - organization: *799 - pull_request: *851 - repository: *800 + enterprise: *803 + milestone: *363 + number: *855 + organization: *805 + pull_request: *857 + repository: *806 sender: *4 required: - action @@ -189970,12 +190557,12 @@ webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190056,12 +190643,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190141,12 +190728,12 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190521,9 +191108,9 @@ webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -192753,7 +193340,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -192833,7 +193420,7 @@ webhooks: type: string enum: - deleted - comment: &853 + comment: &859 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. @@ -193126,9 +193713,9 @@ webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -195346,7 +195933,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -195426,11 +196013,11 @@ webhooks: type: string enum: - edited - changes: *852 - comment: *853 - enterprise: *797 - installation: *798 - organization: *799 + changes: *858 + comment: *859 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -197651,7 +198238,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -197732,9 +198319,9 @@ webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -199967,7 +200554,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 review: description: The review that was affected. type: object @@ -200218,9 +200805,9 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -202334,8 +202921,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: &854 + repository: *806 + review: &860 description: The review that was affected. type: object properties: @@ -202573,12 +203160,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -204925,7 +205512,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_reviewer: title: User type: @@ -205011,12 +205598,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -207370,7 +207957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207565,12 +208152,12 @@ webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -209919,7 +210506,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_reviewer: title: User type: @@ -210006,12 +210593,12 @@ webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -212351,7 +212938,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212535,9 +213122,9 @@ webhooks: type: string enum: - submitted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -214773,8 +215360,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: *854 + repository: *806 + review: *860 sender: *4 required: - action @@ -214854,9 +215441,9 @@ webhooks: type: string enum: - resolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -216987,7 +217574,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 sender: *4 thread: type: object @@ -217384,9 +217971,9 @@ webhooks: type: string enum: - unresolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -219500,7 +220087,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 sender: *4 thread: type: object @@ -219899,10 +220486,10 @@ webhooks: type: string before: type: string - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -222237,7 +222824,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -222319,11 +222906,11 @@ webhooks: type: string enum: - unassigned - assignee: *855 - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + assignee: *861 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -224673,7 +225260,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -224752,11 +225339,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - label: *823 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + label: *829 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -227095,7 +227682,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -227176,10 +227763,10 @@ webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -229508,7 +230095,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -229711,7 +230298,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *797 + enterprise: *803 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229806,8 +230393,8 @@ webhooks: - url - author - committer - installation: *798 - organization: *799 + installation: *804 + organization: *805 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230395,9 +230982,9 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 registry_package: type: object properties: @@ -230874,7 +231461,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *838 + items: *844 summary: type: string tag_name: @@ -230930,7 +231517,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -231008,9 +231595,9 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 registry_package: type: object properties: @@ -231322,7 +231909,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *838 + items: *844 summary: type: string tag_name: @@ -231372,7 +231959,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -231449,10 +232036,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - release: &856 + enterprise: *803 + installation: *804 + organization: *805 + release: &862 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231783,7 +232370,7 @@ webhooks: - updated_at - zipball_url - body - repository: *800 + repository: *806 sender: *4 required: - action @@ -231860,11 +232447,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -231981,11 +232568,11 @@ webhooks: type: boolean required: - to - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -232063,9 +232650,9 @@ webhooks: type: string enum: - prereleased - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -232401,7 +232988,7 @@ webhooks: - string - 'null' format: uri - repository: *800 + repository: *806 sender: *4 required: - action @@ -232477,10 +233064,10 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - release: &857 + enterprise: *803 + installation: *804 + organization: *805 + release: &863 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232813,7 +233400,7 @@ webhooks: - string - 'null' format: uri - repository: *800 + repository: *806 sender: *4 required: - action @@ -232889,11 +233476,11 @@ webhooks: type: string enum: - released - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -232969,11 +233556,11 @@ webhooks: type: string enum: - unpublished - enterprise: *797 - installation: *798 - organization: *799 - release: *857 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *863 + repository: *806 sender: *4 required: - action @@ -233049,11 +233636,11 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *700 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_advisory: *706 sender: *4 required: - action @@ -233129,11 +233716,11 @@ webhooks: type: string enum: - reported - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *700 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_advisory: *706 sender: *4 required: - action @@ -233209,10 +233796,10 @@ webhooks: type: string enum: - archived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233289,10 +233876,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233370,10 +233957,10 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233458,10 +234045,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233576,10 +234163,10 @@ webhooks: - 'null' items: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233651,10 +234238,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 status: type: string @@ -233735,10 +234322,10 @@ webhooks: type: string enum: - privatized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233815,10 +234402,10 @@ webhooks: type: string enum: - publicized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233912,10 +234499,10 @@ webhooks: - name required: - repository - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233995,11 +234582,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 sender: *4 required: - action @@ -234077,11 +234664,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 sender: *4 required: - action @@ -234159,11 +234746,11 @@ webhooks: type: string enum: - edited - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 changes: type: object properties: @@ -234182,16 +234769,16 @@ webhooks: properties: added: type: array - items: *131 + items: *132 deleted: type: array - items: *131 + items: *132 updated: type: array items: type: object properties: - condition: *131 + condition: *132 changes: type: object properties: @@ -234224,16 +234811,16 @@ webhooks: properties: added: type: array - items: *668 + items: *674 deleted: type: array - items: *668 + items: *674 updated: type: array items: type: object properties: - rule: *668 + rule: *674 changes: type: object properties: @@ -234470,10 +235057,10 @@ webhooks: - from required: - owner - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234551,10 +235138,10 @@ webhooks: type: string enum: - unarchived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234632,7 +235219,7 @@ webhooks: type: string enum: - create - alert: &858 + alert: &864 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234756,10 +235343,10 @@ webhooks: type: string enum: - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234969,10 +235556,10 @@ webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235050,11 +235637,11 @@ webhooks: type: string enum: - reopen - alert: *858 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *864 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235256,10 +235843,10 @@ webhooks: enum: - fixed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235337,17 +235924,17 @@ webhooks: type: string enum: - created - alert: &859 + alert: &865 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri @@ -235447,10 +236034,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235531,11 +236118,11 @@ webhooks: type: string enum: - created - alert: *859 - installation: *798 - location: *860 - organization: *799 - repository: *800 + alert: *865 + installation: *804 + location: *866 + organization: *805 + repository: *806 sender: *4 required: - location @@ -235773,11 +236360,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235855,11 +236442,11 @@ webhooks: type: string enum: - reopened - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235937,11 +236524,11 @@ webhooks: type: string enum: - resolved - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -236019,11 +236606,11 @@ webhooks: type: string enum: - validated - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -236153,10 +236740,10 @@ webhooks: - organization - enterprise - - repository: *800 - enterprise: *797 - installation: *798 - organization: *799 + repository: *806 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -236234,11 +236821,11 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: &861 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + security_advisory: &867 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236255,7 +236842,7 @@ webhooks: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: array items: @@ -236424,11 +237011,11 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: *861 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + security_advisory: *867 sender: *4 required: - action @@ -236501,10 +237088,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236522,7 +237109,7 @@ webhooks: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: array items: @@ -236690,11 +237277,11 @@ webhooks: from: type: object properties: - security_and_analysis: *366 - enterprise: *797 - installation: *798 - organization: *799 - repository: *432 + security_and_analysis: *371 + enterprise: *803 + installation: *804 + organization: *805 + repository: *437 sender: *4 required: - changes @@ -236772,12 +237359,12 @@ webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: &862 + sponsorship: &868 type: object properties: created_at: @@ -237082,12 +237669,12 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - sponsorship @@ -237175,12 +237762,12 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237257,17 +237844,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &863 + effective_date: &869 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: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - sponsorship @@ -237341,7 +237928,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &864 + changes: &870 type: object properties: tier: @@ -237385,13 +237972,13 @@ webhooks: - from required: - tier - effective_date: *863 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + effective_date: *869 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237468,13 +238055,13 @@ webhooks: type: string enum: - tier_changed - changes: *864 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + changes: *870 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237548,10 +238135,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237635,10 +238222,10 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238072,15 +238659,15 @@ webhooks: type: - string - 'null' - enterprise: *797 + enterprise: *803 id: description: The unique identifier of the status. type: integer - installation: *798 + installation: *804 name: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 sha: description: The Commit SHA. @@ -238190,15 +238777,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - parent_issue_repo: *65 + parent_issue: *193 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *798 - organization: *799 - repository: *800 + sub_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238282,15 +238869,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - parent_issue_repo: *65 + parent_issue: *193 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *798 - organization: *799 - repository: *800 + sub_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238374,15 +238961,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - sub_issue_repo: *65 + sub_issue: *193 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *798 - organization: *799 - repository: *800 + parent_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238466,15 +239053,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - sub_issue_repo: *65 + sub_issue: *193 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *798 - organization: *799 - repository: *800 + parent_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238551,12 +239138,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - team: &865 + team: &871 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238749,9 +239336,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -239221,7 +239808,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -239297,9 +239884,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -239769,7 +240356,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -239846,9 +240433,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -240318,7 +240905,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -240462,9 +241049,9 @@ webhooks: - from required: - permissions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -240934,7 +241521,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - changes @@ -241012,9 +241599,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -241484,7 +242071,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -241560,10 +242147,10 @@ webhooks: type: string enum: - started - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -241636,17 +242223,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *797 + enterprise: *803 inputs: type: - object - 'null' additionalProperties: true - installation: *798 - organization: *799 + installation: *804 + organization: *805 ref: type: string - repository: *800 + repository: *806 sender: *4 workflow: type: string @@ -241728,10 +242315,10 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: allOf: @@ -241987,7 +242574,7 @@ webhooks: type: string required: - conclusion - deployment: *558 + deployment: *563 required: - action - repository @@ -242066,10 +242653,10 @@ webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: allOf: @@ -242351,7 +242938,7 @@ webhooks: required: - status - steps - deployment: *558 + deployment: *563 required: - action - repository @@ -242430,10 +243017,10 @@ webhooks: type: string enum: - queued - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: type: object @@ -242579,7 +243166,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *558 + deployment: *563 required: - action - repository @@ -242658,10 +243245,10 @@ webhooks: type: string enum: - waiting - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: type: object @@ -242808,7 +243395,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *558 + deployment: *563 required: - action - repository @@ -242888,12 +243475,12 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Workflow Run type: object @@ -243912,12 +244499,12 @@ webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Workflow Run type: object @@ -244921,12 +245508,12 @@ webhooks: type: string enum: - requested - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 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 fbeeaff94b..8ddc4e5948 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -184,6 +184,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -18771,6 +18775,314 @@ } } }, + "/enterprises/{enterprise}/access-restrictions/disable": { + "post": { + "summary": "Disable access restrictions for an enterprise", + "description": "Disable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/disable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully disabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/access-restrictions/enable": { + "post": { + "summary": "Enable access restrictions for an enterprise", + "description": "Enable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/enable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully enabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, "/enterprises/{enterprise}/actions/cache/usage": { "get": { "summary": "Get GitHub Actions cache usage for an enterprise", @@ -42775,6 +43087,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -42782,7 +43095,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -42799,6 +43112,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -42830,7 +43144,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -47244,6 +47559,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -47251,7 +47567,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -47268,6 +47584,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -47299,7 +47616,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -52413,6 +52731,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -53803,6 +54150,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -56526,6 +56902,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -62983,34 +63388,2277 @@ } } }, - "403": { - "description": "Forbidden", + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "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" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "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 + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "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 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", "type": "object", "properties": { - "message": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { "type": "string" }, - "documentation_url": { + "description": { "type": "string" }, - "url": { + "slug": { "type": "string" }, - "status": { + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } }, - "404": { - "description": "Resource not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -63034,9 +65682,52 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "422": { - "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -63063,10 +65754,10 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" } } }, @@ -117044,13 +119735,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -134661,6 +137358,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -134668,7 +137366,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -134685,6 +137383,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -134716,7 +137415,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -167745,6 +170445,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -167752,7 +170453,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -167769,6 +170470,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -167800,7 +170502,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -203592,7 +206295,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -203819,7 +206522,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -204199,7 +206902,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -204416,7 +207119,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -204734,7 +207437,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -213147,6 +215850,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -215655,6 +218387,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -217612,6 +220373,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -220141,6 +222931,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -577304,6 +580123,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -578666,6 +581540,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -579742,6 +582645,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -581031,6 +583963,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -583007,6 +585968,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -584098,6 +587088,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -585383,6 +588402,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1446745,6 +1449793,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1449972,6 +1453049,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1453199,6 +1456305,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1454199,6 +1457334,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1455027,6 +1458191,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1455858,6 +1459051,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index b06756d63e..7e87801889 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -97,6 +97,8 @@ tags: description: Endpoints to manage DSR operations. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -444,7 +446,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &96 + - &97 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -453,7 +455,7 @@ paths: required: false schema: type: string - - &97 + - &98 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -462,7 +464,7 @@ paths: required: false schema: type: string - - &98 + - &99 name: direction description: The direction to sort the results by. in: query @@ -701,7 +703,7 @@ paths: required: - vector_string - score - cvss_severities: &110 + cvss_severities: &111 type: - object - 'null' @@ -748,7 +750,7 @@ paths: required: - vector_string - score - epss: &111 + epss: &112 type: - object - 'null' @@ -911,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &386 + type: &391 type: string description: The type of credit the user is receiving. enum: @@ -1044,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &210 + schema: &218 title: Validation Error Simple description: Validation Error Simple type: object @@ -1077,7 +1079,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: - - &702 + - &708 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1662,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &297 + - &304 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 @@ -1678,7 +1680,7 @@ paths: application/json: schema: type: array - items: &298 + items: &305 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1774,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &299 + default: &306 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1806,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &712 + schema: &718 title: Scim Error description: Scim Error type: object @@ -1837,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &209 + schema: &217 title: Validation Error description: Validation Error type: object @@ -1909,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &307 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2044,7 +2046,7 @@ paths: - request - response examples: - default: &301 + default: &308 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2248,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &175 + - &183 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2814,7 +2816,7 @@ paths: suspended_at: suspended_by: headers: - Link: &38 + Link: &41 example: ; rel="next", ; rel="last" schema: @@ -2855,7 +2857,7 @@ paths: application/json: schema: *20 examples: - default: &75 + default: &77 value: id: 1 account: @@ -3006,7 +3008,7 @@ paths: - selected repositories: type: array - items: &65 + items: &67 title: Repository description: A repository on GitHub. type: object @@ -3033,7 +3035,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &194 title: License Simple description: License Simple type: object @@ -5411,7 +5413,7 @@ paths: responses: '202': *37 '422': *7 - '500': &89 + '500': &38 description: Internal Error content: application/json: @@ -7669,6 +7671,98 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: admin-stats + "/enterprises/{enterprise}/access-restrictions/disable": + post: + summary: Disable access restrictions for an enterprise + description: Disable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/disable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise + parameters: + - &39 + name: enterprise + description: The slug version of the enterprise name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &40 + type: object + title: Enterprise Access Restrictions + description: Information about the enterprise access restrictions + proxy header. + properties: + message: + type: string + description: The message returned for the request. + header_name: + type: string + description: The name of the proxy header. + examples: + - sec-GitHub-allowed-enterprise + header_value: + type: string + description: The value of the proxy header. + required: + - message + - header_name + - header_value + examples: + default: + value: + message: Enterprise access restrictions successfully disabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *27 + '404': *6 + '500': *38 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises + "/enterprises/{enterprise}/access-restrictions/enable": + post: + summary: Enable access restrictions for an enterprise + description: Enable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/enable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: *40 + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *27 + '404': *6 + '500': *38 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises "/enterprises/{enterprise}/actions/cache/usage": get: summary: Get GitHub Actions cache usage for an enterprise @@ -7684,19 +7778,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise parameters: - - &39 - name: enterprise - description: The slug version of the enterprise name. - in: path - required: true - schema: - type: string + - *39 responses: '200': description: Response content: application/json: - schema: &211 + schema: &219 type: object properties: total_active_caches_count: @@ -7711,12 +7799,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &212 + default: &220 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7754,7 +7842,7 @@ paths: type: integer runners: type: array - items: &40 + items: &42 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7811,7 +7899,7 @@ paths: - size_gb - display_name - source - machine_size_details: &43 + machine_size_details: &45 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7916,7 +8004,7 @@ paths: - public_ip_enabled - platform examples: - default: &213 + default: &221 value: total_count: 2 runners: @@ -7958,7 +8046,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8044,9 +8132,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: &44 + default: &46 value: id: 5 name: My hosted ubuntu runner @@ -8101,7 +8189,7 @@ paths: type: integer images: type: array - items: &41 + items: &43 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8141,7 +8229,7 @@ paths: - display_name - source examples: - default: &42 + default: &44 value: id: ubuntu-20.04 platform: linux-x64 @@ -8181,9 +8269,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8206,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &222 type: object properties: public_ips: @@ -8233,7 +8321,7 @@ paths: required: - public_ips examples: - default: &215 + default: &223 value: public_ips: current_usage: 17 @@ -8271,9 +8359,9 @@ paths: type: integer machine_specs: type: array - items: *43 + items: *45 examples: - default: &216 + default: &224 value: id: 4-core cpu_cores: 4 @@ -8341,7 +8429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - &45 + - &47 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8353,11 +8441,11 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8376,7 +8464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *45 + - *47 requestBody: required: true content: @@ -8414,9 +8502,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8433,15 +8521,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *45 + - *47 responses: '202': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8510,7 +8598,7 @@ paths: schema: type: object properties: - enabled_organizations: &46 + enabled_organizations: &48 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8523,7 +8611,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &47 + allowed_actions: &49 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8531,12 +8619,12 @@ paths: - all - local_only - selected - selected_actions_url: &219 + selected_actions_url: &227 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &48 + sha_pinning_required: &50 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8578,9 +8666,9 @@ paths: schema: type: object properties: - enabled_organizations: *46 - allowed_actions: *47 - sha_pinning_required: *48 + enabled_organizations: *48 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled_organizations examples: @@ -8611,7 +8699,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &221 + schema: &229 type: object properties: days: @@ -8629,7 +8717,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &713 + '401': &719 description: Authorization failure '404': *6 x-github: @@ -8657,7 +8745,7 @@ paths: required: true content: application/json: - schema: &222 + schema: &230 type: object properties: days: @@ -8692,7 +8780,7 @@ paths: description: Response content: application/json: - schema: &49 + schema: &51 type: object properties: approval_policy: @@ -8706,7 +8794,7 @@ paths: required: - approval_policy examples: - default: &223 + default: &231 value: approval_policy: first_time_contributors '404': *6 @@ -8735,7 +8823,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -8764,7 +8852,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &232 type: object required: - run_workflows_from_fork_pull_requests @@ -8790,7 +8878,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &50 + default: &52 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8818,7 +8906,7 @@ paths: required: true content: application/json: - schema: &225 + schema: &233 type: object required: - run_workflows_from_fork_pull_requests @@ -8841,7 +8929,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -8881,7 +8969,7 @@ paths: type: number organizations: type: array - items: &60 + items: &62 title: Organization Simple description: A GitHub organization. type: object @@ -8956,7 +9044,7 @@ paths: - total_count - organizations examples: - default: &61 + default: &63 value: total_count: 1 organizations: @@ -9035,7 +9123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - &51 + - &53 name: org_id description: The unique identifier of the organization. in: path @@ -9064,7 +9152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - *51 + - *53 responses: '204': description: Response @@ -9093,7 +9181,7 @@ paths: description: Response content: application/json: - schema: &52 + schema: &54 type: object properties: github_owned_allowed: @@ -9114,7 +9202,7 @@ paths: items: type: string examples: - default: &53 + default: &55 value: github_owned_allowed: true verified_allowed: false @@ -9147,9 +9235,9 @@ paths: required: true content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9254,17 +9342,17 @@ paths: description: Success response content: application/json: - schema: &228 + schema: &236 type: object properties: - default_workflow_permissions: &54 + default_workflow_permissions: &56 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &55 + can_approve_pull_request_reviews: &57 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9272,7 +9360,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &56 + default: &58 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9302,13 +9390,13 @@ paths: required: true content: application/json: - schema: &229 + schema: &237 type: object properties: - default_workflow_permissions: *54 - can_approve_pull_request_reviews: *55 + default_workflow_permissions: *56 + can_approve_pull_request_reviews: *57 examples: - default: *56 + default: *58 responses: '204': description: Success response @@ -9353,7 +9441,7 @@ paths: type: number runner_groups: type: array - items: &57 + items: &59 type: object properties: id: @@ -9534,9 +9622,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: &58 + default: &60 value: id: 2 name: octo-runner-group @@ -9571,7 +9659,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - &59 + - &61 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9583,9 +9671,9 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 + default: *60 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9605,7 +9693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: false content: @@ -9659,7 +9747,7 @@ paths: description: Response content: application/json: - schema: *57 + schema: *59 examples: default: value: @@ -9695,7 +9783,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - *39 - - *59 + - *61 responses: '204': description: Response @@ -9719,7 +9807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 + - *61 - *17 - *19 responses: @@ -9734,12 +9822,12 @@ paths: type: number organizations: type: array - items: *60 + items: *62 required: - total_count - organizations examples: - default: *61 + default: *63 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9759,7 +9847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: true content: @@ -9805,8 +9893,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 - - *51 + - *61 + - *53 responses: '204': description: Response @@ -9829,8 +9917,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *59 - - *51 + - *61 + - *53 responses: '204': description: Response @@ -9854,7 +9942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *59 + - *61 - *17 - *19 responses: @@ -9869,7 +9957,7 @@ paths: type: number runners: type: array - items: &63 + items: &65 title: Self hosted runners description: A self hosted runner type: object @@ -9903,7 +9991,7 @@ paths: type: boolean labels: type: array - items: &67 + items: &69 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9936,7 +10024,7 @@ paths: - total_count - runners examples: - default: &64 + default: &66 value: total_count: 2 runners: @@ -9976,7 +10064,7 @@ paths: name: no-gpu type: custom headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9996,7 +10084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *59 + - *61 requestBody: required: true content: @@ -10041,8 +10129,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - *39 - - *59 - - &62 + - *61 + - &64 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -10071,8 +10159,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - *39 - - *59 - - *62 + - *61 + - *64 responses: '204': description: Response @@ -10115,11 +10203,11 @@ paths: type: number runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -10147,7 +10235,7 @@ paths: application/json: schema: type: array - items: &233 + items: &241 title: Runner Application description: Runner Application type: object @@ -10172,7 +10260,7 @@ paths: - download_url - filename examples: - default: &234 + default: &242 value: - os: osx architecture: x64 @@ -10256,7 +10344,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &235 + '201': &243 description: Response content: application/json: @@ -10266,7 +10354,7 @@ paths: - runner - encoded_jit_config properties: - runner: *63 + runner: *65 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10295,7 +10383,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &106 + '409': &107 description: Conflict content: application/json: @@ -10333,7 +10421,7 @@ paths: description: Response content: application/json: - schema: &66 + schema: &68 title: Authentication Token description: Authentication Token type: object @@ -10357,7 +10445,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *65 + items: *67 single_file: type: - string @@ -10375,7 +10463,7 @@ paths: - token - expires_at examples: - default: &236 + default: &244 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10413,9 +10501,9 @@ paths: description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: &237 + default: &245 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10439,15 +10527,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: &238 + default: &246 value: id: 23 name: MBP @@ -10487,7 +10575,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *39 - - *62 + - *64 responses: '204': description: Response @@ -10512,9 +10600,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: - '200': &68 + '200': &70 description: Response content: application/json: @@ -10528,7 +10616,7 @@ paths: type: integer labels: type: array - items: *67 + items: *69 examples: default: value: @@ -10566,7 +10654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 requestBody: required: true content: @@ -10590,7 +10678,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10613,7 +10701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 requestBody: required: true content: @@ -10638,7 +10726,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10661,9 +10749,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 + - *64 responses: - '200': &239 + '200': &247 description: Response content: application/json: @@ -10677,7 +10765,7 @@ paths: type: integer labels: type: array - items: *67 + items: *69 examples: default: value: @@ -10718,8 +10806,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *62 - - &240 + - *64 + - &248 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10727,7 +10815,7 @@ paths: schema: type: string responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -10752,13 +10840,13 @@ paths: description: Response content: application/json: - schema: &73 + schema: &75 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &69 + announcement: &71 type: - string - 'null' @@ -10767,7 +10855,7 @@ paths: writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." examples: - Very **important** announcement about _something_. - expires_at: &70 + expires_at: &72 type: - string - 'null' @@ -10779,7 +10867,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &71 + user_dismissible: &73 type: - boolean - 'null' @@ -10792,7 +10880,7 @@ paths: - expires_at - user_dismissible examples: - default: &72 + default: &74 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10816,18 +10904,18 @@ paths: required: true content: application/json: - schema: &247 + schema: &255 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *69 - expires_at: *70 - user_dismissible: *71 + announcement: *71 + expires_at: *72 + user_dismissible: *73 required: - announcement examples: - default: *72 + default: *74 parameters: - *39 responses: @@ -10835,9 +10923,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10936,7 +11024,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *39 - - &74 + - &76 name: org description: The organization name. The name is not case sensitive. in: path @@ -10953,7 +11041,7 @@ paths: application/json: schema: type: array - items: &76 + items: &78 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -11007,7 +11095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 - *17 - *19 responses: @@ -11106,7 +11194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 responses: '200': description: A GitHub App installation that was installed previously. @@ -11114,14 +11202,14 @@ paths: application/json: schema: *20 examples: - default: *75 + default: *77 '201': description: A GitHub App installation. content: application/json: schema: *20 examples: - default: *75 + default: *77 requestBody: required: true content: @@ -11189,7 +11277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - *39 - - *74 + - *76 - *21 responses: '204': @@ -11217,7 +11305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - *39 - - *74 + - *76 - *21 - *17 - *19 @@ -11229,7 +11317,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11258,7 +11346,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - *39 - - *74 + - *76 - *21 requestBody: required: true @@ -11298,7 +11386,7 @@ paths: application/json: schema: *20 examples: - default: *75 + default: *77 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11319,7 +11407,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *39 - - *74 + - *76 - *21 responses: '200': @@ -11329,7 +11417,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11380,7 +11468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *39 - - *74 + - *76 - *21 responses: '200': @@ -11390,7 +11478,7 @@ paths: application/json: schema: type: array - items: *76 + items: *78 examples: default: value: @@ -11467,7 +11555,7 @@ paths: required: false schema: type: string - - &248 + - &256 name: include description: |- The event types to include: @@ -11485,7 +11573,7 @@ paths: - web - git - all - - &249 + - &257 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. @@ -11493,7 +11581,7 @@ paths: required: false schema: type: string - - &250 + - &258 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. @@ -11501,7 +11589,7 @@ paths: required: false schema: type: string - - &251 + - &259 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11523,7 +11611,7 @@ paths: application/json: schema: type: array - items: &252 + items: &260 type: object properties: "@timestamp": @@ -11645,7 +11733,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &253 + default: &261 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11825,7 +11913,7 @@ paths: vendor_specific: type: object oneOf: - - &80 + - &82 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11844,7 +11932,7 @@ paths: - key_id - encrypted_sas_url - container - - &81 + - &83 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11863,7 +11951,7 @@ paths: - name - encrypted_connstring - key_id - - &82 + - &84 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11891,7 +11979,7 @@ paths: - bucket - key_id - region - - &83 + - &85 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11925,7 +12013,7 @@ paths: - encrypted_secret_key - key_id - region - - &84 + - &86 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11953,7 +12041,7 @@ paths: - key_id - port - ssl_verify - - &85 + - &87 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11985,7 +12073,7 @@ paths: - key_id - port - ssl_verify - - &86 + - &88 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -12003,7 +12091,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &87 + - &89 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -12034,7 +12122,7 @@ paths: - stream_type - vendor_specific examples: - default: &88 + default: &90 value: enabled: false stream_type: Azure Event Hubs @@ -12048,7 +12136,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &77 + schema: &79 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -12080,7 +12168,7 @@ paths: - created_at - updated_at examples: - default: &78 + default: &80 value: id: 1 stream_type: Splunk @@ -12109,7 +12197,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *39 - - &79 + - &81 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -12121,9 +12209,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *77 + schema: *79 examples: - default: *78 + default: *80 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -12143,7 +12231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *39 - - *79 + - *81 requestBody: required: true content: @@ -12169,28 +12257,28 @@ paths: vendor_specific: type: object oneOf: - - *80 - - *81 - *82 - *83 - *84 - *85 - *86 - *87 + - *88 + - *89 required: - enabled - stream_type - vendor_specific examples: - default: *88 + default: *90 responses: '200': description: Successful update content: application/json: - schema: *77 + schema: *79 examples: - default: *78 + default: *80 '422': description: Validation error content: @@ -12221,7 +12309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *39 - - *79 + - *81 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -12248,13 +12336,13 @@ paths: subcategory: bypass-requests parameters: - *39 - - &90 + - &91 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &91 + - &92 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -12262,7 +12350,7 @@ paths: required: false schema: type: string - - &92 + - &93 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -12270,7 +12358,7 @@ paths: required: false schema: type: string - - &93 + - &94 name: time_period description: |- The time period to filter by. @@ -12286,7 +12374,7 @@ paths: - week - month default: day - - &94 + - &95 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12313,7 +12401,7 @@ paths: application/json: schema: type: array - items: &255 + items: &262 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12439,7 +12527,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &95 + items: &96 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12485,7 +12573,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &256 + default: &263 value: - id: 21 number: 42 @@ -12554,7 +12642,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *89 + '500': *38 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -12576,11 +12664,11 @@ paths: subcategory: delegated-bypass parameters: - *39 - - *90 - *91 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -12590,7 +12678,7 @@ paths: application/json: schema: type: array - items: &258 + items: &265 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12708,7 +12796,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *95 + items: *96 url: type: string format: uri @@ -12721,7 +12809,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &259 + default: &266 value: - id: 21 number: 42 @@ -12788,7 +12876,7 @@ paths: 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': *6 - '500': *89 + '500': *38 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12806,17 +12894,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &264 + - &271 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: &99 + schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &265 + - &272 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 @@ -12824,23 +12912,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &100 + schema: &101 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *96 - *97 + - *98 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &266 + schema: &273 type: string description: State of a code scanning alert. enum: @@ -12865,42 +12953,42 @@ paths: application/json: schema: type: array - items: &267 + items: &274 type: object properties: - number: &108 + number: &109 type: integer description: The security alert number. readOnly: true - created_at: &115 + created_at: &116 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &116 + updated_at: &117 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &113 + url: &114 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &114 + html_url: &115 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &499 + instances_url: &504 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &101 + state: &102 type: - string - 'null' @@ -12910,7 +12998,7 @@ paths: - dismissed - fixed - - fixed_at: &118 + fixed_at: &119 type: - string - 'null' @@ -12922,7 +13010,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &117 + dismissed_at: &118 type: - string - 'null' @@ -12930,7 +13018,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &500 + dismissed_reason: &505 type: - string - 'null' @@ -12941,14 +13029,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &501 + dismissed_comment: &506 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &502 + rule: &507 type: object properties: id: @@ -13009,26 +13097,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &503 + tool: &508 type: object properties: - name: *99 + name: *100 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *100 - most_recent_instance: &504 + guid: *101 + most_recent_instance: &509 type: object properties: - ref: &497 + ref: &502 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &514 + analysis_key: &519 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13039,13 +13127,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &515 + category: &520 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: *101 + state: *102 commit_sha: type: string message: @@ -13086,7 +13174,7 @@ paths: - test - library - - repository: &107 + repository: &108 title: Simple Repository description: A GitHub repository. type: object @@ -13427,7 +13515,7 @@ paths: - most_recent_instance - repository examples: - default: &268 + default: &275 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13656,9 +13744,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *38 + Link: *41 '404': *6 - '503': &162 + '503': &163 description: Service unavailable content: application/json: @@ -13702,8 +13790,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 responses: '200': description: Response @@ -13711,7 +13799,7 @@ paths: application/json: schema: type: array - items: &102 + items: &103 type: object description: A code security configuration properties: @@ -14086,7 +14174,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &269 + code_scanning_options: &276 type: - object - 'null' @@ -14105,7 +14193,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &105 + code_scanning_default_setup_options: &106 type: - object - 'null' @@ -14224,9 +14312,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *102 + schema: *103 examples: - default: &103 + default: &104 value: id: 1325 target_type: enterprise @@ -14284,7 +14372,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &278 type: array description: A list of default code security configurations items: @@ -14298,9 +14386,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *102 + configuration: *103 examples: - default: &272 + default: &279 value: - default_for_new_repos: public configuration: @@ -14389,7 +14477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *39 - - &104 + - &105 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14401,9 +14489,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *103 + default: *104 '304': *35 '403': *27 '404': *6 @@ -14428,7 +14516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14507,7 +14595,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14595,13 +14683,13 @@ paths: description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *103 + default: *104 '304': *35 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14625,14 +14713,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *39 - - *104 + - *105 responses: - '204': &128 + '204': &129 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14657,7 +14745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14684,7 +14772,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14709,7 +14797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *39 - - *104 + - *105 requestBody: required: true content: @@ -14749,12 +14837,12 @@ paths: - none - private_and_internal - public - configuration: *102 + configuration: *103 examples: default: value: default_for_new_repos: all - configuration: &270 + configuration: &277 value: id: 1325 target_type: organization @@ -14811,7 +14899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *39 - - *104 + - *105 - 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)." @@ -14820,8 +14908,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14839,7 +14927,7 @@ paths: application/json: schema: type: array - items: &273 + items: &280 type: object description: Repositories associated with a code security configuration and attachment status @@ -14857,13 +14945,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *107 + repository: *108 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &274 + repository: &281 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15289,7 +15377,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15346,7 +15434,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &119 + items: &120 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15359,12 +15447,12 @@ paths: organization: anyOf: - type: 'null' - - *60 + - *62 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &260 + - &267 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15423,7 +15511,7 @@ paths: parent: anyOf: - type: 'null' - - &334 + - &339 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15521,7 +15609,8 @@ paths: - repositories_url - slug - parent - - title: Enterprise Team + - &172 + title: Enterprise Team description: Group of enterprise owners and/or members type: object properties: @@ -15539,12 +15628,14 @@ paths: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' examples: - disabled | all organization_selection_type: type: string examples: - - disabled | all + - disabled | selected | all group_id: type: - string @@ -15555,6 +15646,8 @@ paths: type: - string - 'null' + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' examples: - Justice League html_url: @@ -15579,6 +15672,7 @@ paths: - slug - created_at - updated_at + - group_id type: - 'null' - object @@ -15638,7 +15732,7 @@ paths: - created_at additionalProperties: false examples: - default: &120 + default: &121 value: total_seats: 2 seats: @@ -15708,8 +15802,8 @@ paths: type: User site_admin: false headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15781,7 +15875,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15870,7 +15964,7 @@ paths: response: value: message: Status for delete command - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -15946,7 +16040,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -16023,7 +16117,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -16090,7 +16184,7 @@ paths: application/json: schema: type: array - items: &168 + items: &169 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16405,7 +16499,7 @@ paths: - date additionalProperties: true examples: - default: &169 + default: &170 value: - date: '2024-06-24' total_active_users: 24 @@ -16504,10 +16598,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *89 + '500': *38 '403': *27 '404': *6 - '422': &170 + '422': &171 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16537,7 +16631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &281 + - &288 name: state in: query description: |- @@ -16546,7 +16640,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &282 + - &289 name: severity in: query description: |- @@ -16555,7 +16649,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &283 + - &290 name: ecosystem in: query description: |- @@ -16564,14 +16658,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &284 + - &291 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 - - &285 + - &292 name: epss_percentage in: query description: |- @@ -16583,7 +16677,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 - - &286 + - &293 name: has in: query description: |- @@ -16597,7 +16691,7 @@ paths: type: string enum: - patch - - &287 + - &294 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16607,7 +16701,7 @@ paths: enum: - development - runtime - - &288 + - &295 name: sort in: query description: |- @@ -16622,10 +16716,10 @@ paths: - updated - epss_percentage default: created - - *98 - - *96 + - *99 - *97 - - &289 + - *98 + - &296 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16638,7 +16732,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &290 + - &297 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16658,11 +16752,11 @@ paths: application/json: schema: type: array - items: &291 + items: &298 type: object description: A Dependabot alert. properties: - number: *108 + number: *109 state: type: string description: The state of the Dependabot alert. @@ -16677,7 +16771,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &109 + package: &110 type: object description: Details for the vulnerable package. readOnly: true @@ -16725,7 +16819,7 @@ paths: - direct - transitive - - security_advisory: &550 + security_advisory: &555 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16756,13 +16850,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &112 + items: &113 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *109 + package: *110 severity: type: string description: The severity of the vulnerability. @@ -16830,8 +16924,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *110 - epss: *111 + cvss_severities: *111 + epss: *112 cwes: type: array description: Details for the advisory pertaining to Common @@ -16931,12 +17025,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *112 - url: *113 - html_url: *114 - created_at: *115 - updated_at: *116 - dismissed_at: *117 + security_vulnerability: *113 + url: *114 + html_url: *115 + created_at: *116 + updated_at: *117 + dismissed_at: *118 dismissed_by: anyOf: - type: 'null' @@ -16960,8 +17054,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *118 - auto_dismissed_at: &551 + fixed_at: *119 + auto_dismissed_at: &556 type: - string - 'null' @@ -16969,7 +17063,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *107 + repository: *108 required: - number - state @@ -16988,7 +17082,7 @@ paths: - repository additionalProperties: false examples: - default: &292 + default: &299 value: - number: 2 state: dismissed @@ -17405,7 +17499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &254 + - &176 name: username description: The handle for the GitHub user account. in: path @@ -17427,10 +17521,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *119 + items: *120 examples: - default: *120 - '500': *89 + default: *121 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -17472,7 +17566,7 @@ paths: type: integer network_configurations: type: array - items: &121 + items: &122 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17517,7 +17611,7 @@ paths: - name - created_on examples: - default: &396 + default: &401 value: total_count: 2 network_configurations: @@ -17536,7 +17630,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17595,9 +17689,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: &122 + default: &123 value: id: 123456789ABCDEF name: My network configuration @@ -17624,7 +17718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &123 + - &124 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17636,11 +17730,11 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17658,7 +17752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *123 + - *124 requestBody: required: true content: @@ -17697,9 +17791,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17717,7 +17811,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *123 + - *124 responses: '204': description: Response @@ -17740,7 +17834,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: - *39 - - &397 + - &402 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17752,7 +17846,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &403 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17791,7 +17885,7 @@ paths: - subnet_id - region examples: - default: &399 + default: &404 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17799,7 +17893,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17826,7 +17920,7 @@ paths: application/json: schema: type: array - items: &124 + items: &125 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17902,7 +17996,7 @@ paths: - property_name - value_type examples: - default: &125 + default: &126 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17959,7 +18053,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *124 + items: *125 minItems: 1 maxItems: 100 required: @@ -17989,9 +18083,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -18014,8 +18108,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - *74 - - &126 + - *76 + - &127 name: custom_property_name description: The custom property name in: path @@ -18027,9 +18121,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: &127 + default: &128 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18062,15 +18156,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 responses: '200': description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -18092,12 +18186,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 requestBody: required: true content: application/json: - schema: &364 + schema: &369 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18170,9 +18264,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -18194,9 +18288,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *126 + - *127 responses: - '204': *128 + '204': *129 '403': *27 '404': *6 x-github: @@ -18236,7 +18330,7 @@ paths: - push - repository default: branch - enforcement: &135 + enforcement: &136 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18249,7 +18343,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &136 + items: &137 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18291,7 +18385,7 @@ paths: - pull_request - exempt default: always - conditions: &159 + conditions: &160 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18305,7 +18399,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &129 + - &130 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18331,7 +18425,7 @@ paths: type: string required: - organization_name - - &132 + - &133 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18360,7 +18454,7 @@ paths: is prevented. required: - repository_name - - &131 + - &132 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18388,8 +18482,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *129 - - &134 + - *130 + - &135 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18402,7 +18496,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &130 + items: &131 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18433,16 +18527,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *130 + items: *131 required: - repository_property - - *131 + - *132 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &133 + - &134 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18459,25 +18553,25 @@ paths: type: integer required: - organization_id + - *133 - *132 - - *131 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *133 - *134 - - *131 + - *135 + - *132 rules: type: array description: An array of rules within the ruleset. - items: &160 + items: &161 title: Repository Rule type: object description: A repository rule. oneOf: - - &137 + - &138 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18489,7 +18583,7 @@ paths: type: string enum: - creation - - &138 + - &139 title: update description: Only allow users with bypass permission to update matching refs. @@ -18510,7 +18604,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &139 + - &140 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18522,7 +18616,7 @@ paths: type: string enum: - deletion - - &140 + - &141 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18534,7 +18628,7 @@ paths: type: string enum: - required_linear_history - - &141 + - &142 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18558,7 +18652,7 @@ paths: type: string required: - required_deployment_environments - - &142 + - &143 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18570,7 +18664,7 @@ paths: type: string enum: - required_signatures - - &143 + - &144 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. @@ -18630,7 +18724,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &144 + - &145 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18677,7 +18771,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &145 + - &146 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18689,7 +18783,7 @@ paths: type: string enum: - non_fast_forward - - &146 + - &147 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18725,7 +18819,7 @@ paths: required: - operator - pattern - - &147 + - &148 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18761,7 +18855,7 @@ paths: required: - operator - pattern - - &148 + - &149 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18797,7 +18891,7 @@ paths: required: - operator - pattern - - &149 + - &150 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18833,7 +18927,7 @@ paths: required: - operator - pattern - - &150 + - &151 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18869,7 +18963,7 @@ paths: required: - operator - pattern - - &151 + - &152 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18893,7 +18987,7 @@ paths: type: string required: - restricted_file_paths - - &152 + - &153 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18917,7 +19011,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &153 + - &154 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18940,7 +19034,7 @@ paths: type: string required: - restricted_file_extensions - - &154 + - &155 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18964,7 +19058,7 @@ paths: maximum: 100 required: - max_file_size - - &155 + - &156 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19013,7 +19107,7 @@ paths: - repository_id required: - workflows - - &156 + - &157 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19099,7 +19193,7 @@ paths: description: Response content: application/json: - schema: &157 + schema: &158 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19134,11 +19228,11 @@ paths: source: type: string description: The name of the source - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 + items: *137 current_user_can_bypass: type: string description: |- @@ -19170,8 +19264,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *131 - - &369 + - *132 + - &374 title: Organization ruleset conditions type: object description: |- @@ -19185,14 +19279,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *131 - *132 + - *133 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *131 + - *132 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19214,23 +19308,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *131 - - *134 + - *132 + - *135 type: - 'null' - object rules: type: array - items: &668 + items: &674 title: Repository Rule type: object description: A repository rule. oneOf: - - *137 - *138 - *139 - *140 - - &666 + - *141 + - &671 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19308,7 +19402,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *141 - *142 - *143 - *144 @@ -19324,6 +19417,30 @@ paths: - *154 - *155 - *156 + - *157 + - &672 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull + requests before they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new + push to the pull request. created_at: type: string format: date-time @@ -19331,7 +19448,7 @@ paths: type: string format: date-time examples: - default: &158 + default: &159 value: id: 21 name: super cool ruleset @@ -19357,7 +19474,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19390,11 +19507,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19436,16 +19553,16 @@ paths: - tag - push - repository - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *159 + items: *137 + conditions: *160 rules: description: An array of rules within the ruleset. type: array - items: *160 + items: *161 examples: default: value: @@ -19469,11 +19586,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19500,7 +19617,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19533,7 +19650,7 @@ paths: application/json: schema: type: array - items: &161 + items: &162 title: Ruleset version type: object description: The historical version of a ruleset @@ -19557,7 +19674,7 @@ paths: type: string format: date-time examples: - default: &372 + default: &377 value: - version_id: 3 actor: @@ -19575,7 +19692,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19610,9 +19727,9 @@ paths: description: Response content: application/json: - schema: &373 + schema: &378 allOf: - - *161 + - *162 - type: object required: - state @@ -19645,7 +19762,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19665,7 +19782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &374 + - &379 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19676,7 +19793,7 @@ paths: enum: - open - resolved - - &375 + - &380 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19686,7 +19803,7 @@ paths: required: false schema: type: string - - &376 + - &381 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19695,7 +19812,7 @@ paths: required: false schema: type: string - - &377 + - &382 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. @@ -19707,11 +19824,11 @@ paths: - created - updated default: created - - *98 + - *99 - *17 - - *96 - *97 - - &378 + - *98 + - &383 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19720,7 +19837,7 @@ paths: required: false schema: type: string - - &379 + - &384 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19729,7 +19846,7 @@ paths: schema: type: boolean default: false - - &380 + - &385 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19738,7 +19855,7 @@ paths: schema: type: boolean default: false - - &381 + - &386 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19754,30 +19871,30 @@ paths: application/json: schema: type: array - items: &382 + items: &387 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &680 + state: &686 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: &681 + resolution: &687 type: - string - 'null' @@ -19811,7 +19928,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *107 + repository: *108 push_protection_bypassed: type: - boolean @@ -19884,14 +20001,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &682 + - &688 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &684 + - &690 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19948,7 +20065,7 @@ paths: - blob_url - commit_sha - commit_url - - &685 + - &691 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -20009,7 +20126,7 @@ paths: - page_url - commit_sha - commit_url - - &686 + - &692 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20024,7 +20141,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &687 + - &693 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20039,7 +20156,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &688 + - &694 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20054,7 +20171,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &689 + - &695 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20069,7 +20186,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &690 + - &696 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20084,7 +20201,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &691 + - &697 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20099,7 +20216,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &692 + - &698 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -20114,7 +20231,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &693 + - &699 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -20129,7 +20246,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &694 + - &700 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -20144,7 +20261,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &695 + - &701 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -20159,7 +20276,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &696 + - &702 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -20180,7 +20297,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &383 + default: &388 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20337,9 +20454,9 @@ paths: commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20370,13 +20487,13 @@ paths: description: Response content: application/json: - schema: &384 + schema: &389 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &164 + pattern_config_version: &165 type: - string - 'null' @@ -20386,7 +20503,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &163 + items: &164 type: object properties: token_type: @@ -20455,9 +20572,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *163 + items: *164 examples: - default: &385 + default: &390 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20512,7 +20629,7 @@ paths: schema: type: object properties: - pattern_config_version: *164 + pattern_config_version: *165 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20538,7 +20655,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *164 + custom_pattern_version: *165 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20574,7 +20691,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20601,7 +20718,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &392 type: object properties: total_minutes_used: @@ -20671,7 +20788,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &388 + default: &393 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20702,7 +20819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &389 + - &394 name: advanced_security_product in: query description: | @@ -20722,7 +20839,7 @@ paths: description: Success content: application/json: - schema: &390 + schema: &395 type: object properties: total_advanced_security_committers: @@ -20785,7 +20902,7 @@ paths: required: - repositories examples: - default: &391 + default: &396 value: total_advanced_security_committers: 2 total_count: 2 @@ -20895,8 +21012,8 @@ paths: name: Octocat '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21026,7 +21143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &167 + - &168 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21038,7 +21155,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &165 + schema: &166 type: object properties: id: @@ -21078,7 +21195,7 @@ paths: - name - resources examples: - default: &166 + default: &167 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21091,8 +21208,8 @@ paths: name: octocat/hello-world '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21142,15 +21259,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 '400': *14 '403': *27 '404': *6 - '409': *106 - '500': *89 - '503': *162 + '409': *107 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21168,7 +21285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *167 + - *168 responses: '200': description: Response when deleting a cost center @@ -21206,8 +21323,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21228,7 +21345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *167 + - *168 requestBody: required: true content: @@ -21299,9 +21416,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *106 - '500': *89 - '503': *162 + '409': *107 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21321,7 +21438,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *167 + - *168 requestBody: required: true content: @@ -21367,8 +21484,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21399,7 +21516,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &397 type: object properties: total_gigabytes_bandwidth_used: @@ -21417,7 +21534,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &393 + default: &398 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21452,7 +21569,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &399 type: object properties: days_left_in_billing_cycle: @@ -21470,7 +21587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &395 + default: &400 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21495,7 +21612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &201 + - &209 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -21504,7 +21621,7 @@ paths: required: false schema: type: integer - - &202 + - &210 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21513,7 +21630,7 @@ paths: required: false schema: type: integer - - &203 + - &211 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -21522,7 +21639,7 @@ paths: required: false schema: type: integer - - &204 + - &212 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21543,7 +21660,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &205 + schema: &213 type: object properties: usageItems: @@ -21596,7 +21713,7 @@ paths: - netAmount - organizationName examples: - default: &206 + default: &214 value: usageItems: - date: '2023-08-01' @@ -21612,8 +21729,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21684,18 +21801,506 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: true enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - *39 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *172 + examples: + default: &173 + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - *39 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - *39 + - &174 + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *4 + examples: + default: &175 + value: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + headers: + Link: *41 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - *39 + - *174 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *175 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - *39 + - *174 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: *4 + examples: + default: *175 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - *39 + - *174 + - *176 + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &177 + value: + 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 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - *39 + - *174 + - *176 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *177 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - *39 + - *174 + - *176 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - *39 + - &178 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - *39 + - *178 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: *172 + examples: + default: *173 + headers: + Link: *41 + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - *39 + - *178 + responses: + '204': + description: Response + '403': *27 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -21779,7 +22384,7 @@ paths: application/json: schema: type: array - items: &196 + items: &204 title: Event description: Event type: object @@ -21790,7 +22395,7 @@ paths: type: - string - 'null' - actor: &171 + actor: &179 title: Actor description: Actor type: object @@ -21831,13 +22436,13 @@ paths: - id - name - url - org: *171 + org: *179 payload: type: object properties: action: type: string - issue: &185 + issue: &193 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -21958,7 +22563,7 @@ paths: milestone: anyOf: - type: 'null' - - &358 + - &363 title: Milestone description: A collection of related issues and pull requests. @@ -22130,7 +22735,7 @@ paths: timeline_url: type: string format: uri - type: &319 + type: &326 title: Issue Type description: The type of issue. type: @@ -22183,12 +22788,12 @@ paths: - node_id - name - description - repository: *65 + repository: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &172 + author_association: &180 title: author_association type: string description: How the author is associated with the repository. @@ -22203,7 +22808,7 @@ paths: - OWNER examples: - OWNER - reactions: &173 + reactions: &181 title: Reaction Rollup type: object properties: @@ -22239,7 +22844,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &740 + sub_issues_summary: &746 title: Sub-issues Summary type: object properties: @@ -22260,7 +22865,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &741 + issue_dependencies_summary: &747 title: Issue Dependencies Summary type: object properties: @@ -22279,7 +22884,7 @@ paths: - total_blocking issue_field_values: type: array - items: &742 + items: &748 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22374,7 +22979,7 @@ paths: - user - created_at - updated_at - comment: &606 + comment: &611 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -22424,12 +23029,12 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *180 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - id - node_id @@ -22526,7 +23131,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22616,7 +23221,7 @@ paths: _links: type: object properties: - timeline: &174 + timeline: &182 title: Link With Type description: Hypermedia Link with Type type: object @@ -22628,17 +23233,17 @@ paths: required: - href - type - user: *174 - security_advisories: *174 - current_user: *174 - current_user_public: *174 - current_user_actor: *174 - current_user_organization: *174 + user: *182 + security_advisories: *182 + current_user: *182 + current_user_public: *182 + current_user_actor: *182 + current_user_organization: *182 current_user_organizations: type: array - items: *174 - repository_discussions: *174 - repository_discussions_category: *174 + items: *182 + repository_discussions: *182 + repository_discussions_category: *182 required: - timeline - user @@ -22700,7 +23305,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *175 + - *183 - *17 - *19 responses: @@ -22710,7 +23315,7 @@ paths: application/json: schema: type: array - items: &176 + items: &184 title: Base Gist description: Base Gist type: object @@ -22807,7 +23412,7 @@ paths: - created_at - updated_at examples: - default: &177 + default: &185 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22852,7 +23457,7 @@ paths: site_admin: false truncated: false headers: - Link: *38 + Link: *41 '304': *35 '403': *27 x-github: @@ -22931,7 +23536,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &186 title: Gist Simple description: Gist Simple type: object @@ -22949,7 +23554,7 @@ paths: url: type: string format: uri - user: &754 + user: &760 title: Public User description: Public User type: object @@ -23323,7 +23928,7 @@ paths: truncated: type: boolean examples: - default: &179 + default: &187 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -23427,7 +24032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *175 + - *183 - *17 - *19 responses: @@ -23437,11 +24042,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '403': *27 @@ -23461,7 +24066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *175 + - *183 - *17 - *19 responses: @@ -23471,11 +24076,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '401': *23 '304': *35 '403': *27 @@ -23501,7 +24106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &180 + - &188 name: gist_id description: The unique identifier of the gist. in: path @@ -23513,10 +24118,10 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - default: *179 - '403': &183 + default: *187 + '403': &191 description: Forbidden Gist content: application/json: @@ -23565,7 +24170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *180 + - *188 requestBody: required: true content: @@ -23629,9 +24234,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - updateGist: *179 + updateGist: *187 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23789,7 +24394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -23818,7 +24423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *180 + - *188 - *17 - *19 responses: @@ -23828,7 +24433,7 @@ paths: application/json: schema: type: array - items: &181 + items: &189 title: Gist Comment description: A comment made to a gist. type: object @@ -23866,7 +24471,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *172 + author_association: *180 required: - url - id @@ -23906,7 +24511,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -23931,7 +24536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *180 + - *188 requestBody: required: true content: @@ -23957,9 +24562,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: &182 + default: &190 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -24017,8 +24622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *180 - - &184 + - *188 + - &192 name: comment_id description: The unique identifier of the comment. in: path @@ -24031,12 +24636,12 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: *182 + default: *190 '304': *35 '404': *6 - '403': *183 + '403': *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24058,8 +24663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *180 - - *184 + - *188 + - *192 requestBody: required: true content: @@ -24085,9 +24690,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *189 examples: - default: *182 + default: *190 '404': *6 x-github: githubCloudOnly: false @@ -24104,8 +24709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *180 - - *184 + - *188 + - *192 responses: '204': description: Response @@ -24128,7 +24733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *180 + - *188 - *17 - *19 responses: @@ -24229,7 +24834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *180 + - *188 - *17 - *19 responses: @@ -24239,7 +24844,7 @@ paths: application/json: schema: type: array - items: *178 + items: *186 examples: default: value: @@ -24285,7 +24890,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '404': *6 '304': *35 '403': *27 @@ -24304,13 +24909,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *180 + - *188 responses: '201': description: Response content: application/json: - schema: *176 + schema: *184 examples: default: value: @@ -24381,7 +24986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *180 + - *188 responses: '204': description: Response if gist is starred @@ -24411,7 +25016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -24433,7 +25038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *180 + - *188 responses: '204': description: Response @@ -24462,7 +25067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *180 + - *188 - name: sha in: path required: true @@ -24473,9 +25078,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *186 examples: - default: *179 + default: *187 '422': *15 '404': *6 '403': *27 @@ -24636,7 +25241,7 @@ paths: type: integer repositories: type: array - items: *65 + items: *67 repository_selection: type: string examples: @@ -24760,7 +25365,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '403': *27 '304': *35 '401': *23 @@ -24844,7 +25449,7 @@ paths: - closed - all default: open - - &322 + - &329 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24862,8 +25467,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - name: collab in: query required: false @@ -24893,9 +25498,9 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: &323 + default: &330 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25140,7 +25745,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '404': *6 @@ -25175,7 +25780,7 @@ paths: application/json: schema: type: array - items: *186 + items: *194 examples: default: value: @@ -25473,7 +26078,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &187 + X-CommonMarker-Version: &195 example: 0.17.4 schema: type: string @@ -25528,7 +26133,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *187 + X-CommonMarker-Version: *195 content: text/html: schema: @@ -25557,7 +26162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &190 + - &198 name: account_id description: account_id parameter in: path @@ -25569,7 +26174,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &197 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -25603,7 +26208,7 @@ paths: - 'null' id: type: integer - plan: &188 + plan: &196 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -25706,7 +26311,7 @@ paths: - 'null' updated_at: type: string - plan: *188 + plan: *196 required: - url - id @@ -25714,7 +26319,7 @@ paths: - login - marketplace_purchase examples: - default: &191 + default: &199 value: url: https://api.github.com/orgs/github type: Organization @@ -25799,9 +26404,9 @@ paths: application/json: schema: type: array - items: *188 + items: *196 examples: - default: &192 + default: &200 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25819,7 +26424,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '404': *6 '401': *23 x-github: @@ -25841,14 +26446,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &193 + - &201 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &194 + - &202 name: sort description: The property to sort the results by. in: query @@ -25878,9 +26483,9 @@ paths: application/json: schema: type: array - items: *189 + items: *197 examples: - default: &195 + default: &203 value: - url: https://api.github.com/orgs/github type: Organization @@ -25931,7 +26536,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '404': *6 '422': *15 '401': *23 @@ -25954,15 +26559,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *190 + - *198 responses: '200': description: Response content: application/json: - schema: *189 + schema: *197 examples: - default: *191 + default: *199 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -25994,11 +26599,11 @@ paths: application/json: schema: type: array - items: *188 + items: *196 examples: - default: *192 + default: *200 headers: - Link: *38 + Link: *41 '401': *23 x-github: githubCloudOnly: false @@ -26019,8 +26624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *193 - - *194 + - *201 + - *202 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -26040,11 +26645,11 @@ paths: application/json: schema: type: array - items: *189 + items: *197 examples: - default: *195 + default: *203 headers: - Link: *38 + Link: *41 '401': *23 x-github: githubCloudOnly: false @@ -26307,14 +26912,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: - - &419 + - &424 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &420 + - &425 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26331,7 +26936,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -26385,7 +26990,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &433 + '301': &438 description: Moved permanently content: application/json: @@ -26407,7 +27012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &635 + - &640 name: all description: If `true`, show notifications marked as read. in: query @@ -26415,7 +27020,7 @@ paths: schema: type: boolean default: false - - &636 + - &641 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26424,8 +27029,8 @@ paths: schema: type: boolean default: false - - *175 - - &637 + - *183 + - &642 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: @@ -26450,14 +27055,14 @@ paths: application/json: schema: type: array - items: &197 + items: &205 title: Thread description: Thread type: object properties: id: type: string - repository: &232 + repository: &240 title: Minimal Repository description: Minimal Repository type: object @@ -26796,7 +27401,7 @@ paths: type: boolean examples: - false - security_and_analysis: &366 + security_and_analysis: &371 type: - object - 'null' @@ -26969,7 +27574,7 @@ paths: - url - subscription_url examples: - default: &638 + default: &643 value: - id: '1' repository: @@ -27051,7 +27656,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -27135,7 +27740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &198 + - &206 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -27149,7 +27754,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *205 examples: default: value: @@ -27252,7 +27857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *198 + - *206 responses: '205': description: Reset Content @@ -27275,7 +27880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *198 + - *206 responses: '204': description: No content @@ -27298,13 +27903,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *198 + - *206 responses: '200': description: Response content: application/json: - schema: &199 + schema: &207 title: Thread Subscription description: Thread Subscription type: object @@ -27348,7 +27953,7 @@ paths: - url - subscribed examples: - default: &200 + default: &208 value: subscribed: true ignored: false @@ -27379,7 +27984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *198 + - *206 requestBody: required: false content: @@ -27400,9 +28005,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *207 examples: - default: *200 + default: *208 '304': *35 '403': *27 '401': *23 @@ -27425,7 +28030,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *198 + - *206 responses: '204': description: Response @@ -27520,9 +28125,9 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: &770 + default: &776 value: - login: github id: 1 @@ -27587,7 +28192,7 @@ paths: - 3 custom_roles: type: array - items: &276 + items: &283 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -27636,7 +28241,7 @@ paths: - created_at - updated_at examples: - default: &277 + default: &284 value: id: 8030 name: Security Engineer @@ -27683,7 +28288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *74 + - *76 - name: page in: query description: The page number of results to fetch. @@ -27729,7 +28334,7 @@ paths: items: anyOf: - type: 'null' - - *107 + - *108 additionalProperties: false examples: default: @@ -27834,7 +28439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -27900,7 +28505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *74 + - *76 requestBody: required: true content: @@ -27948,23 +28553,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *74 - - *201 - - *202 - - *203 - - *204 + - *76 + - *209 + - *210 + - *211 + - *212 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *205 + schema: *213 examples: - default: *206 + default: *214 '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27990,13 +28595,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &207 + schema: &215 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -28406,7 +29011,7 @@ paths: - updated_at - archived_at examples: - default-response: &208 + default-response: &216 value: login: github id: 1 @@ -28508,7 +29113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *74 + - *76 requestBody: required: false content: @@ -28732,18 +29337,18 @@ paths: description: Response content: application/json: - schema: *207 + schema: *215 examples: - default: *208 + default: *216 '422': description: Validation failed content: application/json: schema: oneOf: - - *209 - - *210 - '409': *106 + - *217 + - *218 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28766,7 +29371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *74 + - *76 responses: '202': *37 '404': *6 @@ -28791,17 +29396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *211 + schema: *219 examples: - default: *212 + default: *220 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28822,7 +29427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -28840,7 +29445,7 @@ paths: type: integer repository_cache_usages: type: array - items: &438 + items: &443 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28878,7 +29483,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28898,7 +29503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -28916,11 +29521,11 @@ paths: type: integer runners: type: array - items: *40 + items: *42 examples: - default: *213 + default: *221 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28938,7 +29543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -29005,9 +29610,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29025,7 +29630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29041,9 +29646,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29061,7 +29666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29077,9 +29682,9 @@ paths: type: integer images: type: array - items: *41 + items: *43 examples: - default: *42 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29096,15 +29701,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *214 + schema: *222 examples: - default: *215 + default: *223 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29122,7 +29727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29138,9 +29743,9 @@ paths: type: integer machine_specs: type: array - items: *43 + items: *45 examples: - default: *216 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29158,7 +29763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29202,18 +29807,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 responses: '200': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29231,8 +29836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 requestBody: required: true content: @@ -29270,9 +29875,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29288,16 +29893,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *45 + - *76 + - *47 responses: '202': description: Response content: application/json: - schema: *40 + schema: *42 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29317,13 +29922,13 @@ 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-an-organization parameters: - - *74 + - *76 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &217 + schema: &225 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29337,7 +29942,7 @@ paths: required: - include_claim_keys examples: - default: &218 + default: &226 value: include_claim_keys: - repo @@ -29359,20 +29964,20 @@ 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-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *217 + schema: *225 examples: - default: *218 + default: *226 responses: '201': description: Empty response content: application/json: - schema: &243 + schema: &251 title: Empty Object description: An object without any properties. type: object @@ -29402,7 +30007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -29411,7 +30016,7 @@ paths: schema: type: object properties: - enabled_repositories: &220 + enabled_repositories: &228 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -29424,9 +30029,9 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: *47 - selected_actions_url: *219 - sha_pinning_required: *48 + allowed_actions: *49 + selected_actions_url: *227 + sha_pinning_required: *50 required: - enabled_repositories examples: @@ -29456,7 +30061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29467,9 +30072,9 @@ paths: schema: type: object properties: - enabled_repositories: *220 - allowed_actions: *47 - sha_pinning_required: *48 + enabled_repositories: *228 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled_repositories examples: @@ -29497,13 +30102,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *221 + schema: *229 examples: response: summary: Example response @@ -29529,12 +30134,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *222 + schema: *230 examples: application/json: value: @@ -29544,7 +30149,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -29564,15 +30169,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *49 + schema: *51 examples: - default: *223 + default: *231 '404': *6 x-github: enabledForGitHubApps: true @@ -29591,7 +30196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29601,7 +30206,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -29623,15 +30228,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *224 + schema: *232 examples: - default: *50 + default: *52 '403': *27 '404': *6 x-github: @@ -29649,14 +30254,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *225 + schema: *233 examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -29686,7 +30291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -29704,9 +30309,9 @@ paths: type: number repositories: type: array - items: *65 + items: *67 examples: - default: &227 + default: &235 value: total_count: 1 repositories: @@ -29846,7 +30451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29890,8 +30495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - &226 + - *76 + - &234 name: repository_id description: The unique identifier of the repository. in: path @@ -29919,8 +30524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: Response @@ -29943,15 +30548,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *52 + schema: *54 examples: - default: *53 + default: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29974,7 +30579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -29982,9 +30587,9 @@ paths: required: false content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30004,7 +30609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -30052,7 +30657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30079,7 +30684,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30099,7 +30704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -30114,9 +30719,9 @@ paths: type: integer repositories: type: array - items: *65 + items: *67 examples: - default: *227 + default: *235 '403': *27 '404': *6 x-github: @@ -30136,7 +30741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30184,14 +30789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30211,14 +30816,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *226 + - *76 + - *234 responses: '204': description: No content '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 x-github: enabledForGitHubApps: true @@ -30240,15 +30845,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *228 + schema: *236 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30269,7 +30874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Success response @@ -30280,9 +30885,9 @@ paths: required: false content: application/json: - schema: *229 + schema: *237 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30302,7 +30907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *74 + - *76 - *17 - *19 - name: visible_to_repository @@ -30327,7 +30932,7 @@ paths: type: number runner_groups: type: array - items: &230 + items: &238 type: object properties: id: @@ -30444,7 +31049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -30517,9 +31122,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *238 examples: - default: &231 + default: &239 value: id: 2 name: octo-runner-group @@ -30554,14 +31159,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: default: value: @@ -30597,8 +31202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -30654,9 +31259,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *238 examples: - default: *231 + default: *239 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30675,8 +31280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *74 - - *59 + - *76 + - *61 responses: '204': description: Response @@ -30699,8 +31304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *17 - *19 responses: @@ -30718,11 +31323,11 @@ paths: type: number runners: type: array - items: *40 + items: *42 examples: - default: *213 + default: *221 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30742,8 +31347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *19 - *17 responses: @@ -30761,9 +31366,9 @@ paths: type: number repositories: type: array - items: *232 + items: *240 examples: - default: &757 + default: &763 value: total_count: 1 repositories: @@ -31015,8 +31620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -31060,9 +31665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 - - *226 + - *76 + - *61 + - *234 responses: '204': description: Response @@ -31084,9 +31689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *59 - - *226 + - *76 + - *61 + - *234 responses: '204': description: Response @@ -31109,8 +31714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 - *17 - *19 responses: @@ -31128,11 +31733,11 @@ paths: type: number runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31151,8 +31756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *59 + - *76 + - *61 requestBody: required: true content: @@ -31196,9 +31801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *74 - - *59 - - *62 + - *76 + - *61 + - *64 responses: '204': description: Response @@ -31220,9 +31825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *74 - - *59 - - *62 + - *76 + - *61 + - *64 responses: '204': description: Response @@ -31252,7 +31857,7 @@ paths: in: query schema: type: string - - *74 + - *76 - *17 - *19 responses: @@ -31270,11 +31875,11 @@ paths: type: integer runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31296,7 +31901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -31304,9 +31909,9 @@ paths: application/json: schema: type: array - items: *233 + items: *241 examples: - default: *234 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31328,7 +31933,7 @@ 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-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -31371,10 +31976,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *235 + '201': *243 '404': *6 '422': *7 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31402,15 +32007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *74 + - *76 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *236 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31438,15 +32043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *74 + - *76 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *237 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31468,16 +32073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: *238 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31498,8 +32103,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: '204': description: Response @@ -31525,10 +32130,10 @@ 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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: - '200': *68 + '200': *70 '404': *6 x-github: githubCloudOnly: false @@ -31550,8 +32155,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 requestBody: required: true content: @@ -31575,7 +32180,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31599,8 +32204,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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 requestBody: required: true content: @@ -31625,7 +32230,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31649,10 +32254,10 @@ 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-an-organization parameters: - - *74 - - *62 + - *76 + - *64 responses: - '200': *239 + '200': *247 '404': *6 x-github: githubCloudOnly: false @@ -31679,11 +32284,11 @@ 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-an-organization parameters: - - *74 - - *62 - - *240 + - *76 + - *64 + - *248 responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -31708,7 +32313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -31726,7 +32331,7 @@ paths: type: integer secrets: type: array - items: &241 + items: &249 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -31778,7 +32383,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31801,13 +32406,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &458 + schema: &463 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31842,7 +32447,7 @@ paths: - key_id - key examples: - default: &459 + default: &464 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31867,8 +32472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *74 - - &242 + - *76 + - &250 name: secret_name description: The name of the secret. in: path @@ -31880,7 +32485,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *249 examples: default: value: @@ -31910,8 +32515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -31968,7 +32573,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -31994,8 +32599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -32021,8 +32626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -32040,9 +32645,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: &246 + default: &254 value: total_count: 1 repositories: @@ -32134,8 +32739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -32187,8 +32792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -32221,8 +32826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -32254,8 +32859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *74 - - &443 + - *76 + - &448 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)." @@ -32279,7 +32884,7 @@ paths: type: integer variables: type: array - items: &244 + items: &252 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -32348,7 +32953,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32369,7 +32974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *74 + - *76 requestBody: required: true content: @@ -32417,7 +33022,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -32442,8 +33047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *74 - - &245 + - *76 + - &253 name: name description: The name of the variable. in: path @@ -32455,7 +33060,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *252 examples: default: value: @@ -32485,8 +33090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 requestBody: required: true content: @@ -32548,8 +33153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 responses: '204': description: Response @@ -32575,8 +33180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - *19 - *17 responses: @@ -32594,9 +33199,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 '409': description: Response when the visibility of the variable is not set to `selected` @@ -32622,8 +33227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 requestBody: required: true content: @@ -32672,8 +33277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - name: repository_id in: path required: true @@ -32707,8 +33312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *245 + - *76 + - *253 - name: repository_id in: path required: true @@ -32739,15 +33344,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32766,19 +33371,19 @@ paths: required: true content: application/json: - schema: *247 + schema: *255 examples: - default: *72 + default: *74 parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *73 + schema: *75 examples: - default: *72 + default: *74 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32794,7 +33399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -32817,7 +33422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *74 + - *76 requestBody: required: true content: @@ -32912,11 +33517,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -32955,7 +33564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *74 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -33039,9 +33648,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *96 - *97 - - *74 + - *98 + - *76 requestBody: required: true content: @@ -33064,12 +33673,12 @@ paths: required: - subject_digests examples: - default: &789 + default: &795 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &790 + withPredicateType: &796 value: subject_digests: - sha256:abc123 @@ -33128,7 +33737,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &791 + default: &797 value: attestations_subject_digests: - sha256:abc: @@ -33237,7 +33846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *74 + - *76 requestBody: required: true content: @@ -33302,7 +33911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *76 - name: subject_digest description: Subject Digest in: path @@ -33333,7 +33942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *74 + - *76 - name: attestation_id description: Attestation ID in: path @@ -33369,9 +33978,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *96 - *97 - - *74 + - *98 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -33422,7 +34031,7 @@ paths: bundle_url: type: string examples: - default: &472 + default: &477 value: attestations: - bundle: @@ -33540,7 +34149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *74 + - *76 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -33548,10 +34157,10 @@ paths: required: false schema: type: string - - *248 - - *249 - - *250 - - *251 + - *256 + - *257 + - *258 + - *259 - *17 responses: '200': @@ -33560,9 +34169,9 @@ paths: application/json: schema: type: array - items: *252 + items: *260 examples: - default: *253 + default: *261 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33579,7 +34188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -33591,26 +34200,7 @@ paths: type: array items: *4 examples: - default: &324 - value: - - 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 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33629,8 +34219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: If the user is blocked @@ -33655,8 +34245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -33676,8 +34266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -33703,17 +34293,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *74 - - &257 + - *76 + - &264 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *91 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -33723,11 +34313,11 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *256 + default: *263 '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -33748,12 +34338,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *74 - - *257 - - *91 + - *76 + - *264 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -33763,11 +34353,11 @@ paths: application/json: schema: type: array - items: *258 + items: *265 examples: - default: *259 + default: *266 '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -33784,15 +34374,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *74 + - *76 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &261 + schema: &268 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -33818,7 +34408,7 @@ paths: application/json: schema: type: array - items: &262 + items: &269 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -33849,7 +34439,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *260 + items: *267 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -33868,7 +34458,7 @@ paths: - string - 'null' format: date-time - state: *261 + state: *268 contact_link: description: The contact link of the campaign. type: @@ -33964,9 +34554,9 @@ paths: closed_at: state: open headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33990,7 +34580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -34085,9 +34675,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: &263 + default: &270 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -34136,7 +34726,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34158,7 +34748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34170,16 +34760,16 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: *263 + default: *270 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34200,7 +34790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34250,7 +34840,7 @@ paths: - string - 'null' format: uri - state: *261 + state: *268 examples: default: value: @@ -34260,9 +34850,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *269 examples: - default: *263 + default: *270 '400': description: Bad Request content: @@ -34274,7 +34864,7 @@ paths: content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34295,7 +34885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *74 + - *76 - name: campaign_number description: The campaign number. in: path @@ -34306,7 +34896,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34328,20 +34918,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *74 - - *264 - - *265 - - *96 + - *76 + - *271 + - *272 - *97 + - *98 - *19 - *17 - - *98 + - *99 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *266 + schema: *273 - name: sort description: The property by which to sort the results. in: query @@ -34357,7 +34947,7 @@ paths: be returned. in: query required: false - schema: &498 + schema: &503 type: string description: Severity of a code scanning alert. enum: @@ -34375,13 +34965,13 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34403,7 +34993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *74 + - *76 - name: target_type in: query description: The target type of the code security configuration @@ -34422,8 +35012,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 responses: '200': description: Response @@ -34431,7 +35021,7 @@ paths: application/json: schema: type: array - items: *102 + items: *103 examples: default: value: @@ -34514,7 +35104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *74 + - *76 requestBody: required: true content: @@ -34592,7 +35182,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *269 + code_scanning_options: *276 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -34601,7 +35191,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34733,9 +35323,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *102 + schema: *103 examples: - default: *270 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34757,15 +35347,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '304': *35 '403': *27 '404': *6 @@ -34791,7 +35381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *74 + - *76 requestBody: required: true content: @@ -34817,11 +35407,11 @@ paths: - 32 - 91 responses: - '204': *128 + '204': *129 '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34843,16 +35433,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 responses: '200': description: Response content: application/json: - schema: *102 + schema: *103 examples: - default: *270 + default: *277 '304': *35 '403': *27 '404': *6 @@ -34876,8 +35466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -34956,7 +35546,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *105 + code_scanning_default_setup_options: *106 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -35074,7 +35664,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *102 + schema: *103 examples: default: value: @@ -35133,14 +35723,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 responses: - '204': *128 + '204': *129 '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35164,8 +35754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -35228,8 +35818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *74 - - *104 + - *76 + - *105 requestBody: required: true content: @@ -35269,12 +35859,12 @@ paths: - none - private_and_internal - public - configuration: *102 + configuration: *103 examples: default: value: default_for_new_repos: all - configuration: *270 + configuration: *277 '403': *27 '404': *6 x-github: @@ -35298,8 +35888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *74 - - *104 + - *76 + - *105 - 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)." @@ -35308,8 +35898,8 @@ paths: schema: type: integer default: 30 - - *96 - *97 + - *98 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -35327,13 +35917,13 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *274 + repository: *281 '403': *27 '404': *6 x-github: @@ -35357,7 +35947,7 @@ paths: parameters: - *17 - *19 - - *74 + - *76 responses: '200': description: Response @@ -35373,7 +35963,7 @@ paths: type: integer codespaces: type: array - items: &325 + items: &331 type: object title: Codespace description: A codespace. @@ -35404,11 +35994,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *232 + repository: *240 machine: anyOf: - type: 'null' - - &527 + - &532 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -35695,7 +36285,7 @@ paths: - pulls_url - recent_folders examples: - default: &326 + default: &332 value: total_count: 3 codespaces: @@ -36105,7 +36695,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36127,7 +36717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *74 + - *76 deprecated: true requestBody: required: true @@ -36171,7 +36761,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36194,7 +36784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *74 + - *76 deprecated: true requestBody: required: true @@ -36226,7 +36816,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36249,7 +36839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *74 + - *76 requestBody: required: true content: @@ -36280,7 +36870,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36301,7 +36891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -36319,7 +36909,7 @@ paths: type: integer secrets: type: array - items: &275 + items: &282 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36360,7 +36950,7 @@ paths: - updated_at - visibility examples: - default: &528 + default: &533 value: total_count: 2 secrets: @@ -36373,7 +36963,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36392,13 +36982,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &529 + schema: &534 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36433,7 +37023,7 @@ paths: - key_id - key examples: - default: &530 + default: &535 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36456,23 +37046,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: &532 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36492,8 +37082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -36548,7 +37138,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -36574,8 +37164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -36600,8 +37190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -36619,9 +37209,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 '404': *6 x-github: githubCloudOnly: false @@ -36643,8 +37233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -36694,8 +37284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -36728,8 +37318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -36768,7 +37358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *74 + - *76 responses: '200': description: OK @@ -36877,7 +37467,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36909,7 +37499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *74 + - *76 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -36932,12 +37522,12 @@ paths: currently being billed. seats: type: array - items: *119 + items: *120 examples: - default: *120 + default: *121 headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -36970,7 +37560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37012,7 +37602,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37048,7 +37638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37090,7 +37680,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37128,7 +37718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37169,7 +37759,7 @@ paths: default: value: seats_created: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37205,7 +37795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *76 requestBody: content: application/json: @@ -37247,7 +37837,7 @@ paths: default: value: seats_cancelled: 5 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -37286,7 +37876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *74 + - *76 - 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`). @@ -37318,13 +37908,13 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37346,7 +37936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -37505,7 +38095,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *74 + - *76 - name: credential_id in: path required: true @@ -37536,7 +38126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *74 + - *76 responses: '200': description: Response - list of custom role names @@ -37552,7 +38142,7 @@ paths: - 3 custom_roles: type: array - items: *276 + items: *283 examples: default: value: @@ -37639,12 +38229,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: &279 + schema: &286 type: object properties: name: @@ -37686,9 +38276,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37712,8 +38302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *74 - - &278 + - *76 + - &285 name: role_id description: The unique identifier of the role. in: path @@ -37725,9 +38315,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '404': *6 x-github: githubCloudOnly: true @@ -37749,13 +38339,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: application/json: - schema: &280 + schema: &287 type: object properties: name: @@ -37794,9 +38384,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37820,8 +38410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -37849,12 +38439,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: *279 + schema: *286 examples: default: value: @@ -37868,9 +38458,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37900,16 +38490,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '200': description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '404': *6 x-github: githubCloudOnly: true @@ -37937,13 +38527,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: application/json: - schema: *280 + schema: *287 examples: default: value: @@ -37958,9 +38548,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - default: *277 + default: *284 '422': *15 '404': *6 x-github: @@ -37990,8 +38580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -38019,12 +38609,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *74 - - *281 - - *282 - - *283 - - *284 - - *285 + - *76 + - *288 + - *289 + - *290 + - *291 + - *292 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38040,14 +38630,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *286 - - *287 - - *288 - - *98 - - *96 + - *293 + - *294 + - *295 + - *99 - *97 - - *289 - - *290 + - *98 + - *296 + - *297 - *17 responses: '200': @@ -38056,9 +38646,9 @@ paths: application/json: schema: type: array - items: *291 + items: *298 examples: - default: *292 + default: *299 '304': *35 '400': *14 '403': *27 @@ -38084,7 +38674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *74 + - *76 - *17 - *19 responses: @@ -38102,7 +38692,7 @@ paths: type: integer secrets: type: array - items: &293 + items: &300 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38154,7 +38744,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38175,13 +38765,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: &554 + schema: &559 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38200,7 +38790,7 @@ paths: - key_id - key examples: - default: &555 + default: &560 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38223,14 +38813,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: Response content: application/json: - schema: *293 + schema: *300 examples: default: value: @@ -38258,8 +38848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -38314,7 +38904,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -38338,8 +38928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -38363,8 +38953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - *19 - *17 responses: @@ -38382,9 +38972,9 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38405,8 +38995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -38456,8 +39046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -38488,8 +39078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *242 + - *76 + - *250 - name: repository_id in: path required: true @@ -38525,8 +39115,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *74 - - &563 + - *76 + - &568 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -38534,7 +39124,7 @@ paths: required: false schema: type: string - - &564 + - &569 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -38542,7 +39132,7 @@ paths: required: false schema: type: string - - &565 + - &570 name: time_period description: |- The time period to filter by. @@ -38558,7 +39148,7 @@ paths: - week - month default: month - - &566 + - &571 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -38573,7 +39163,7 @@ paths: - denied - all default: all - - *257 + - *264 - *17 - *19 responses: @@ -38583,7 +39173,7 @@ paths: application/json: schema: type: array - items: &567 + items: &572 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -38746,7 +39336,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &568 + default: &573 value: - id: 21 number: 42 @@ -38811,7 +39401,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -38832,12 +39422,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *74 - - *257 - - *91 + - *76 + - *264 - *92 - *93 - - &569 + - *94 + - &574 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -38863,7 +39453,7 @@ paths: application/json: schema: type: array - items: &570 + items: &575 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -38977,7 +39567,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *95 + items: *96 url: type: string format: uri @@ -38990,7 +39580,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &571 + default: &576 value: - id: 21 number: 42 @@ -39055,7 +39645,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *27 - '500': *89 + '500': *38 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -39070,7 +39660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -39078,7 +39668,7 @@ paths: application/json: schema: type: array - items: &336 + items: &341 title: Package description: A software package type: object @@ -39131,7 +39721,7 @@ paths: repository: anyOf: - type: 'null' - - *232 + - *240 created_at: type: string format: date-time @@ -39149,7 +39739,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &342 value: - id: 197 name: hello_docker @@ -39227,7 +39817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39237,7 +39827,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: 200-response: value: @@ -39307,7 +39897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *74 + - *76 - name: group_id description: The unique identifier of the group. in: path @@ -39333,7 +39923,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &419 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39423,7 +40013,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &415 + default: &420 value: group_id: '123' group_name: Octocat admins @@ -39461,7 +40051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -39478,7 +40068,7 @@ paths: description: Response content: application/json: - schema: &412 + schema: &417 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39518,7 +40108,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &413 + default: &418 value: groups: - group_id: '123' @@ -39552,7 +40142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39562,7 +40152,7 @@ paths: application/json: schema: type: array - items: &316 + items: &323 title: Organization Invitation description: Organization Invitation type: object @@ -39616,7 +40206,7 @@ paths: - invitation_teams_url - node_id examples: - default: &317 + default: &324 value: - id: 1 login: monalisa @@ -39649,7 +40239,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -39675,7 +40265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -39683,7 +40273,7 @@ paths: application/json: schema: type: array - items: &367 + items: &372 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39697,7 +40287,7 @@ paths: - name - description examples: - default: &368 + default: &373 value: - name: add_assignee description: Assign or remove a user @@ -39728,7 +40318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *74 + - *76 - *17 - *19 responses: @@ -39738,7 +40328,7 @@ paths: application/json: schema: type: array - items: &294 + items: &301 title: Org Hook description: Org Hook type: object @@ -39838,7 +40428,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -39859,7 +40449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *74 + - *76 requestBody: required: true content: @@ -39921,9 +40511,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: - default: &295 + default: &302 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39967,8 +40557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *74 - - &296 + - *76 + - &303 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. @@ -39981,9 +40571,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: - default: *295 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -40004,8 +40594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 requestBody: required: false content: @@ -40051,7 +40641,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *301 examples: default: value: @@ -40090,8 +40680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 responses: '204': description: Response @@ -40116,8 +40706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *74 - - *296 + - *76 + - *303 responses: '200': description: Response @@ -40145,8 +40735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *74 - - *296 + - *76 + - *303 requestBody: required: false content: @@ -40194,10 +40784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *17 - - *297 + - *304 responses: '200': description: Response @@ -40205,9 +40795,9 @@ paths: application/json: schema: type: array - items: *298 + items: *305 examples: - default: *299 + default: *306 '400': *14 '422': *15 x-github: @@ -40230,17 +40820,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *16 responses: '200': description: Response content: application/json: - schema: *300 + schema: *307 examples: - default: *301 + default: *308 '400': *14 '422': *15 x-github: @@ -40263,8 +40853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 - *16 responses: '202': *37 @@ -40290,8 +40880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *74 - - *296 + - *76 + - *303 responses: '204': description: Response @@ -40313,8 +40903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *74 - - &306 + - *76 + - &313 name: actor_type in: path description: The type of the actor @@ -40327,14 +40917,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &307 + - &314 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &302 + - &309 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`.' @@ -40342,7 +40932,7 @@ paths: required: true schema: type: string - - &303 + - &310 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) @@ -40353,7 +40943,7 @@ paths: type: string - *19 - *17 - - *98 + - *99 - name: sort description: The property to sort the results by. in: query @@ -40436,13 +41026,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *74 - - *302 - - *303 + - *76 + - *309 + - *310 - *19 - *17 - - *98 - - &312 + - *99 + - &319 name: sort description: The property to sort the results by. in: query @@ -40521,15 +41111,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *74 - - *302 - - *303 + - *76 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &304 + schema: &311 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40545,7 +41135,7 @@ paths: type: integer format: int64 examples: - default: &305 + default: &312 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40565,24 +41155,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *74 - - &308 + - *76 + - &315 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *302 - - *303 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *304 + schema: *311 examples: - default: *305 + default: *312 x-github: enabledForGitHubApps: true category: orgs @@ -40600,19 +41190,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *74 - - *302 - - *303 - - *306 - - *307 + - *76 + - *309 + - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *304 + schema: *311 examples: - default: *305 + default: *312 x-github: enabledForGitHubApps: true category: orgs @@ -40629,10 +41219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *74 - - *302 - - *303 - - &309 + - *76 + - *309 + - *310 + - &316 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40645,7 +41235,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &317 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40661,7 +41251,7 @@ paths: type: integer format: int64 examples: - default: &311 + default: &318 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40697,19 +41287,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *74 - - *308 - - *302 - - *303 + - *76 + - *315 - *309 + - *310 + - *316 responses: '200': description: Response content: application/json: - schema: *310 + schema: *317 examples: - default: *311 + default: *318 x-github: enabledForGitHubApps: true category: orgs @@ -40726,20 +41316,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *74 - - *306 - - *307 - - *302 - - *303 + - *76 + - *313 + - *314 - *309 + - *310 + - *316 responses: '200': description: Response content: application/json: - schema: *310 + schema: *317 examples: - default: *311 + default: *318 x-github: enabledForGitHubApps: true category: orgs @@ -40756,14 +41346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *74 - - *308 - - *302 - - *303 + - *76 + - *315 + - *309 + - *310 - *19 - *17 - - *98 - - *312 + - *99 + - *319 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40839,7 +41429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *74 + - *76 responses: '200': description: Response @@ -40847,7 +41437,7 @@ paths: application/json: schema: *20 examples: - default: &602 + default: &607 value: id: 1 account: @@ -40916,7 +41506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -40986,7 +41576,7 @@ paths: suspended_at: suspended_by: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41005,7 +41595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -41013,12 +41603,12 @@ paths: application/json: schema: anyOf: - - &314 + - &321 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &313 + limit: &320 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -41046,7 +41636,7 @@ paths: properties: {} additionalProperties: false examples: - default: &315 + default: &322 value: limit: collaborators_only origin: organization @@ -41070,18 +41660,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: application/json: - schema: &603 + schema: &608 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *313 + limit: *320 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41106,9 +41696,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -41126,7 +41716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *74 + - *76 responses: '204': description: Response @@ -41152,7 +41742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *74 + - *76 - *17 - *19 - name: role @@ -41186,11 +41776,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41212,7 +41802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *74 + - *76 requestBody: required: false content: @@ -41266,7 +41856,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *323 examples: default: value: @@ -41322,8 +41912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *74 - - &318 + - *76 + - &325 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41356,8 +41946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *74 - - *318 + - *76 + - *325 - *17 - *19 responses: @@ -41367,9 +41957,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: &335 + default: &340 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41385,7 +41975,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41404,7 +41994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -41412,7 +42002,7 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: default: value: @@ -41450,7 +42040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -41500,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *326 examples: - default: &320 + default: &327 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41534,8 +42124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *74 - - &321 + - *76 + - &328 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41591,9 +42181,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *326 examples: - default: *320 + default: *327 '404': *6 '422': *7 x-github: @@ -41617,8 +42207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *74 - - *321 + - *76 + - *328 responses: '204': description: Response @@ -41651,7 +42241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *74 + - *76 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -41681,7 +42271,7 @@ paths: - closed - all default: open - - *322 + - *329 - name: type description: Can be the name of an issue type. in: query @@ -41699,8 +42289,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -41710,11 +42300,11 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *323 + default: *330 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -41734,7 +42324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *74 + - *76 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -41772,9 +42362,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -41792,8 +42382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response if requester is an organization member and user is @@ -41827,8 +42417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -41854,8 +42444,8 @@ paths: parameters: - *17 - *19 - - *74 - - *254 + - *76 + - *176 responses: '200': description: Response @@ -41871,11 +42461,11 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: - default: *326 + default: *332 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -41898,9 +42488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *74 - - *254 - - &327 + - *76 + - *176 + - &333 name: codespace_name in: path required: true @@ -41910,7 +42500,7 @@ paths: responses: '202': *37 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -41933,17 +42523,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *74 - - *254 - - *327 + - *76 + - *176 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: &526 + default: &531 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42085,7 +42675,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -42116,14 +42706,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -42167,7 +42757,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -42192,14 +42782,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '200': description: Response content: application/json: - schema: &328 + schema: &334 title: Org Membership description: Org Membership type: object @@ -42248,7 +42838,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *60 + organization: *62 user: anyOf: - type: 'null' @@ -42268,7 +42858,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &329 + response-if-user-has-an-active-admin-membership-with-organization: &335 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42336,8 +42926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 requestBody: required: false content: @@ -42365,9 +42955,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: - response-if-user-already-had-membership-with-organization: *329 + response-if-user-already-had-membership-with-organization: *335 '422': *15 '403': *27 x-github: @@ -42391,8 +42981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -42417,7 +43007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *74 + - *76 - *17 - *19 - name: exclude @@ -42439,7 +43029,7 @@ paths: application/json: schema: type: array - items: &330 + items: &336 title: Migration description: A migration. type: object @@ -42481,7 +43071,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *65 + items: *67 url: type: string format: uri @@ -42680,7 +43270,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42696,7 +43286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *74 + - *76 requestBody: required: true content: @@ -42777,7 +43367,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -42955,8 +43545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *74 - - &331 + - *76 + - &337 name: migration_id description: The unique identifier of the migration. in: path @@ -42984,7 +43574,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -43153,8 +43743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *74 - - *331 + - *76 + - *337 responses: '302': description: Response @@ -43175,8 +43765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *74 - - *331 + - *76 + - *337 responses: '204': description: Response @@ -43199,9 +43789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *74 - - *331 - - &769 + - *76 + - *337 + - &775 name: repo_name description: repo_name parameter in: path @@ -43228,8 +43818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *74 - - *331 + - *76 + - *337 - *17 - *19 responses: @@ -43239,9 +43829,9 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: &342 + default: &347 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43352,7 +43942,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -43380,7 +43970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -43434,7 +44024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response - list of organization roles @@ -43450,7 +44040,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &332 + items: &338 title: Organization Role description: Organization roles type: object @@ -43612,7 +44202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *74 + - *76 requestBody: required: true content: @@ -43659,7 +44249,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -43688,7 +44278,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43710,14 +44300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *74 - - &333 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *76 + - *178 responses: '204': description: Response @@ -43742,9 +44326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *74 - - *333 - - *278 + - *76 + - *178 + - *285 responses: '204': description: Response @@ -43773,9 +44357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *74 - - *333 - - *278 + - *76 + - *178 + - *285 responses: '204': description: Response @@ -43800,8 +44384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -43826,9 +44410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *74 - - *254 - - *278 + - *76 + - *176 + - *285 responses: '204': description: Response @@ -43858,9 +44442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *74 - - *254 - - *278 + - *76 + - *176 + - *285 responses: '204': description: Response @@ -43888,14 +44472,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '200': description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -43952,8 +44536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *74 - - *278 + - *76 + - *285 requestBody: required: true content: @@ -43992,7 +44576,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *338 examples: default: value: @@ -44020,7 +44604,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *106 + '409': *107 '404': *6 x-github: githubCloudOnly: true @@ -44045,8 +44629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *74 - - *278 + - *76 + - *285 responses: '204': description: Response @@ -44071,8 +44655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 - *17 - *19 responses: @@ -44151,7 +44735,7 @@ paths: parent: anyOf: - type: 'null' - - *334 + - *339 required: - id - node_id @@ -44165,9 +44749,9 @@ paths: - slug - parent examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '404': description: Response if the organization or role does not exist. '422': @@ -44194,8 +44778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *74 - - *278 + - *76 + - *285 - *17 - *19 responses: @@ -44224,7 +44808,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *334 + items: *339 name: type: - string @@ -44341,9 +44925,9 @@ paths: - type - url examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': description: Response if the organization or role does not exist. '422': @@ -44365,7 +44949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *74 + - *76 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44392,9 +44976,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44417,8 +45001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *74 - - *254 + - *76 + - *176 requestBody: required: false content: @@ -44475,8 +45059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -44533,8 +45117,8 @@ paths: - docker - nuget - container - - *74 - - &771 + - *76 + - &777 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44570,12 +45154,12 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '403': *27 '401': *23 - '400': &773 + '400': &779 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44597,7 +45181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &338 + - &343 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 @@ -44615,20 +45199,20 @@ paths: - docker - nuget - container - - &339 + - &344 name: package_name description: The name of the package. in: path required: true schema: type: string - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: default: value: @@ -44680,9 +45264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 responses: '204': description: Response @@ -44714,9 +45298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 - name: token description: package token schema: @@ -44748,9 +45332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *338 - - *339 - - *74 + - *343 + - *344 + - *76 - *19 - *17 - name: state @@ -44770,7 +45354,7 @@ paths: application/json: schema: type: array - items: &340 + items: &345 title: Package Version description: A version of a software package type: object @@ -44905,10 +45489,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: - - *338 - - *339 - - *74 - - &341 + - *343 + - *344 + - *76 + - &346 name: package_version_id description: Unique identifier of the package version. in: path @@ -44920,7 +45504,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -44956,10 +45540,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *338 - - *339 - - *74 - - *341 + - *343 + - *344 + - *76 + - *346 responses: '204': description: Response @@ -44991,10 +45575,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *338 - - *339 - - *74 - - *341 + - *343 + - *344 + - *76 + - *346 responses: '204': description: Response @@ -45021,10 +45605,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *76 - *17 - *19 - - &343 + - &348 name: sort description: The property by which to sort the results. in: query @@ -45034,8 +45618,8 @@ paths: enum: - created_at default: created_at - - *98 - - &344 + - *99 + - &349 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45047,7 +45631,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &345 + - &350 name: repository description: The name of the repository to use to filter the results. in: query @@ -45056,7 +45640,7 @@ paths: type: string examples: - Hello-World - - &346 + - &351 name: permission description: The permission to use to filter the results. in: query @@ -45065,7 +45649,7 @@ paths: type: string examples: - issues_read - - &347 + - &352 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) @@ -45075,7 +45659,7 @@ paths: schema: type: string format: date-time - - &348 + - &353 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) @@ -45085,7 +45669,7 @@ paths: schema: type: string format: date-time - - &349 + - &354 name: token_id description: The ID of the token in: query @@ -45098,7 +45682,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45233,7 +45817,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45253,7 +45837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *76 requestBody: required: true content: @@ -45295,7 +45879,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45320,7 +45904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *74 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45357,11 +45941,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45382,7 +45966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *74 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45393,7 +45977,7 @@ paths: - *17 - *19 responses: - '500': *89 + '500': *38 '404': *6 '403': *27 '200': @@ -45402,11 +45986,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45427,19 +46011,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *74 + - *76 - *17 - *19 - - *343 - - *98 - - *344 - - *345 - - *346 - - *347 - *348 + - *99 - *349 + - *350 + - *351 + - *352 + - *353 + - *354 responses: - '500': *89 + '500': *38 '422': *15 '404': *6 '403': *27 @@ -45568,7 +46152,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45588,7 +46172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *74 + - *76 requestBody: required: true content: @@ -45623,7 +46207,7 @@ paths: - 1296269 - 1296280 responses: - '500': *89 + '500': *38 '404': *6 '202': *37 '403': *27 @@ -45648,7 +46232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *74 + - *76 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -45676,9 +46260,9 @@ paths: value: action: revoke responses: - '500': *89 + '500': *38 '404': *6 - '204': *128 + '204': *129 '403': *27 '422': *15 x-github: @@ -45700,7 +46284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *74 + - *76 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -45710,7 +46294,7 @@ paths: - *17 - *19 responses: - '500': *89 + '500': *38 '404': *6 '403': *27 '200': @@ -45719,11 +46303,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45745,7 +46329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -45763,7 +46347,7 @@ paths: type: integer configurations: type: array - items: &350 + items: &355 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45832,7 +46416,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *38 + Link: *41 '400': *14 '404': *6 x-github: @@ -45854,7 +46438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -46022,7 +46606,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &351 + org-private-registry-with-selected-visibility: &356 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46063,7 +46647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -46091,7 +46675,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -46113,16 +46697,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *350 + schema: *355 examples: - default: *351 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -46143,8 +46727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 requestBody: required: true content: @@ -46240,8 +46824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *74 - - *242 + - *76 + - *250 responses: '204': description: Response @@ -46266,7 +46850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *74 + - *76 - name: state description: Indicates the state of the projects to return. in: query @@ -46287,7 +46871,7 @@ paths: application/json: schema: type: array - items: &352 + items: &357 title: Project description: Projects are a way to organize columns and cards of work. @@ -46420,7 +47004,7 @@ paths: organization_permission: write private: true headers: - Link: *38 + Link: *41 '422': *7 x-github: githubCloudOnly: false @@ -46443,7 +47027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *74 + - *76 requestBody: required: true content: @@ -46469,7 +47053,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -46507,7 +47091,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &430 + '410': &435 description: Gone content: application/json: @@ -46533,15 +47117,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *74 + - *76 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *96 - *97 + - *98 - *17 responses: '200': @@ -46550,7 +47134,7 @@ paths: application/json: schema: type: array - items: &353 + items: &358 title: Projects v2 Project description: A projects v2 project type: object @@ -46624,7 +47208,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &848 + - &854 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46709,7 +47293,7 @@ paths: - deleted_at - deleted_by examples: - default: &354 + default: &359 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46792,7 +47376,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -46812,24 +47396,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &355 + - &360 name: project_number description: The project's number. in: path required: true schema: type: integer - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *353 + schema: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -46849,11 +47433,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *355 - - *74 + - *360 + - *76 - *17 - - *96 - *97 + - *98 responses: '200': description: Response @@ -46861,7 +47445,7 @@ paths: application/json: schema: type: array - items: &356 + items: &361 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47011,7 +47595,7 @@ paths: - updated_at - project_url examples: - default: &357 + default: &362 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47034,7 +47618,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47054,25 +47638,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *355 - - &784 + - *360 + - &790 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *356 + schema: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47093,8 +47677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *355 - - *74 + - *360 + - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -47114,8 +47698,8 @@ paths: type: string examples: - fields[]=123,fields[]=456,fields[]=789 - - *96 - *97 + - *98 - *17 responses: '200': @@ -47124,7 +47708,7 @@ paths: application/json: schema: type: array - items: &361 + items: &366 title: Projects v2 Item description: An item belonging to a project type: object @@ -47141,7 +47725,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &360 + content_type: &365 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47198,7 +47782,7 @@ paths: - updated_at - archived_at examples: - default: &362 + default: &367 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47872,7 +48456,7 @@ paths: type: sub_issues_progress value: headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -47892,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *74 - - *355 + - *76 + - *360 requestBody: required: true description: Details of the item to add to the project. @@ -47930,7 +48514,7 @@ paths: description: Response content: application/json: - schema: &785 + schema: &791 title: Projects v2 Item description: An item belonging to a project type: object @@ -47943,8 +48527,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *185 - - &539 + - *193 + - &544 title: Pull Request Simple description: Pull Request Simple type: object @@ -48064,7 +48648,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 active_lock_reason: type: - string @@ -48119,7 +48703,7 @@ paths: type: - array - 'null' - items: *260 + items: *267 head: type: object properties: @@ -48127,7 +48711,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: @@ -48147,7 +48731,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: @@ -48163,7 +48747,7 @@ paths: _links: type: object properties: - comments: &359 + comments: &364 title: Link description: Hypermedia Link type: object @@ -48172,13 +48756,13 @@ paths: type: string required: - href - commits: *359 - statuses: *359 - html: *359 - issue: *359 - review_comments: *359 - review_comment: *359 - self: *359 + commits: *364 + statuses: *364 + html: *364 + issue: *364 + review_comments: *364 + review_comment: *364 + self: *364 required: - comments - commits @@ -48188,8 +48772,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: &645 + author_association: *180 + auto_merge: &650 title: Auto merge description: The status of auto merging a pull request. type: @@ -48291,7 +48875,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *360 + content_type: *365 creator: *4 created_at: type: string @@ -48328,7 +48912,7 @@ paths: - updated_at - archived_at examples: - default: &786 + default: &792 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -48402,9 +48986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *355 - - *74 - - &363 + - *360 + - *76 + - &368 name: item_id description: The unique identifier of the project item. in: path @@ -48428,11 +49012,11 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -48451,9 +49035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *355 - - *74 - - *363 + - *360 + - *76 + - *368 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48526,9 +49110,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 @@ -48548,9 +49132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *355 - - *74 - - *363 + - *360 + - *76 + - *368 responses: '204': description: Response @@ -48569,12 +49153,12 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -48582,9 +49166,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -48606,12 +49190,12 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -48622,7 +49206,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *124 + items: *125 minItems: 1 maxItems: 100 required: @@ -48652,9 +49236,9 @@ paths: application/json: schema: type: array - items: *124 + items: *125 examples: - default: *125 + default: *126 '403': *27 '404': *6 x-github: @@ -48670,21 +49254,21 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 responses: '200': description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -48702,18 +49286,18 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 requestBody: required: true content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -48729,9 +49313,9 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: - default: *127 + default: *128 '403': *27 '404': *6 x-github: @@ -48749,15 +49333,15 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *74 - - *126 + - *76 + - *127 responses: - '204': *128 + '204': *129 '403': *27 '404': *6 x-github: @@ -48778,7 +49362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *74 + - *76 - *17 - *19 - name: repository_query @@ -48819,7 +49403,7 @@ paths: - octocat/Hello-World properties: type: array - items: &365 + items: &370 title: Custom Property Value description: Custom property name and associated value type: object @@ -48861,7 +49445,7 @@ paths: - property_name: team value: octocat headers: - Link: *38 + Link: *41 '403': *27 '404': *6 x-github: @@ -48889,7 +49473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *74 + - *76 requestBody: required: true content: @@ -48909,7 +49493,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *365 + items: *370 required: - repository_names - properties @@ -48950,7 +49534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *74 + - *76 - *17 - *19 responses: @@ -48962,9 +49546,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48981,8 +49565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response if user is a public member @@ -49006,8 +49590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -49028,8 +49612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *254 + - *76 + - *176 responses: '204': description: Response @@ -49053,7 +49637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *74 + - *76 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -49100,11 +49684,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49123,7 +49707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *74 + - *76 requestBody: required: true content: @@ -49306,7 +49890,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &437 title: Full Repository description: Full Repository type: object @@ -49652,7 +50236,7 @@ paths: template_repository: anyOf: - type: 'null' - - *65 + - *67 temp_clone_token: type: - string @@ -49752,13 +50336,13 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 organization: anyOf: - type: 'null' - *4 - parent: *65 - source: *65 + parent: *67 + source: *67 forks: type: integer master_branch: @@ -49771,7 +50355,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &544 + code_of_conduct: &549 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -49801,7 +50385,7 @@ paths: - key - name - html_url - security_and_analysis: *366 + security_and_analysis: *371 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49885,7 +50469,7 @@ paths: - network_count - subscribers_count examples: - default: &434 + default: &439 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50403,7 +50987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response @@ -50411,9 +50995,9 @@ paths: application/json: schema: type: array - items: *367 + items: *372 examples: - default: *368 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -50435,10 +51019,10 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - *17 - *19 - - &667 + - &673 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50457,7 +51041,7 @@ paths: application/json: schema: type: array - items: *157 + items: *158 examples: default: value: @@ -50488,7 +51072,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -50504,7 +51088,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 requestBody: description: Request body required: true @@ -50525,21 +51109,20 @@ paths: - push - repository default: branch - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *369 + items: *137 + conditions: *374 rules: type: array description: An array of rules within the ruleset. - items: &371 + items: &376 title: Repository Rule type: object description: A repository rule. oneOf: - - *137 - *138 - *139 - *140 @@ -50559,6 +51142,7 @@ paths: - *154 - *155 - *156 + - *157 required: - name - enforcement @@ -50596,9 +51180,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &370 + default: &375 value: id: 21 name: super cool ruleset @@ -50638,7 +51222,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -50652,8 +51236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *74 - - &669 + - *76 + - &675 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 @@ -50663,16 +51247,16 @@ paths: schema: type: string x-multi-segment: true - - *257 - - *93 - - &670 + - *264 + - *94 + - &676 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 - - &671 + - &677 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50692,7 +51276,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &678 title: Rule Suites description: Response type: array @@ -50748,7 +51332,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &673 + default: &679 value: - id: 21 actor_id: 12 @@ -50772,7 +51356,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50791,8 +51375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *74 - - &674 + - *76 + - &680 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50808,7 +51392,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &681 title: Rule Suite description: Response type: object @@ -50915,7 +51499,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &676 + default: &682 value: id: 21 actor_id: 12 @@ -50950,7 +51534,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50976,7 +51560,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -50988,11 +51572,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *370 + default: *375 '404': *6 - '500': *89 + '500': *38 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -51008,7 +51592,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51034,16 +51618,16 @@ paths: - tag - push - repository - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *369 + items: *137 + conditions: *374 rules: description: An array of rules within the ruleset. type: array - items: *371 + items: *376 examples: default: value: @@ -51078,11 +51662,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *370 + default: *375 '404': *6 - '500': *89 + '500': *38 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -51098,7 +51682,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51109,7 +51693,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -51121,7 +51705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *74 + - *76 - *17 - *19 - name: ruleset_id @@ -51137,11 +51721,11 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: - default: *372 + default: *377 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51158,7 +51742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *74 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51176,7 +51760,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -51216,7 +51800,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51238,15 +51822,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *74 - - *374 - - *375 - - *376 - - *377 - - *98 + - *76 + - *379 + - *380 + - *381 + - *382 + - *99 - *19 - *17 - - &678 + - &684 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 @@ -51256,7 +51840,7 @@ paths: required: false schema: type: string - - &679 + - &685 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 @@ -51266,10 +51850,10 @@ paths: required: false schema: type: string - - *378 - - *379 - - *380 - - *381 + - *383 + - *384 + - *385 + - *386 responses: '200': description: Response @@ -51277,13 +51861,13 @@ paths: application/json: schema: type: array - items: *382 + items: *387 examples: - default: *383 + default: *388 headers: - Link: *38 + Link: *41 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51308,15 +51892,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *384 + schema: *389 examples: - default: *385 + default: *390 '403': *27 '404': *6 patch: @@ -51337,7 +51921,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *76 requestBody: required: true content: @@ -51345,7 +51929,7 @@ paths: schema: type: object properties: - pattern_config_version: *164 + pattern_config_version: *165 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -51371,7 +51955,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *164 + custom_pattern_version: *165 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -51407,7 +51991,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *15 "/orgs/{org}/security-advisories": get: @@ -51425,8 +52009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *74 - - *98 + - *76 + - *99 - name: sort description: The property to sort the results by. in: query @@ -51438,8 +52022,8 @@ paths: - updated - published default: created - - *96 - *97 + - *98 - name: per_page description: The number of advisories to return per page. 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)." @@ -51469,7 +52053,7 @@ paths: application/json: schema: type: array - items: &700 + items: &706 description: A repository security advisory. type: object properties: @@ -51677,7 +52261,7 @@ paths: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: - array @@ -51713,7 +52297,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 credits_detailed: type: - array @@ -51724,7 +52308,7 @@ paths: type: object properties: user: *4 - type: *386 + type: *391 state: type: string description: The state of the user's acceptance of the @@ -51750,13 +52334,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *260 + items: *267 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *107 + - *108 type: - 'null' required: @@ -51788,7 +52372,7 @@ paths: - private_fork additionalProperties: false examples: - default: &701 + default: &707 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52167,7 +52751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *74 + - *76 responses: '200': description: Response @@ -52175,9 +52759,9 @@ paths: application/json: schema: type: array - items: *334 + items: *339 examples: - default: *335 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52200,8 +52784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -52226,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -52256,15 +52840,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *387 + schema: *392 examples: - default: *388 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52288,8 +52872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *74 - - *389 + - *76 + - *394 - *17 - *19 responses: @@ -52297,9 +52881,9 @@ paths: description: Success content: application/json: - schema: *390 + schema: *395 examples: - default: *391 + default: *396 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52321,15 +52905,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *392 + schema: *397 examples: - default: *393 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52351,15 +52935,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *395 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52379,7 +52963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *74 + - *76 - *17 - *19 responses: @@ -52397,11 +52981,11 @@ paths: type: integer network_configurations: type: array - items: *121 + items: *122 examples: - default: *396 + default: *401 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52420,7 +53004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 + - *76 requestBody: required: true content: @@ -52462,9 +53046,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52484,18 +53068,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *123 + - *76 + - *124 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52514,8 +53098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *123 + - *76 + - *124 requestBody: required: true content: @@ -52554,9 +53138,9 @@ paths: description: Response content: application/json: - schema: *121 + schema: *122 examples: - default: *122 + default: *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52575,8 +53159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *74 - - *123 + - *76 + - *124 responses: '204': description: Response @@ -52599,18 +53183,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *74 - - *397 + - *76 + - *402 responses: '200': description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52627,7 +53211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *74 + - *76 - *17 - name: page description: Page token @@ -52646,7 +53230,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &426 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52698,7 +53282,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &422 + default: &427 value: groups: - group_id: '123' @@ -52743,8 +53327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *74 - - *333 + - *76 + - *178 - 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`). @@ -52776,13 +53360,13 @@ paths: application/json: schema: type: array - items: *168 + items: *169 examples: - default: *169 - '500': *89 + default: *170 + '500': *38 '403': *27 '404': *6 - '422': *170 + '422': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52800,7 +53384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *74 + - *76 - *17 - *19 responses: @@ -52810,11 +53394,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '403': *27 x-github: githubCloudOnly: false @@ -52834,7 +53418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *74 + - *76 requestBody: required: true content: @@ -52906,7 +53490,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &405 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52980,7 +53564,7 @@ paths: parent: anyOf: - type: 'null' - - *334 + - *339 members_count: type: integer examples: @@ -53286,7 +53870,7 @@ paths: - repos_count - organization examples: - default: &401 + default: &406 value: id: 1 node_id: MDQ6VGVhbTE= @@ -53356,16 +53940,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -53386,8 +53970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: false content: @@ -53450,16 +54034,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '201': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 '422': *15 '403': *27 @@ -53484,8 +54068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -53511,9 +54095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *74 - - *333 - - *98 + - *76 + - *178 + - *99 - *17 - *19 - name: pinned @@ -53529,7 +54113,7 @@ paths: application/json: schema: type: array - items: &402 + items: &407 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -53620,7 +54204,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *173 + reactions: *181 required: - author - body @@ -53640,7 +54224,7 @@ paths: - updated_at - url examples: - default: &744 + default: &750 value: - author: login: octocat @@ -53690,7 +54274,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53714,8 +54298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -53749,9 +54333,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &403 + default: &408 value: author: login: octocat @@ -53823,9 +54407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *74 - - *333 - - &404 + - *76 + - *178 + - &409 name: discussion_number description: The number that identifies the discussion. in: path @@ -53837,9 +54421,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53861,9 +54445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: false content: @@ -53886,9 +54470,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: &745 + default: &751 value: author: login: octocat @@ -53958,9 +54542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 responses: '204': description: Response @@ -53986,10 +54570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *74 - - *333 - - *404 - - *98 + - *76 + - *178 + - *409 + - *99 - *17 - *19 responses: @@ -53999,7 +54583,7 @@ paths: application/json: schema: type: array - items: &405 + items: &410 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -54064,7 +54648,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *173 + reactions: *181 required: - author - body @@ -54079,7 +54663,7 @@ paths: - updated_at - url examples: - default: &746 + default: &752 value: - author: login: octocat @@ -54123,7 +54707,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54147,9 +54731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: true content: @@ -54171,9 +54755,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: &406 + default: &411 value: author: login: octocat @@ -54239,10 +54823,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - &407 + - *76 + - *178 + - *409 + - &412 name: comment_number description: The number that identifies the comment. in: path @@ -54254,9 +54838,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54278,10 +54862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 requestBody: required: true content: @@ -54303,9 +54887,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: &747 + default: &753 value: author: login: octocat @@ -54369,10 +54953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 responses: '204': description: Response @@ -54398,10 +54982,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 - 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. @@ -54427,7 +55011,7 @@ paths: application/json: schema: type: array - items: &408 + items: &413 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -54471,7 +55055,7 @@ paths: - content - created_at examples: - default: &410 + default: &415 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54497,7 +55081,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54521,10 +55105,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *74 - - *333 - - *404 - - *407 + - *76 + - *178 + - *409 + - *412 requestBody: required: true content: @@ -54557,9 +55141,9 @@ paths: team discussion comment content: application/json: - schema: *408 + schema: *413 examples: - default: &409 + default: &414 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -54588,9 +55172,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54613,11 +55197,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *74 - - *333 - - *404 - - *407 - - &411 + - *76 + - *178 + - *409 + - *412 + - &416 name: reaction_id description: The unique identifier of the reaction. in: path @@ -54649,9 +55233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 - 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. @@ -54677,11 +55261,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54705,9 +55289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *74 - - *333 - - *404 + - *76 + - *178 + - *409 requestBody: required: true content: @@ -54739,16 +55323,16 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54771,10 +55355,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *74 - - *333 - - *404 - - *411 + - *76 + - *178 + - *409 + - *416 responses: '204': description: Response @@ -54797,16 +55381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *412 + schema: *417 examples: - default: *413 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54825,8 +55409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -54850,9 +55434,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54871,8 +55455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '204': description: Response @@ -54896,8 +55480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -54907,11 +55491,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54931,8 +55515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *74 - - *333 + - *76 + - *178 - name: role description: Filters members returned by their role in the team. in: query @@ -54955,9 +55539,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54985,15 +55569,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 responses: '200': description: Response content: application/json: - schema: &416 + schema: &421 title: Team Membership description: Team Membership type: object @@ -55021,7 +55605,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &748 + response-if-user-is-a-team-maintainer: &754 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55057,9 +55641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 requestBody: required: false content: @@ -55084,9 +55668,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-users-membership-with-team-is-now-pending: &749 + response-if-users-membership-with-team-is-now-pending: &755 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55121,9 +55705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *74 - - *333 - - *254 + - *76 + - *178 + - *176 responses: '204': description: Response @@ -55148,8 +55732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -55159,7 +55743,7 @@ paths: application/json: schema: type: array - items: &417 + items: &422 title: Team Project description: A team's access to a project. type: object @@ -55228,7 +55812,7 @@ paths: - updated_at - permissions examples: - default: &750 + default: &756 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55268,7 +55852,7 @@ paths: write: true admin: false headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55291,9 +55875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *74 - - *333 - - &418 + - *76 + - *178 + - &423 name: project_id description: The unique identifier of the project. in: path @@ -55305,9 +55889,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *422 examples: - default: &751 + default: &757 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55369,9 +55953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *74 - - *333 - - *418 + - *76 + - *178 + - *423 requestBody: required: false content: @@ -55438,9 +56022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *74 - - *333 - - *418 + - *76 + - *178 + - *423 responses: '204': description: Response @@ -55467,8 +56051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -55478,11 +56062,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55509,16 +56093,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &752 + schema: &758 title: Team Repository description: A team's access to a repository. type: object @@ -55544,7 +56128,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 forks: type: integer permissions: @@ -56159,10 +56743,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 requestBody: required: false content: @@ -56207,10 +56791,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *74 - - *333 - - *419 - - *420 + - *76 + - *178 + - *424 + - *425 responses: '204': description: Response @@ -56236,16 +56820,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *74 - - *333 + - *76 + - *178 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56267,8 +56851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *74 - - *333 + - *76 + - *178 requestBody: required: true content: @@ -56311,7 +56895,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -56343,8 +56927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *74 - - *333 + - *76 + - *178 - *17 - *19 responses: @@ -56354,9 +56938,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - response-if-child-teams-exist: &753 + response-if-child-teams-exist: &759 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56384,7 +56968,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56409,7 +56993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *74 + - *76 - name: security_product in: path description: The security feature to enable or disable. @@ -56483,7 +57067,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &423 + - &428 name: card_id description: The unique identifier of the card. in: path @@ -56495,7 +57079,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &429 title: Project Card description: Project cards represent a scope of work. type: object @@ -56570,7 +57154,7 @@ paths: - created_at - updated_at examples: - default: &425 + default: &430 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -56626,7 +57210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *423 + - *428 requestBody: required: false content: @@ -56656,9 +57240,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '304': *35 '403': *27 '401': *23 @@ -56685,7 +57269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *423 + - *428 responses: '204': description: Response @@ -56729,7 +57313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *423 + - *428 requestBody: required: true content: @@ -56842,7 +57426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &426 + - &431 name: column_id description: The unique identifier of the column. in: path @@ -56854,7 +57438,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &432 title: Project Column description: Project columns contain cards of work. type: object @@ -56908,7 +57492,7 @@ paths: - created_at - updated_at examples: - default: &428 + default: &433 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56943,7 +57527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *426 + - *431 requestBody: required: true content: @@ -56968,9 +57552,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '304': *35 '403': *27 '401': *23 @@ -56995,7 +57579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *426 + - *431 responses: '204': description: Response @@ -57024,7 +57608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *426 + - *431 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -57045,7 +57629,7 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: default: value: @@ -57079,7 +57663,7 @@ paths: content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 project_url: https://api.github.com/projects/120 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -57104,7 +57688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *426 + - *431 requestBody: required: true content: @@ -57148,9 +57732,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '304': *35 '403': *27 '401': *23 @@ -57160,8 +57744,8 @@ paths: application/json: schema: oneOf: - - *209 - - *210 + - *217 + - *218 '503': description: Response content: @@ -57206,7 +57790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *426 + - *431 requestBody: required: true content: @@ -57267,15 +57851,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *418 + - *423 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: &429 + default: &434 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -57332,7 +57916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *418 + - *423 requestBody: required: false content: @@ -57381,9 +57965,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: *429 + default: *434 '404': description: Not Found if the authenticated user does not have access to the project @@ -57404,7 +57988,7 @@ paths: items: type: string '401': *23 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -57427,7 +58011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *418 + - *423 responses: '204': description: Delete Success @@ -57448,7 +58032,7 @@ paths: items: type: string '401': *23 - '410': *430 + '410': *435 '404': *6 x-github: githubCloudOnly: false @@ -57472,7 +58056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *418 + - *423 - 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 @@ -57499,9 +58083,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 '422': *15 '304': *35 @@ -57529,8 +58113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *418 - - *254 + - *423 + - *176 requestBody: required: false content: @@ -57584,8 +58168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *418 - - *254 + - *423 + - *176 responses: '204': description: Response @@ -57616,8 +58200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *418 - - *254 + - *423 + - *176 responses: '200': description: Response @@ -57687,7 +58271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *418 + - *423 - *17 - *19 responses: @@ -57697,7 +58281,7 @@ paths: application/json: schema: type: array - items: *427 + items: *432 examples: default: value: @@ -57710,7 +58294,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -57735,7 +58319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *418 + - *423 requestBody: required: true content: @@ -57759,7 +58343,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: default: value: @@ -57824,7 +58408,7 @@ paths: resources: type: object properties: - core: &431 + core: &436 title: Rate Limit type: object properties: @@ -57841,21 +58425,21 @@ paths: - remaining - reset - used - graphql: *431 - search: *431 - code_search: *431 - source_import: *431 - integration_manifest: *431 - code_scanning_upload: *431 - actions_runner_registration: *431 - scim: *431 - dependency_snapshots: *431 - dependency_sbom: *431 - code_scanning_autofix: *431 + graphql: *436 + search: *436 + code_search: *436 + source_import: *436 + integration_manifest: *436 + code_scanning_upload: *436 + actions_runner_registration: *436 + scim: *436 + dependency_snapshots: *436 + dependency_sbom: *436 + code_scanning_autofix: *436 required: - core - search - rate: *431 + rate: *436 required: - rate - resources @@ -57960,14 +58544,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: default-response: summary: Default response @@ -58472,7 +59056,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *433 + '301': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58490,8 +59074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -58749,10 +59333,10 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 - '307': &435 + default: *439 + '307': &440 description: Temporary Redirect content: application/json: @@ -58781,8 +59365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -58804,9 +59388,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *435 + '307': *440 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58828,11 +59412,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - - &450 + - &455 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58855,7 +59439,7 @@ paths: type: integer artifacts: type: array - items: &436 + items: &441 title: Artifact description: An artifact type: object @@ -58950,7 +59534,7 @@ paths: - expires_at - updated_at examples: - default: &451 + default: &456 value: total_count: 2 artifacts: @@ -58989,7 +59573,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59011,9 +59595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *419 - - *420 - - &437 + - *424 + - *425 + - &442 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59025,7 +59609,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *441 examples: default: value: @@ -59063,9 +59647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *419 - - *420 - - *437 + - *424 + - *425 + - *442 responses: '204': description: Response @@ -59089,9 +59673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *419 - - *420 - - *437 + - *424 + - *425 + - *442 - name: archive_format in: path required: true @@ -59105,7 +59689,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': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59128,14 +59712,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *438 + schema: *443 examples: default: value: @@ -59161,11 +59745,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: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - - &439 + - &444 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 @@ -59193,13 +59777,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *98 + - *99 responses: '200': description: Response content: application/json: - schema: &440 + schema: &445 title: Repository actions caches description: Repository actions caches type: object @@ -59249,7 +59833,7 @@ paths: - total_count - actions_caches examples: - default: &441 + default: &446 value: total_count: 1 actions_caches: @@ -59261,7 +59845,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59281,23 +59865,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: - - *419 - - *420 + - *424 + - *425 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *439 + - *444 responses: '200': description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59317,8 +59901,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: - - *419 - - *420 + - *424 + - *425 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59349,9 +59933,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: - - *419 - - *420 - - &442 + - *424 + - *425 + - &447 name: job_id description: The unique identifier of the job. in: path @@ -59363,7 +59947,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &459 title: Job description: Information of a job execution in a workflow run type: object @@ -59710,9 +60294,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: - - *419 - - *420 - - *442 + - *424 + - *425 + - *447 responses: '302': description: Response @@ -59740,9 +60324,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: - - *419 - - *420 - - *442 + - *424 + - *425 + - *447 requestBody: required: false content: @@ -59764,7 +60348,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -59788,8 +60372,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Status response @@ -59839,8 +60423,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -59874,7 +60458,7 @@ paths: description: Empty response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -59903,8 +60487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -59922,7 +60506,7 @@ paths: type: integer secrets: type: array - items: &456 + items: &461 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59943,7 +60527,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &462 value: total_count: 2 secrets: @@ -59954,7 +60538,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59976,9 +60560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *419 - - *420 - - *443 + - *424 + - *425 + - *448 - *19 responses: '200': @@ -59995,7 +60579,7 @@ paths: type: integer variables: type: array - items: &460 + items: &465 title: Actions Variable type: object properties: @@ -60029,7 +60613,7 @@ paths: - created_at - updated_at examples: - default: &461 + default: &466 value: total_count: 2 variables: @@ -60042,7 +60626,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60062,8 +60646,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -60072,12 +60656,12 @@ paths: schema: type: object properties: - enabled: &444 + enabled: &449 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *47 - selected_actions_url: *219 - sha_pinning_required: *48 + allowed_actions: *49 + selected_actions_url: *227 + sha_pinning_required: *50 required: - enabled examples: @@ -60107,8 +60691,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60119,9 +60703,9 @@ paths: schema: type: object properties: - enabled: *444 - allowed_actions: *47 - sha_pinning_required: *48 + enabled: *449 + allowed_actions: *49 + sha_pinning_required: *50 required: - enabled examples: @@ -60152,14 +60736,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &445 + schema: &450 type: object properties: access_level: @@ -60177,7 +60761,7 @@ paths: required: - access_level examples: - default: &446 + default: &451 value: access_level: organization x-github: @@ -60202,15 +60786,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *445 + schema: *450 examples: - default: *446 + default: *451 responses: '204': description: Response @@ -60234,14 +60818,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *221 + schema: *229 examples: default: value: @@ -60265,8 +60849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Empty response for successful settings update @@ -60276,7 +60860,7 @@ paths: required: true content: application/json: - schema: *222 + schema: *230 examples: default: summary: Set retention days @@ -60300,16 +60884,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *49 + schema: *51 examples: - default: *223 + default: *231 '404': *6 x-github: enabledForGitHubApps: true @@ -60328,8 +60912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60339,7 +60923,7 @@ paths: required: true content: application/json: - schema: *49 + schema: *51 examples: default: summary: Set approval policy to first time contributors @@ -60363,16 +60947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *224 + schema: *232 examples: - default: *50 + default: *52 '403': *27 '404': *6 x-github: @@ -60392,15 +60976,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *225 + schema: *233 examples: - default: *50 + default: *52 responses: '204': description: Empty response for successful settings update @@ -60424,16 +61008,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *52 + schema: *54 examples: - default: *53 + default: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60456,8 +61040,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -60465,9 +61049,9 @@ paths: required: false content: application/json: - schema: *52 + schema: *54 examples: - selected_actions: *53 + selected_actions: *55 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60489,16 +61073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *228 + schema: *236 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60519,8 +61103,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Success response @@ -60531,9 +61115,9 @@ paths: required: true content: application/json: - schema: *229 + schema: *237 examples: - default: *56 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60560,8 +61144,8 @@ paths: in: query schema: type: string - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -60579,11 +61163,11 @@ paths: type: integer runners: type: array - items: *63 + items: *65 examples: - default: *64 + default: *66 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60605,8 +61189,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -60614,9 +61198,9 @@ paths: application/json: schema: type: array - items: *233 + items: *241 examples: - default: *234 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60638,8 +61222,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -60682,10 +61266,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *235 + '201': *243 '404': *6 '422': *7 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60713,16 +61297,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *236 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60750,16 +61334,16 @@ 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: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response content: application/json: - schema: *66 + schema: *68 examples: - default: *237 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60781,17 +61365,17 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: '200': description: Response content: application/json: - schema: *63 + schema: *65 examples: - default: *238 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60812,9 +61396,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: '204': description: Response @@ -60840,11 +61424,11 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: - '200': *68 + '200': *70 '404': *6 x-github: githubCloudOnly: false @@ -60866,9 +61450,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 requestBody: required: true content: @@ -60892,7 +61476,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -60916,9 +61500,9 @@ 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: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 requestBody: required: true content: @@ -60943,7 +61527,7 @@ paths: - gpu - accelerated responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -60967,11 +61551,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *419 - - *420 - - *62 + - *424 + - *425 + - *64 responses: - '200': *239 + '200': *247 '404': *6 x-github: githubCloudOnly: false @@ -60998,12 +61582,12 @@ 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: - - *419 - - *420 - - *62 - - *240 + - *424 + - *425 + - *64 + - *248 responses: - '200': *68 + '200': *70 '404': *6 '422': *7 x-github: @@ -61029,9 +61613,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: - - *419 - - *420 - - &464 + - *424 + - *425 + - &469 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. @@ -61039,7 +61623,7 @@ paths: required: false schema: type: string - - &465 + - &470 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61047,7 +61631,7 @@ paths: required: false schema: type: string - - &466 + - &471 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61056,7 +61640,7 @@ paths: required: false schema: type: string - - &467 + - &472 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 @@ -61083,7 +61667,7 @@ paths: - pending - *17 - *19 - - &468 + - &473 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)." @@ -61092,7 +61676,7 @@ paths: schema: type: string format: date-time - - &447 + - &452 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61101,13 +61685,13 @@ paths: schema: type: boolean default: false - - &469 + - &474 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &470 + - &475 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61130,7 +61714,7 @@ paths: type: integer workflow_runs: type: array - items: &448 + items: &453 title: Workflow Run description: An invocation of a workflow type: object @@ -61247,7 +61831,7 @@ paths: type: - array - 'null' - items: &489 + items: &494 title: Pull Request Minimal type: object properties: @@ -61374,7 +61958,7 @@ paths: head_commit: anyOf: - type: 'null' - - &493 + - &498 title: Simple Commit description: A commit. type: object @@ -61448,8 +62032,8 @@ paths: - timestamp - author - committer - repository: *232 - head_repository: *232 + repository: *240 + head_repository: *240 head_repository_id: type: integer examples: @@ -61489,7 +62073,7 @@ paths: - workflow_url - pull_requests examples: - default: &471 + default: &476 value: total_count: 1 workflow_runs: @@ -61703,7 +62287,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61725,24 +62309,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *419 - - *420 - - &449 + - *424 + - *425 + - &454 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *447 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: &452 + default: &457 value: id: 30433642 name: Build @@ -61983,9 +62567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '204': description: Response @@ -62008,9 +62592,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -62138,15 +62722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -62173,12 +62757,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 - *17 - *19 - - *450 + - *455 responses: '200': description: Response @@ -62194,11 +62778,11 @@ paths: type: integer artifacts: type: array - items: *436 + items: *441 examples: - default: *451 + default: *456 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62220,25 +62804,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *419 - - *420 - - *449 - - &453 + - *424 + - *425 + - *454 + - &458 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *447 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *452 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62261,10 +62845,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: - - *419 - - *420 - - *449 - - *453 + - *424 + - *425 + - *454 + - *458 - *17 - *19 responses: @@ -62282,9 +62866,9 @@ paths: type: integer jobs: type: array - items: *454 + items: *459 examples: - default: &455 + default: &460 value: total_count: 1 jobs: @@ -62373,7 +62957,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -62397,10 +62981,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *419 - - *420 - - *449 - - *453 + - *424 + - *425 + - *454 + - *458 responses: '302': description: Response @@ -62428,19 +63012,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '202': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62463,9 +63047,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: true content: @@ -62532,19 +63116,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '202': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62567,9 +63151,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 - 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 @@ -62599,11 +63183,11 @@ paths: type: integer jobs: type: array - items: *454 + items: *459 examples: - default: *455 + default: *460 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62626,9 +63210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '302': description: Response @@ -62655,14 +63239,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '204': description: Response '403': *27 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62684,9 +63268,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -62755,7 +63339,7 @@ paths: items: type: object properties: - type: &572 + type: &577 type: string description: The type of reviewer. enum: @@ -62766,7 +63350,7 @@ paths: reviewer: anyOf: - *4 - - *260 + - *267 required: - environment - wait_timer @@ -62841,9 +63425,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: true content: @@ -62893,7 +63477,7 @@ paths: application/json: schema: type: array - items: &558 + items: &563 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63005,7 +63589,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &564 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63061,9 +63645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: false content: @@ -63085,7 +63669,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63108,9 +63692,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: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 requestBody: required: false content: @@ -63132,7 +63716,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63165,9 +63749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *419 - - *420 - - *449 + - *424 + - *425 + - *454 responses: '200': description: Response @@ -63304,8 +63888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -63323,11 +63907,11 @@ paths: type: integer secrets: type: array - items: *456 + items: *461 examples: - default: *457 + default: *462 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63350,16 +63934,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *458 + schema: *463 examples: - default: *459 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63381,17 +63965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: &585 + default: &590 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63417,9 +64001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -63450,7 +64034,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63476,9 +64060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -63503,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *419 - - *420 - - *443 + - *424 + - *425 + - *448 - *19 responses: '200': @@ -63522,11 +64106,11 @@ paths: type: integer variables: type: array - items: *460 + items: *465 examples: - default: *461 + default: *466 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63547,8 +64131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -63575,7 +64159,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -63600,17 +64184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 responses: '200': description: Response content: application/json: - schema: *460 + schema: *465 examples: - default: &586 + default: &591 value: name: USERNAME value: octocat @@ -63636,9 +64220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 requestBody: required: true content: @@ -63680,9 +64264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *419 - - *420 - - *245 + - *424 + - *425 + - *253 responses: '204': description: Response @@ -63707,8 +64291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -63726,7 +64310,7 @@ paths: type: integer workflows: type: array - items: &462 + items: &467 title: Workflow description: A GitHub Actions workflow type: object @@ -63821,7 +64405,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63844,9 +64428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *419 - - *420 - - &463 + - *424 + - *425 + - &468 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63861,7 +64445,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *467 examples: default: value: @@ -63894,9 +64478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -63921,9 +64505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -63974,9 +64558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '204': description: Response @@ -64003,19 +64587,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: - - *419 - - *420 - - *463 - - *464 - - *465 - - *466 - - *467 - - *17 - - *19 + - *424 + - *425 - *468 - - *447 - *469 - *470 + - *471 + - *472 + - *17 + - *19 + - *473 + - *452 + - *474 + - *475 responses: '200': description: Response @@ -64031,11 +64615,11 @@ paths: type: integer workflow_runs: type: array - items: *448 + items: *453 examples: - default: *471 + default: *476 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64066,9 +64650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *419 - - *420 - - *463 + - *424 + - *425 + - *468 responses: '200': description: Response @@ -64129,12 +64713,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *419 - - *420 - - *98 + - *424 + - *425 + - *99 - *17 - - *96 - *97 + - *98 - name: ref description: |- The Git reference for the activities you want to list. @@ -64279,7 +64863,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '422': *7 x-github: githubCloudOnly: false @@ -64298,8 +64882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -64311,9 +64895,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -64336,8 +64920,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: - - *419 - - *420 + - *424 + - *425 - name: assignee in: path required: true @@ -64373,8 +64957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -64486,11 +65070,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *419 - - *420 + - *424 + - *425 - *17 - - *96 - *97 + - *98 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -64541,7 +65125,7 @@ paths: bundle_url: type: string examples: - default: *472 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64561,8 +65145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -64570,7 +65154,7 @@ paths: application/json: schema: type: array - items: &473 + items: &478 title: Autolink reference description: An autolink reference. type: object @@ -64629,8 +65213,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -64669,9 +65253,9 @@ paths: description: response content: application/json: - schema: *473 + schema: *478 examples: - default: &474 + default: &479 value: id: 1 key_prefix: TICKET- @@ -64702,9 +65286,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: - - *419 - - *420 - - &475 + - *424 + - *425 + - &480 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64716,9 +65300,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *478 examples: - default: *474 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -64738,9 +65322,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: - - *419 - - *420 - - *475 + - *424 + - *425 + - *480 responses: '204': description: Response @@ -64764,8 +65348,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response if Dependabot is enabled @@ -64815,8 +65399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -64837,8 +65421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -64858,8 +65442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *419 - - *420 + - *424 + - *425 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64897,7 +65481,7 @@ paths: - url protected: type: boolean - protection: &477 + protection: &482 title: Branch Protection description: Branch Protection type: object @@ -64940,7 +65524,7 @@ paths: required: - contexts - checks - enforce_admins: &480 + enforce_admins: &485 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64957,7 +65541,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &482 + required_pull_request_reviews: &487 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64979,7 +65563,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *260 + items: *267 apps: description: The list of apps with review dismissal access. @@ -65011,7 +65595,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *260 + items: *267 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65041,7 +65625,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &479 + restrictions: &484 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65104,7 +65688,7 @@ paths: type: string teams: type: array - items: *260 + items: *267 apps: type: array items: @@ -65316,7 +65900,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -65334,9 +65918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *419 - - *420 - - &478 + - *424 + - *425 + - &483 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). @@ -65350,14 +65934,14 @@ paths: description: Response content: application/json: - schema: &488 + schema: &493 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &535 + commit: &540 title: Commit description: Commit type: object @@ -65396,7 +65980,7 @@ paths: author: anyOf: - type: 'null' - - &476 + - &481 title: Git User description: Metaproperties for Git author/committer information. @@ -65417,7 +66001,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 message: type: string examples: @@ -65441,7 +66025,7 @@ paths: required: - sha - url - verification: &592 + verification: &597 title: Verification type: object properties: @@ -65477,14 +66061,14 @@ paths: author: oneOf: - *4 - - *243 + - *251 type: - 'null' - object committer: oneOf: - *4 - - *243 + - *251 type: - 'null' - object @@ -65521,7 +66105,7 @@ paths: type: integer files: type: array - items: &546 + items: &551 title: Diff Entry description: Diff Entry type: object @@ -65617,7 +66201,7 @@ paths: - self protected: type: boolean - protection: *477 + protection: *482 protection_url: type: string format: uri @@ -65726,7 +66310,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *433 + '301': *438 '404': *6 x-github: githubCloudOnly: false @@ -65748,15 +66332,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *477 + schema: *482 examples: default: value: @@ -65950,9 +66534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -66212,7 +66796,7 @@ paths: url: type: string format: uri - required_status_checks: &485 + required_status_checks: &490 title: Status Check Policy description: Status Check Policy type: object @@ -66293,7 +66877,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 apps: type: array items: *5 @@ -66311,7 +66895,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 apps: type: array items: *5 @@ -66371,7 +66955,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *479 + restrictions: *484 required_conversation_resolution: type: object properties: @@ -66483,9 +67067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66510,17 +67094,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: &481 + default: &486 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66542,17 +67126,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: *481 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66571,9 +67155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66598,17 +67182,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *482 + schema: *487 examples: - default: &483 + default: &488 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66704,9 +67288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -66804,9 +67388,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *487 examples: - default: *483 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -66827,9 +67411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66856,17 +67440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: &484 + default: &489 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66889,17 +67473,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *480 + schema: *485 examples: - default: *484 + default: *489 '404': *6 x-github: githubCloudOnly: false @@ -66919,9 +67503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -66946,17 +67530,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: &486 + default: &491 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66982,9 +67566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67036,9 +67620,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: *486 + default: *491 '404': *6 '422': *15 x-github: @@ -67060,9 +67644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -67086,9 +67670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67122,9 +67706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67191,9 +67775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67257,9 +67841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: content: application/json: @@ -67325,15 +67909,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response content: application/json: - schema: *479 + schema: *484 examples: default: value: @@ -67424,9 +68008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '204': description: Response @@ -67449,9 +68033,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67461,7 +68045,7 @@ paths: type: array items: *5 examples: - default: &487 + default: &492 value: - id: 1 slug: octoapp @@ -67518,9 +68102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67554,7 +68138,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67575,9 +68159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67611,7 +68195,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67632,9 +68216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67668,7 +68252,7 @@ paths: type: array items: *5 examples: - default: *487 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67690,9 +68274,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67700,9 +68284,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -67722,9 +68306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67760,9 +68344,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67783,9 +68367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: false content: @@ -67821,9 +68405,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67844,9 +68428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: content: application/json: @@ -67881,9 +68465,9 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -67905,9 +68489,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: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 responses: '200': description: Response @@ -67917,7 +68501,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '404': *6 x-github: githubCloudOnly: false @@ -67941,9 +68525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -67976,7 +68560,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68001,9 +68585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68036,7 +68620,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68061,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68096,7 +68680,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '422': *15 x-github: githubCloudOnly: false @@ -68123,9 +68707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 requestBody: required: true content: @@ -68147,7 +68731,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *493 examples: default: value: @@ -68261,12 +68845,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -68276,11 +68860,11 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *256 + default: *263 '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -68298,8 +68882,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68313,7 +68897,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *262 examples: default: value: @@ -68351,7 +68935,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -68372,12 +68956,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - *94 + - *95 - *17 - *19 responses: @@ -68387,12 +68971,12 @@ paths: application/json: schema: type: array - items: *258 + items: *265 examples: - default: *259 + default: *266 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -68413,8 +68997,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68426,7 +69010,7 @@ paths: description: A single bypass request. content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -68464,7 +69048,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review a bypass request for secret scanning description: |- @@ -68484,8 +69068,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_request_number in: path required: true @@ -68535,7 +69119,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -68556,8 +69140,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *419 - - *420 + - *424 + - *425 - name: bypass_response_id in: path required: true @@ -68570,7 +69154,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -68590,8 +69174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -68870,7 +69454,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &495 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69005,8 +69589,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *489 - deployment: &809 + items: *494 + deployment: &815 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69293,9 +69877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *419 - - *420 - - &491 + - *424 + - *425 + - &496 name: check_run_id description: The unique identifier of the check run. in: path @@ -69307,9 +69891,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *495 examples: - default: &492 + default: &497 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69409,9 +69993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 requestBody: required: true content: @@ -69651,9 +70235,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *495 examples: - default: *492 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69673,9 +70257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 - *17 - *19 responses: @@ -69765,7 +70349,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69785,15 +70369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *419 - - *420 - - *491 + - *424 + - *425 + - *496 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -69831,8 +70415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -69854,7 +70438,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &494 + schema: &499 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69936,12 +70520,12 @@ paths: type: - array - 'null' - items: *489 + items: *494 app: anyOf: - type: 'null' - *5 - repository: *232 + repository: *240 created_at: type: - string @@ -69952,7 +70536,7 @@ paths: - string - 'null' format: date-time - head_commit: *493 + head_commit: *498 latest_check_runs_count: type: integer check_runs_url: @@ -69980,7 +70564,7 @@ paths: - check_runs_url - pull_requests examples: - default: &495 + default: &500 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70271,9 +70855,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *494 + schema: *499 examples: - default: *495 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70292,8 +70876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -70354,7 +70938,7 @@ paths: required: - app_id - setting - repository: *232 + repository: *240 examples: default: value: @@ -70602,9 +71186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *419 - - *420 - - &496 + - *424 + - *425 + - &501 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70616,9 +71200,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *499 examples: - default: *495 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70641,17 +71225,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: - - *419 - - *420 - - *496 - - &541 + - *424 + - *425 + - *501 + - &546 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &542 + - &547 name: status description: Returns check runs with the specified `status`. in: query @@ -70690,9 +71274,9 @@ paths: type: integer check_runs: type: array - items: *490 + items: *495 examples: - default: &543 + default: &548 value: total_count: 1 check_runs: @@ -70774,7 +71358,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70794,15 +71378,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *419 - - *420 - - *496 + - *424 + - *425 + - *501 responses: '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -70829,30 +71413,30 @@ 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: - - *419 - - *420 - - *264 - - *265 + - *424 + - *425 + - *271 + - *272 - *19 - *17 - - &512 + - &517 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: *497 - - &513 + schema: *502 + - &518 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *98 - - *96 + - *99 - *97 + - *98 - name: sort description: The property by which to sort the results. in: query @@ -70868,13 +71452,13 @@ paths: be returned. in: query required: false - schema: *266 + schema: *273 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *498 + schema: *503 responses: '200': description: Response @@ -70885,24 +71469,24 @@ paths: items: type: object properties: - number: *108 - created_at: *115 - updated_at: *116 - url: *113 - html_url: *114 - instances_url: *499 - state: *101 - fixed_at: *118 + number: *109 + created_at: *116 + updated_at: *117 + url: *114 + html_url: *115 + instances_url: *504 + state: *102 + fixed_at: *119 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *117 - dismissed_reason: *500 - dismissed_comment: *501 - rule: *502 - tool: *503 - most_recent_instance: *504 + dismissed_at: *118 + dismissed_reason: *505 + dismissed_comment: *506 + rule: *507 + tool: *508 + most_recent_instance: *509 dismissal_approved_by: anyOf: - type: 'null' @@ -71022,14 +71606,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &505 + '403': &510 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71049,9 +71633,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: - - *419 - - *420 - - &506 + - *424 + - *425 + - &511 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71059,30 +71643,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *108 + schema: *109 responses: '200': description: Response content: application/json: - schema: &507 + schema: &512 type: object properties: - number: *108 - created_at: *115 - updated_at: *116 - url: *113 - html_url: *114 - instances_url: *499 - state: *101 - fixed_at: *118 + number: *109 + created_at: *116 + updated_at: *117 + url: *114 + html_url: *115 + instances_url: *504 + state: *102 + fixed_at: *119 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *117 - dismissed_reason: *500 - dismissed_comment: *501 + dismissed_at: *118 + dismissed_reason: *505 + dismissed_comment: *506 rule: type: object properties: @@ -71144,8 +71728,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *503 - most_recent_instance: *504 + tool: *508 + most_recent_instance: *509 dismissal_approved_by: anyOf: - type: 'null' @@ -71238,9 +71822,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71258,9 +71842,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: true content: @@ -71275,8 +71859,8 @@ paths: enum: - open - dismissed - dismissed_reason: *500 - dismissed_comment: *501 + dismissed_reason: *505 + dismissed_comment: *506 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71295,7 +71879,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *512 examples: default: value: @@ -71371,14 +71955,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &511 + '403': &516 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71398,15 +71982,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 responses: '200': description: Response content: application/json: - schema: &508 + schema: &513 type: object properties: status: @@ -71433,13 +72017,13 @@ paths: - description - started_at examples: - default: &509 + default: &514 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &510 + '400': &515 description: Bad Request content: application/json: @@ -71450,9 +72034,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71475,29 +72059,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 responses: '200': description: OK content: application/json: - schema: *508 + schema: *513 examples: - default: *509 + default: *514 '202': description: Accepted content: application/json: - schema: *508 + schema: *513 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *510 + '400': *515 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71507,7 +72091,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71529,9 +72113,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: false content: @@ -71577,12 +72161,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *510 - '403': *511 + '400': *515 + '403': *516 '404': *6 '422': description: Unprocessable Entity - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71602,13 +72186,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 - *19 - *17 - - *512 - - *513 + - *517 + - *518 responses: '200': description: Response @@ -71616,7 +72200,7 @@ paths: application/json: schema: type: array - items: *504 + items: *509 examples: default: value: @@ -71655,9 +72239,9 @@ paths: end_column: 50 classifications: - source - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71689,30 +72273,30 @@ 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: - - *419 - - *420 - - *264 - - *265 + - *424 + - *425 + - *271 + - *272 - *19 - *17 - - *513 + - *518 - 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: *497 + schema: *502 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &516 + schema: &521 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *98 + - *99 - name: sort description: The property by which to sort the results. in: query @@ -71729,23 +72313,23 @@ paths: application/json: schema: type: array - items: &517 + items: &522 type: object properties: - ref: *497 - commit_sha: &525 + ref: *502 + commit_sha: &530 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: *514 + analysis_key: *519 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *515 + category: *520 error: type: string examples: @@ -71770,8 +72354,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *516 - tool: *503 + sarif_id: *521 + tool: *508 deletable: type: boolean warning: @@ -71833,9 +72417,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71869,8 +72453,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: - - *419 - - *420 + - *424 + - *425 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71883,7 +72467,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: response: summary: application/json response @@ -71937,14 +72521,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *505 + '403': *510 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72024,8 +72608,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: - - *419 - - *420 + - *424 + - *425 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72081,9 +72665,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *511 + '403': *516 '404': *6 - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72103,8 +72687,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -72112,7 +72696,7 @@ paths: application/json: schema: type: array - items: &518 + items: &523 title: CodeQL Database description: A CodeQL database. type: object @@ -72224,9 +72808,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72253,8 +72837,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: - - *419 - - *420 + - *424 + - *425 - name: language in: path description: The language of the CodeQL database. @@ -72266,7 +72850,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *523 examples: default: value: @@ -72298,11 +72882,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &548 + '302': &553 description: Found - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72322,8 +72906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *419 - - *420 + - *424 + - *425 - name: language in: path description: The language of the CodeQL database. @@ -72333,9 +72917,9 @@ paths: responses: '204': description: Response - '403': *511 + '403': *516 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72361,8 +72945,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -72371,7 +72955,7 @@ paths: type: object additionalProperties: false properties: - language: &519 + language: &524 type: string description: The language targeted by the CodeQL query enum: @@ -72450,7 +73034,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &523 + schema: &528 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72458,9 +73042,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *107 + controller_repo: *108 actor: *4 - query_language: *519 + query_language: *524 query_pack_url: type: string description: The download url for the query pack. @@ -72508,7 +73092,7 @@ paths: items: type: object properties: - repository: &520 + repository: &525 title: Repository Identifier description: Repository Identifier type: object @@ -72550,7 +73134,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &524 + analysis_status: &529 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72582,7 +73166,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &521 + access_mismatch_repos: &526 type: object properties: repository_count: @@ -72597,7 +73181,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: *520 + items: *525 required: - repository_count - repositories @@ -72620,8 +73204,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *521 - over_limit_repos: *521 + no_codeql_db_repos: *526 + over_limit_repos: *526 required: - access_mismatch_repos - not_found_repos @@ -72637,7 +73221,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &522 + value: &527 summary: Default response value: id: 1 @@ -72789,17 +73373,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *522 + value: *527 repository_lists: summary: Response for a successful variant analysis submission - value: *522 + value: *527 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72820,8 +73404,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: - - *419 - - *420 + - *424 + - *425 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72833,11 +73417,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *528 examples: - default: *522 + default: *527 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72858,7 +73442,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: - - *419 + - *424 - name: repo in: path description: The name of the controller repository. @@ -72892,8 +73476,8 @@ paths: schema: type: object properties: - repository: *107 - analysis_status: *524 + repository: *108 + analysis_status: *529 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72997,7 +73581,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73018,8 +73602,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73112,9 +73696,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *505 + '403': *510 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73133,8 +73717,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -73203,7 +73787,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -73228,7 +73812,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *511 + '403': *516 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73242,7 +73826,7 @@ paths: content: application/json: schema: *3 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73299,8 +73883,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -73308,7 +73892,7 @@ paths: schema: type: object properties: - commit_sha: *525 + commit_sha: *530 ref: type: string description: |- @@ -73368,7 +73952,7 @@ paths: schema: type: object properties: - id: *516 + id: *521 url: type: string description: The REST API URL for checking the status of the upload. @@ -73382,11 +73966,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *511 + '403': *516 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73405,8 +73989,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: - - *419 - - *420 + - *424 + - *425 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73454,10 +74038,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *505 + '403': *510 '404': description: Not Found if the sarif id does not match any upload - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73479,8 +74063,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73504,7 +74088,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *102 + configuration: *103 examples: default: value: @@ -73536,7 +74120,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': *128 + '204': *129 '304': *35 '403': *27 '404': *6 @@ -73561,8 +74145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *419 - - *420 + - *424 + - *425 - 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 @@ -73690,8 +74274,8 @@ paths: parameters: - *17 - *19 - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -73707,7 +74291,7 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: default: value: @@ -73983,7 +74567,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': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -74005,8 +74589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -74070,22 +74654,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74109,8 +74693,8 @@ paths: parameters: - *17 - *19 - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -74150,7 +74734,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *89 + '500': *38 '400': *14 '401': *23 '403': *27 @@ -74174,8 +74758,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: - - *419 - - *420 + - *424 + - *425 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74212,9 +74796,9 @@ paths: type: integer machines: type: array - items: *527 + items: *532 examples: - default: &760 + default: &766 value: total_count: 2 machines: @@ -74231,7 +74815,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -74254,8 +74838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *419 - - *420 + - *424 + - *425 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74342,8 +74926,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: - - *419 - - *420 + - *424 + - *425 - 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 @@ -74391,7 +74975,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74412,8 +74996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -74431,7 +75015,7 @@ paths: type: integer secrets: type: array - items: &531 + items: &536 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74452,9 +75036,9 @@ paths: - created_at - updated_at examples: - default: *528 + default: *533 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74475,16 +75059,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *529 + schema: *534 examples: - default: *530 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74504,17 +75088,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *531 + schema: *536 examples: - default: *532 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74534,9 +75118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -74564,7 +75148,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -74588,9 +75172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -74618,8 +75202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *419 - - *420 + - *424 + - *425 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74657,7 +75241,7 @@ paths: application/json: schema: type: array - items: &533 + items: &538 title: Collaborator description: Collaborator type: object @@ -74825,7 +75409,7 @@ paths: admin: false role_name: write headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -74850,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '204': description: Response if user is a collaborator @@ -74898,9 +75482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 requestBody: required: false content: @@ -74926,7 +75510,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &605 + schema: &610 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74938,7 +75522,7 @@ paths: format: int64 examples: - 42 - repository: *232 + repository: *240 invitee: anyOf: - type: 'null' @@ -75114,7 +75698,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *209 + schema: *217 '403': *27 x-github: triggersNotification: true @@ -75154,9 +75738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75187,9 +75771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *419 - - *420 - - *254 + - *424 + - *425 + - *176 responses: '200': description: if user has admin permissions @@ -75209,7 +75793,7 @@ paths: user: anyOf: - type: 'null' - - *533 + - *538 required: - permission - role_name @@ -75263,8 +75847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -75274,7 +75858,7 @@ paths: application/json: schema: type: array - items: &534 + items: &539 title: Commit Comment description: Commit Comment type: object @@ -75315,8 +75899,8 @@ paths: updated_at: type: string format: date-time - author_association: *172 - reactions: *173 + author_association: *180 + reactions: *181 required: - url - html_url @@ -75332,7 +75916,7 @@ paths: - created_at - updated_at examples: - default: &537 + default: &542 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75366,7 +75950,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75391,17 +75975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: &538 + default: &543 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75458,9 +76042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -75482,7 +76066,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: default: value: @@ -75533,9 +76117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -75556,9 +76140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -75584,11 +76168,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -75607,9 +76191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -75641,16 +76225,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -75672,10 +76256,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -75724,8 +76308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *419 - - *420 + - *424 + - *425 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75781,9 +76365,9 @@ paths: application/json: schema: type: array - items: *535 + items: *540 examples: - default: &652 + default: &657 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75853,11 +76437,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *38 - '500': *89 + Link: *41 + '500': *38 '400': *14 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75877,9 +76461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *419 - - *420 - - &536 + - *424 + - *425 + - &541 name: commit_sha description: The SHA of the commit. in: path @@ -75926,7 +76510,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75951,9 +76535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 - *17 - *19 responses: @@ -75963,11 +76547,11 @@ paths: application/json: schema: type: array - items: *534 + items: *539 examples: - default: *537 + default: *542 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75993,9 +76577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 requestBody: required: true content: @@ -76030,9 +76614,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: - default: *538 + default: *543 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76060,9 +76644,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: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 - *17 - *19 responses: @@ -76072,9 +76656,9 @@ paths: application/json: schema: type: array - items: *539 + items: *544 examples: - default: &644 + default: &649 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76553,8 +77137,8 @@ paths: auto_merge: draft: false headers: - Link: *38 - '409': *106 + Link: *41 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76611,11 +77195,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 - - &540 + - &545 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)" @@ -76630,9 +77214,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *540 examples: - default: &632 + default: &637 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76718,9 +77302,9 @@ paths: ..... '422': *15 '404': *6 - '500': *89 - '503': *162 - '409': *106 + '500': *38 + '503': *163 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76745,11 +77329,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: - - *419 - - *420 - - *540 - - *541 - - *542 + - *424 + - *425 + - *545 + - *546 + - *547 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76783,11 +77367,11 @@ paths: type: integer check_runs: type: array - items: *490 + items: *495 examples: - default: *543 + default: *548 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76810,9 +77394,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: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76820,7 +77404,7 @@ paths: schema: type: integer example: 1 - - *541 + - *546 - *17 - *19 responses: @@ -76838,7 +77422,7 @@ paths: type: integer check_suites: type: array - items: *494 + items: *499 examples: default: value: @@ -77013,7 +77597,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77038,9 +77622,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: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - *17 - *19 responses: @@ -77111,7 +77695,7 @@ paths: type: string total_count: type: integer - repository: *232 + repository: *240 commit_url: type: string format: uri @@ -77242,9 +77826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *419 - - *420 - - *540 + - *424 + - *425 + - *545 - *17 - *19 responses: @@ -77254,7 +77838,7 @@ paths: application/json: schema: type: array - items: &705 + items: &711 title: Status description: The status of a commit. type: object @@ -77334,8 +77918,8 @@ paths: type: User site_admin: false headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77363,8 +77947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -77397,11 +77981,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *544 + - *549 code_of_conduct_file: anyOf: - type: 'null' - - &545 + - &550 title: Community Health File type: object properties: @@ -77417,23 +78001,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 contributing: anyOf: - type: 'null' - - *545 + - *550 readme: anyOf: - type: 'null' - - *545 + - *550 issue_template: anyOf: - type: 'null' - - *545 + - *550 pull_request_template: anyOf: - type: 'null' - - *545 + - *550 required: - code_of_conduct - code_of_conduct_file @@ -77562,8 +78146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 - name: basehead @@ -77611,8 +78195,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *535 - merge_base_commit: *535 + base_commit: *540 + merge_base_commit: *540 status: type: string enum: @@ -77636,10 +78220,10 @@ paths: - 6 commits: type: array - items: *535 + items: *540 files: type: array - items: *546 + items: *551 required: - url - html_url @@ -77882,8 +78466,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77925,8 +78509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78079,7 +78663,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &547 + response-if-content-is-a-file: &552 summary: Response if content is a file value: type: file @@ -78216,7 +78800,7 @@ paths: - size - type - url - - &657 + - &662 title: Content File description: Content File type: object @@ -78434,7 +79018,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *547 + response-if-content-is-a-file: *552 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78503,7 +79087,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *548 + '302': *553 '304': *35 x-github: githubCloudOnly: false @@ -78526,8 +79110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78622,7 +79206,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &554 title: File Commit description: File Commit type: object @@ -78778,7 +79362,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: example-for-creating-a-file: value: @@ -78832,7 +79416,7 @@ paths: schema: oneOf: - *3 - - &587 + - &592 description: Repository rule violation was detected type: object properties: @@ -78853,7 +79437,7 @@ paths: items: type: object properties: - placeholder_id: &697 + placeholder_id: &703 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78885,8 +79469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *419 - - *420 + - *424 + - *425 - name: path description: path parameter in: path @@ -78947,7 +79531,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -78981,8 +79565,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *106 - '503': *162 + '409': *107 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79002,8 +79586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *419 - - *420 + - *424 + - *425 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79104,7 +79688,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *38 + Link: *41 '204': description: Response if repository is empty '403': *27 @@ -79127,23 +79711,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *419 - - *420 - - *281 - - *282 - - *283 - - *284 + - *424 + - *425 + - *288 + - *289 + - *290 + - *291 - 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 - - *285 - - *286 - - *287 - - *288 - - *98 + - *292 + - *293 + - *294 + - *295 + - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -79160,10 +79744,10 @@ paths: schema: type: integer default: 30 - - *96 - *97 - - *289 - - *290 + - *98 + - *296 + - *297 responses: '200': description: Response @@ -79171,11 +79755,11 @@ paths: application/json: schema: type: array - items: &552 + items: &557 type: object description: A Dependabot alert. properties: - number: *108 + number: *109 state: type: string description: The state of the Dependabot alert. @@ -79190,7 +79774,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *109 + package: *110 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79221,13 +79805,13 @@ paths: - direct - transitive - - security_advisory: *550 - security_vulnerability: *112 - url: *113 - html_url: *114 - created_at: *115 - updated_at: *116 - dismissed_at: *117 + security_advisory: *555 + security_vulnerability: *113 + url: *114 + html_url: *115 + created_at: *116 + updated_at: *117 + dismissed_at: *118 dismissed_by: anyOf: - type: 'null' @@ -79251,8 +79835,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *118 - auto_dismissed_at: *551 + fixed_at: *119 + auto_dismissed_at: *556 required: - number - state @@ -79482,9 +80066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *419 - - *420 - - &553 + - *424 + - *425 + - &558 name: alert_number in: path description: |- @@ -79493,13 +80077,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *108 + schema: *109 responses: '200': description: Response content: application/json: - schema: *552 + schema: *557 examples: default: value: @@ -79612,9 +80196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *419 - - *420 - - *553 + - *424 + - *425 + - *558 requestBody: required: true content: @@ -79659,7 +80243,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *557 examples: default: value: @@ -79765,7 +80349,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *106 + '409': *107 '422': *7 x-github: githubCloudOnly: false @@ -79788,8 +80372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -79807,7 +80391,7 @@ paths: type: integer secrets: type: array - items: &556 + items: &561 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79839,7 +80423,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79861,16 +80445,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *554 + schema: *559 examples: - default: *555 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79890,15 +80474,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '200': description: Response content: application/json: - schema: *556 + schema: *561 examples: default: value: @@ -79924,9 +80508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 requestBody: required: true content: @@ -79954,7 +80538,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -79978,9 +80562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *419 - - *420 - - *242 + - *424 + - *425 + - *250 responses: '204': description: Response @@ -80002,8 +80586,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: - - *419 - - *420 + - *424 + - *425 - 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 @@ -80153,7 +80737,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *38 + Link: *41 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -80177,8 +80761,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -80415,7 +80999,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *38 + Link: *41 '404': *6 '403': *27 x-github: @@ -80438,8 +81022,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -80522,7 +81106,7 @@ paths: - version - url additionalProperties: false - metadata: &557 + metadata: &562 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80561,7 +81145,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *557 + metadata: *562 resolved: type: object description: A collection of resolved package dependencies. @@ -80575,7 +81159,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *557 + metadata: *562 relationship: type: string description: A notation of whether a dependency is requested @@ -80708,8 +81292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *419 - - *420 + - *424 + - *425 - name: sha description: The SHA recorded at creation time. in: query @@ -80750,11 +81334,11 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *559 + default: *564 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80818,8 +81402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -80901,7 +81485,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: simple-example: summary: Simple example @@ -80974,9 +81558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *419 - - *420 - - &560 + - *424 + - *425 + - &565 name: deployment_id description: deployment_id parameter in: path @@ -80988,7 +81572,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -81053,9 +81637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 responses: '204': description: Response @@ -81077,9 +81661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 - *17 - *19 responses: @@ -81089,7 +81673,7 @@ paths: application/json: schema: type: array - items: &561 + items: &566 title: Deployment Status description: The status of a deployment. type: object @@ -81233,7 +81817,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -81253,9 +81837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 requestBody: required: true content: @@ -81330,9 +81914,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *566 examples: - default: &562 + default: &567 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81388,9 +81972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *419 - - *420 - - *560 + - *424 + - *425 + - *565 - name: status_id in: path required: true @@ -81401,9 +81985,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *566 examples: - default: *562 + default: *567 '404': *6 x-github: githubCloudOnly: false @@ -81430,12 +82014,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 - - *563 - - *564 - - *565 - - *566 + - *424 + - *425 + - *568 + - *569 + - *570 + - *571 - *17 - *19 responses: @@ -81445,12 +82029,12 @@ paths: application/json: schema: type: array - items: *567 + items: *572 examples: - default: *568 + default: *573 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -81471,8 +82055,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81484,7 +82068,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *567 + schema: *572 examples: default: value: @@ -81520,7 +82104,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -81540,8 +82124,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81579,7 +82163,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -81600,12 +82184,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 - - *91 + - *424 + - *425 - *92 - *93 - - *569 + - *94 + - *574 - *17 - *19 responses: @@ -81615,12 +82199,12 @@ paths: application/json: schema: type: array - items: *570 + items: *575 examples: - default: *571 + default: *576 '404': *6 '403': *27 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -81642,8 +82226,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81655,7 +82239,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *570 + schema: *575 examples: default: value: @@ -81692,7 +82276,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *27 - '500': *89 + '500': *38 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -81713,8 +82297,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: alert_number in: path required: true @@ -81764,7 +82348,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -81783,8 +82367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -81841,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -81860,7 +82444,7 @@ paths: - 5 environments: type: array - items: &573 + items: &578 title: Environment description: Details of a deployment environment type: object @@ -81922,7 +82506,7 @@ paths: type: string examples: - wait_timer - wait_timer: &575 + wait_timer: &580 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -81964,11 +82548,11 @@ paths: items: type: object properties: - type: *572 + type: *577 reviewer: anyOf: - *4 - - *260 + - *267 required: - id - node_id @@ -81991,7 +82575,7 @@ paths: - id - node_id - type - deployment_branch_policy: &576 + deployment_branch_policy: &581 type: - object - 'null' @@ -82108,9 +82692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *419 - - *420 - - &574 + - *424 + - *425 + - &579 name: environment_name in: path required: true @@ -82123,9 +82707,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: - default: &577 + default: &582 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82209,9 +82793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: false content: @@ -82221,7 +82805,7 @@ paths: - object - 'null' properties: - wait_timer: *575 + wait_timer: *580 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -82240,14 +82824,14 @@ paths: items: type: object properties: - type: *572 + type: *577 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *576 + deployment_branch_policy: *581 additionalProperties: false examples: default: @@ -82267,9 +82851,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: - default: *577 + default: *582 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82293,9 +82877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 responses: '204': description: Default response @@ -82320,9 +82904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 - *17 - *19 responses: @@ -82341,7 +82925,7 @@ paths: - 2 branch_policies: type: array - items: &578 + items: &583 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82402,9 +82986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: true content: @@ -82452,9 +83036,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - example-wildcard: &579 + example-wildcard: &584 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82496,10 +83080,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - &580 + - *424 + - *425 + - *579 + - &585 name: branch_policy_id in: path required: true @@ -82511,9 +83095,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - default: *579 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82532,10 +83116,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - *580 + - *424 + - *425 + - *579 + - *585 requestBody: required: true content: @@ -82564,9 +83148,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *583 examples: - default: *579 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82585,10 +83169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *419 - - *420 - - *574 - - *580 + - *424 + - *425 + - *579 + - *585 responses: '204': description: Response @@ -82613,9 +83197,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 responses: '200': description: List of deployment protection rules @@ -82632,7 +83216,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &581 + items: &586 title: Deployment protection rule description: Deployment protection rule type: object @@ -82654,7 +83238,7 @@ paths: for the environment. examples: - true - app: &582 + app: &587 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82757,9 +83341,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 requestBody: content: application/json: @@ -82780,9 +83364,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *581 + schema: *586 examples: - default: &583 + default: &588 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82817,9 +83401,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: - - *574 - - *420 - - *419 + - *579 + - *425 + - *424 - *19 - *17 responses: @@ -82839,7 +83423,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *582 + items: *587 examples: default: value: @@ -82874,10 +83458,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: - - *419 - - *420 - - *574 - - &584 + - *424 + - *425 + - *579 + - &589 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82889,9 +83473,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *586 examples: - default: *583 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82912,10 +83496,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: - - *574 - - *420 - - *419 - - *584 + - *579 + - *425 + - *424 + - *589 responses: '204': description: Response @@ -82941,9 +83525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 - *17 - *19 responses: @@ -82961,11 +83545,11 @@ paths: type: integer secrets: type: array - items: *456 + items: *461 examples: - default: *457 + default: *462 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82988,17 +83572,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 responses: '200': description: Response content: application/json: - schema: *458 + schema: *463 examples: - default: *459 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83020,18 +83604,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *585 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83053,10 +83637,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 requestBody: required: true content: @@ -83087,7 +83671,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -83113,10 +83697,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *419 - - *420 - - *574 - - *242 + - *424 + - *425 + - *579 + - *250 responses: '204': description: Default response @@ -83141,10 +83725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *419 - - *420 - - *574 - - *443 + - *424 + - *425 + - *579 + - *448 - *19 responses: '200': @@ -83161,11 +83745,11 @@ paths: type: integer variables: type: array - items: *460 + items: *465 examples: - default: *461 + default: *466 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83186,9 +83770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *419 - - *420 - - *574 + - *424 + - *425 + - *579 requestBody: required: true content: @@ -83215,7 +83799,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -83240,18 +83824,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *419 - - *420 - - *574 - - *245 + - *424 + - *425 + - *579 + - *253 responses: '200': description: Response content: application/json: - schema: *460 + schema: *465 examples: - default: *586 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83272,10 +83856,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *419 - - *420 - - *245 - - *574 + - *424 + - *425 + - *253 + - *579 requestBody: required: true content: @@ -83317,10 +83901,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *419 - - *420 - - *245 - - *574 + - *424 + - *425 + - *253 + - *579 responses: '204': description: Response @@ -83342,8 +83926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -83353,7 +83937,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: 200-response: value: @@ -83420,8 +84004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *419 - - *420 + - *424 + - *425 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83443,7 +84027,7 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: default: value: @@ -83556,7 +84140,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *38 + Link: *41 '400': *14 x-github: githubCloudOnly: false @@ -83580,8 +84164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -83614,9 +84198,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 '400': *14 '422': *15 '403': *27 @@ -83637,8 +84221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -83689,7 +84273,7 @@ paths: schema: type: string '404': *6 - '409': *106 + '409': *107 '403': *27 '422': description: Validation failed @@ -83697,8 +84281,8 @@ paths: application/json: schema: oneOf: - - *209 - - *587 + - *217 + - *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83723,8 +84307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *419 - - *420 + - *424 + - *425 - name: file_sha in: path required: true @@ -83776,7 +84360,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83824,8 +84408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -83934,7 +84518,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &593 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84111,7 +84695,7 @@ paths: type: string '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84161,15 +84745,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *419 - - *420 - - *536 + - *424 + - *425 + - *541 responses: '200': description: Response content: application/json: - schema: *588 + schema: *593 examples: default: value: @@ -84200,7 +84784,7 @@ paths: payload: verified_at: '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84225,9 +84809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *419 - - *420 - - &589 + - *424 + - *425 + - &594 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. @@ -84244,7 +84828,7 @@ paths: application/json: schema: type: array - items: &590 + items: &595 title: Git Reference description: Git references within a repository type: object @@ -84298,8 +84882,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *38 - '409': *106 + Link: *41 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84320,17 +84904,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 responses: '200': description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: &591 + default: &596 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84340,7 +84924,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84359,8 +84943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84389,16 +84973,16 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: *591 + default: *596 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84417,9 +85001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 requestBody: required: true content: @@ -84448,11 +85032,11 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: - default: *591 + default: *596 '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84468,16 +85052,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *419 - - *420 - - *589 + - *424 + - *425 + - *594 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84525,8 +85109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84593,7 +85177,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &598 title: Git Tag description: Metadata for a Git tag type: object @@ -84649,7 +85233,7 @@ paths: - sha - type - url - verification: *592 + verification: *597 required: - sha - url @@ -84659,7 +85243,7 @@ paths: - tag - message examples: - default: &594 + default: &599 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84686,7 +85270,7 @@ paths: schema: type: string '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84732,8 +85316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *419 - - *420 + - *424 + - *425 - name: tag_sha in: path required: true @@ -84744,11 +85328,11 @@ paths: description: Response content: application/json: - schema: *593 + schema: *598 examples: - default: *594 + default: *599 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84770,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -84845,7 +85429,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &600 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84924,7 +85508,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84947,8 +85531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *419 - - *420 + - *424 + - *425 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84971,7 +85555,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *600 examples: default-response: summary: Default response @@ -85012,7 +85596,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85030,8 +85614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -85041,7 +85625,7 @@ paths: application/json: schema: type: array - items: &596 + items: &601 title: Webhook description: Webhooks for repositories. type: object @@ -85104,7 +85688,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &840 + last_response: &846 title: Hook Response type: object properties: @@ -85162,7 +85746,7 @@ paths: status: unused message: headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -85181,8 +85765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -85235,9 +85819,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: &597 + default: &602 value: type: Repository id: 12345678 @@ -85285,17 +85869,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '200': description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -85315,9 +85899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 requestBody: required: true content: @@ -85362,9 +85946,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: - default: *597 + default: *602 '422': *15 '404': *6 x-github: @@ -85385,9 +85969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85411,9 +85995,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '200': description: Response @@ -85440,9 +86024,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 requestBody: required: false content: @@ -85486,11 +86070,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *17 - - *297 + - *304 responses: '200': description: Response @@ -85498,9 +86082,9 @@ paths: application/json: schema: type: array - items: *298 + items: *305 examples: - default: *299 + default: *306 '400': *14 '422': *15 x-github: @@ -85519,18 +86103,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *16 responses: '200': description: Response content: application/json: - schema: *300 + schema: *307 examples: - default: *301 + default: *308 '400': *14 '422': *15 x-github: @@ -85549,9 +86133,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: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 - *16 responses: '202': *37 @@ -85574,9 +86158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85601,9 +86185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *419 - - *420 - - *296 + - *424 + - *425 + - *303 responses: '204': description: Response @@ -85661,14 +86245,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &598 + schema: &603 title: Import description: A repository import from an external source. type: object @@ -85775,7 +86359,7 @@ paths: - html_url - authors_url examples: - default: &601 + default: &606 value: vcs: subversion use_lfs: true @@ -85791,7 +86375,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': &599 + '503': &604 description: Unavailable due to service under maintenance. content: application/json: @@ -85820,8 +86404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -85869,7 +86453,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: default: value: @@ -85894,7 +86478,7 @@ paths: type: string '422': *15 '404': *6 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85922,8 +86506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -85975,7 +86559,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: example-1: summary: Example 1 @@ -86023,7 +86607,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': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86046,12 +86630,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86077,9 +86661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *419 - - *420 - - &782 + - *424 + - *425 + - &788 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86093,7 +86677,7 @@ paths: application/json: schema: type: array - items: &600 + items: &605 title: Porter Author description: Porter Author type: object @@ -86147,7 +86731,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': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86172,8 +86756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *419 - - *420 + - *424 + - *425 - name: author_id in: path required: true @@ -86203,7 +86787,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *605 examples: default: value: @@ -86216,7 +86800,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86240,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86282,7 +86866,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86310,8 +86894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -86338,11 +86922,11 @@ paths: description: Response content: application/json: - schema: *598 + schema: *603 examples: - default: *601 + default: *606 '422': *15 - '503': *599 + '503': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86365,8 +86949,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86374,8 +86958,8 @@ paths: application/json: schema: *20 examples: - default: *602 - '301': *433 + default: *607 + '301': *438 '404': *6 x-github: githubCloudOnly: false @@ -86395,8 +86979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -86404,12 +86988,12 @@ paths: application/json: schema: anyOf: - - *314 + - *321 - type: object properties: {} additionalProperties: false examples: - default: &604 + default: &609 value: limit: collaborators_only origin: repository @@ -86434,13 +87018,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: application/json: - schema: *603 + schema: *608 examples: default: summary: Example request body @@ -86452,9 +87036,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *604 + default: *609 '409': description: Response x-github: @@ -86476,8 +87060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -86500,8 +87084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -86511,9 +87095,9 @@ paths: application/json: schema: type: array - items: *605 + items: *610 examples: - default: &775 + default: &781 value: - id: 1 repository: @@ -86627,7 +87211,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86644,9 +87228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *419 - - *420 - - *318 + - *424 + - *425 + - *325 requestBody: required: false content: @@ -86675,7 +87259,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: default: value: @@ -86806,9 +87390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *419 - - *420 - - *318 + - *424 + - *425 + - *325 responses: '204': description: Response @@ -86839,8 +87423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *419 - - *420 + - *424 + - *425 - 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 @@ -86888,7 +87472,7 @@ paths: required: false schema: type: string - - *322 + - *329 - name: sort description: What to sort results by. in: query @@ -86900,8 +87484,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -86911,9 +87495,9 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: &612 + default: &617 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87060,8 +87644,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '422': *15 '404': *6 x-github: @@ -87090,8 +87674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -87181,9 +87765,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: &609 + default: &614 value: id: 1 node_id: MDU6SXNzdWUx @@ -87337,9 +87921,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *162 + '503': *163 '404': *6 - '410': *430 + '410': *435 x-github: triggersNotification: true githubCloudOnly: false @@ -87367,9 +87951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *419 - - *420 - - *194 + - *424 + - *425 + - *202 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87379,7 +87963,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -87389,9 +87973,9 @@ paths: application/json: schema: type: array - items: *606 + items: *611 examples: - default: &611 + default: &616 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87422,7 +88006,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 '422': *15 '404': *6 x-github: @@ -87449,17 +88033,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: &607 + default: &612 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87513,9 +88097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -87537,9 +88121,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: *607 + default: *612 '422': *15 x-github: githubCloudOnly: false @@ -87557,9 +88141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -87579,9 +88163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -87607,11 +88191,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -87630,9 +88214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -87664,16 +88248,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -87695,10 +88279,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -87718,8 +88302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -87729,7 +88313,7 @@ paths: application/json: schema: type: array - items: &608 + items: &613 title: Issue Event description: Issue Event type: object @@ -87776,7 +88360,7 @@ paths: issue: anyOf: - type: 'null' - - *185 + - *193 label: title: Issue Event Label description: Issue Event Label @@ -87809,7 +88393,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *260 + requested_team: *267 dismissed_review: title: Issue Event Dismissed Review type: object @@ -87876,7 +88460,7 @@ paths: required: - from - to - author_association: *172 + author_association: *180 lock_reason: type: - string @@ -88050,7 +88634,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -88068,8 +88652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *419 - - *420 + - *424 + - *425 - name: event_id in: path required: true @@ -88080,7 +88664,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: default: value: @@ -88273,7 +88857,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *430 + '410': *435 '403': *27 x-github: githubCloudOnly: false @@ -88307,9 +88891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *419 - - *420 - - &610 + - *424 + - *425 + - &615 name: issue_number description: The number that identifies the issue. in: path @@ -88321,12 +88905,12 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '404': *6 - '410': *430 + '410': *435 '304': *35 x-github: githubCloudOnly: false @@ -88351,9 +88935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -88472,15 +89056,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 '422': *15 - '503': *162 + '503': *163 '403': *27 - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88498,9 +89082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -88526,9 +89110,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88544,9 +89128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: content: application/json: @@ -88571,9 +89155,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88595,9 +89179,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: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: assignee in: path required: true @@ -88637,10 +89221,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *419 - - *420 - - *610 - - *175 + - *424 + - *425 + - *615 + - *183 - *17 - *19 responses: @@ -88650,13 +89234,13 @@ paths: application/json: schema: type: array - items: *606 + items: *611 examples: - default: *611 + default: *616 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88685,9 +89269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -88709,16 +89293,16 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: - default: *607 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -88746,9 +89330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88758,14 +89342,14 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88793,9 +89377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -88817,17 +89401,17 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *433 + '301': *438 '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -88858,9 +89442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88872,15 +89456,15 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 x-github: triggersNotification: true githubCloudOnly: false @@ -88906,9 +89490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88918,14 +89502,14 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88942,9 +89526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -88958,7 +89542,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &615 + - &620 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89007,7 +89591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &616 + - &621 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89135,7 +89719,7 @@ paths: - performed_via_github_app - assignee - assigner - - &617 + - &622 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89181,7 +89765,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &618 + - &623 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89227,7 +89811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &619 + - &624 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89276,7 +89860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &620 + - &625 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89305,7 +89889,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *260 + requested_team: *267 requested_reviewer: *4 required: - review_requester @@ -89318,7 +89902,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &621 + - &626 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89347,7 +89931,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *260 + requested_team: *267 requested_reviewer: *4 required: - review_requester @@ -89360,7 +89944,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &622 + - &627 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89416,7 +90000,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &623 + - &628 title: Locked Issue Event description: Locked Issue Event type: object @@ -89461,7 +90045,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &624 + - &629 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -89522,7 +90106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &625 + - &630 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89583,7 +90167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &631 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89644,7 +90228,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &627 + - &632 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89736,8 +90320,8 @@ paths: name: label color: red headers: - Link: *38 - '410': *430 + Link: *41 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89754,9 +90338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -89766,7 +90350,7 @@ paths: application/json: schema: type: array - items: &613 + items: &618 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -89821,7 +90405,7 @@ paths: - color - default examples: - default: &614 + default: &619 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89838,10 +90422,10 @@ paths: color: a2eeef default: false headers: - Link: *38 - '301': *433 + Link: *41 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89858,9 +90442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -89919,12 +90503,12 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 - '301': *433 + default: *619 + '301': *438 '404': *6 - '410': *430 + '410': *435 '422': *15 x-github: githubCloudOnly: false @@ -89941,9 +90525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -90003,12 +90587,12 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 - '301': *433 + default: *619 + '301': *438 '404': *6 - '410': *430 + '410': *435 '422': *15 x-github: githubCloudOnly: false @@ -90025,15 +90609,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '204': description: Response - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90052,9 +90636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - name: name in: path required: true @@ -90067,7 +90651,7 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: default: value: @@ -90078,9 +90662,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *433 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90100,9 +90684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: false content: @@ -90131,7 +90715,7 @@ paths: '204': description: Response '403': *27 - '410': *430 + '410': *435 '404': *6 '422': *15 x-github: @@ -90149,9 +90733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '204': description: Response @@ -90181,20 +90765,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 responses: '200': description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 - '301': *433 + default: *614 + '301': *438 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90211,9 +90795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - 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. @@ -90239,13 +90823,13 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90263,9 +90847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90297,16 +90881,16 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -90328,10 +90912,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *419 - - *420 - - *610 - - *411 + - *424 + - *425 + - *615 + - *416 responses: '204': description: Response @@ -90360,9 +90944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90384,9 +90968,9 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90419,9 +91003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -90431,13 +91015,13 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *612 + default: *617 headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90465,9 +91049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90494,16 +91078,16 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *430 + '410': *435 '422': *15 '404': *6 x-github: @@ -90523,9 +91107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 requestBody: required: true content: @@ -90556,13 +91140,13 @@ paths: description: Response content: application/json: - schema: *185 + schema: *193 examples: - default: *609 + default: *614 '403': *27 '404': *6 '422': *7 - '503': *162 + '503': *163 x-github: triggersNotification: true githubCloudOnly: false @@ -90580,9 +91164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *419 - - *420 - - *610 + - *424 + - *425 + - *615 - *17 - *19 responses: @@ -90597,11 +91181,6 @@ paths: description: Timeline Event type: object anyOf: - - *615 - - *616 - - *617 - - *618 - - *619 - *620 - *621 - *622 @@ -90610,6 +91189,11 @@ paths: - *625 - *626 - *627 + - *628 + - *629 + - *630 + - *631 + - *632 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90657,12 +91241,12 @@ paths: issue_url: type: string format: uri - author_association: *172 + author_association: *180 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - event - actor @@ -90693,7 +91277,7 @@ paths: properties: type: type: string - issue: *185 + issue: *193 required: - event - created_at @@ -90915,7 +91499,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *180 required: - event - id @@ -90938,7 +91522,7 @@ paths: type: string comments: type: array - items: &646 + items: &651 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91043,7 +91627,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *180 _links: type: object properties: @@ -91138,7 +91722,7 @@ paths: enum: - line - file - reactions: *173 + reactions: *181 body_html: type: string examples: @@ -91176,7 +91760,7 @@ paths: type: string comments: type: array - items: *534 + items: *539 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91449,9 +92033,9 @@ paths: type: User site_admin: true headers: - Link: *38 + Link: *41 '404': *6 - '410': *430 + '410': *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91468,8 +92052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -91479,7 +92063,7 @@ paths: application/json: schema: type: array - items: &628 + items: &633 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91531,7 +92115,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91547,8 +92131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -91584,9 +92168,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: &629 + default: &634 value: id: 1 key: ssh-rsa AAA... @@ -91620,9 +92204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *419 - - *420 - - &630 + - *424 + - *425 + - &635 name: key_id description: The unique identifier of the key. in: path @@ -91634,9 +92218,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: *629 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -91654,9 +92238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *419 - - *420 - - *630 + - *424 + - *425 + - *635 responses: '204': description: Response @@ -91676,8 +92260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -91687,11 +92271,11 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 + default: *619 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -91710,8 +92294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -91747,9 +92331,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: &631 + default: &636 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91781,8 +92365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91793,9 +92377,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: *631 + default: *636 '404': *6 x-github: githubCloudOnly: false @@ -91812,8 +92396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91852,7 +92436,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: default: value: @@ -91878,8 +92462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *419 - - *420 + - *424 + - *425 - name: name in: path required: true @@ -91905,8 +92489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -91942,8 +92526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '202': *37 '403': @@ -91971,8 +92555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -91998,9 +92582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *419 - - *420 - - *512 + - *424 + - *425 + - *517 responses: '200': description: Response @@ -92066,7 +92650,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 required: - _links - git_url @@ -92147,8 +92731,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92213,8 +92797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92248,9 +92832,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *535 + schema: *540 examples: - default: *632 + default: *637 '204': description: Response when already merged '404': @@ -92275,8 +92859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92317,7 +92901,7 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: default: value: @@ -92356,7 +92940,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -92373,8 +92957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92414,9 +92998,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: &633 + default: &638 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92475,9 +93059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *419 - - *420 - - &634 + - *424 + - *425 + - &639 name: milestone_number description: The number that identifies the milestone. in: path @@ -92489,9 +93073,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *633 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -92508,9 +93092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 requestBody: required: false content: @@ -92548,9 +93132,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *633 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92566,9 +93150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 responses: '204': description: Response @@ -92589,9 +93173,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: - - *419 - - *420 - - *634 + - *424 + - *425 + - *639 - *17 - *19 responses: @@ -92601,11 +93185,11 @@ paths: application/json: schema: type: array - items: *613 + items: *618 examples: - default: *614 + default: *619 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92622,12 +93206,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: - - *419 - - *420 - - *635 - - *636 - - *175 - - *637 + - *424 + - *425 + - *640 + - *641 + - *183 + - *642 - *17 - *19 responses: @@ -92637,11 +93221,11 @@ paths: application/json: schema: type: array - items: *197 + items: *205 examples: - default: *638 + default: *643 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92663,8 +93247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -92722,14 +93306,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: &639 + schema: &644 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92873,7 +93457,7 @@ paths: - custom_404 - public examples: - default: &640 + default: &645 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92914,8 +93498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -92970,11 +93554,11 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: *640 + default: *645 '422': *15 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92995,8 +93579,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -93083,7 +93667,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93104,14 +93688,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response '422': *15 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93131,8 +93715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -93142,7 +93726,7 @@ paths: application/json: schema: type: array - items: &641 + items: &646 title: Page Build description: Page Build type: object @@ -93215,7 +93799,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93234,8 +93818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *419 - - *420 + - *424 + - *425 responses: '201': description: Response @@ -93282,16 +93866,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *641 + schema: *646 examples: - default: &642 + default: &647 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93339,8 +93923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *419 - - *420 + - *424 + - *425 - name: build_id in: path required: true @@ -93351,9 +93935,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *646 examples: - default: *642 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93373,8 +93957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -93482,9 +94066,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: - - *419 - - *420 - - &643 + - *424 + - *425 + - &648 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93542,11 +94126,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *419 - - *420 - - *643 + - *424 + - *425 + - *648 responses: - '204': *128 + '204': *129 '404': *6 x-github: githubCloudOnly: false @@ -93571,8 +94155,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -93840,7 +94424,7 @@ paths: description: Empty response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -93867,8 +94451,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Private vulnerability reporting status @@ -93905,10 +94489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: - '204': *128 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -93927,10 +94511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: - '204': *128 + '204': *129 '422': *14 x-github: githubCloudOnly: false @@ -93951,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: Indicates the state of the projects to return. in: query @@ -93973,7 +94557,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -94009,11 +94593,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *38 + Link: *41 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -94036,8 +94620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94063,13 +94647,13 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: - default: *429 + default: *434 '401': *23 '403': *27 '404': *6 - '410': *430 + '410': *435 '422': *7 x-github: githubCloudOnly: false @@ -94092,8 +94676,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -94101,7 +94685,7 @@ paths: application/json: schema: type: array - items: *365 + items: *370 examples: default: value: @@ -94132,8 +94716,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94145,7 +94729,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *365 + items: *370 required: - properties examples: @@ -94195,8 +94779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *419 - - *420 + - *424 + - *425 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94256,11 +94840,11 @@ paths: application/json: schema: type: array - items: *539 + items: *544 examples: - default: *644 + default: *649 headers: - Link: *38 + Link: *41 '304': *35 '422': *15 x-github: @@ -94290,8 +94874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -94358,7 +94942,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &653 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94487,7 +95071,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 active_lock_reason: type: - string @@ -94542,7 +95126,7 @@ paths: type: - array - 'null' - items: *334 + items: *339 head: type: object properties: @@ -94550,7 +95134,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: *4 @@ -94567,7 +95151,7 @@ paths: type: string ref: type: string - repo: *65 + repo: *67 sha: type: string user: *4 @@ -94580,14 +95164,14 @@ paths: _links: type: object properties: - comments: *359 - commits: *359 - statuses: *359 - html: *359 - issue: *359 - review_comments: *359 - review_comment: *359 - self: *359 + comments: *364 + commits: *364 + statuses: *364 + html: *364 + issue: *364 + review_comments: *364 + review_comment: *364 + self: *364 required: - comments - commits @@ -94597,8 +95181,8 @@ paths: - review_comments - review_comment - self - author_association: *172 - auto_merge: *645 + author_association: *180 + auto_merge: *650 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -94700,7 +95284,7 @@ paths: - merged_by - review_comments examples: - default: &649 + default: &654 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95227,8 +95811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *419 - - *420 + - *424 + - *425 - name: sort in: query required: false @@ -95247,7 +95831,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -95257,9 +95841,9 @@ paths: application/json: schema: type: array - items: *646 + items: *651 examples: - default: &651 + default: &656 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95311,7 +95895,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95336,17 +95920,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: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '200': description: Response content: application/json: - schema: *646 + schema: *651 examples: - default: &647 + default: &652 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95421,9 +96005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -95445,9 +96029,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: - default: *647 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95463,9 +96047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 responses: '204': description: Response @@ -95486,9 +96070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -95514,11 +96098,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -95537,9 +96121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *419 - - *420 - - *184 + - *424 + - *425 + - *192 requestBody: required: true content: @@ -95571,16 +96155,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -95602,10 +96186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *419 - - *420 - - *184 - - *411 + - *424 + - *425 + - *192 + - *416 responses: '204': description: Response @@ -95648,9 +96232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *419 - - *420 - - &650 + - *424 + - *425 + - &655 name: pull_number description: The number that identifies the pull request. in: path @@ -95663,9 +96247,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *648 + schema: *653 examples: - default: *649 + default: *654 '304': *35 '404': *6 '406': @@ -95673,8 +96257,8 @@ paths: content: application/json: schema: *3 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95700,9 +96284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -95744,9 +96328,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *653 examples: - default: *649 + default: *654 '422': *15 '403': *27 x-github: @@ -95768,9 +96352,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -95831,21 +96415,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95871,10 +96455,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *419 - - *420 - - *650 - - *194 + - *424 + - *425 + - *655 + - *202 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -95884,7 +96468,7 @@ paths: enum: - asc - desc - - *175 + - *183 - *17 - *19 responses: @@ -95894,11 +96478,11 @@ paths: application/json: schema: type: array - items: *646 + items: *651 examples: - default: *651 + default: *656 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95929,9 +96513,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -96037,7 +96621,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: example-for-a-multi-line-comment: value: @@ -96125,10 +96709,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *419 - - *420 - - *650 - - *184 + - *424 + - *425 + - *655 + - *192 requestBody: required: true content: @@ -96150,7 +96734,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *651 examples: default: value: @@ -96236,9 +96820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -96248,11 +96832,11 @@ paths: application/json: schema: type: array - items: *535 + items: *540 examples: - default: *652 + default: *657 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96280,9 +96864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -96292,7 +96876,7 @@ paths: application/json: schema: type: array - items: *546 + items: *551 examples: default: value: @@ -96308,10 +96892,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *38 + Link: *41 '422': *15 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96330,9 +96914,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 responses: '204': description: Response if pull request has been merged @@ -96355,9 +96939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -96469,9 +97053,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 responses: '200': description: Response @@ -96487,7 +97071,7 @@ paths: items: *4 teams: type: array - items: *260 + items: *267 required: - users - teams @@ -96528,7 +97112,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96546,9 +97130,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -96585,7 +97169,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default: value: @@ -97121,9 +97705,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: true content: @@ -97157,7 +97741,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *544 examples: default: value: @@ -97662,9 +98246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 - *17 - *19 responses: @@ -97674,7 +98258,7 @@ paths: application/json: schema: type: array - items: &653 + items: &658 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97748,7 +98332,7 @@ paths: type: string body_text: type: string - author_association: *172 + author_association: *180 required: - id - node_id @@ -97797,7 +98381,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97830,9 +98414,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: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -97922,9 +98506,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: &655 + default: &660 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97987,10 +98571,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: - - *419 - - *420 - - *650 - - &654 + - *424 + - *425 + - *655 + - &659 name: review_id description: The unique identifier of the review. in: path @@ -98002,9 +98586,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: &656 + default: &661 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98063,10 +98647,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98089,7 +98673,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: default: value: @@ -98151,18 +98735,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 responses: '200': description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: *655 + default: *660 '422': *7 '404': *6 x-github: @@ -98189,10 +98773,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 - *17 - *19 responses: @@ -98286,13 +98870,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *172 + author_association: *180 _links: type: object properties: - self: *359 - html: *359 - pull_request: *359 + self: *364 + html: *364 + pull_request: *364 required: - self - html @@ -98301,7 +98885,7 @@ paths: type: string body_html: type: string - reactions: *173 + reactions: *181 side: description: The side of the first line of the range for a multi-line comment. @@ -98421,7 +99005,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -98450,10 +99034,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98482,7 +99066,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: default: value: @@ -98545,10 +99129,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: - - *419 - - *420 - - *650 - - *654 + - *424 + - *425 + - *655 + - *659 requestBody: required: true content: @@ -98583,9 +99167,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *658 examples: - default: *656 + default: *661 '404': *6 '422': *7 '403': *27 @@ -98607,9 +99191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *419 - - *420 - - *650 + - *424 + - *425 + - *655 requestBody: required: false content: @@ -98673,8 +99257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *419 - - *420 + - *424 + - *425 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98687,9 +99271,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: &658 + default: &663 value: type: file encoding: base64 @@ -98731,8 +99315,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: - - *419 - - *420 + - *424 + - *425 - name: dir description: The alternate path to look for a README file in: path @@ -98752,9 +99336,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *662 examples: - default: *658 + default: *663 '404': *6 '422': *15 x-github: @@ -98776,8 +99360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -98787,7 +99371,7 @@ paths: application/json: schema: type: array - items: &659 + items: &664 title: Release description: A release. type: object @@ -98869,7 +99453,7 @@ paths: author: *4 assets: type: array - items: &660 + items: &665 title: Release Asset description: Data related to a release. type: object @@ -98944,7 +99528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *173 + reactions: *181 required: - assets_url - upload_url @@ -99036,7 +99620,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -99056,8 +99640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -99133,9 +99717,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: &663 + default: &668 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99240,9 +99824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *419 - - *420 - - &661 + - *424 + - *425 + - &666 name: asset_id description: The unique identifier of the asset. in: path @@ -99254,9 +99838,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *665 examples: - default: &662 + default: &667 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 @@ -99291,7 +99875,7 @@ paths: type: User site_admin: false '404': *6 - '302': *548 + '302': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99307,9 +99891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *419 - - *420 - - *661 + - *424 + - *425 + - *666 requestBody: required: false content: @@ -99338,9 +99922,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *665 examples: - default: *662 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99356,9 +99940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *419 - - *420 - - *661 + - *424 + - *425 + - *666 responses: '204': description: Response @@ -99382,8 +99966,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -99469,16 +100053,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99495,8 +100079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *419 - - *420 + - *424 + - *425 - name: tag description: tag parameter in: path @@ -99509,9 +100093,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -99533,9 +100117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *419 - - *420 - - &664 + - *424 + - *425 + - &669 name: release_id description: The unique identifier of the release. in: path @@ -99549,9 +100133,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: *659 + schema: *664 examples: - default: *663 + default: *668 '401': description: Unauthorized x-github: @@ -99569,9 +100153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 requestBody: required: false content: @@ -99635,9 +100219,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *663 + default: *668 '404': description: Not Found if the discussion category name is invalid content: @@ -99658,9 +100242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 responses: '204': description: Response @@ -99680,9 +100264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - *17 - *19 responses: @@ -99692,7 +100276,7 @@ paths: application/json: schema: type: array - items: *660 + items: *665 examples: default: value: @@ -99729,7 +100313,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99774,9 +100358,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: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - name: name in: query required: true @@ -99802,7 +100386,7 @@ paths: description: Response for successful upload content: application/json: - schema: *660 + schema: *665 examples: response-for-successful-upload: value: @@ -99857,9 +100441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 - 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. @@ -99883,11 +100467,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -99906,9 +100490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *419 - - *420 - - *664 + - *424 + - *425 + - *669 requestBody: required: true content: @@ -99938,16 +100522,16 @@ paths: description: Reaction exists content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '201': description: Reaction created content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -99969,10 +100553,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *419 - - *420 - - *664 - - *411 + - *424 + - *425 + - *669 + - *416 responses: '204': description: Response @@ -99996,9 +100580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *419 - - *420 - - *478 + - *424 + - *425 + - *483 - *17 - *19 responses: @@ -100014,8 +100598,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *137 - - &665 + - *138 + - &670 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100034,66 +100618,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *138 - - *665 - allOf: - *139 - - *665 + - *670 - allOf: - *140 - - *665 - - allOf: - - *666 - - *665 + - *670 - allOf: - *141 - - *665 + - *670 + - allOf: + - *671 + - *670 - allOf: - *142 - - *665 + - *670 - allOf: - *143 - - *665 + - *670 - allOf: - *144 - - *665 + - *670 - allOf: - *145 - - *665 + - *670 - allOf: - *146 - - *665 + - *670 - allOf: - *147 - - *665 + - *670 - allOf: - *148 - - *665 + - *670 - allOf: - *149 - - *665 + - *670 - allOf: - *150 - - *665 + - *670 - allOf: - *151 - - *665 + - *670 - allOf: - *152 - - *665 + - *670 - allOf: - *153 - - *665 + - *670 - allOf: - *154 - - *665 + - *670 - allOf: - *155 - - *665 + - *670 - allOf: - *156 - - *665 + - *670 + - allOf: + - *157 + - *670 + - allOf: + - *672 + - *670 examples: default: value: @@ -100132,8 +100719,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - name: includes_parents @@ -100144,7 +100731,7 @@ paths: schema: type: boolean default: true - - *667 + - *673 responses: '200': description: Response @@ -100152,7 +100739,7 @@ paths: application/json: schema: type: array - items: *157 + items: *158 examples: default: value: @@ -100183,7 +100770,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -100199,8 +100786,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 requestBody: description: Request body required: true @@ -100220,16 +100807,16 @@ paths: - tag - push default: branch - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *131 + items: *137 + conditions: *132 rules: type: array description: An array of rules within the ruleset. - items: *668 + items: *674 required: - name - enforcement @@ -100260,9 +100847,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &677 + default: &683 value: id: 42 name: super cool ruleset @@ -100295,7 +100882,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -100309,12 +100896,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *419 - - *420 - - *669 - - *93 - - *670 - - *671 + - *424 + - *425 + - *675 + - *94 + - *676 + - *677 - *17 - *19 responses: @@ -100322,11 +100909,11 @@ paths: description: Response content: application/json: - schema: *672 + schema: *678 examples: - default: *673 + default: *679 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100345,19 +100932,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *419 - - *420 - - *674 + - *424 + - *425 + - *680 responses: '200': description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: *676 + default: *682 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100383,8 +100970,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100404,11 +100991,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *677 + default: *683 '404': *6 - '500': *89 + '500': *38 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -100424,8 +101011,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100450,16 +101037,16 @@ paths: - branch - tag - push - enforcement: *135 + enforcement: *136 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *136 - conditions: *131 + items: *137 + conditions: *132 rules: description: An array of rules within the ruleset. type: array - items: *668 + items: *674 examples: default: value: @@ -100487,11 +101074,11 @@ paths: description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *677 + default: *683 '404': *6 - '500': *89 + '500': *38 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -100507,8 +101094,8 @@ paths: category: repos subcategory: rules parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100519,7 +101106,7 @@ paths: '204': description: Response '404': *6 - '500': *89 + '500': *38 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -100531,8 +101118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 - name: ruleset_id @@ -100548,11 +101135,11 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: - default: *372 + default: *377 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100569,8 +101156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *419 - - *420 + - *424 + - *425 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100588,7 +101175,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *378 examples: default: value: @@ -100621,7 +101208,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100643,21 +101230,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *419 - - *420 - - *374 - - *375 - - *376 - - *377 - - *98 - - *19 - - *17 - - *678 - - *679 - - *378 + - *424 + - *425 - *379 - *380 - *381 + - *382 + - *99 + - *19 + - *17 + - *684 + - *685 + - *383 + - *384 + - *385 + - *386 responses: '200': description: Response @@ -100665,24 +101252,24 @@ paths: application/json: schema: type: array - items: &683 + items: &689 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *680 - resolution: *681 + state: *686 + resolution: *687 resolved_at: type: - string @@ -100776,7 +101363,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *682 + - *688 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -100876,7 +101463,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100898,16 +101485,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *419 - - *420 - - *506 - - *381 + - *424 + - *425 + - *511 + - *386 responses: '200': description: Response content: application/json: - schema: *683 + schema: *689 examples: default: value: @@ -100938,7 +101525,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100959,9 +101546,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 requestBody: required: true content: @@ -100969,8 +101556,8 @@ paths: schema: type: object properties: - state: *680 - resolution: *681 + state: *686 + resolution: *687 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100989,7 +101576,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *689 examples: default: value: @@ -101042,7 +101629,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101064,9 +101651,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: - - *419 - - *420 - - *506 + - *424 + - *425 + - *511 - *19 - *17 responses: @@ -101077,7 +101664,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &860 + items: &866 type: object properties: type: @@ -101104,12 +101691,6 @@ paths: - commit details: oneOf: - - *684 - - *685 - - *686 - - *687 - - *688 - - *689 - *690 - *691 - *692 @@ -101117,6 +101698,12 @@ paths: - *694 - *695 - *696 + - *697 + - *698 + - *699 + - *700 + - *701 + - *702 examples: default: value: @@ -101176,11 +101763,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *38 + Link: *41 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101202,8 +101789,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101211,14 +101798,14 @@ paths: schema: type: object properties: - reason: &698 + reason: &704 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *697 + placeholder_id: *703 required: - reason - placeholder_id @@ -101235,7 +101822,7 @@ paths: schema: type: object properties: - reason: *698 + reason: *704 expire_at: type: - string @@ -101259,7 +101846,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *162 + '503': *163 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101279,13 +101866,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *419 - - *420 + - *424 + - *425 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *162 + '503': *163 '200': description: Response content: @@ -101295,7 +101882,7 @@ paths: properties: incremental_scans: type: array - items: &699 + items: &705 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101323,15 +101910,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *699 + items: *705 backfill_scans: type: array - items: *699 + items: *705 custom_pattern_backfill_scans: type: array items: allOf: - - *699 + - *705 - type: object properties: pattern_name: @@ -101401,9 +101988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *419 - - *420 - - *98 + - *424 + - *425 + - *99 - name: sort description: The property to sort the results by. in: query @@ -101415,8 +102002,8 @@ paths: - updated - published default: created - - *96 - *97 + - *98 - name: per_page description: The number of advisories to return per page. 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)." @@ -101446,9 +102033,9 @@ paths: application/json: schema: type: array - items: *700 + items: *706 examples: - default: *701 + default: *707 '400': *14 '404': *6 x-github: @@ -101471,8 +102058,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101552,7 +102139,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 required: - login - type @@ -101642,9 +102229,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: &703 + default: &709 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101877,8 +102464,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -101991,7 +102578,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: default: value: @@ -102138,17 +102725,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '200': description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: *703 + default: *709 '403': *27 '404': *6 x-github: @@ -102172,9 +102759,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 requestBody: required: true content: @@ -102254,7 +102841,7 @@ paths: login: type: string description: The username of the user credited. - type: *386 + type: *391 required: - login - type @@ -102345,17 +102932,17 @@ paths: description: Response content: application/json: - schema: *700 + schema: *706 examples: - default: *703 - add_credit: *703 + default: *709 + add_credit: *709 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *209 + schema: *217 examples: invalid_state_transition: value: @@ -102386,9 +102973,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '202': *37 '400': *14 @@ -102415,17 +103002,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: - - *419 - - *420 - - *702 + - *424 + - *425 + - *708 responses: '202': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 '400': *14 '422': *15 '403': *27 @@ -102451,8 +103038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -102526,7 +103113,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -102548,8 +103135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102558,7 +103145,7 @@ paths: application/json: schema: type: array - items: &704 + items: &710 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102571,7 +103158,7 @@ paths: - 1124 - -435 '202': *37 - '204': *128 + '204': *129 '422': description: Repository contains more than 10,000 commits x-github: @@ -102591,8 +103178,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -102643,7 +103230,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102670,8 +103257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -102743,7 +103330,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102765,8 +103352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -102920,8 +103507,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -102931,7 +103518,7 @@ paths: application/json: schema: type: array - items: *704 + items: *710 examples: default: value: @@ -102944,7 +103531,7 @@ paths: - - 0 - 2 - 21 - '204': *128 + '204': *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102964,8 +103551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *419 - - *420 + - *424 + - *425 - name: sha in: path required: true @@ -103021,7 +103608,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *711 examples: default: value: @@ -103075,8 +103662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103088,9 +103675,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103108,14 +103695,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &706 + schema: &712 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103188,8 +103775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: false content: @@ -103215,7 +103802,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *712 examples: default: value: @@ -103242,8 +103829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -103263,8 +103850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103323,7 +103910,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103346,8 +103933,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: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103355,7 +103942,7 @@ paths: application/json: schema: type: array - items: &707 + items: &713 title: Tag protection description: Tag protection type: object @@ -103412,8 +103999,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: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -103436,7 +104023,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -103467,8 +104054,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: - - *419 - - *420 + - *424 + - *425 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103505,8 +104092,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *419 - - *420 + - *424 + - *425 - name: ref in: path required: true @@ -103542,8 +104129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *419 - - *420 + - *424 + - *425 - *17 - *19 responses: @@ -103553,11 +104140,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - default: *335 + default: *340 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -103575,8 +104162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *419 - - *420 + - *424 + - *425 - *19 - *17 responses: @@ -103584,7 +104171,7 @@ paths: description: Response content: application/json: - schema: &708 + schema: &714 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103596,7 +104183,7 @@ paths: required: - names examples: - default: &709 + default: &715 value: names: - octocat @@ -103619,8 +104206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -103651,9 +104238,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *714 examples: - default: *709 + default: *715 '404': *6 '422': *7 x-github: @@ -103674,9 +104261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *419 - - *420 - - &710 + - *424 + - *425 + - &716 name: per description: The time frame to display results for. in: query @@ -103707,7 +104294,7 @@ paths: - 128 clones: type: array - items: &711 + items: &717 title: Traffic type: object properties: @@ -103794,8 +104381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103889,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *419 - - *420 + - *424 + - *425 responses: '200': description: Response @@ -103953,9 +104540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *419 - - *420 - - *710 + - *424 + - *425 + - *716 responses: '200': description: Response @@ -103976,7 +104563,7 @@ paths: - 3782 views: type: array - items: *711 + items: *717 required: - uniques - count @@ -104053,8 +104640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *419 - - *420 + - *424 + - *425 requestBody: required: true content: @@ -104090,7 +104677,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *240 examples: default: value: @@ -104328,8 +104915,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104352,8 +104939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -104375,8 +104962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -104402,8 +104989,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *419 - - *420 + - *424 + - *425 - name: ref in: path required: true @@ -104495,9 +105082,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104538,7 +105125,7 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: default: value: @@ -104648,7 +105235,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &719 + - &725 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104658,7 +105245,7 @@ paths: type: string examples: - members - - &724 + - &730 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104670,7 +105257,7 @@ paths: format: int32 examples: - 1 - - &725 + - &731 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104714,7 +105301,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &714 + items: &720 allOf: - type: object required: @@ -104796,7 +105383,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: &726 + meta: &732 type: object description: The metadata associated with the creation/updates to the user. @@ -104861,30 +105448,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &715 + '400': &721 description: Bad request content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '401': *713 - '403': &716 + schema: *718 + '401': *719 + '403': &722 description: Permission denied - '429': &717 + '429': &723 description: Too many requests content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '500': &718 + schema: *718 + '500': &724 description: Internal server error content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 + schema: *718 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104908,7 +105495,7 @@ paths: required: true content: application/json: - schema: &722 + schema: &728 type: object required: - schemas @@ -104972,9 +105559,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *714 + schema: *720 examples: - group: &720 + group: &726 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -104993,13 +105580,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': *715 - '401': *713 - '403': *716 - '409': &723 + '400': *721 + '401': *719 + '403': *722 + '409': &729 description: Duplicate record detected - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105016,7 +105603,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: - - &721 + - &727 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105025,22 +105612,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *719 + - *725 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *714 + schema: *720 examples: - default: *720 - '400': *715 - '401': *713 - '403': *716 + default: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105059,13 +105646,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: - - *721 + - *727 - *39 requestBody: required: true content: application/json: - schema: *722 + schema: *728 examples: group: summary: Group @@ -105091,17 +105678,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *714 + schema: *720 examples: - group: *720 - groupWithMembers: *720 - '400': *715 - '401': *713 - '403': *716 + group: *726 + groupWithMembers: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105125,13 +105712,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: - - *721 + - *727 - *39 requestBody: required: true content: application/json: - schema: &733 + schema: &739 type: object required: - Operations @@ -105191,17 +105778,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *714 + schema: *720 examples: - updateGroup: *720 - addMembers: *720 - '400': *715 - '401': *713 - '403': *716 + updateGroup: *726 + addMembers: *726 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105217,17 +105804,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: - - *721 + - *727 - *39 responses: '204': description: Group was deleted, no content - '400': *715 - '401': *713 - '403': *716 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105261,8 +105848,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *724 - - *725 + - *730 + - *731 - *39 responses: '200': @@ -105296,7 +105883,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &728 + items: &734 allOf: - type: object required: @@ -105388,7 +105975,7 @@ paths: address. examples: - true - roles: &727 + roles: &733 type: array description: The roles assigned to the user. items: @@ -105447,7 +106034,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *726 + meta: *732 startIndex: type: integer description: A starting index for the returned page @@ -105486,11 +106073,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *715 - '401': *713 - '403': *716 - '429': *717 - '500': *718 + '400': *721 + '401': *719 + '403': *722 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105514,7 +106101,7 @@ paths: required: true content: application/json: - schema: &731 + schema: &737 type: object required: - schemas @@ -105607,9 +106194,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *727 + roles: *733 examples: - user: &732 + user: &738 summary: User value: schemas: @@ -105656,9 +106243,9 @@ paths: description: User has been created content: application/scim+json: - schema: *728 + schema: *734 examples: - user: &729 + user: &735 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105684,13 +106271,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: *729 - '400': *715 - '401': *713 - '403': *716 - '409': *723 - '429': *717 - '500': *718 + enterpriseOwner: *735 + '400': *721 + '401': *719 + '403': *722 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105707,7 +106294,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: - - &730 + - &736 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105720,15 +106307,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *728 + schema: *734 examples: - default: *729 - '400': *715 - '401': *713 - '403': *716 + default: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105750,30 +106337,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: - - *730 + - *736 - *39 requestBody: required: true content: application/json: - schema: *731 + schema: *737 examples: - user: *732 + user: *738 responses: '200': description: User was updated content: application/scim+json: - schema: *728 + schema: *734 examples: - user: *729 - '400': *715 - '401': *713 - '403': *716 + user: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105808,13 +106395,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: - - *730 + - *736 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *739 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105854,18 +106441,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *728 + schema: *734 examples: - userMultiValuedProperties: *729 - userSingleValuedProperties: *729 - disableUser: *729 - '400': *715 - '401': *713 - '403': *716 + userMultiValuedProperties: *735 + userSingleValuedProperties: *735 + disableUser: *735 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '409': *723 - '429': *717 - '500': *718 + '409': *729 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105885,17 +106472,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: - - *730 + - *736 - *39 responses: '204': description: User was deleted, no content - '400': *715 - '401': *713 - '403': *716 + '400': *721 + '401': *719 + '403': *722 '404': *6 - '429': *717 - '500': *718 + '429': *723 + '500': *724 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105928,7 +106515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *74 + - *76 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -105986,7 +106573,7 @@ paths: - 1 Resources: type: array - items: &734 + items: &740 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106233,22 +106820,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': &735 + '404': &741 description: Resource not found content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '403': &736 + schema: *718 + '403': &742 description: Forbidden content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '400': *715 - '429': *717 + schema: *718 + '400': *721 + '429': *723 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106268,15 +106855,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *74 + - *76 responses: '201': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: &737 + default: &743 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106299,17 +106886,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': *735 - '403': *736 - '500': *718 + '404': *741 + '403': *742 + '500': *724 '409': description: Conflict content: application/json: - schema: *712 + schema: *718 application/scim+json: - schema: *712 - '400': *715 + schema: *718 + '400': *721 requestBody: required: true content: @@ -106408,18 +106995,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 - '404': *735 - '403': *736 + default: *743 + '404': *741 + '403': *742 '304': *35 x-github: githubCloudOnly: true @@ -106442,19 +107029,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 + default: *743 '304': *35 - '404': *735 - '403': *736 + '404': *741 + '403': *742 requestBody: required: true content: @@ -106568,20 +107155,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *74 - - *730 + - *76 + - *736 responses: '200': description: Response content: application/scim+json: - schema: *734 + schema: *740 examples: - default: *737 + default: *743 '304': *35 - '404': *735 - '403': *736 - '400': *715 + '404': *741 + '403': *742 + '400': *721 '429': description: Response content: @@ -106676,13 +107263,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *74 - - *730 + - *76 + - *736 responses: '204': description: Response - '404': *735 - '403': *736 + '404': *741 + '403': *742 '304': *35 x-github: githubCloudOnly: true @@ -106797,7 +107384,7 @@ paths: html_url: type: string format: uri - repository: *232 + repository: *240 score: type: number file_size: @@ -106816,7 +107403,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &738 + text_matches: &744 title: Search Result Text Matches type: array items: @@ -106931,7 +107518,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *162 + '503': *163 '422': *15 '403': *27 x-github: @@ -106980,7 +107567,7 @@ paths: enum: - author-date - committer-date - - &739 + - &745 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 @@ -107049,7 +107636,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 comment_count: type: integer message: @@ -107068,7 +107655,7 @@ paths: url: type: string format: uri - verification: *592 + verification: *597 required: - author - committer @@ -107083,7 +107670,7 @@ paths: committer: anyOf: - type: 'null' - - *476 + - *481 parents: type: array items: @@ -107095,12 +107682,12 @@ paths: type: string sha: type: string - repository: *232 + repository: *240 score: type: number node_id: type: string - text_matches: *738 + text_matches: *744 required: - sha - node_id @@ -107283,7 +107870,7 @@ paths: - interactions - created - updated - - *739 + - *745 - *17 - *19 - name: advanced_search @@ -107380,11 +107967,11 @@ paths: type: - string - 'null' - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: type: string state_reason: @@ -107398,7 +107985,7 @@ paths: milestone: anyOf: - type: 'null' - - *358 + - *363 comments: type: integer created_at: @@ -107412,7 +107999,7 @@ paths: - string - 'null' format: date-time - text_matches: *738 + text_matches: *744 pull_request: type: object properties: @@ -107450,10 +108037,10 @@ paths: type: string score: type: number - author_association: *172 + author_association: *180 draft: type: boolean - repository: *65 + repository: *67 body_html: type: string body_text: @@ -107461,12 +108048,12 @@ paths: timeline_url: type: string format: uri - type: *319 + type: *326 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *173 + reactions: *181 required: - assignee - closed_at @@ -107582,7 +108169,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *162 + '503': *163 '422': *15 '304': *35 '403': *27 @@ -107638,7 +108225,7 @@ paths: enum: - created - updated - - *739 + - *745 - *17 - *19 responses: @@ -107683,7 +108270,7 @@ paths: - 'null' score: type: number - text_matches: *738 + text_matches: *744 required: - id - node_id @@ -107769,7 +108356,7 @@ paths: - forks - help-wanted-issues - updated - - *739 + - *745 - *17 - *19 responses: @@ -107988,7 +108575,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *194 permissions: type: object properties: @@ -108006,7 +108593,7 @@ paths: - admin - pull - push - text_matches: *738 + text_matches: *744 temp_clone_token: type: string allow_merge_commit: @@ -108209,7 +108796,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *162 + '503': *163 '422': *15 '304': *35 x-github: @@ -108315,7 +108902,7 @@ paths: - string - 'null' format: uri - text_matches: *738 + text_matches: *744 related: type: - array @@ -108510,7 +109097,7 @@ paths: - followers - repositories - joined - - *739 + - *745 - *17 - *19 responses: @@ -108620,7 +109207,7 @@ paths: type: - boolean - 'null' - text_matches: *738 + text_matches: *744 blog: type: - string @@ -108682,7 +109269,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *162 + '503': *163 '422': *15 x-github: githubCloudOnly: false @@ -108702,7 +109289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &743 + - &749 name: team_id description: The unique identifier of the team. in: path @@ -108714,9 +109301,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -108743,7 +109330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *743 + - *749 requestBody: required: true content: @@ -108807,16 +109394,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '201': description: Response content: application/json: - schema: *400 + schema: *405 examples: - default: *401 + default: *406 '404': *6 '422': *15 '403': *27 @@ -108844,7 +109431,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *743 + - *749 responses: '204': description: Response @@ -108875,8 +109462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *743 - - *98 + - *749 + - *99 - *17 - *19 responses: @@ -108886,11 +109473,11 @@ paths: application/json: schema: type: array - items: *402 + items: *407 examples: - default: *744 + default: *750 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108917,7 +109504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *743 + - *749 requestBody: required: true content: @@ -108951,9 +109538,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: triggersNotification: true githubCloudOnly: false @@ -108980,16 +109567,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 responses: '200': description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *403 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109014,8 +109601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 requestBody: required: false content: @@ -109038,9 +109625,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *407 examples: - default: *745 + default: *751 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109065,8 +109652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *743 - - *404 + - *749 + - *409 responses: '204': description: Response @@ -109095,9 +109682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *743 - - *404 - - *98 + - *749 + - *409 + - *99 - *17 - *19 responses: @@ -109107,11 +109694,11 @@ paths: application/json: schema: type: array - items: *405 + items: *410 examples: - default: *746 + default: *752 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109138,8 +109725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *743 - - *404 + - *749 + - *409 requestBody: required: true content: @@ -109161,9 +109748,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: triggersNotification: true githubCloudOnly: false @@ -109190,17 +109777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 responses: '200': description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109225,9 +109812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 requestBody: required: true content: @@ -109249,9 +109836,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *747 + default: *753 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109276,9 +109863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 responses: '204': description: Response @@ -109307,9 +109894,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: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 - 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. @@ -109335,11 +109922,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109366,9 +109953,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: - - *743 - - *404 - - *407 + - *749 + - *409 + - *412 requestBody: required: true content: @@ -109400,9 +109987,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109428,8 +110015,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: - - *743 - - *404 + - *749 + - *409 - 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. @@ -109455,11 +110042,11 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *410 + default: *415 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109486,8 +110073,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: - - *743 - - *404 + - *749 + - *409 requestBody: required: true content: @@ -109519,9 +110106,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109545,7 +110132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -109555,11 +110142,11 @@ paths: application/json: schema: type: array - items: *316 + items: *323 examples: - default: *317 + default: *324 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109583,7 +110170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *743 + - *749 - name: role description: Filters members returned by their role in the team. in: query @@ -109606,9 +110193,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -109634,8 +110221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: if user is a member @@ -109671,8 +110258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109711,8 +110298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109748,16 +110335,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: - - *743 - - *254 + - *749 + - *176 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-user-is-a-team-maintainer: *748 + response-if-user-is-a-team-maintainer: *754 '404': *6 x-github: githubCloudOnly: false @@ -109790,8 +110377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *743 - - *254 + - *749 + - *176 requestBody: required: false content: @@ -109816,9 +110403,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - response-if-users-membership-with-team-is-now-pending: *749 + response-if-users-membership-with-team-is-now-pending: *755 '403': description: Forbidden if team synchronization is set up '422': @@ -109852,8 +110439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *743 - - *254 + - *749 + - *176 responses: '204': description: Response @@ -109881,7 +110468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -109891,11 +110478,11 @@ paths: application/json: schema: type: array - items: *417 + items: *422 examples: - default: *750 + default: *756 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -109919,16 +110506,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: - - *743 - - *418 + - *749 + - *423 responses: '200': description: Response content: application/json: - schema: *417 + schema: *422 examples: - default: *751 + default: *757 '404': description: Not Found if project is not managed by this team x-github: @@ -109952,8 +110539,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: - - *743 - - *418 + - *749 + - *423 requestBody: required: false content: @@ -110020,8 +110607,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: - - *743 - - *418 + - *749 + - *423 responses: '204': description: Response @@ -110048,7 +110635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -110058,11 +110645,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -110090,15 +110677,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *752 + schema: *758 examples: alternative-response-with-extra-repository-information: value: @@ -110249,9 +110836,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 requestBody: required: false content: @@ -110301,9 +110888,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: - - *743 - - *419 - - *420 + - *749 + - *424 + - *425 responses: '204': description: Response @@ -110332,15 +110919,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: - - *743 + - *749 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 '403': *27 '404': *6 x-github: @@ -110367,7 +110954,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: - - *743 + - *749 requestBody: required: true content: @@ -110428,7 +111015,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: default: value: @@ -110459,7 +111046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *743 + - *749 - *17 - *19 responses: @@ -110469,11 +111056,11 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: - response-if-child-teams-exist: *753 + response-if-child-teams-exist: *759 headers: - Link: *38 + Link: *41 '404': *6 '403': *27 '422': *15 @@ -110504,7 +111091,7 @@ paths: application/json: schema: oneOf: - - &755 + - &761 title: Private User description: Private User type: object @@ -110754,7 +111341,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *754 + - *760 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110914,7 +111501,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *761 examples: default: value: @@ -110993,7 +111580,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 '304': *35 '404': *6 '403': *27 @@ -111016,7 +111603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *254 + - *176 responses: '204': description: If the user is blocked @@ -111044,7 +111631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -111068,7 +111655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -111117,11 +111704,11 @@ paths: type: integer codespaces: type: array - items: *325 + items: *331 examples: - default: *326 + default: *332 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111258,21 +111845,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 - '503': *162 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111312,7 +111899,7 @@ paths: type: integer secrets: type: array - items: &756 + items: &762 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111354,9 +111941,9 @@ paths: - visibility - selected_repositories_url examples: - default: *528 + default: *533 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111426,13 +112013,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 responses: '200': description: Response content: application/json: - schema: *756 + schema: *762 examples: default: value: @@ -111462,7 +112049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 requestBody: required: true content: @@ -111507,7 +112094,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -111535,7 +112122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *242 + - *250 responses: '204': description: Response @@ -111560,7 +112147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *242 + - *250 responses: '200': description: Response @@ -111576,13 +112163,13 @@ paths: type: integer repositories: type: array - items: *232 + items: *240 examples: - default: *757 + default: *763 '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111603,7 +112190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *242 + - *250 requestBody: required: true content: @@ -111635,7 +112222,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111657,7 +112244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *242 + - *250 - name: repository_id in: path required: true @@ -111669,7 +112256,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111690,7 +112277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *242 + - *250 - name: repository_id in: path required: true @@ -111702,7 +112289,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *89 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111722,17 +112309,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111756,7 +112343,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: - - *327 + - *333 requestBody: required: false content: @@ -111786,9 +112373,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '401': *23 '403': *27 '404': *6 @@ -111810,11 +112397,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '202': *37 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111839,13 +112426,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: - - *327 + - *333 responses: '202': description: Response content: application/json: - schema: &758 + schema: &764 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111898,7 +112485,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &759 + default: &765 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111906,7 +112493,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -111930,7 +112517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *327 + - *333 - name: export_id in: path required: true @@ -111943,9 +112530,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *764 examples: - default: *759 + default: *765 '404': *6 x-github: githubCloudOnly: false @@ -111966,7 +112553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *327 + - *333 responses: '200': description: Response @@ -111982,11 +112569,11 @@ paths: type: integer machines: type: array - items: *527 + items: *532 examples: - default: *760 + default: *766 '304': *35 - '500': *89 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -112013,7 +112600,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: - - *327 + - *333 requestBody: required: true content: @@ -112069,11 +112656,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *432 + repository: *437 machine: anyOf: - type: 'null' - - *527 + - *532 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -112870,17 +113457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 + default: *531 '304': *35 - '500': *89 + '500': *38 '400': *14 '401': *23 '402': @@ -112890,7 +113477,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *106 + '409': *107 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112910,16 +113497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *325 + schema: *331 examples: - default: *526 - '500': *89 + default: *531 + '500': *38 '401': *23 '403': *27 '404': *6 @@ -112948,9 +113535,9 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: &772 + default: &778 value: - id: 197 name: hello_docker @@ -113051,7 +113638,7 @@ paths: application/json: schema: type: array - items: &761 + items: &767 title: Email description: Email type: object @@ -113121,16 +113708,16 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: - default: &774 + default: &780 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -113200,7 +113787,7 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: default: value: @@ -113312,9 +113899,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113345,9 +113932,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113367,7 +113954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *254 + - *176 responses: '204': description: if the person is followed by the authenticated user @@ -113397,7 +113984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -113422,7 +114009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *254 + - *176 responses: '204': description: Response @@ -113458,7 +114045,7 @@ paths: application/json: schema: type: array - items: &762 + items: &768 title: GPG Key description: A unique encryption key type: object @@ -113603,7 +114190,7 @@ paths: - subkeys - revoked examples: - default: &792 + default: &798 value: - id: 3 name: Octocat's GPG Key @@ -113635,7 +114222,7 @@ paths: revoked: false raw_key: string headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -113688,9 +114275,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *768 examples: - default: &763 + default: &769 value: id: 3 name: Octocat's GPG Key @@ -113747,7 +114334,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: - - &764 + - &770 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113759,9 +114346,9 @@ paths: description: Response content: application/json: - schema: *762 + schema: *768 examples: - default: *763 + default: *769 '404': *6 '304': *35 '403': *27 @@ -113784,7 +114371,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: - - *764 + - *770 responses: '204': description: Response @@ -113927,7 +114514,7 @@ paths: suspended_at: suspended_by: headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -113973,11 +114560,11 @@ paths: type: string repositories: type: array - items: *65 + items: *67 examples: - default: *227 + default: *235 headers: - Link: *38 + Link: *41 '404': *6 '403': *27 '304': *35 @@ -114000,7 +114587,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *226 + - *234 responses: '204': description: Response @@ -114026,7 +114613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *226 + - *234 responses: '204': description: Response @@ -114060,12 +114647,12 @@ paths: application/json: schema: anyOf: - - *314 + - *321 - type: object properties: {} additionalProperties: false examples: - default: *315 + default: *322 '204': description: Response when there are no restrictions x-github: @@ -114089,7 +114676,7 @@ paths: required: true content: application/json: - schema: *603 + schema: *608 examples: default: value: @@ -114100,7 +114687,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: default: value: @@ -114181,7 +114768,7 @@ paths: - closed - all default: open - - *322 + - *329 - name: sort description: What to sort results by. in: query @@ -114193,8 +114780,8 @@ paths: - updated - comments default: created - - *98 - - *175 + - *99 + - *183 - *17 - *19 responses: @@ -114204,11 +114791,11 @@ paths: application/json: schema: type: array - items: *185 + items: *193 examples: - default: *323 + default: *330 headers: - Link: *38 + Link: *41 '404': *6 '304': *35 x-github: @@ -114239,7 +114826,7 @@ paths: application/json: schema: type: array - items: &765 + items: &771 title: Key description: Key type: object @@ -114291,7 +114878,7 @@ paths: verified: false read_only: false headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -114342,9 +114929,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: &766 + default: &772 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114377,15 +114964,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: - - *630 + - *635 responses: '200': description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: *766 + default: *772 '404': *6 '304': *35 '403': *27 @@ -114408,7 +114995,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: - - *630 + - *635 responses: '204': description: Response @@ -114441,7 +115028,7 @@ paths: application/json: schema: type: array - items: &767 + items: &773 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114509,7 +115096,7 @@ paths: - id - type - login - plan: *188 + plan: *196 required: - billing_cycle - next_billing_date @@ -114520,7 +115107,7 @@ paths: - account - plan examples: - default: &768 + default: &774 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114553,7 +115140,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *38 + Link: *41 '304': *35 '401': *23 '404': *6 @@ -114582,11 +115169,11 @@ paths: application/json: schema: type: array - items: *767 + items: *773 examples: - default: *768 + default: *774 headers: - Link: *38 + Link: *41 '304': *35 '401': *23 x-github: @@ -114624,7 +115211,7 @@ paths: application/json: schema: type: array - items: *328 + items: *334 examples: default: value: @@ -114701,7 +115288,7 @@ paths: type: User site_admin: false headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -114726,13 +115313,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *76 responses: '200': description: Response content: application/json: - schema: *328 + schema: *334 examples: default: value: @@ -114790,7 +115377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *76 requestBody: required: true content: @@ -114815,7 +115402,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *334 examples: default: value: @@ -114883,7 +115470,7 @@ paths: application/json: schema: type: array - items: *330 + items: *336 examples: default: value: @@ -115036,7 +115623,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -115145,7 +115732,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -115325,7 +115912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *331 + - *337 - name: exclude in: query required: false @@ -115338,7 +115925,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *336 examples: default: value: @@ -115532,7 +116119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *331 + - *337 responses: '302': description: Response @@ -115558,7 +116145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *331 + - *337 responses: '204': description: Response @@ -115587,8 +116174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *331 - - *769 + - *337 + - *775 responses: '204': description: Response @@ -115612,7 +116199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *331 + - *337 - *17 - *19 responses: @@ -115622,11 +116209,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '404': *6 x-github: githubCloudOnly: false @@ -115659,11 +116246,11 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: *770 + default: *776 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -115703,7 +116290,7 @@ paths: - docker - nuget - container - - *771 + - *777 - *19 - *17 responses: @@ -115713,10 +116300,10 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 - '400': *773 + default: *778 + '400': *779 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115736,16 +116323,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: - - *338 - - *339 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: &793 + default: &799 value: id: 40201 name: octo-name @@ -115858,8 +116445,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: - - *338 - - *339 + - *343 + - *344 responses: '204': description: Response @@ -115889,8 +116476,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: - - *338 - - *339 + - *343 + - *344 - name: token description: package token schema: @@ -115922,8 +116509,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: - - *338 - - *339 + - *343 + - *344 - *19 - *17 - name: state @@ -115943,7 +116530,7 @@ paths: application/json: schema: type: array - items: *340 + items: *345 examples: default: value: @@ -115992,15 +116579,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -116036,9 +116623,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '204': description: Response @@ -116068,9 +116655,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: - - *338 - - *339 - - *341 + - *343 + - *344 + - *346 responses: '204': description: Response @@ -116128,7 +116715,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -116200,11 +116787,11 @@ paths: application/json: schema: type: array - items: *761 + items: *767 examples: - default: *774 + default: *780 headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116313,9 +116900,9 @@ paths: application/json: schema: type: array - items: *65 + items: *67 examples: - default: &781 + default: &787 summary: Default response value: - id: 1296269 @@ -116436,7 +117023,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '422': *15 '304': *35 '403': *27 @@ -116633,9 +117220,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *434 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116673,11 +117260,11 @@ paths: application/json: schema: type: array - items: *605 + items: *610 examples: - default: *775 + default: *781 headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116698,12 +117285,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *318 + - *325 responses: '204': description: Response '403': *27 - '409': *106 + '409': *107 '404': *6 '304': *35 x-github: @@ -116721,11 +117308,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *318 + - *325 responses: '204': description: Response - '409': *106 + '409': *107 '304': *35 '404': *6 '403': *27 @@ -116754,7 +117341,7 @@ paths: application/json: schema: type: array - items: &776 + items: &782 title: Social account description: Social media account type: object @@ -116771,12 +117358,12 @@ paths: - provider - url examples: - default: &777 + default: &783 value: - provider: twitter url: https://twitter.com/github headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -116834,9 +117421,9 @@ paths: application/json: schema: type: array - items: *776 + items: *782 examples: - default: *777 + default: *783 '422': *15 '304': *35 '404': *6 @@ -116924,7 +117511,7 @@ paths: application/json: schema: type: array - items: &778 + items: &784 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116944,7 +117531,7 @@ paths: - title - created_at examples: - default: &794 + default: &800 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116957,7 +117544,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -117011,9 +117598,9 @@ paths: description: Response content: application/json: - schema: *778 + schema: *784 examples: - default: &779 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117044,7 +117631,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: - - &780 + - &786 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117056,9 +117643,9 @@ paths: description: Response content: application/json: - schema: *778 + schema: *784 examples: - default: *779 + default: *785 '404': *6 '304': *35 '403': *27 @@ -117081,7 +117668,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: - - *780 + - *786 responses: '204': description: Response @@ -117110,7 +117697,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: - - &795 + - &801 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 @@ -117123,7 +117710,7 @@ paths: - created - updated default: created - - *98 + - *99 - *17 - *19 responses: @@ -117133,13 +117720,13 @@ paths: application/json: schema: type: array - items: *65 + items: *67 examples: - default-response: *781 + default-response: *787 application/vnd.github.v3.star+json: schema: type: array - items: &796 + items: &802 title: Starred Repository description: Starred Repository type: object @@ -117147,7 +117734,7 @@ paths: starred_at: type: string format: date-time - repo: *65 + repo: *67 required: - starred_at - repo @@ -117275,7 +117862,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117295,8 +117882,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response if this repository is starred by you @@ -117324,8 +117911,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -117349,8 +117936,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: - - *419 - - *420 + - *424 + - *425 responses: '204': description: Response @@ -117383,11 +117970,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117422,7 +118009,7 @@ paths: application/json: schema: type: array - items: *400 + items: *405 examples: default: value: @@ -117473,7 +118060,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *38 + Link: *41 '304': *35 '404': *6 '403': *27 @@ -117500,7 +118087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *190 + - *198 responses: '200': description: Response @@ -117508,10 +118095,10 @@ paths: application/json: schema: oneOf: - - *755 - - *754 + - *761 + - *760 examples: - default-response: &787 + default-response: &793 summary: Default response value: login: octocat @@ -117546,7 +118133,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &788 + response-with-git-hub-plan-information: &794 summary: Response with GitHub plan information value: login: octocat @@ -117606,7 +118193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *782 + - *788 - *17 responses: '200': @@ -117617,7 +118204,7 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: Link: example: ; rel="next" @@ -117640,8 +118227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *355 - - &783 + - *360 + - &789 name: user_id description: The unique identifier of the user. in: path @@ -117653,11 +118240,11 @@ paths: description: Response content: application/json: - schema: *353 + schema: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117677,11 +118264,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *355 - - *783 + - *360 + - *789 - *17 - - *96 - *97 + - *98 responses: '200': description: Response @@ -117689,11 +118276,11 @@ paths: application/json: schema: type: array - items: *356 + items: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117713,19 +118300,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *355 - - *784 - - *783 + - *360 + - *790 + - *789 responses: '200': description: Response content: application/json: - schema: *356 + schema: *361 examples: - default: *357 + default: *362 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117746,10 +118333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *355 - - *783 - - *96 + - *360 + - *789 - *97 + - *98 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -117777,11 +118364,11 @@ paths: application/json: schema: type: array - items: *361 + items: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117800,8 +118387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *783 - - *355 + - *789 + - *360 requestBody: required: true description: Details of the item to add to the project. @@ -117838,9 +118425,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *791 examples: - default: *786 + default: *792 '304': *35 '403': *27 '401': *23 @@ -117860,9 +118447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117880,11 +118467,11 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -117903,9 +118490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117978,9 +118565,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *366 examples: - default: *362 + default: *367 '401': *23 '403': *27 '404': *6 @@ -118000,9 +118587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *355 - - *783 - - *363 + - *360 + - *789 + - *368 responses: '204': description: Response @@ -118031,7 +118618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *254 + - *176 responses: '200': description: Response @@ -118039,11 +118626,11 @@ paths: application/json: schema: oneOf: - - *755 - - *754 + - *761 + - *760 examples: - default-response: *787 - response-with-git-hub-plan-information: *788 + default-response: *793 + response-with-git-hub-plan-information: *794 '404': *6 x-github: githubCloudOnly: false @@ -118067,9 +118654,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *96 - *97 - - *254 + - *98 + - *176 requestBody: required: true content: @@ -118092,8 +118679,8 @@ paths: required: - subject_digests examples: - default: *789 - withPredicateType: *790 + default: *795 + withPredicateType: *796 responses: '200': description: Response @@ -118147,7 +118734,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *791 + default: *797 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118165,7 +118752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *254 + - *176 requestBody: required: true content: @@ -118230,7 +118817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *254 + - *176 - name: subject_digest description: Subject Digest in: path @@ -118261,7 +118848,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *254 + - *176 - name: attestation_id description: Attestation ID in: path @@ -118297,9 +118884,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *96 - *97 - - *254 + - *98 + - *176 - name: subject_digest description: Subject Digest in: path @@ -118349,12 +118936,12 @@ paths: bundle_url: type: string examples: - default: *472 + default: *477 '201': description: Response content: application/json: - schema: *243 + schema: *251 examples: default: value: @@ -118380,7 +118967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *254 + - *176 responses: '200': description: Response @@ -118388,9 +118975,9 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 + default: *778 '403': *27 '401': *23 x-github: @@ -118413,7 +119000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118423,7 +119010,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118494,8 +119081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *254 - - *74 + - *176 + - *76 - *17 - *19 responses: @@ -118505,7 +119092,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118584,7 +119171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118594,7 +119181,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -118661,7 +119248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118673,9 +119260,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118692,7 +119279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118704,9 +119291,9 @@ paths: type: array items: *4 examples: - default: *324 + default: *175 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118723,7 +119310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *254 + - *176 - name: target_user in: path required: true @@ -118750,8 +119337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *254 - - *175 + - *176 + - *183 - *17 - *19 responses: @@ -118761,11 +119348,11 @@ paths: application/json: schema: type: array - items: *176 + items: *184 examples: - default: *177 + default: *185 headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -118784,7 +119371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118794,11 +119381,11 @@ paths: application/json: schema: type: array - items: *762 + items: *768 examples: - default: *792 + default: *798 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118820,7 +119407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *254 + - *176 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118892,7 +119479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *254 + - *176 responses: '200': description: Response @@ -118900,7 +119487,7 @@ paths: application/json: schema: *20 examples: - default: *602 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118918,7 +119505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118954,7 +119541,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118974,7 +119561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -118984,11 +119571,11 @@ paths: application/json: schema: type: array - items: *60 + items: *62 examples: - default: *770 + default: *776 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119025,8 +119612,8 @@ paths: - docker - nuget - container - - *771 - - *254 + - *777 + - *176 - *19 - *17 responses: @@ -119036,12 +119623,12 @@ paths: application/json: schema: type: array - items: *336 + items: *341 examples: - default: *772 + default: *778 '403': *27 '401': *23 - '400': *773 + '400': *779 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119061,17 +119648,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *793 + default: *799 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119092,9 +119679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '204': description: Response @@ -119126,9 +119713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 - name: token description: package token schema: @@ -119160,9 +119747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *338 - - *339 - - *254 + - *343 + - *344 + - *176 responses: '200': description: Response @@ -119170,7 +119757,7 @@ paths: application/json: schema: type: array - items: *340 + items: *345 examples: default: value: @@ -119228,16 +119815,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: - - *338 - - *339 - - *341 - - *254 + - *343 + - *344 + - *346 + - *176 responses: '200': description: Response content: application/json: - schema: *340 + schema: *345 examples: default: value: @@ -119272,10 +119859,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *338 - - *339 - - *254 - - *341 + - *343 + - *344 + - *176 + - *346 responses: '204': description: Response @@ -119307,10 +119894,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *338 - - *339 - - *254 - - *341 + - *343 + - *344 + - *176 + - *346 responses: '204': description: Response @@ -119336,7 +119923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *254 + - *176 - name: state description: Indicates the state of the projects to return. in: query @@ -119357,7 +119944,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -119393,7 +119980,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *38 + Link: *41 '422': *15 x-github: githubCloudOnly: false @@ -119415,15 +120002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *254 + - *176 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *96 - *97 + - *98 - *17 responses: '200': @@ -119432,11 +120019,11 @@ paths: application/json: schema: type: array - items: *353 + items: *358 examples: - default: *354 + default: *359 headers: - Link: *38 + Link: *41 '304': *35 '403': *27 '401': *23 @@ -119461,7 +120048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119471,7 +120058,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -119550,7 +120137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119560,7 +120147,7 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: default: value: @@ -119637,7 +120224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *254 + - *176 - name: type description: Limit results to repositories of the specified type. in: query @@ -119680,11 +120267,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119706,15 +120293,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *387 + schema: *392 examples: - default: *388 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119736,15 +120323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *392 + schema: *397 examples: - default: *393 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119766,15 +120353,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *254 + - *176 responses: '200': description: Response content: application/json: - schema: *394 + schema: *399 examples: - default: *395 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119794,11 +120381,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *254 - - *201 - - *202 - - *203 - - *204 + - *176 + - *209 + - *210 + - *211 + - *212 responses: '200': description: Response when getting a billing usage report @@ -119868,8 +120455,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *89 - '503': *162 + '500': *38 + '503': *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119887,7 +120474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119897,11 +120484,11 @@ paths: application/json: schema: type: array - items: *776 + items: *782 examples: - default: *777 + default: *783 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119919,7 +120506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -119929,11 +120516,11 @@ paths: application/json: schema: type: array - items: *778 + items: *784 examples: - default: *794 + default: *800 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119955,9 +120542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *254 - - *795 - - *98 + - *176 + - *801 + - *99 - *17 - *19 responses: @@ -119968,13 +120555,13 @@ paths: schema: anyOf: - type: array - items: *796 + items: *802 - type: array - items: *65 + items: *67 examples: - default-response: *781 + default-response: *787 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119991,7 +120578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *254 + - *176 - *17 - *19 responses: @@ -120001,11 +120588,11 @@ paths: application/json: schema: type: array - items: *232 + items: *240 examples: - default: *342 + default: *347 headers: - Link: *38 + Link: *41 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120132,7 +120719,7 @@ webhooks: type: string enum: - disabled - enterprise: &797 + enterprise: &803 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120201,7 +120788,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &798 + installation: &804 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120222,7 +120809,7 @@ webhooks: required: - id - node_id - organization: &799 + organization: &805 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120295,7 +120882,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &800 + repository: &806 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -120324,7 +120911,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *194 organization: anyOf: - type: 'null' @@ -121208,10 +121795,10 @@ webhooks: type: string enum: - enabled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -121287,11 +121874,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: &801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: &807 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) @@ -121514,11 +122101,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: *807 sender: *4 required: - action @@ -121706,11 +122293,11 @@ webhooks: - everyone required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - rule: *801 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + rule: *807 sender: *4 required: - action @@ -121781,7 +122368,7 @@ webhooks: required: true content: application/json: - schema: &804 + schema: &810 title: Exemption request cancellation event type: object properties: @@ -121789,11 +122376,11 @@ webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: &802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: &808 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122031,7 +122618,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &803 + items: &809 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122141,7 +122728,7 @@ webhooks: required: true content: application/json: - schema: &805 + schema: &811 title: Exemption request completed event type: object properties: @@ -122149,11 +122736,11 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 sender: *4 required: - action @@ -122223,7 +122810,7 @@ webhooks: required: true content: application/json: - schema: &806 + schema: &812 title: Exemption request created event type: object properties: @@ -122231,11 +122818,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 sender: *4 required: - action @@ -122305,7 +122892,7 @@ webhooks: required: true content: application/json: - schema: &807 + schema: &813 title: Exemption response dismissed event type: object properties: @@ -122313,12 +122900,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 - exemption_response: *803 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 + exemption_response: *809 sender: *4 required: - action @@ -122390,7 +122977,7 @@ webhooks: required: true content: application/json: - schema: &808 + schema: &814 title: Exemption response submitted event type: object properties: @@ -122398,12 +122985,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - exemption_request: *802 - exemption_response: *803 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + exemption_request: *808 + exemption_response: *809 sender: *4 required: - action @@ -122476,7 +123063,7 @@ webhooks: required: true content: application/json: - schema: *804 + schema: *810 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122543,7 +123130,7 @@ webhooks: required: true content: application/json: - schema: *805 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122610,7 +123197,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122677,7 +123264,7 @@ webhooks: required: true content: application/json: - schema: *807 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122745,7 +123332,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122823,7 +123410,7 @@ webhooks: type: string enum: - completed - check_run: &810 + check_run: &816 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122888,8 +123475,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *489 - repository: *232 + items: *494 + repository: *240 status: type: string enum: @@ -122933,7 +123520,7 @@ webhooks: - examples: - neutral - deployment: *809 + deployment: *815 details_url: type: string examples: @@ -122993,7 +123580,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *489 + items: *494 started_at: type: string format: date-time @@ -123031,10 +123618,10 @@ webhooks: - output - app - pull_requests - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -123427,11 +124014,11 @@ webhooks: type: string enum: - created - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -123827,11 +124414,11 @@ webhooks: type: string enum: - requested_action - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 requested_action: description: The action requested by the user. type: object @@ -124236,11 +124823,11 @@ webhooks: type: string enum: - rerequested - check_run: *810 - installation: *798 - enterprise: *797 - organization: *799 - repository: *800 + check_run: *816 + installation: *804 + enterprise: *803 + organization: *805 + repository: *806 sender: *4 required: - check_run @@ -125232,10 +125819,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -125920,10 +126507,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -126602,10 +127189,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -126771,7 +127358,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126923,20 +127510,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &811 + commit_oid: &817 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: *797 - installation: *798 - organization: *799 - ref: &812 + enterprise: *803 + installation: *804 + organization: *805 + ref: &818 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: *800 + repository: *806 sender: *4 required: - action @@ -127100,7 +127687,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127341,12 +127928,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -127444,7 +128031,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127626,12 +128213,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -127797,7 +128384,7 @@ webhooks: required: - login - id - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127974,12 +128561,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -128079,7 +128666,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128259,9 +128846,9 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128269,7 +128856,7 @@ webhooks: type: - string - 'null' - repository: *800 + repository: *806 sender: *4 required: - action @@ -128365,7 +128952,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *501 + dismissed_comment: *506 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128512,12 +129099,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *811 - enterprise: *797 - installation: *798 - organization: *799 - ref: *812 - repository: *800 + commit_oid: *817 + enterprise: *803 + installation: *804 + organization: *805 + ref: *818 + repository: *806 sender: *4 required: - action @@ -128779,10 +129366,10 @@ webhooks: - updated_at - author_association - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -128863,18 +129450,18 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *799 - pusher_type: &813 + organization: *805 + pusher_type: &819 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &814 + ref: &820 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128884,7 +129471,7 @@ webhooks: enum: - tag - branch - repository: *800 + repository: *806 sender: *4 required: - ref @@ -128966,10 +129553,10 @@ webhooks: type: string enum: - created - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129054,9 +129641,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129133,10 +129720,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129213,10 +129800,10 @@ webhooks: type: string enum: - updated - definition: *124 - enterprise: *797 - installation: *798 - organization: *799 + definition: *125 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -129293,19 +129880,19 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - repository: *800 - organization: *799 + enterprise: *803 + installation: *804 + repository: *806 + organization: *805 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *365 + items: *370 old_property_values: type: array description: The old custom property values for the repository. - items: *365 + items: *370 required: - action - repository @@ -129381,18 +129968,18 @@ webhooks: title: delete event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - pusher_type: *813 - ref: *814 + enterprise: *803 + installation: *804 + organization: *805 + pusher_type: *819 + ref: *820 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *800 + repository: *806 sender: *4 required: - ref @@ -129476,11 +130063,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129564,11 +130151,11 @@ webhooks: type: string enum: - auto_reopened - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129652,11 +130239,11 @@ webhooks: type: string enum: - created - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129738,11 +130325,11 @@ webhooks: type: string enum: - dismissed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129824,11 +130411,11 @@ webhooks: type: string enum: - fixed - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129911,11 +130498,11 @@ webhooks: type: string enum: - reintroduced - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -129997,11 +130584,11 @@ webhooks: type: string enum: - reopened - alert: *552 - installation: *798 - organization: *799 - enterprise: *797 - repository: *800 + alert: *557 + installation: *804 + organization: *805 + enterprise: *803 + repository: *806 sender: *4 required: - action @@ -130078,9 +130665,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - key: &815 + enterprise: *803 + installation: *804 + key: &821 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130118,8 +130705,8 @@ webhooks: - verified - created_at - read_only - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -130196,11 +130783,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - key: *815 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + key: *821 + organization: *805 + repository: *806 sender: *4 required: - action @@ -130772,12 +131359,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: &819 + workflow: &825 title: Workflow type: - object @@ -131515,13 +132102,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *558 + deployment: *563 pull_requests: type: array - items: *648 - repository: *800 - organization: *799 - installation: *798 + items: *653 + repository: *806 + organization: *805 + installation: *804 sender: *4 responses: '200': @@ -131592,7 +132179,7 @@ webhooks: type: string enum: - approved - approver: &816 + approver: &822 type: object properties: avatar_url: @@ -131635,11 +132222,11 @@ webhooks: type: string comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: &817 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + reviewers: &823 type: array items: type: object @@ -131720,7 +132307,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &818 + workflow_job_run: &824 type: object properties: conclusion: @@ -132466,18 +133053,18 @@ webhooks: type: string enum: - rejected - approver: *816 + approver: *822 comment: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - reviewers: *817 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + reviewers: *823 sender: *4 since: type: string - workflow_job_run: *818 + workflow_job_run: *824 workflow_job_runs: type: array items: @@ -133194,13 +133781,13 @@ webhooks: type: string enum: - requested - enterprise: *797 + enterprise: *803 environment: type: string - installation: *798 - organization: *799 - repository: *800 - requestor: &824 + installation: *804 + organization: *805 + repository: *806 + requestor: &830 title: User type: - object @@ -135143,12 +135730,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Deployment Workflow Run type: @@ -135839,7 +136426,7 @@ webhooks: type: string enum: - answered - answer: &822 + answer: &828 type: object properties: author_association: @@ -135999,7 +136586,7 @@ webhooks: - created_at - updated_at - body - discussion: &820 + discussion: &826 title: Discussion description: A Discussion in a repository. type: object @@ -136295,7 +136882,7 @@ webhooks: - id labels: type: array - items: *613 + items: *618 required: - repository_url - category @@ -136317,10 +136904,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136447,11 +137034,11 @@ webhooks: - from required: - category - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136534,11 +137121,11 @@ webhooks: type: string enum: - closed - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136620,7 +137207,7 @@ webhooks: type: string enum: - created - comment: &821 + comment: &827 type: object properties: author_association: @@ -136780,11 +137367,11 @@ webhooks: - updated_at - body - reactions - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136867,12 +137454,12 @@ webhooks: type: string enum: - deleted - comment: *821 - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *827 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -136967,12 +137554,12 @@ webhooks: - from required: - body - comment: *821 - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + comment: *827 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137056,11 +137643,11 @@ webhooks: type: string enum: - created - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137142,11 +137729,11 @@ webhooks: type: string enum: - deleted - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137246,11 +137833,11 @@ webhooks: type: string required: - from - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137332,10 +137919,10 @@ webhooks: type: string enum: - labeled - discussion: *820 - enterprise: *797 - installation: *798 - label: &823 + discussion: *826 + enterprise: *803 + installation: *804 + label: &829 title: Label type: object properties: @@ -137368,8 +137955,8 @@ webhooks: - color - default - description - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137452,11 +138039,11 @@ webhooks: type: string enum: - locked - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137538,11 +138125,11 @@ webhooks: type: string enum: - pinned - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137624,11 +138211,11 @@ webhooks: type: string enum: - reopened - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137713,16 +138300,16 @@ webhooks: changes: type: object properties: - new_discussion: *820 - new_repository: *800 + new_discussion: *826 + new_repository: *806 required: - new_discussion - new_repository - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137805,10 +138392,10 @@ webhooks: type: string enum: - unanswered - discussion: *820 - old_answer: *822 - organization: *799 - repository: *800 + discussion: *826 + old_answer: *828 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137890,12 +138477,12 @@ webhooks: type: string enum: - unlabeled - discussion: *820 - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -137978,11 +138565,11 @@ webhooks: type: string enum: - unlocked - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -138064,11 +138651,11 @@ webhooks: type: string enum: - unpinned - discussion: *820 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + discussion: *826 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -138137,7 +138724,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138200,7 +138787,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138266,7 +138853,7 @@ webhooks: required: true content: application/json: - schema: *804 + schema: *810 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138332,7 +138919,7 @@ webhooks: required: true content: application/json: - schema: *805 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138398,7 +138985,7 @@ webhooks: required: true content: application/json: - schema: *806 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138464,7 +139051,7 @@ webhooks: required: true content: application/json: - schema: *807 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138530,7 +139117,7 @@ webhooks: required: true content: application/json: - schema: *808 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138597,7 +139184,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *797 + enterprise: *803 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139275,9 +139862,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - forkee @@ -139423,9 +140010,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pages: description: The pages that were updated. type: array @@ -139463,7 +140050,7 @@ webhooks: - action - sha - html_url - repository: *800 + repository: *806 sender: *4 required: - pages @@ -139539,10 +140126,10 @@ webhooks: type: string enum: - created - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: &825 + organization: *805 + repositories: &831 description: An array of repository objects that the installation can access. type: array @@ -139568,8 +140155,8 @@ webhooks: - name - full_name - private - repository: *800 - requester: *824 + repository: *806 + requester: *830 sender: *4 required: - action @@ -139644,11 +140231,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -139725,11 +140312,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -139806,10 +140393,10 @@ webhooks: type: string enum: - added - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories_added: &826 + organization: *805 + repositories_added: &832 description: An array of repository objects, which were added to the installation. type: array @@ -139855,15 +140442,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *800 - repository_selection: &827 + repository: *806 + repository_selection: &833 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *824 + requester: *830 sender: *4 required: - action @@ -139942,10 +140529,10 @@ webhooks: type: string enum: - removed - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories_added: *826 + organization: *805 + repositories_added: *832 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139972,9 +140559,9 @@ webhooks: - name - full_name - private - repository: *800 - repository_selection: *827 - requester: *824 + repository: *806 + repository_selection: *833 + requester: *830 sender: *4 required: - action @@ -140053,11 +140640,11 @@ webhooks: type: string enum: - suspend - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -140240,10 +140827,10 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 target_type: type: string @@ -140322,11 +140909,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *797 + enterprise: *803 installation: *20 - organization: *799 - repositories: *825 - repository: *800 + organization: *805 + repositories: *831 + repository: *806 requester: type: - 'null' @@ -140574,8 +141161,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141392,8 +141979,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141410,7 +141997,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -141754,8 +142341,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -141835,7 +142422,7 @@ webhooks: type: string enum: - deleted - comment: &828 + comment: &834 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142002,8 +142589,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142816,8 +143403,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142834,7 +143421,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -143180,8 +143767,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -143261,7 +143848,7 @@ webhooks: type: string enum: - edited - changes: &852 + changes: &858 description: The changes to the comment. type: object properties: @@ -143273,9 +143860,9 @@ webhooks: type: string required: - from - comment: *828 - enterprise: *797 - installation: *798 + comment: *834 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144091,8 +144678,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144109,7 +144696,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -144453,8 +145040,8 @@ webhooks: - state - locked - assignee - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144538,15 +145125,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *193 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - blocking_issue_repo: *65 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + blocking_issue_repo: *67 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144634,15 +145221,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 + blocked_issue: *193 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - blocking_issue_repo: *65 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + blocking_issue_repo: *67 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144729,15 +145316,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 - blocked_issue_repo: *65 + blocked_issue: *193 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144825,15 +145412,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *185 - blocked_issue_repo: *65 + blocked_issue: *193 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *185 - installation: *798 - organization: *799 - repository: *800 + blocking_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -144918,10 +145505,10 @@ webhooks: type: string enum: - assigned - assignee: *824 - enterprise: *797 - installation: *798 - issue: &831 + assignee: *830 + enterprise: *803 + installation: *804 + issue: &837 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145733,11 +146320,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145754,7 +146341,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -145857,8 +146444,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -145938,8 +146525,8 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146756,11 +147343,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146777,7 +147364,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -147023,8 +147610,8 @@ webhooks: required: - state - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -147103,8 +147690,8 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147912,11 +148499,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147933,7 +148520,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -148035,8 +148622,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -148115,8 +148702,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148947,11 +149534,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148968,7 +149555,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -149049,7 +149636,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &829 + milestone: &835 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149192,8 +149779,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -149292,8 +149879,8 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150105,11 +150692,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150123,7 +150710,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -150229,9 +150816,9 @@ webhooks: - active_lock_reason - body - reactions - label: *823 - organization: *799 - repository: *800 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -150311,8 +150898,8 @@ webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151123,11 +151710,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151141,7 +151728,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -151247,9 +151834,9 @@ webhooks: - active_lock_reason - body - reactions - label: *823 - organization: *799 - repository: *800 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -151329,8 +151916,8 @@ webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152166,11 +152753,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152184,7 +152771,7 @@ webhooks: timeline_url: type: string format: uri - type: *319 + type: *326 title: description: Title of the issue type: string @@ -152267,8 +152854,8 @@ webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -152347,8 +152934,8 @@ webhooks: type: string enum: - milestoned - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153178,11 +153765,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153199,7 +153786,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -153279,9 +153866,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *829 - organization: *799 - repository: *800 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -154173,11 +154760,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154273,7 +154860,7 @@ webhooks: required: - login - id - type: *319 + type: *326 required: - id - number @@ -154754,8 +155341,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155567,11 +156154,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155588,7 +156175,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -155690,8 +156277,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -155771,9 +156358,9 @@ webhooks: type: string enum: - pinned - enterprise: *797 - installation: *798 - issue: &830 + enterprise: *803 + installation: *804 + issue: &836 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156579,11 +157166,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156600,7 +157187,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -156702,8 +157289,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -156782,8 +157369,8 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157617,11 +158204,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157718,9 +158305,9 @@ webhooks: format: uri user_view_type: type: string - type: *319 - organization: *799 - repository: *800 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -158609,11 +159196,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158630,7 +159217,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -159212,11 +159799,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *797 - installation: *798 - issue: *830 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *836 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159296,12 +159883,12 @@ webhooks: type: string enum: - typed - enterprise: *797 - installation: *798 - issue: *831 - type: *319 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159382,7 +159969,7 @@ webhooks: type: string enum: - unassigned - assignee: &855 + assignee: &861 title: User type: - object @@ -159454,11 +160041,11 @@ webhooks: required: - login - id - enterprise: *797 - installation: *798 - issue: *831 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159537,12 +160124,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - issue: *831 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -159622,8 +160209,8 @@ webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160457,11 +161044,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *740 - issue_dependencies_summary: *741 + sub_issues_summary: *746 + issue_dependencies_summary: *747 issue_field_values: type: array - items: *742 + items: *748 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160478,7 +161065,7 @@ webhooks: title: description: Title of the issue type: string - type: *319 + type: *326 updated_at: type: string format: date-time @@ -160558,8 +161145,8 @@ webhooks: format: uri user_view_type: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160639,11 +161226,11 @@ webhooks: type: string enum: - unpinned - enterprise: *797 - installation: *798 - issue: *830 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *836 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160722,12 +161309,12 @@ webhooks: type: string enum: - untyped - enterprise: *797 - installation: *798 - issue: *831 - type: *319 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + issue: *837 + type: *326 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160807,11 +161394,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -160889,11 +161476,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -161003,11 +161590,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - label: *823 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + label: *829 + organization: *805 + repository: *806 sender: *4 required: - action @@ -161089,9 +161676,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: &832 + enterprise: *803 + installation: *804 + marketplace_purchase: &838 title: Marketplace Purchase type: object required: @@ -161179,8 +161766,8 @@ webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: &833 + organization: *805 + previous_marketplace_purchase: &839 title: Marketplace Purchase type: object properties: @@ -161264,7 +161851,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161344,10 +161931,10 @@ webhooks: - changed effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161435,7 +162022,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161517,10 +162104,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161606,7 +162193,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *800 + repository: *806 sender: *4 required: - action @@ -161687,8 +162274,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 marketplace_purchase: title: Marketplace Purchase type: object @@ -161774,9 +162361,9 @@ webhooks: type: integer unit_count: type: integer - organization: *799 - previous_marketplace_purchase: *833 - repository: *800 + organization: *805 + previous_marketplace_purchase: *839 + repository: *806 sender: *4 required: - action @@ -161856,12 +162443,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *797 - installation: *798 - marketplace_purchase: *832 - organization: *799 - previous_marketplace_purchase: *833 - repository: *800 + enterprise: *803 + installation: *804 + marketplace_purchase: *838 + organization: *805 + previous_marketplace_purchase: *839 + repository: *806 sender: *4 required: - action @@ -161963,11 +162550,11 @@ webhooks: type: string required: - to - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162069,11 +162656,11 @@ webhooks: type: - string - 'null' - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162152,11 +162739,11 @@ webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162234,11 +162821,11 @@ webhooks: type: string enum: - added - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162316,7 +162903,7 @@ webhooks: required: - login - id - team: &834 + team: &840 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162509,11 +163096,11 @@ webhooks: type: string enum: - removed - enterprise: *797 - installation: *798 - member: *824 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + member: *830 + organization: *805 + repository: *806 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162592,7 +163179,7 @@ webhooks: required: - login - id - team: *834 + team: *840 required: - action - scope @@ -162674,8 +163261,8 @@ webhooks: type: string enum: - checks_requested - installation: *798 - merge_group: &835 + installation: *804 + merge_group: &841 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162694,15 +163281,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *493 + head_commit: *498 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162788,10 +163375,10 @@ webhooks: - merged - invalidated - dequeued - installation: *798 - merge_group: *835 - organization: *799 - repository: *800 + installation: *804 + merge_group: *841 + organization: *805 + repository: *806 sender: *4 required: - action @@ -162864,7 +163451,7 @@ webhooks: type: string enum: - deleted - enterprise: *797 + enterprise: *803 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162973,12 +163560,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *798 - organization: *799 + installation: *804 + organization: *805 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -163058,11 +163645,11 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163141,9 +163728,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - milestone: &836 + enterprise: *803 + installation: *804 + milestone: &842 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163285,8 +163872,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163365,11 +163952,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163479,11 +164066,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - milestone: *829 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *835 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163563,11 +164150,11 @@ webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - milestone: *836 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + milestone: *842 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163646,11 +164233,11 @@ webhooks: type: string enum: - blocked - blocked_user: *824 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *830 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163729,11 +164316,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *824 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + blocked_user: *830 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -163812,9 +164399,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - membership: &837 + enterprise: *803 + installation: *804 + membership: &843 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -163924,8 +164511,8 @@ webhooks: - role - organization_url - user - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164003,11 +164590,11 @@ webhooks: type: string enum: - member_added - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164086,8 +164673,8 @@ webhooks: type: string enum: - member_invited - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164209,10 +164796,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 - user: *824 + user: *830 required: - action - invitation @@ -164290,11 +164877,11 @@ webhooks: type: string enum: - member_removed - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164381,11 +164968,11 @@ webhooks: properties: from: type: string - enterprise: *797 - installation: *798 - membership: *837 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + membership: *843 + organization: *805 + repository: *806 sender: *4 required: - action @@ -164461,9 +165048,9 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 package: description: Information about the package. type: object @@ -164986,7 +165573,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &838 + items: &844 title: Ruby Gems metadata type: object properties: @@ -165083,7 +165670,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -165159,9 +165746,9 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 package: description: Information about the package. type: object @@ -165523,7 +166110,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *838 + items: *844 source_url: type: string format: uri @@ -165594,7 +166181,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -165775,12 +166362,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *797 + enterprise: *803 id: type: integer - installation: *798 - organization: *799 - repository: *800 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - id @@ -165857,7 +166444,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &839 + personal_access_token_request: &845 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166007,10 +166594,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *797 - organization: *799 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166087,11 +166674,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *839 - enterprise: *797 - organization: *799 + personal_access_token_request: *845 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166167,11 +166754,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *839 - enterprise: *797 - organization: *799 + personal_access_token_request: *845 + enterprise: *803 + organization: *805 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166246,11 +166833,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *839 - organization: *799 - enterprise: *797 + personal_access_token_request: *845 + organization: *805 + enterprise: *803 sender: *4 - installation: *798 + installation: *804 required: - action - personal_access_token_request @@ -166355,7 +166942,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *840 + last_response: *846 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166387,8 +166974,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 zen: description: Random string of GitHub zen. @@ -166633,10 +167220,10 @@ webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: &841 + enterprise: *803 + installation: *804 + organization: *805 + project_card: &847 title: Project Card type: object properties: @@ -166759,7 +167346,7 @@ webhooks: - creator - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -166840,11 +167427,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_card: *841 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_card: *847 + repository: *806 sender: *4 required: - action @@ -166924,9 +167511,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 project_card: title: Project Card type: object @@ -167056,7 +167643,7 @@ webhooks: repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -167150,11 +167737,11 @@ webhooks: - from required: - note - enterprise: *797 - installation: *798 - organization: *799 - project_card: *841 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_card: *847 + repository: *806 sender: *4 required: - action @@ -167248,9 +167835,9 @@ webhooks: - from required: - column_id - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 project_card: allOf: - title: Project Card @@ -167447,7 +168034,7 @@ webhooks: type: string required: - after_id - repository: *800 + repository: *806 sender: *4 required: - action @@ -167527,10 +168114,10 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - organization: *799 - project: &843 + enterprise: *803 + installation: *804 + organization: *805 + project: &849 title: Project type: object properties: @@ -167657,7 +168244,7 @@ webhooks: - creator - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -167737,10 +168324,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project_column: &842 + enterprise: *803 + installation: *804 + organization: *805 + project_column: &848 title: Project Column type: object properties: @@ -167780,7 +168367,7 @@ webhooks: - name - created_at - updated_at - repository: *800 + repository: *806 sender: *4 required: - action @@ -167859,14 +168446,14 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -167955,11 +168542,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 + repository: *806 sender: *4 required: - action @@ -168039,11 +168626,11 @@ webhooks: type: string enum: - moved - enterprise: *797 - installation: *798 - organization: *799 - project_column: *842 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project_column: *848 + repository: *806 sender: *4 required: - action @@ -168123,11 +168710,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168207,14 +168794,14 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - project: *843 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 repository: anyOf: - type: 'null' - - *800 + - *806 sender: *4 required: - action @@ -168315,11 +168902,11 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168398,11 +168985,11 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - organization: *799 - project: *843 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + project: *849 + repository: *806 sender: *4 required: - action @@ -168483,9 +169070,9 @@ webhooks: type: string enum: - closed - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168566,9 +169153,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168649,9 +169236,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168772,9 +169359,9 @@ webhooks: type: string to: type: string - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -168857,7 +169444,7 @@ webhooks: type: string enum: - archived - changes: &847 + changes: &853 type: object properties: archived_at: @@ -168873,9 +169460,9 @@ webhooks: - string - 'null' format: date-time - installation: *798 - organization: *799 - projects_v2_item: &844 + installation: *804 + organization: *805 + projects_v2_item: &850 title: Projects v2 Item description: An item belonging to a project type: object @@ -168893,7 +169480,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *360 + content_type: *365 creator: *4 created_at: type: string @@ -169015,9 +169602,9 @@ webhooks: - 'null' to: type: string - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169099,9 +169686,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169182,9 +169769,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169289,7 +169876,7 @@ webhooks: oneOf: - type: string - type: integer - - &845 + - &851 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169313,7 +169900,7 @@ webhooks: required: - id - name - - &846 + - &852 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169353,8 +169940,8 @@ webhooks: oneOf: - type: string - type: integer - - *845 - - *846 + - *851 + - *852 type: - 'null' - string @@ -169377,9 +169964,9 @@ webhooks: - 'null' required: - body - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169476,9 +170063,9 @@ webhooks: type: - string - 'null' - installation: *798 - organization: *799 - projects_v2_item: *844 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169561,10 +170148,10 @@ webhooks: type: string enum: - restored - changes: *847 - installation: *798 - organization: *799 - projects_v2_item: *844 + changes: *853 + installation: *804 + organization: *805 + projects_v2_item: *850 sender: *4 required: - action @@ -169646,9 +170233,9 @@ webhooks: type: string enum: - reopened - installation: *798 - organization: *799 - projects_v2: *353 + installation: *804 + organization: *805 + projects_v2: *358 sender: *4 required: - action @@ -169729,9 +170316,9 @@ webhooks: type: string enum: - created - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -169812,9 +170399,9 @@ webhooks: type: string enum: - deleted - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -169960,9 +170547,9 @@ webhooks: - string - 'null' format: date - installation: *798 - organization: *799 - projects_v2_status_update: *848 + installation: *804 + organization: *805 + projects_v2_status_update: *854 sender: *4 required: - action @@ -170033,10 +170620,10 @@ webhooks: title: public event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - repository @@ -170113,13 +170700,13 @@ webhooks: type: string enum: - assigned - assignee: *824 - enterprise: *797 - installation: *798 - number: &849 + assignee: *830 + enterprise: *803 + installation: *804 + number: &855 description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -172468,7 +173055,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -172550,11 +173137,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -174896,7 +175483,7 @@ webhooks: - draft reason: type: string - repository: *800 + repository: *806 sender: *4 required: - action @@ -174978,11 +175565,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -177324,7 +177911,7 @@ webhooks: - draft reason: type: string - repository: *800 + repository: *806 sender: *4 required: - action @@ -177406,13 +177993,13 @@ webhooks: type: string enum: - closed - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: &850 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: &856 allOf: - - *648 + - *653 - type: object properties: allow_auto_merge: @@ -177474,7 +178061,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *800 + repository: *806 sender: *4 required: - action @@ -177555,12 +178142,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -177640,11 +178227,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *797 - milestone: *358 - number: *849 - organization: *799 - pull_request: &851 + enterprise: *803 + milestone: *363 + number: *855 + organization: *805 + pull_request: &857 title: Pull Request type: object properties: @@ -179971,7 +180558,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -180050,11 +180637,11 @@ webhooks: type: string enum: - dequeued - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -182400,7 +182987,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *800 + repository: *806 sender: *4 required: - action @@ -182524,12 +183111,12 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -182609,11 +183196,11 @@ webhooks: type: string enum: - enqueued - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -184944,7 +185531,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -185024,11 +185611,11 @@ webhooks: type: string enum: - labeled - enterprise: *797 - installation: *798 - label: *823 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + label: *829 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -187376,7 +187963,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -187457,10 +188044,10 @@ webhooks: type: string enum: - locked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -189806,7 +190393,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -189886,12 +190473,12 @@ webhooks: type: string enum: - milestoned - enterprise: *797 - milestone: *358 - number: *849 - organization: *799 - pull_request: *851 - repository: *800 + enterprise: *803 + milestone: *363 + number: *855 + organization: *805 + pull_request: *857 + repository: *806 sender: *4 required: - action @@ -189970,12 +190557,12 @@ webhooks: type: string enum: - opened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190056,12 +190643,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190141,12 +190728,12 @@ webhooks: type: string enum: - reopened - enterprise: *797 - installation: *798 - number: *849 - organization: *799 - pull_request: *850 - repository: *800 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 + pull_request: *856 + repository: *806 sender: *4 required: - action @@ -190521,9 +191108,9 @@ webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -192753,7 +193340,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -192833,7 +193420,7 @@ webhooks: type: string enum: - deleted - comment: &853 + comment: &859 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. @@ -193126,9 +193713,9 @@ webhooks: - start_side - side - reactions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -195346,7 +195933,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -195426,11 +196013,11 @@ webhooks: type: string enum: - edited - changes: *852 - comment: *853 - enterprise: *797 - installation: *798 - organization: *799 + changes: *858 + comment: *859 + enterprise: *803 + installation: *804 + organization: *805 pull_request: type: object properties: @@ -197651,7 +198238,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *800 + repository: *806 sender: *4 required: - action @@ -197732,9 +198319,9 @@ webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -199967,7 +200554,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 review: description: The review that was affected. type: object @@ -200218,9 +200805,9 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -202334,8 +202921,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: &854 + repository: *806 + review: &860 description: The review that was affected. type: object properties: @@ -202573,12 +203160,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -204925,7 +205512,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_reviewer: title: User type: @@ -205011,12 +205598,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -207370,7 +207957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207565,12 +208152,12 @@ webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -209919,7 +210506,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_reviewer: title: User type: @@ -210006,12 +210593,12 @@ webhooks: type: string enum: - review_requested - enterprise: *797 - installation: *798 + enterprise: *803 + installation: *804 number: description: The pull request number. type: integer - organization: *799 + organization: *805 pull_request: title: Pull Request type: object @@ -212351,7 +212938,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212535,9 +213122,9 @@ webhooks: type: string enum: - submitted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -214773,8 +215360,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 - review: *854 + repository: *806 + review: *860 sender: *4 required: - action @@ -214854,9 +215441,9 @@ webhooks: type: string enum: - resolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -216987,7 +217574,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 sender: *4 thread: type: object @@ -217384,9 +217971,9 @@ webhooks: type: string enum: - unresolved - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 pull_request: title: Simple Pull Request type: object @@ -219500,7 +220087,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *800 + repository: *806 sender: *4 thread: type: object @@ -219899,10 +220486,10 @@ webhooks: type: string before: type: string - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -222237,7 +222824,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -222319,11 +222906,11 @@ webhooks: type: string enum: - unassigned - assignee: *855 - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + assignee: *861 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -224673,7 +225260,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -224752,11 +225339,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *797 - installation: *798 - label: *823 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + label: *829 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -227095,7 +227682,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -227176,10 +227763,10 @@ webhooks: type: string enum: - unlocked - enterprise: *797 - installation: *798 - number: *849 - organization: *799 + enterprise: *803 + installation: *804 + number: *855 + organization: *805 pull_request: title: Pull Request type: object @@ -229508,7 +230095,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *800 + repository: *806 sender: *4 required: - action @@ -229711,7 +230298,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *797 + enterprise: *803 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229806,8 +230393,8 @@ webhooks: - url - author - committer - installation: *798 - organization: *799 + installation: *804 + organization: *805 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230395,9 +230982,9 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 registry_package: type: object properties: @@ -230874,7 +231461,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *838 + items: *844 summary: type: string tag_name: @@ -230930,7 +231517,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -231008,9 +231595,9 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 registry_package: type: object properties: @@ -231322,7 +231909,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *838 + items: *844 summary: type: string tag_name: @@ -231372,7 +231959,7 @@ webhooks: - owner - package_version - registry - repository: *800 + repository: *806 sender: *4 required: - action @@ -231449,10 +232036,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - release: &856 + enterprise: *803 + installation: *804 + organization: *805 + release: &862 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231783,7 +232370,7 @@ webhooks: - updated_at - zipball_url - body - repository: *800 + repository: *806 sender: *4 required: - action @@ -231860,11 +232447,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -231981,11 +232568,11 @@ webhooks: type: boolean required: - to - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -232063,9 +232650,9 @@ webhooks: type: string enum: - prereleased - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -232401,7 +232988,7 @@ webhooks: - string - 'null' format: uri - repository: *800 + repository: *806 sender: *4 required: - action @@ -232477,10 +233064,10 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - release: &857 + enterprise: *803 + installation: *804 + organization: *805 + release: &863 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232813,7 +233400,7 @@ webhooks: - string - 'null' format: uri - repository: *800 + repository: *806 sender: *4 required: - action @@ -232889,11 +233476,11 @@ webhooks: type: string enum: - released - enterprise: *797 - installation: *798 - organization: *799 - release: *856 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *862 + repository: *806 sender: *4 required: - action @@ -232969,11 +233556,11 @@ webhooks: type: string enum: - unpublished - enterprise: *797 - installation: *798 - organization: *799 - release: *857 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + release: *863 + repository: *806 sender: *4 required: - action @@ -233049,11 +233636,11 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *700 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_advisory: *706 sender: *4 required: - action @@ -233129,11 +233716,11 @@ webhooks: type: string enum: - reported - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_advisory: *700 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_advisory: *706 sender: *4 required: - action @@ -233209,10 +233796,10 @@ webhooks: type: string enum: - archived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233289,10 +233876,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233370,10 +233957,10 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233458,10 +234045,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233576,10 +234163,10 @@ webhooks: - 'null' items: type: string - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233651,10 +234238,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 status: type: string @@ -233735,10 +234322,10 @@ webhooks: type: string enum: - privatized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233815,10 +234402,10 @@ webhooks: type: string enum: - publicized - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233912,10 +234499,10 @@ webhooks: - name required: - repository - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -233995,11 +234582,11 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 sender: *4 required: - action @@ -234077,11 +234664,11 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 sender: *4 required: - action @@ -234159,11 +234746,11 @@ webhooks: type: string enum: - edited - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - repository_ruleset: *157 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + repository_ruleset: *158 changes: type: object properties: @@ -234182,16 +234769,16 @@ webhooks: properties: added: type: array - items: *131 + items: *132 deleted: type: array - items: *131 + items: *132 updated: type: array items: type: object properties: - condition: *131 + condition: *132 changes: type: object properties: @@ -234224,16 +234811,16 @@ webhooks: properties: added: type: array - items: *668 + items: *674 deleted: type: array - items: *668 + items: *674 updated: type: array items: type: object properties: - rule: *668 + rule: *674 changes: type: object properties: @@ -234470,10 +235057,10 @@ webhooks: - from required: - owner - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234551,10 +235138,10 @@ webhooks: type: string enum: - unarchived - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234632,7 +235219,7 @@ webhooks: type: string enum: - create - alert: &858 + alert: &864 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234756,10 +235343,10 @@ webhooks: type: string enum: - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -234969,10 +235556,10 @@ webhooks: type: string enum: - dismissed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235050,11 +235637,11 @@ webhooks: type: string enum: - reopen - alert: *858 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *864 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235256,10 +235843,10 @@ webhooks: enum: - fixed - open - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235337,17 +235924,17 @@ webhooks: type: string enum: - created - alert: &859 + alert: &865 type: object properties: - number: *108 - created_at: *115 + number: *109 + created_at: *116 updated_at: anyOf: - type: 'null' - - *116 - url: *113 - html_url: *114 + - *117 + url: *114 + html_url: *115 locations_url: type: string format: uri @@ -235447,10 +236034,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235531,11 +236118,11 @@ webhooks: type: string enum: - created - alert: *859 - installation: *798 - location: *860 - organization: *799 - repository: *800 + alert: *865 + installation: *804 + location: *866 + organization: *805 + repository: *806 sender: *4 required: - location @@ -235773,11 +236360,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235855,11 +236442,11 @@ webhooks: type: string enum: - reopened - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -235937,11 +236524,11 @@ webhooks: type: string enum: - resolved - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -236019,11 +236606,11 @@ webhooks: type: string enum: - validated - alert: *859 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + alert: *865 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -236153,10 +236740,10 @@ webhooks: - organization - enterprise - - repository: *800 - enterprise: *797 - installation: *798 - organization: *799 + repository: *806 + enterprise: *803 + installation: *804 + organization: *805 sender: *4 required: - action @@ -236234,11 +236821,11 @@ webhooks: type: string enum: - published - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: &861 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + security_advisory: &867 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236255,7 +236842,7 @@ webhooks: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: array items: @@ -236424,11 +237011,11 @@ webhooks: type: string enum: - updated - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 - security_advisory: *861 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 + security_advisory: *867 sender: *4 required: - action @@ -236501,10 +237088,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236522,7 +237109,7 @@ webhooks: required: - vector_string - score - cvss_severities: *110 + cvss_severities: *111 cwes: type: array items: @@ -236690,11 +237277,11 @@ webhooks: from: type: object properties: - security_and_analysis: *366 - enterprise: *797 - installation: *798 - organization: *799 - repository: *432 + security_and_analysis: *371 + enterprise: *803 + installation: *804 + organization: *805 + repository: *437 sender: *4 required: - changes @@ -236772,12 +237359,12 @@ webhooks: type: string enum: - cancelled - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: &862 + sponsorship: &868 type: object properties: created_at: @@ -237082,12 +237669,12 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - sponsorship @@ -237175,12 +237762,12 @@ webhooks: type: string required: - from - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237257,17 +237844,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &863 + effective_date: &869 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: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - sponsorship @@ -237341,7 +237928,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &864 + changes: &870 type: object properties: tier: @@ -237385,13 +237972,13 @@ webhooks: - from required: - tier - effective_date: *863 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + effective_date: *869 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237468,13 +238055,13 @@ webhooks: type: string enum: - tier_changed - changes: *864 - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + changes: *870 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - sponsorship: *862 + sponsorship: *868 required: - action - changes @@ -237548,10 +238135,10 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237635,10 +238222,10 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238072,15 +238659,15 @@ webhooks: type: - string - 'null' - enterprise: *797 + enterprise: *803 id: description: The unique identifier of the status. type: integer - installation: *798 + installation: *804 name: type: string - organization: *799 - repository: *800 + organization: *805 + repository: *806 sender: *4 sha: description: The Commit SHA. @@ -238190,15 +238777,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - parent_issue_repo: *65 + parent_issue: *193 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *798 - organization: *799 - repository: *800 + sub_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238282,15 +238869,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - parent_issue_repo: *65 + parent_issue: *193 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - installation: *798 - organization: *799 - repository: *800 + sub_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238374,15 +238961,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - sub_issue_repo: *65 + sub_issue: *193 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *798 - organization: *799 - repository: *800 + parent_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238466,15 +239053,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *185 - sub_issue_repo: *65 + sub_issue: *193 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *185 - installation: *798 - organization: *799 - repository: *800 + parent_issue: *193 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -238551,12 +239138,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - team: &865 + team: &871 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238749,9 +239336,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -239221,7 +239808,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -239297,9 +239884,9 @@ webhooks: type: string enum: - created - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -239769,7 +240356,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -239846,9 +240433,9 @@ webhooks: type: string enum: - deleted - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -240318,7 +240905,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -240462,9 +241049,9 @@ webhooks: - from required: - permissions - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -240934,7 +241521,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - changes @@ -241012,9 +241599,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *797 - installation: *798 - organization: *799 + enterprise: *803 + installation: *804 + organization: *805 repository: title: Repository description: A git repository @@ -241484,7 +242071,7 @@ webhooks: - topics - visibility sender: *4 - team: *865 + team: *871 required: - action - team @@ -241560,10 +242147,10 @@ webhooks: type: string enum: - started - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 required: - action @@ -241636,17 +242223,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *797 + enterprise: *803 inputs: type: - object - 'null' additionalProperties: true - installation: *798 - organization: *799 + installation: *804 + organization: *805 ref: type: string - repository: *800 + repository: *806 sender: *4 workflow: type: string @@ -241728,10 +242315,10 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: allOf: @@ -241987,7 +242574,7 @@ webhooks: type: string required: - conclusion - deployment: *558 + deployment: *563 required: - action - repository @@ -242066,10 +242653,10 @@ webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: allOf: @@ -242351,7 +242938,7 @@ webhooks: required: - status - steps - deployment: *558 + deployment: *563 required: - action - repository @@ -242430,10 +243017,10 @@ webhooks: type: string enum: - queued - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: type: object @@ -242579,7 +243166,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *558 + deployment: *563 required: - action - repository @@ -242658,10 +243245,10 @@ webhooks: type: string enum: - waiting - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 workflow_job: type: object @@ -242808,7 +243395,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *558 + deployment: *563 required: - action - repository @@ -242888,12 +243475,12 @@ webhooks: type: string enum: - completed - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Workflow Run type: object @@ -243912,12 +244499,12 @@ webhooks: type: string enum: - in_progress - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 workflow_run: title: Workflow Run type: object @@ -244921,12 +245508,12 @@ webhooks: type: string enum: - requested - enterprise: *797 - installation: *798 - organization: *799 - repository: *800 + enterprise: *803 + installation: *804 + organization: *805 + repository: *806 sender: *4 - workflow: *819 + workflow: *825 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 5930716815..64ea3cfc51 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -184,6 +184,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -2238,6 +2242,116 @@ } } }, + "/enterprises/{enterprise}/access-restrictions/disable": { + "post": { + "summary": "Disable access restrictions for an enterprise", + "description": "Disable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/disable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-access-restrictions" + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully disabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/access-restrictions/enable": { + "post": { + "summary": "Enable access restrictions for an enterprise", + "description": "Enable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/enable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-access-restrictions" + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully enabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, "/enterprises/{enterprise}/actions/cache/usage": { "get": { "summary": "Get GitHub Actions cache usage for an enterprise", @@ -11211,6 +11325,697 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-team" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/enterprises/{enterprise}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature", @@ -19695,13 +20500,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -32304,7 +33115,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -32353,7 +33164,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -32457,7 +33268,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -32506,7 +33317,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -32579,7 +33390,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -118654,6 +119465,33 @@ } } }, + "enterprise-access-restrictions": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, "actions-cache-usage-org-enterprise": { "type": "object", "properties": { @@ -122174,6 +123012,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -122181,7 +123020,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -122198,6 +123037,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -122229,7 +123069,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] }, "copilot-seat-details": { @@ -124570,221 +125411,253 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" - } - ] - }, - "repository-ruleset-conditions-repository-id-target": { - "title": "Repository ruleset conditions for repository IDs", - "type": "object", - "description": "Parameters for a repository ID condition", - "properties": { - "repository_id": { - "type": "object", - "properties": { - "repository_ids": { - "type": "array", - "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", - "items": { - "type": "integer" - } - } - } - } - }, - "required": [ - "repository_id" - ] - }, - "org-ruleset-conditions": { - "title": "Organization ruleset conditions", - "type": "object", - "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.\nFor repository policy rulesets, the conditions object should only contain the `repository_name`, the `repository_id`, or the `repository_property`.", - "oneOf": [ - { - "type": "object", - "title": "repository_name_and_ref_name", - "description": "Conditions to target repositories by name and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" - } - ] + } + ] + }, + "repository-ruleset-conditions-repository-id-target": { + "title": "Repository ruleset conditions for repository IDs", + "type": "object", + "description": "Parameters for a repository ID condition", + "properties": { + "repository_id": { + "type": "object", + "properties": { + "repository_ids": { + "type": "array", + "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "items": { + "type": "integer" + } + } + } + } + }, + "required": [ + "repository_id" + ] + }, + "org-ruleset-conditions": { + "title": "Organization ruleset conditions", + "type": "object", + "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.\nFor repository policy rulesets, the conditions object should only contain the `repository_name`, the `repository_id`, or the `repository_property`.", + "oneOf": [ + { + "type": "object", + "title": "repository_name_and_ref_name", + "description": "Conditions to target repositories by name and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" + } + ] + }, + { + "type": "object", + "title": "repository_id_and_ref_name", + "description": "Conditions to target repositories by id and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" + } + ] + }, + { + "type": "object", + "title": "repository_property_and_ref_name", + "description": "Conditions to target repositories by property and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" + } + ] + } + ] + }, + "repository-rule-merge-queue": { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + "repository-rule": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { + "$ref": "#/components/schemas/repository-rule-creation" + }, + { + "$ref": "#/components/schemas/repository-rule-update" + }, + { + "$ref": "#/components/schemas/repository-rule-deletion" + }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-merge-queue" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { + "$ref": "#/components/schemas/repository-rule-pull-request" + }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-code-scanning" }, { - "type": "object", - "title": "repository_id_and_ref_name", - "description": "Conditions to target repositories by id and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" - } - ] - }, - { - "type": "object", - "title": "repository_property_and_ref_name", - "description": "Conditions to target repositories by property and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" - } - ] - } - ] - }, - "repository-rule-merge-queue": { - "title": "merge_queue", - "description": "Merges must be performed via a merge queue.", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "merge_queue" - ] - }, - "parameters": { - "type": "object", - "properties": { - "check_response_timeout_minutes": { - "type": "integer", - "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", - "minimum": 1, - "maximum": 360 - }, - "grouping_strategy": { - "type": "string", - "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", - "enum": [ - "ALLGREEN", - "HEADGREEN" - ] - }, - "max_entries_to_build": { - "type": "integer", - "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", - "minimum": 0, - "maximum": 100 - }, - "max_entries_to_merge": { - "type": "integer", - "description": "The maximum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "merge_method": { - "type": "string", - "description": "Method to use when merging changes from queued pull requests.", - "enum": [ - "MERGE", - "SQUASH", - "REBASE" - ] - }, - "min_entries_to_merge": { - "type": "integer", - "description": "The minimum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "min_entries_to_merge_wait_minutes": { - "type": "integer", - "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", - "minimum": 0, - "maximum": 360 - } - }, - "required": [ - "check_response_timeout_minutes", - "grouping_strategy", - "max_entries_to_build", - "max_entries_to_merge", - "merge_method", - "min_entries_to_merge", - "min_entries_to_merge_wait_minutes" - ] - } - } - }, - "repository-rule": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule.", - "oneOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" - }, - { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" - }, - { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" - }, - { - "$ref": "#/components/schemas/repository-rule-max-file-size" - }, - { - "$ref": "#/components/schemas/repository-rule-workflows" - }, - { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -152305,6 +153178,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -307793,6 +308676,68 @@ ] } }, + "enterprise-teams-items": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + }, + "simple-user-items": { + "value": [ + { + "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 + } + ] + }, + "simple-user": { + "value": { + "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 + } + }, "public-events-items": { "value": [ { @@ -310470,30 +311415,6 @@ ] } }, - "simple-user-items": { - "value": [ - { - "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 - } - ] - }, "campaign-org-items": { "value": [ { @@ -337206,6 +338127,24 @@ "type": "string" } }, + "enterprise-team": { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "enterprise-security-product": { "name": "security_product", "in": "path", @@ -337729,15 +338668,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "package-visibility": { "name": "visibility", "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index f163ef13ee..a759015a59 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -97,6 +97,8 @@ tags: description: Endpoints to manage DSR operations. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -1558,6 +1560,80 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: admin-stats + "/enterprises/{enterprise}/access-restrictions/disable": + post: + summary: Disable access restrictions for an enterprise + description: Disable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/disable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-access-restrictions" + examples: + default: + value: + message: Enterprise access restrictions successfully disabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises + "/enterprises/{enterprise}/access-restrictions/enable": + post: + summary: Enable access restrictions for an enterprise + description: Enable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/enable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-access-restrictions" + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises "/enterprises/{enterprise}/actions/cache/usage": get: summary: Get GitHub Actions cache usage for an enterprise @@ -7930,6 +8006,459 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -14149,11 +14678,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -23251,7 +23784,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -23292,7 +23825,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -23361,7 +23894,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -23397,7 +23930,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -23449,7 +23982,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -85562,6 +86095,26 @@ components: "$ref": "#/components/schemas/server-statistics-actions" packages_stats: "$ref": "#/components/schemas/server-statistics-packages" + enterprise-access-restrictions: + type: object + title: Enterprise Access Restrictions + description: Information about the enterprise access restrictions proxy header. + properties: + message: + type: string + description: The message returned for the request. + header_name: + type: string + description: The name of the proxy header. + examples: + - sec-GitHub-allowed-enterprise + header_value: + type: string + description: The value of the proxy header. + required: + - message + - header_name + - header_value actions-cache-usage-org-enterprise: type: object properties: @@ -88255,12 +88808,14 @@ components: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' examples: - disabled | all organization_selection_type: type: string examples: - - disabled | all + - disabled | selected | all group_id: type: - string @@ -88271,6 +88826,8 @@ components: type: - string - 'null' + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' examples: - Justice League html_url: @@ -88295,6 +88852,7 @@ components: - slug - created_at - updated_at + - group_id copilot-seat-details: title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, @@ -90213,6 +90771,29 @@ components: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes + repository-rule-copilot-code-review: + title: copilot_code_review + description: Request Copilot code review for new pull requests automatically + if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull requests before + they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new push to the pull + request. repository-rule: title: Repository Rule type: object @@ -90239,6 +90820,7 @@ components: - "$ref": "#/components/schemas/repository-rule-max-file-size" - "$ref": "#/components/schemas/repository-rule-workflows" - "$ref": "#/components/schemas/repository-rule-code-scanning" + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" repository-ruleset: title: Repository ruleset type: object @@ -110114,6 +110696,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-code-scanning" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" secret-scanning-alert: type: object properties: @@ -226310,6 +226895,58 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + enterprise-teams-items: + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + simple-user-items: + value: + - 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 + simple-user: + value: + 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 public-events-items: value: - id: '22249084947' @@ -228652,26 +229289,6 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 - simple-user-items: - value: - - 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 campaign-org-items: value: - number: 3 @@ -251673,6 +252290,21 @@ components: required: true schema: type: string + enterprise-team: + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string enterprise-security-product: name: security_product in: path @@ -252120,13 +252752,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string package-visibility: name: visibility description: |- diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 5930716815..64ea3cfc51 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -184,6 +184,10 @@ "name": "enterprise-teams", "description": "Endpoints to manage GitHub Enterprise Teams." }, + { + "name": "enterprise-team-memberships", + "description": "Endpoints to manage GitHub Enterprise Team memberships." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -2238,6 +2242,116 @@ } } }, + "/enterprises/{enterprise}/access-restrictions/disable": { + "post": { + "summary": "Disable access restrictions for an enterprise", + "description": "Disable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/disable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-access-restrictions" + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully disabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/access-restrictions/enable": { + "post": { + "summary": "Enable access restrictions for an enterprise", + "description": "Enable access restriction by proxy header using the network proxy owned by the enterprise.", + "operationId": "enterprise-admin/enable-access-restrictions", + "tags": [ + "enterprise-admin" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-access-restrictions" + }, + "examples": { + "default": { + "value": { + "message": "Enterprise access restrictions successfully enabled.", + "header_name": "sec-GitHub-allowed-enterprise", + "header_value": "12345" + } + } + } + } + } + }, + "400": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "enterprises" + } + } + }, "/enterprises/{enterprise}/actions/cache/usage": { "get": { "summary": "Get GitHub Actions cache usage for an enterprise", @@ -11211,6 +11325,697 @@ } } }, + "/enterprises/{enterprise}/teams": { + "get": { + "summary": "List enterprise teams", + "description": "List all teams in the enterprise for the authenticated user", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-team" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "post": { + "summary": "Create an enterprise team", + "description": "To create an enterprise team, the authenticated user must be an owner of the enterprise.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/create", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A description of the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be set.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + } + }, + "required": [ + "name" + ] + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": { + "get": { + "summary": "List members in an enterprise team", + "description": "Lists all team members in an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": { + "post": { + "summary": "Bulk add team members", + "description": "Add multiple team members to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to add to the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully added team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": { + "post": { + "summary": "Bulk remove team members", + "description": "Remove multiple team members from an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "usernames" + ], + "properties": { + "usernames": { + "type": "array", + "description": "The GitHub user handles to be removed from the team.", + "items": { + "type": "string", + "description": "The handle for the GitHub user account." + } + } + } + }, + "examples": { + "default": { + "value": { + "usernames": [ + "monalisa", + "octocat" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully removed team members.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": { + "get": { + "summary": "Get enterprise team membership", + "description": "Returns whether the user is a member of the enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "description": "User is a member of the enterprise team.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{team_slug}": { + "get": { + "summary": "Get an enterprise team", + "description": "Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the \"ent:\" prefix. For example, \"My TEam Näme\" would become `ent:my-team-name`.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/get", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/enterprise-team" + }, + "examples": { + "default": { + "$ref": "#/components/examples/enterprise-teams-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "delete": { + "summary": "Delete an enterprise team", + "description": "To delete an enterprise team, the authenticated user must be an enterprise owner.\n\nIf you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + } + }, "/enterprises/{enterprise}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature", @@ -19695,13 +20500,19 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": [ + "string", + "null" + ] }, "status": { "type": "string" @@ -32304,7 +33115,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -32353,7 +33164,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -32457,7 +33268,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -32506,7 +33317,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -32579,7 +33390,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -118654,6 +119465,33 @@ } } }, + "enterprise-access-restrictions": { + "type": "object", + "title": "Enterprise Access Restrictions", + "description": "Information about the enterprise access restrictions proxy header.", + "properties": { + "message": { + "type": "string", + "description": "The message returned for the request." + }, + "header_name": { + "type": "string", + "description": "The name of the proxy header.", + "examples": [ + "sec-GitHub-allowed-enterprise" + ] + }, + "header_value": { + "type": "string", + "description": "The value of the proxy header." + } + }, + "required": [ + "message", + "header_name", + "header_value" + ] + }, "actions-cache-usage-org-enterprise": { "type": "object", "properties": { @@ -122174,6 +123012,7 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "disabled | all" ] @@ -122181,7 +123020,7 @@ "organization_selection_type": { "type": "string", "examples": [ - "disabled | all" + "disabled | selected | all" ] }, "group_id": { @@ -122198,6 +123037,7 @@ "string", "null" ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ "Justice League" ] @@ -122229,7 +123069,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] }, "copilot-seat-details": { @@ -124570,221 +125411,253 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" - } - ] - }, - "repository-ruleset-conditions-repository-id-target": { - "title": "Repository ruleset conditions for repository IDs", - "type": "object", - "description": "Parameters for a repository ID condition", - "properties": { - "repository_id": { - "type": "object", - "properties": { - "repository_ids": { - "type": "array", - "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", - "items": { - "type": "integer" - } - } - } - } - }, - "required": [ - "repository_id" - ] - }, - "org-ruleset-conditions": { - "title": "Organization ruleset conditions", - "type": "object", - "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.\nFor repository policy rulesets, the conditions object should only contain the `repository_name`, the `repository_id`, or the `repository_property`.", - "oneOf": [ - { - "type": "object", - "title": "repository_name_and_ref_name", - "description": "Conditions to target repositories by name and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" - } - ] + } + ] + }, + "repository-ruleset-conditions-repository-id-target": { + "title": "Repository ruleset conditions for repository IDs", + "type": "object", + "description": "Parameters for a repository ID condition", + "properties": { + "repository_id": { + "type": "object", + "properties": { + "repository_ids": { + "type": "array", + "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "items": { + "type": "integer" + } + } + } + } + }, + "required": [ + "repository_id" + ] + }, + "org-ruleset-conditions": { + "title": "Organization ruleset conditions", + "type": "object", + "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.\nFor repository policy rulesets, the conditions object should only contain the `repository_name`, the `repository_id`, or the `repository_property`.", + "oneOf": [ + { + "type": "object", + "title": "repository_name_and_ref_name", + "description": "Conditions to target repositories by name and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" + } + ] + }, + { + "type": "object", + "title": "repository_id_and_ref_name", + "description": "Conditions to target repositories by id and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" + } + ] + }, + { + "type": "object", + "title": "repository_property_and_ref_name", + "description": "Conditions to target repositories by property and refs by name", + "allOf": [ + { + "$ref": "#/components/schemas/repository-ruleset-conditions" + }, + { + "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" + } + ] + } + ] + }, + "repository-rule-merge-queue": { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "merge_queue" + ] + }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": [ + "ALLGREEN", + "HEADGREEN" + ] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": [ + "MERGE", + "SQUASH", + "REBASE" + ] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + "repository-rule": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { + "$ref": "#/components/schemas/repository-rule-creation" + }, + { + "$ref": "#/components/schemas/repository-rule-update" + }, + { + "$ref": "#/components/schemas/repository-rule-deletion" + }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-merge-queue" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { + "$ref": "#/components/schemas/repository-rule-pull-request" + }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-code-scanning" }, { - "type": "object", - "title": "repository_id_and_ref_name", - "description": "Conditions to target repositories by id and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" - } - ] - }, - { - "type": "object", - "title": "repository_property_and_ref_name", - "description": "Conditions to target repositories by property and refs by name", - "allOf": [ - { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" - } - ] - } - ] - }, - "repository-rule-merge-queue": { - "title": "merge_queue", - "description": "Merges must be performed via a merge queue.", - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "merge_queue" - ] - }, - "parameters": { - "type": "object", - "properties": { - "check_response_timeout_minutes": { - "type": "integer", - "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", - "minimum": 1, - "maximum": 360 - }, - "grouping_strategy": { - "type": "string", - "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", - "enum": [ - "ALLGREEN", - "HEADGREEN" - ] - }, - "max_entries_to_build": { - "type": "integer", - "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", - "minimum": 0, - "maximum": 100 - }, - "max_entries_to_merge": { - "type": "integer", - "description": "The maximum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "merge_method": { - "type": "string", - "description": "Method to use when merging changes from queued pull requests.", - "enum": [ - "MERGE", - "SQUASH", - "REBASE" - ] - }, - "min_entries_to_merge": { - "type": "integer", - "description": "The minimum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "min_entries_to_merge_wait_minutes": { - "type": "integer", - "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", - "minimum": 0, - "maximum": 360 - } - }, - "required": [ - "check_response_timeout_minutes", - "grouping_strategy", - "max_entries_to_build", - "max_entries_to_merge", - "merge_method", - "min_entries_to_merge", - "min_entries_to_merge_wait_minutes" - ] - } - } - }, - "repository-rule": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule.", - "oneOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" - }, - { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" - }, - { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" - }, - { - "$ref": "#/components/schemas/repository-rule-max-file-size" - }, - { - "$ref": "#/components/schemas/repository-rule-workflows" - }, - { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -152305,6 +153178,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -307793,6 +308676,68 @@ ] } }, + "enterprise-teams-items": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + }, + "simple-user-items": { + "value": [ + { + "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 + } + ] + }, + "simple-user": { + "value": { + "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 + } + }, "public-events-items": { "value": [ { @@ -310470,30 +311415,6 @@ ] } }, - "simple-user-items": { - "value": [ - { - "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 - } - ] - }, "campaign-org-items": { "value": [ { @@ -337206,6 +338127,24 @@ "type": "string" } }, + "enterprise-team": { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "enterprise-security-product": { "name": "security_product", "in": "path", @@ -337729,15 +338668,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "package-visibility": { "name": "visibility", "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index f163ef13ee..a759015a59 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -97,6 +97,8 @@ tags: description: Endpoints to manage DSR operations. - name: enterprise-teams description: Endpoints to manage GitHub Enterprise Teams. +- name: enterprise-team-memberships + description: Endpoints to manage GitHub Enterprise Team memberships. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -1558,6 +1560,80 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: admin-stats + "/enterprises/{enterprise}/access-restrictions/disable": + post: + summary: Disable access restrictions for an enterprise + description: Disable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/disable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-access-restrictions" + examples: + default: + value: + message: Enterprise access restrictions successfully disabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises + "/enterprises/{enterprise}/access-restrictions/enable": + post: + summary: Enable access restrictions for an enterprise + description: Enable access restriction by proxy header using the network proxy + owned by the enterprise. + operationId: enterprise-admin/enable-access-restrictions + tags: + - enterprise-admin + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-access-restrictions" + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: enterprises "/enterprises/{enterprise}/actions/cache/usage": get: summary: Get GitHub Actions cache usage for an enterprise @@ -7930,6 +8006,459 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/teams": + get: + summary: List enterprise teams + description: List all teams in the enterprise for the authenticated user + tags: + - enterprise-teams + operationId: enterprise-teams/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + post: + summary: Create an enterprise team + description: To create an enterprise team, the authenticated user must be an + owner of the enterprise. + tags: + - enterprise-teams + operationId: enterprise-teams/create + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + type: + - string + - 'null' + description: A description of the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be set. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise). + required: + - name + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships": + get: + summary: List members in an enterprise team + description: Lists all team members in an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/list + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": + post: + summary: Bulk add team members + description: Add multiple team members to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to add to the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully added team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": + post: + summary: Bulk remove team members + description: Remove multiple team members from an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - usernames + properties: + usernames: + type: array + description: The GitHub user handles to be removed from the team. + items: + type: string + description: The handle for the GitHub user account. + examples: + default: + value: + usernames: + - monalisa + - octocat + responses: + '200': + description: Successfully removed team members. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/simple-user" + examples: + default: + "$ref": "#/components/examples/simple-user-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": + get: + summary: Get enterprise team membership + description: Returns whether the user is a member of the enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + put: + summary: Add team member + description: Add a team member to an enterprise team. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: + "$ref": "#/components/schemas/simple-user" + examples: + exampleKey1: + "$ref": "#/components/examples/simple-user" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + delete: + summary: Remove team membership + description: Remove membership of a specific user from a particular team in + an enterprise. + tags: + - enterprise-team-memberships + operationId: enterprise-team-memberships/remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/username" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{team_slug}": + get: + summary: Get an enterprise team + description: Gets a team using the team's slug. To create the slug, GitHub replaces + special characters in the name string, changes all words to lowercase, and + replaces spaces with a `-` separator and adds the "ent:" prefix. For example, + "My TEam Näme" would become `ent:my-team-name`. + tags: + - enterprise-teams + operationId: enterprise-teams/get + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + patch: + summary: Update an enterprise team + description: To edit a team, the authenticated user must be an enterprise owner. + tags: + - enterprise-teams + operationId: enterprise-teams/update + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: + - string + - 'null' + description: A new name for the team. + description: + type: + - string + - 'null' + description: A new description for the team. + sync_to_organizations: + type: string + description: | + Retired: this field is no longer supported. + Whether the enterprise team should be reflected in each organization. + This value cannot be changed. + enum: + - all + - disabled + default: disabled + group_id: + type: + - string + - 'null' + description: The ID of the IdP group to assign team membership with. + The new IdP group will replace the existing one, or replace existing + direct members if the team isn't currently linked to an IdP group. + examples: + default: + value: + name: Justice League + description: A great team. + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/enterprise-team" + examples: + default: + "$ref": "#/components/examples/enterprise-teams-items" + headers: + Link: + "$ref": "#/components/headers/link" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams + delete: + summary: Delete an enterprise team + description: |- + To delete an enterprise team, the authenticated user must be an enterprise owner. + + If you are an enterprise owner, deleting an enterprise team will delete all of its IdP mappings as well. + tags: + - enterprise-teams + operationId: enterprise-teams/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/team-slug" + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -14149,11 +14678,15 @@ paths: digest: type: string artifact_url: - type: string + type: + - string + - 'null' registry_url: type: string repository: - type: string + type: + - string + - 'null' status: type: string created_at: @@ -23251,7 +23784,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -23292,7 +23825,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -23361,7 +23894,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -23397,7 +23930,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -23449,7 +23982,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -85562,6 +86095,26 @@ components: "$ref": "#/components/schemas/server-statistics-actions" packages_stats: "$ref": "#/components/schemas/server-statistics-packages" + enterprise-access-restrictions: + type: object + title: Enterprise Access Restrictions + description: Information about the enterprise access restrictions proxy header. + properties: + message: + type: string + description: The message returned for the request. + header_name: + type: string + description: The name of the proxy header. + examples: + - sec-GitHub-allowed-enterprise + header_value: + type: string + description: The value of the proxy header. + required: + - message + - header_name + - header_value actions-cache-usage-org-enterprise: type: object properties: @@ -88255,12 +88808,14 @@ components: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' examples: - disabled | all organization_selection_type: type: string examples: - - disabled | all + - disabled | selected | all group_id: type: - string @@ -88271,6 +88826,8 @@ components: type: - string - 'null' + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' examples: - Justice League html_url: @@ -88295,6 +88852,7 @@ components: - slug - created_at - updated_at + - group_id copilot-seat-details: title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, @@ -90213,6 +90771,29 @@ components: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes + repository-rule-copilot-code-review: + title: copilot_code_review + description: Request Copilot code review for new pull requests automatically + if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull requests before + they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new push to the pull + request. repository-rule: title: Repository Rule type: object @@ -90239,6 +90820,7 @@ components: - "$ref": "#/components/schemas/repository-rule-max-file-size" - "$ref": "#/components/schemas/repository-rule-workflows" - "$ref": "#/components/schemas/repository-rule-code-scanning" + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" repository-ruleset: title: Repository ruleset type: object @@ -110114,6 +110696,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-code-scanning" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" secret-scanning-alert: type: object properties: @@ -226310,6 +226895,58 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + enterprise-teams-items: + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + simple-user-items: + value: + - 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 + simple-user: + value: + 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 public-events-items: value: - id: '22249084947' @@ -228652,26 +229289,6 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 - simple-user-items: - value: - - 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 campaign-org-items: value: - number: 3 @@ -251673,6 +252290,21 @@ components: required: true schema: type: string + enterprise-team: + name: enterprise-team + description: The slug version of the enterprise team name. You can also substitute + this value with the enterprise team id. + in: path + required: true + schema: + type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string enterprise-security-product: name: security_product in: path @@ -252120,13 +252752,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string package-visibility: name: visibility description: |- diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 894edcddd3..81af549bbc 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -135070,7 +135070,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -135297,7 +135297,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -135677,7 +135677,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -135894,7 +135894,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -136212,7 +136212,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 60aa0531f5..95d69cb887 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -32490,7 +32490,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -32622,7 +32622,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -32686,7 +32686,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -32735,7 +32735,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -32839,7 +32839,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json index 894edcddd3..81af549bbc 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -135070,7 +135070,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -135297,7 +135297,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -135677,7 +135677,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -135894,7 +135894,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -136212,7 +136212,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.yaml b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.yaml index 60aa0531f5..95d69cb887 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.yaml +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.yaml @@ -32490,7 +32490,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -32622,7 +32622,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -32686,7 +32686,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -32735,7 +32735,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -32839,7 +32839,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization diff --git a/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.json b/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.json index ed6cbec669..cd25f98710 100644 --- a/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.json +++ b/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.json @@ -21051,7 +21051,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -21100,7 +21100,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -21204,7 +21204,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -21253,7 +21253,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -21326,7 +21326,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" diff --git a/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.yaml b/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.yaml index 68b8a78c45..6d03e64f6e 100644 --- a/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.yaml +++ b/descriptions-next/ghes-3.14/ghes-3.14.2022-11-28.yaml @@ -15103,7 +15103,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -15144,7 +15144,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -15213,7 +15213,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -15249,7 +15249,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -15301,7 +15301,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization diff --git a/descriptions-next/ghes-3.14/ghes-3.14.json b/descriptions-next/ghes-3.14/ghes-3.14.json index ed6cbec669..cd25f98710 100644 --- a/descriptions-next/ghes-3.14/ghes-3.14.json +++ b/descriptions-next/ghes-3.14/ghes-3.14.json @@ -21051,7 +21051,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -21100,7 +21100,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -21204,7 +21204,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -21253,7 +21253,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -21326,7 +21326,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" diff --git a/descriptions-next/ghes-3.14/ghes-3.14.yaml b/descriptions-next/ghes-3.14/ghes-3.14.yaml index 68b8a78c45..6d03e64f6e 100644 --- a/descriptions-next/ghes-3.14/ghes-3.14.yaml +++ b/descriptions-next/ghes-3.14/ghes-3.14.yaml @@ -15103,7 +15103,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -15144,7 +15144,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -15213,7 +15213,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -15249,7 +15249,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -15301,7 +15301,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json index b40baf2029..424a9f9414 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json @@ -139011,7 +139011,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -139238,7 +139238,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -139618,7 +139618,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -139835,7 +139835,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -140153,7 +140153,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -148351,6 +148351,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -150591,6 +150620,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -152406,6 +152464,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -154659,6 +154746,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -445961,6 +446077,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -447184,6 +447355,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -448124,6 +448324,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -449274,6 +449503,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -451108,6 +451366,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -452063,6 +452350,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -453209,6 +453525,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1142911,6 +1143256,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1145999,6 +1146373,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1149087,6 +1149490,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1149953,6 +1150385,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1150647,6 +1151108,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1151344,6 +1151834,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml index 40ae9f0897..dbe1c20b20 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml @@ -4638,7 +4638,7 @@ paths: application/json: schema: *22 application/scim+json: - schema: &534 + schema: &535 title: Scim Error description: Scim Error type: object @@ -14489,14 +14489,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &523 + state: &524 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: &524 + resolution: &525 type: - string - 'null' @@ -15341,7 +15341,7 @@ paths: timeline_url: type: string format: uri - type: &561 + type: &562 title: Issue Type description: The type of issue. type: @@ -15450,7 +15450,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &558 + sub_issues_summary: &559 title: Sub-issues Summary type: object properties: @@ -15471,7 +15471,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &559 + issue_dependencies_summary: &560 title: Issue Dependencies Summary type: object properties: @@ -15490,7 +15490,7 @@ paths: - total_blocking issue_field_values: type: array - items: &560 + items: &561 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16155,7 +16155,7 @@ paths: url: type: string format: uri - user: &572 + user: &573 title: Public User description: Public User type: object @@ -22030,7 +22030,7 @@ paths: type: array items: *68 examples: - default: &581 + default: &582 value: - login: github id: 1 @@ -23253,7 +23253,7 @@ paths: type: array items: *82 examples: - default: &578 + default: &579 value: total_count: 1 repositories: @@ -32055,7 +32055,7 @@ paths: - nuget - container - *130 - - &582 + - &583 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32096,7 +32096,7 @@ paths: default: *215 '403': *41 '401': *39 - '400': &584 + '400': &585 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33696,7 +33696,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -33828,7 +33828,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -33892,7 +33892,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -33941,7 +33941,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -34045,7 +34045,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -35761,7 +35761,7 @@ paths: - *130 - *4 - *5 - - &509 + - &510 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36040,7 +36040,7 @@ paths: - object rules: type: array - items: &510 + items: &511 title: Repository Rule type: object description: A repository rule. @@ -36618,6 +36618,31 @@ paths: - tool required: - code_scanning_tools + - &509 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code + review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft + pull requests before they are marked as ready + for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each + new push to the pull request. created_at: type: string format: date-time @@ -36820,7 +36845,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *130 - - &511 + - &512 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 @@ -36835,7 +36860,7 @@ paths: in: query schema: type: string - - &512 + - &513 name: time_period description: |- The time period to filter by. @@ -36851,14 +36876,14 @@ paths: - week - month default: day - - &513 + - &514 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 - - &514 + - &515 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -36878,7 +36903,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Rule Suites description: Response type: array @@ -36933,7 +36958,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &516 + default: &517 value: - id: 21 actor_id: 12 @@ -36977,7 +37002,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *130 - - &517 + - &518 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36993,7 +37018,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &519 title: Rule Suite description: Response type: object @@ -37098,7 +37123,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &519 + default: &520 value: id: 21 actor_id: 12 @@ -37316,7 +37341,7 @@ paths: - *9 - *5 - *4 - - &521 + - &522 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.15/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -37326,7 +37351,7 @@ paths: required: false schema: type: string - - &522 + - &523 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.15/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -38406,7 +38431,7 @@ paths: - updated_at - url examples: - default: &562 + default: &563 value: - author: login: octocat @@ -38654,7 +38679,7 @@ paths: application/json: schema: *275 examples: - default: &563 + default: &564 value: author: login: octocat @@ -38845,7 +38870,7 @@ paths: - updated_at - url examples: - default: &564 + default: &565 value: - author: login: octocat @@ -39071,7 +39096,7 @@ paths: application/json: schema: *278 examples: - default: &565 + default: &566 value: author: login: octocat @@ -39751,7 +39776,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &566 + response-if-user-is-a-team-maintainer: &567 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39816,7 +39841,7 @@ paths: application/json: schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: &567 + response-if-users-membership-with-team-is-now-pending: &568 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39958,7 +39983,7 @@ paths: - updated_at - permissions examples: - default: &568 + default: &569 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40037,7 +40062,7 @@ paths: application/json: schema: *290 examples: - default: &569 + default: &570 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40248,7 +40273,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &570 + schema: &571 title: Team Repository description: A team's access to a repository. type: object @@ -40977,7 +41002,7 @@ paths: type: array items: *294 examples: - response-if-child-teams-exist: &571 + response-if-child-teams-exist: &572 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52648,7 +52673,7 @@ paths: check. type: array items: *361 - deployment: &607 + deployment: &608 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58878,7 +58903,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Status description: The status of a commit. type: object @@ -60302,7 +60327,7 @@ paths: items: type: object properties: - placeholder_id: &526 + placeholder_id: &527 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66116,7 +66141,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &635 + last_response: &636 title: Hook Response type: object properties: @@ -66741,7 +66766,7 @@ paths: - html_url - created_at examples: - default: &586 + default: &587 value: - id: 1 repository: @@ -79569,6 +79594,9 @@ paths: - allOf: - *259 - *507 + - allOf: + - *509 + - *507 examples: default: value: @@ -79619,7 +79647,7 @@ paths: schema: type: boolean default: true - - *509 + - *510 responses: '200': description: Response @@ -79704,7 +79732,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *510 + items: *511 required: - name - enforcement @@ -79737,7 +79765,7 @@ paths: application/json: schema: *260 examples: - default: &520 + default: &521 value: id: 42 name: super cool ruleset @@ -79786,10 +79814,10 @@ paths: parameters: - *292 - *293 - - *511 - *512 - *513 - *514 + - *515 - *4 - *5 responses: @@ -79797,9 +79825,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: - default: *516 + default: *517 '404': *24 '500': *220 x-github: @@ -79822,15 +79850,15 @@ paths: parameters: - *292 - *293 - - *517 + - *518 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 '404': *24 '500': *220 x-github: @@ -79881,7 +79909,7 @@ paths: application/json: schema: *260 examples: - default: *520 + default: *521 '404': *24 '500': *220 put: @@ -79934,7 +79962,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *510 + items: *511 examples: default: value: @@ -79964,7 +79992,7 @@ paths: application/json: schema: *260 examples: - default: *520 + default: *521 '404': *24 '500': *220 delete: @@ -80020,8 +80048,8 @@ paths: - *9 - *5 - *4 - - *521 - *522 + - *523 - *267 responses: '200': @@ -80030,7 +80058,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 type: object properties: number: *91 @@ -80046,8 +80074,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *523 - resolution: *524 + state: *524 + resolution: *525 resolved_at: type: - string @@ -80231,7 +80259,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -80281,8 +80309,8 @@ paths: schema: type: object properties: - state: *523 - resolution: *524 + state: *524 + resolution: *525 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80301,7 +80329,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -80381,7 +80409,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &655 + items: &656 type: object properties: type: @@ -80769,14 +80797,14 @@ paths: schema: type: object properties: - reason: &527 + reason: &528 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *526 + placeholder_id: *527 required: - reason - placeholder_id @@ -80793,7 +80821,7 @@ paths: schema: type: object properties: - reason: *527 + reason: *528 expire_at: type: - string @@ -80943,7 +80971,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81311,7 +81339,7 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: default: value: @@ -81401,7 +81429,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: default: value: @@ -81495,7 +81523,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &530 + schema: &531 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81595,7 +81623,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -81735,7 +81763,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Tag protection description: Tag protection type: object @@ -81816,7 +81844,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -81964,7 +81992,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &533 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81976,7 +82004,7 @@ paths: required: - names examples: - default: &533 + default: &534 value: names: - octocat @@ -82031,9 +82059,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 '404': *24 '422': *25 x-github: @@ -82675,7 +82703,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &541 + - &542 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -82685,7 +82713,7 @@ paths: type: string examples: - members - - &546 + - &547 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -82697,7 +82725,7 @@ paths: format: int32 examples: - 1 - - &547 + - &548 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -82741,7 +82769,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &535 + items: &536 allOf: - type: object required: @@ -82823,7 +82851,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: &548 + meta: &549 type: object description: The metadata associated with the creation/updates to the user. @@ -82888,31 +82916,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &536 + '400': &537 description: Bad request content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 - '401': &537 + schema: *535 + '401': &538 description: Authorization failure - '403': &538 + '403': &539 description: Permission denied - '429': &539 + '429': &540 description: Too many requests content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 - '500': &540 + schema: *535 + '500': &541 description: Internal server error content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 + schema: *535 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -82939,7 +82967,7 @@ paths: required: true content: application/json: - schema: &544 + schema: &545 type: object required: - schemas @@ -83003,9 +83031,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *535 + schema: *536 examples: - group: &542 + group: &543 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -83024,13 +83052,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': *536 - '401': *537 - '403': *538 - '409': &545 + '400': *537 + '401': *538 + '403': *539 + '409': &546 description: Duplicate record detected - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83051,7 +83079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &543 + - &544 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -83060,22 +83088,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *541 + - *542 - *63 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *535 + schema: *536 examples: - default: *542 - '400': *536 - '401': *537 - '403': *538 + default: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83097,13 +83125,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *543 + - *544 - *63 requestBody: required: true content: application/json: - schema: *544 + schema: *545 examples: group: summary: Group @@ -83129,17 +83157,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *535 + schema: *536 examples: - group: *542 - groupWithMembers: *542 - '400': *536 - '401': *537 - '403': *538 + group: *543 + groupWithMembers: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83163,13 +83191,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *543 + - *544 - *63 requestBody: required: true content: application/json: - schema: &555 + schema: &556 type: object required: - Operations @@ -83229,17 +83257,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *535 + schema: *536 examples: - updateGroup: *542 - addMembers: *542 - '400': *536 - '401': *537 - '403': *538 + updateGroup: *543 + addMembers: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83259,17 +83287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *543 + - *544 - *63 responses: '204': description: Group was deleted, no content - '400': *536 - '401': *537 - '403': *538 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83306,8 +83334,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *546 - *547 + - *548 - *63 responses: '200': @@ -83341,7 +83369,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &550 + items: &551 allOf: - type: object required: @@ -83433,7 +83461,7 @@ paths: address. examples: - true - roles: &549 + roles: &550 type: array description: The roles assigned to the user. items: @@ -83492,7 +83520,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *548 + meta: *549 startIndex: type: integer description: A starting index for the returned page @@ -83531,11 +83559,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *536 - '401': *537 - '403': *538 - '429': *539 - '500': *540 + '400': *537 + '401': *538 + '403': *539 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83564,7 +83592,7 @@ paths: required: true content: application/json: - schema: &553 + schema: &554 type: object required: - schemas @@ -83657,9 +83685,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *549 + roles: *550 examples: - user: &554 + user: &555 summary: User value: schemas: @@ -83706,9 +83734,9 @@ paths: description: User has been created content: application/scim+json: - schema: *550 + schema: *551 examples: - user: &551 + user: &552 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -83734,13 +83762,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: *551 - '400': *536 - '401': *537 - '403': *538 - '409': *545 - '429': *539 - '500': *540 + enterpriseOwner: *552 + '400': *537 + '401': *538 + '403': *539 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83761,7 +83789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &552 + - &553 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -83774,15 +83802,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *550 + schema: *551 examples: - default: *551 - '400': *536 - '401': *537 - '403': *538 + default: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83807,30 +83835,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *552 + - *553 - *63 requestBody: required: true content: application/json: - schema: *553 + schema: *554 examples: - user: *554 + user: *555 responses: '200': description: User was updated content: application/scim+json: - schema: *550 + schema: *551 examples: - user: *551 - '400': *536 - '401': *537 - '403': *538 + user: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83868,13 +83896,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *552 + - *553 - *63 requestBody: required: true content: application/json: - schema: *555 + schema: *556 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -83914,18 +83942,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *550 - examples: - userMultiValuedProperties: *551 - userSingleValuedProperties: *551 - disableUser: *551 - '400': *536 - '401': *537 - '403': *538 + schema: *551 + examples: + userMultiValuedProperties: *552 + userSingleValuedProperties: *552 + disableUser: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83945,17 +83973,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *552 + - *553 - *63 responses: '204': description: User was deleted, no content - '400': *536 - '401': *537 - '403': *538 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84083,7 +84111,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &556 + text_matches: &557 title: Search Result Text Matches type: array items: @@ -84247,7 +84275,7 @@ paths: enum: - author-date - committer-date - - &557 + - &558 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 @@ -84367,7 +84395,7 @@ paths: type: number node_id: type: string - text_matches: *556 + text_matches: *557 required: - sha - node_id @@ -84560,7 +84588,7 @@ paths: - interactions - created - updated - - *557 + - *558 - *4 - *5 - name: advanced_search @@ -84657,11 +84685,11 @@ paths: type: - string - 'null' - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: type: string state_reason: @@ -84689,7 +84717,7 @@ paths: - string - 'null' format: date-time - text_matches: *556 + text_matches: *557 pull_request: type: object properties: @@ -84738,7 +84766,7 @@ paths: timeline_url: type: string format: uri - type: *561 + type: *562 performed_via_github_app: anyOf: - type: 'null' @@ -84912,7 +84940,7 @@ paths: enum: - created - updated - - *557 + - *558 - *4 - *5 responses: @@ -84957,7 +84985,7 @@ paths: - 'null' score: type: number - text_matches: *556 + text_matches: *557 required: - id - node_id @@ -85043,7 +85071,7 @@ paths: - forks - help-wanted-issues - updated - - *557 + - *558 - *4 - *5 responses: @@ -85280,7 +85308,7 @@ paths: - admin - pull - push - text_matches: *556 + text_matches: *557 temp_clone_token: type: string allow_merge_commit: @@ -85589,7 +85617,7 @@ paths: - string - 'null' format: uri - text_matches: *556 + text_matches: *557 related: type: - array @@ -85784,7 +85812,7 @@ paths: - followers - repositories - joined - - *557 + - *558 - *4 - *5 responses: @@ -85894,7 +85922,7 @@ paths: type: - boolean - 'null' - text_matches: *556 + text_matches: *557 blog: type: - string @@ -86156,7 +86184,7 @@ paths: type: array items: *275 examples: - default: *562 + default: *563 headers: Link: *6 x-github: @@ -86308,7 +86336,7 @@ paths: application/json: schema: *275 examples: - default: *563 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86377,7 +86405,7 @@ paths: type: array items: *278 examples: - default: *564 + default: *565 headers: Link: *6 x-github: @@ -86519,7 +86547,7 @@ paths: application/json: schema: *278 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86987,7 +87015,7 @@ paths: application/json: schema: *289 examples: - response-if-user-is-a-team-maintainer: *566 + response-if-user-is-a-team-maintainer: *567 '404': *24 x-github: githubCloudOnly: false @@ -87048,7 +87076,7 @@ paths: application/json: schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: *567 + response-if-users-membership-with-team-is-now-pending: *568 '403': description: Forbidden if team synchronization is set up '422': @@ -87123,7 +87151,7 @@ paths: type: array items: *290 examples: - default: *568 + default: *569 headers: Link: *6 '404': *24 @@ -87158,7 +87186,7 @@ paths: application/json: schema: *290 examples: - default: *569 + default: *570 '404': description: Not Found if project is not managed by this team x-github: @@ -87328,7 +87356,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *570 + schema: *571 examples: alternative-response-with-extra-repository-information: value: @@ -87570,7 +87598,7 @@ paths: type: array items: *294 examples: - response-if-child-teams-exist: *571 + response-if-child-teams-exist: *572 headers: Link: *6 '404': *24 @@ -87603,7 +87631,7 @@ paths: application/json: schema: oneOf: - - &573 + - &574 title: Private User description: Private User type: object @@ -87853,7 +87881,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *572 + - *573 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88011,7 +88039,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -88089,7 +88117,7 @@ paths: type: array items: *214 examples: - default: &583 + default: &584 value: - id: 197 name: hello_docker @@ -88176,7 +88204,7 @@ paths: application/json: schema: type: array - items: &574 + items: &575 title: Email description: Email type: object @@ -88206,7 +88234,7 @@ paths: - verified - visibility examples: - default: &585 + default: &586 value: - email: octocat@github.com verified: true @@ -88283,7 +88311,7 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: default: value: @@ -88541,7 +88569,7 @@ paths: application/json: schema: type: array - items: &575 + items: &576 title: GPG Key description: A unique encryption key type: object @@ -88686,7 +88714,7 @@ paths: - subkeys - revoked examples: - default: &595 + default: &596 value: - id: 3 name: Octocat's GPG Key @@ -88771,9 +88799,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: &576 + default: &577 value: id: 3 name: Octocat's GPG Key @@ -88830,7 +88858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &577 + - &578 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -88842,9 +88870,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *24 '304': *40 '403': *41 @@ -88867,7 +88895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *577 + - *578 responses: '204': description: Response @@ -89058,7 +89086,7 @@ paths: type: array items: *82 examples: - default: *578 + default: *579 headers: Link: *6 '404': *24 @@ -89234,7 +89262,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Key description: Key type: object @@ -89337,9 +89365,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &580 + default: &581 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89378,9 +89406,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 '404': *24 '304': *40 '403': *41 @@ -90232,7 +90260,7 @@ paths: type: array items: *68 examples: - default: *581 + default: *582 headers: Link: *6 '304': *40 @@ -90274,7 +90302,7 @@ paths: - docker - nuget - container - - *582 + - *583 - *5 - *4 responses: @@ -90286,8 +90314,8 @@ paths: type: array items: *214 examples: - default: *583 - '400': *584 + default: *584 + '400': *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90316,7 +90344,7 @@ paths: application/json: schema: *214 examples: - default: &596 + default: &597 value: id: 40201 name: octo-name @@ -90771,9 +90799,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *585 + default: *586 headers: Link: *6 '304': *40 @@ -90886,7 +90914,7 @@ paths: type: array items: *82 examples: - default: &592 + default: &593 summary: Default response value: - id: 1296269 @@ -91246,7 +91274,7 @@ paths: type: array items: *442 examples: - default: *586 + default: *587 headers: Link: *6 '304': *40 @@ -91325,7 +91353,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Social account description: Social media account type: object @@ -91342,7 +91370,7 @@ paths: - provider - url examples: - default: &588 + default: &589 value: - provider: twitter url: https://twitter.com/github @@ -91405,9 +91433,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 '422': *33 '304': *40 '404': *24 @@ -91495,7 +91523,7 @@ paths: application/json: schema: type: array - items: &589 + items: &590 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -91515,7 +91543,7 @@ paths: - title - created_at examples: - default: &597 + default: &598 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91582,9 +91610,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: &590 + default: &591 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91615,7 +91643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &591 + - &592 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -91627,9 +91655,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: *590 + default: *591 '404': *24 '304': *40 '403': *41 @@ -91652,7 +91680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *591 + - *592 responses: '204': description: Response @@ -91681,7 +91709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &598 + - &599 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 @@ -91706,11 +91734,11 @@ paths: type: array items: *82 examples: - default-response: *592 + default-response: *593 application/vnd.github.v3.star+json: schema: type: array - items: &599 + items: &600 title: Starred Repository description: Starred Repository type: object @@ -92080,10 +92108,10 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: &593 + default-response: &594 summary: Default response value: login: octocat @@ -92118,7 +92146,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &594 + response-with-git-hub-plan-information: &595 summary: Response with GitHub plan information value: login: octocat @@ -92230,11 +92258,11 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: *593 - response-with-git-hub-plan-information: *594 + default-response: *594 + response-with-git-hub-plan-information: *595 '404': *24 x-github: githubCloudOnly: false @@ -92265,7 +92293,7 @@ paths: type: array items: *214 examples: - default: *583 + default: *584 '403': *41 '401': *39 x-github: @@ -92669,9 +92697,9 @@ paths: application/json: schema: type: array - items: *575 + items: *576 examples: - default: *595 + default: *596 headers: Link: *6 x-github: @@ -92861,7 +92889,7 @@ paths: type: array items: *68 examples: - default: *581 + default: *582 headers: Link: *6 x-github: @@ -92900,7 +92928,7 @@ paths: - docker - nuget - container - - *582 + - *583 - *8 - *5 - *4 @@ -92913,10 +92941,10 @@ paths: type: array items: *214 examples: - default: *583 + default: *584 '403': *41 '401': *39 - '400': *584 + '400': *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92946,7 +92974,7 @@ paths: application/json: schema: *214 examples: - default: *596 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93585,9 +93613,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 headers: Link: *6 x-github: @@ -93617,9 +93645,9 @@ paths: application/json: schema: type: array - items: *589 + items: *590 examples: - default: *597 + default: *598 headers: Link: *6 x-github: @@ -93644,7 +93672,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *598 + - *599 - *9 - *4 - *5 @@ -93656,11 +93684,11 @@ paths: schema: anyOf: - type: array - items: *599 + items: *600 - type: array items: *82 examples: - default-response: *592 + default-response: *593 headers: Link: *6 x-github: @@ -93872,7 +93900,7 @@ webhooks: type: string enum: - disabled - enterprise: &600 + enterprise: &601 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -93941,7 +93969,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &601 + installation: &602 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -93962,7 +93990,7 @@ webhooks: required: - id - node_id - organization: &602 + organization: &603 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -94035,7 +94063,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &603 + repository: &604 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -94948,10 +94976,10 @@ webhooks: type: string enum: - enabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -95037,11 +95065,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: &604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: &605 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.15/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -95274,11 +95302,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: *604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *17 required: - action @@ -95476,11 +95504,11 @@ webhooks: - everyone required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: *604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *17 required: - action @@ -95561,11 +95589,11 @@ webhooks: type: string enum: - cancelled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: &605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: &606 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -95803,7 +95831,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &606 + items: &607 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -95923,11 +95951,11 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 sender: *17 required: - action @@ -96007,11 +96035,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 sender: *17 required: - action @@ -96091,12 +96119,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 - exemption_response: *606 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 + exemption_response: *607 sender: *17 required: - action @@ -96178,12 +96206,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 - exemption_response: *606 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 + exemption_response: *607 sender: *17 required: - action @@ -96268,12 +96296,12 @@ webhooks: type: string cache_location: type: string - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 ref: type: string - repository: *603 + repository: *604 sender: *17 required: - cache_location @@ -96367,7 +96395,7 @@ webhooks: type: string enum: - completed - check_run: &608 + check_run: &609 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96477,7 +96505,7 @@ webhooks: - examples: - neutral - deployment: *607 + deployment: *608 details_url: type: string examples: @@ -96575,10 +96603,10 @@ webhooks: - output - app - pull_requests - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -96981,11 +97009,11 @@ webhooks: type: string enum: - created - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -97391,11 +97419,11 @@ webhooks: type: string enum: - requested_action - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 requested_action: description: The action requested by the user. type: object @@ -97810,11 +97838,11 @@ webhooks: type: string enum: - rerequested - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -98816,10 +98844,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -99514,10 +99542,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -100206,10 +100234,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -100537,20 +100565,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &609 + commit_oid: &610 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: *600 - installation: *601 - organization: *602 - ref: &610 + enterprise: *601 + installation: *602 + organization: *603 + ref: &611 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: *603 + repository: *604 sender: *17 required: - action @@ -100965,12 +100993,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101260,12 +101288,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101618,12 +101646,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101913,9 +101941,9 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -101923,7 +101951,7 @@ webhooks: type: - string - 'null' - repository: *603 + repository: *604 sender: *17 required: - action @@ -102176,12 +102204,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -102453,10 +102481,10 @@ webhooks: - updated_at - author_association - body - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -102547,18 +102575,18 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *602 - pusher_type: &611 + organization: *603 + pusher_type: &612 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &612 + ref: &613 description: The [`git ref`](https://docs.github.com/enterprise-server@3.15/rest/git/refs#get-a-reference) resource. type: string @@ -102568,7 +102596,7 @@ webhooks: enum: - tag - branch - repository: *603 + repository: *604 sender: *17 required: - ref @@ -102651,9 +102679,9 @@ webhooks: enum: - created definition: *233 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102738,9 +102766,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102818,9 +102846,9 @@ webhooks: enum: - updated definition: *233 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102897,10 +102925,10 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - repository: *603 - organization: *602 + enterprise: *601 + installation: *602 + repository: *604 + organization: *603 sender: *17 new_property_values: type: array @@ -102995,18 +103023,18 @@ webhooks: title: delete event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - pusher_type: *611 - ref: *612 + enterprise: *601 + installation: *602 + organization: *603 + pusher_type: *612 + ref: *613 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *603 + repository: *604 sender: *17 required: - ref @@ -103101,10 +103129,10 @@ webhooks: enum: - auto_dismissed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103199,10 +103227,10 @@ webhooks: enum: - auto_reopened alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103297,10 +103325,10 @@ webhooks: enum: - created alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103393,10 +103421,10 @@ webhooks: enum: - dismissed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103489,10 +103517,10 @@ webhooks: enum: - fixed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103586,10 +103614,10 @@ webhooks: enum: - reintroduced alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103682,10 +103710,10 @@ webhooks: enum: - reopened alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103772,9 +103800,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - key: &613 + enterprise: *601 + installation: *602 + key: &614 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103810,8 +103838,8 @@ webhooks: - verified - created_at - read_only - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -103898,11 +103926,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - key: *613 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + key: *614 + organization: *603 + repository: *604 sender: *17 required: - action @@ -104484,12 +104512,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: &617 + workflow: &618 title: Workflow type: - object @@ -105241,9 +105269,9 @@ webhooks: pull_requests: type: array items: *488 - repository: *603 - organization: *602 - installation: *601 + repository: *604 + organization: *603 + installation: *602 sender: *17 responses: '200': @@ -105324,7 +105352,7 @@ webhooks: type: string enum: - approved - approver: &614 + approver: &615 type: object properties: avatar_url: @@ -105367,11 +105395,11 @@ webhooks: type: string comment: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - reviewers: &615 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: &616 type: array items: type: object @@ -105452,7 +105480,7 @@ webhooks: sender: *17 since: type: string - workflow_job_run: &616 + workflow_job_run: &617 type: object properties: conclusion: @@ -106208,18 +106236,18 @@ webhooks: type: string enum: - rejected - approver: *614 + approver: *615 comment: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - reviewers: *615 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: *616 sender: *17 since: type: string - workflow_job_run: *616 + workflow_job_run: *617 workflow_job_runs: type: array items: @@ -106946,13 +106974,13 @@ webhooks: type: string enum: - requested - enterprise: *600 + enterprise: *601 environment: type: string - installation: *601 - organization: *602 - repository: *603 - requestor: &622 + installation: *602 + organization: *603 + repository: *604 + requestor: &623 title: User type: - object @@ -108905,12 +108933,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Deployment Workflow Run type: @@ -109611,7 +109639,7 @@ webhooks: type: string enum: - answered - answer: &620 + answer: &621 type: object properties: author_association: @@ -109771,7 +109799,7 @@ webhooks: - created_at - updated_at - body - discussion: &618 + discussion: &619 title: Discussion description: A Discussion in a repository. type: object @@ -110089,10 +110117,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110229,11 +110257,11 @@ webhooks: - from required: - category - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110326,11 +110354,11 @@ webhooks: type: string enum: - closed - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110422,7 +110450,7 @@ webhooks: type: string enum: - created - comment: &619 + comment: &620 type: object properties: author_association: @@ -110582,11 +110610,11 @@ webhooks: - updated_at - body - reactions - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110679,12 +110707,12 @@ webhooks: type: string enum: - deleted - comment: *619 - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + comment: *620 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110789,12 +110817,12 @@ webhooks: - from required: - body - comment: *619 - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + comment: *620 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110888,11 +110916,11 @@ webhooks: type: string enum: - created - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110984,11 +111012,11 @@ webhooks: type: string enum: - deleted - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111098,11 +111126,11 @@ webhooks: type: string required: - from - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111194,10 +111222,10 @@ webhooks: type: string enum: - labeled - discussion: *618 - enterprise: *600 - installation: *601 - label: &621 + discussion: *619 + enterprise: *601 + installation: *602 + label: &622 title: Label type: object properties: @@ -111230,8 +111258,8 @@ webhooks: - color - default - description - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111324,11 +111352,11 @@ webhooks: type: string enum: - locked - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111420,11 +111448,11 @@ webhooks: type: string enum: - pinned - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111516,11 +111544,11 @@ webhooks: type: string enum: - reopened - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111615,16 +111643,16 @@ webhooks: changes: type: object properties: - new_discussion: *618 - new_repository: *603 + new_discussion: *619 + new_repository: *604 required: - new_discussion - new_repository - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111717,10 +111745,10 @@ webhooks: type: string enum: - unanswered - discussion: *618 - old_answer: *620 - organization: *602 - repository: *603 + discussion: *619 + old_answer: *621 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111812,12 +111840,12 @@ webhooks: type: string enum: - unlabeled - discussion: *618 - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111910,11 +111938,11 @@ webhooks: type: string enum: - unlocked - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -112006,11 +112034,11 @@ webhooks: type: string enum: - unpinned - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -112251,7 +112279,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *600 + enterprise: *601 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.15/rest/repos/repos#get-a-repository) resource. @@ -112929,9 +112957,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *601 - organization: *602 - repository: *603 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - forkee @@ -113097,9 +113125,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pages: description: The pages that were updated. type: array @@ -113137,7 +113165,7 @@ webhooks: - action - sha - html_url - repository: *603 + repository: *604 sender: *17 required: - pages @@ -113223,10 +113251,10 @@ webhooks: type: string enum: - created - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: &623 + organization: *603 + repositories: &624 description: An array of repository objects that the installation can access. type: array @@ -113252,8 +113280,8 @@ webhooks: - name - full_name - private - repository: *603 - requester: *622 + repository: *604 + requester: *623 sender: *17 required: - action @@ -113338,11 +113366,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113429,11 +113457,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113520,10 +113548,10 @@ webhooks: type: string enum: - added - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories_added: &624 + organization: *603 + repositories_added: &625 description: An array of repository objects, which were added to the installation. type: array @@ -113569,15 +113597,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *603 - repository_selection: &625 + repository: *604 + repository_selection: &626 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *622 + requester: *623 sender: *17 required: - action @@ -113666,10 +113694,10 @@ webhooks: type: string enum: - removed - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories_added: *624 + organization: *603 + repositories_added: *625 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113696,9 +113724,9 @@ webhooks: - name - full_name - private - repository: *603 - repository_selection: *625 - requester: *622 + repository: *604 + repository_selection: *626 + requester: *623 sender: *17 required: - action @@ -113787,11 +113815,11 @@ webhooks: type: string enum: - suspend - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113984,10 +114012,10 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 target_type: type: string @@ -114076,11 +114104,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -114338,8 +114366,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115156,8 +115184,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115174,7 +115202,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -115518,8 +115546,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -115609,7 +115637,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &627 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.15/rest/issues/comments#get-an-issue-comment) itself. @@ -115776,8 +115804,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116590,8 +116618,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116608,7 +116636,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -116954,8 +116982,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -117045,7 +117073,7 @@ webhooks: type: string enum: - edited - changes: &647 + changes: &648 description: The changes to the comment. type: object properties: @@ -117057,9 +117085,9 @@ webhooks: type: string required: - from - comment: *626 - enterprise: *600 - installation: *601 + comment: *627 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117875,8 +117903,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117893,7 +117921,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -118237,8 +118265,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -118330,10 +118358,10 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *600 - installation: *601 - issue: &629 + assignee: *623 + enterprise: *601 + installation: *602 + issue: &630 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -119145,11 +119173,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119166,7 +119194,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -119269,8 +119297,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -119360,8 +119388,8 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -120178,11 +120206,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120199,7 +120227,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -120445,8 +120473,8 @@ webhooks: required: - state - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -120535,8 +120563,8 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -121344,11 +121372,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121365,7 +121393,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -121467,8 +121495,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -121557,8 +121585,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -122389,11 +122417,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122410,7 +122438,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -122491,7 +122519,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &627 + milestone: &628 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122634,8 +122662,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -122744,8 +122772,8 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -123557,11 +123585,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123575,7 +123603,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -123681,9 +123709,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *602 - repository: *603 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -123773,8 +123801,8 @@ webhooks: type: string enum: - labeled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -124585,11 +124613,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124603,7 +124631,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -124709,9 +124737,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *602 - repository: *603 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -124801,8 +124829,8 @@ webhooks: type: string enum: - locked - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -125638,11 +125666,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125656,7 +125684,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -125739,8 +125767,8 @@ webhooks: format: uri user_view_type: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -125829,8 +125857,8 @@ webhooks: type: string enum: - milestoned - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -126660,11 +126688,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126681,7 +126709,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -126761,9 +126789,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *627 - organization: *602 - repository: *603 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -127665,11 +127693,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127765,7 +127793,7 @@ webhooks: required: - login - id - type: *561 + type: *562 required: - id - number @@ -128246,8 +128274,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -129059,11 +129087,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129080,7 +129108,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -129182,8 +129210,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -129273,9 +129301,9 @@ webhooks: type: string enum: - pinned - enterprise: *600 - installation: *601 - issue: &628 + enterprise: *601 + installation: *602 + issue: &629 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -130081,11 +130109,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130102,7 +130130,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -130204,8 +130232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -130294,8 +130322,8 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -131129,11 +131157,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131230,9 +131258,9 @@ webhooks: format: uri user_view_type: type: string - type: *561 - organization: *602 - repository: *603 + type: *562 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132131,11 +132159,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132152,7 +132180,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -132734,11 +132762,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *600 - installation: *601 - issue: *628 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *629 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132829,7 +132857,7 @@ webhooks: type: string enum: - unassigned - assignee: &650 + assignee: &651 title: User type: - object @@ -132901,11 +132929,11 @@ webhooks: required: - login - id - enterprise: *600 - installation: *601 - issue: *629 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *630 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132994,12 +133022,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *600 - installation: *601 - issue: *629 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *630 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -133089,8 +133117,8 @@ webhooks: type: string enum: - unlocked - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -133924,11 +133952,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133945,7 +133973,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -134025,8 +134053,8 @@ webhooks: format: uri user_view_type: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134116,11 +134144,11 @@ webhooks: type: string enum: - unpinned - enterprise: *600 - installation: *601 - issue: *628 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *629 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134209,11 +134237,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134301,11 +134329,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134425,11 +134453,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134543,11 +134571,11 @@ webhooks: type: string required: - to - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134659,11 +134687,11 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134752,11 +134780,11 @@ webhooks: type: string enum: - removed - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134844,11 +134872,11 @@ webhooks: type: string enum: - added - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134926,7 +134954,7 @@ webhooks: required: - login - id - team: &630 + team: &631 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135129,11 +135157,11 @@ webhooks: type: string enum: - removed - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135212,7 +135240,7 @@ webhooks: required: - login - id - team: *630 + team: *631 required: - action - scope @@ -135300,7 +135328,7 @@ webhooks: type: string enum: - deleted - enterprise: *600 + enterprise: *601 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -135409,12 +135437,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *601 - organization: *602 + installation: *602 + organization: *603 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -135504,11 +135532,11 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135597,9 +135625,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - milestone: &631 + enterprise: *601 + installation: *602 + milestone: &632 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135741,8 +135769,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135831,11 +135859,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135955,11 +135983,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136049,11 +136077,11 @@ webhooks: type: string enum: - opened - enterprise: *600 - installation: *601 - milestone: *631 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *632 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136142,9 +136170,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - membership: &632 + enterprise: *601 + installation: *602 + membership: &633 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -136254,8 +136282,8 @@ webhooks: - role - organization_url - user - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136343,11 +136371,11 @@ webhooks: type: string enum: - member_added - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136436,8 +136464,8 @@ webhooks: type: string enum: - member_invited - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -136559,10 +136587,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action - invitation @@ -136650,11 +136678,11 @@ webhooks: type: string enum: - member_removed - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136751,11 +136779,11 @@ webhooks: properties: from: type: string - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136841,9 +136869,9 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137366,7 +137394,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &633 + items: &634 title: Ruby Gems metadata type: object properties: @@ -137463,7 +137491,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -137549,9 +137577,9 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137913,7 +137941,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *633 + items: *634 source_url: type: string format: uri @@ -137984,7 +138012,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -138175,12 +138203,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *600 + enterprise: *601 id: type: integer - installation: *601 - organization: *602 - repository: *603 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - id @@ -138257,7 +138285,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &634 + personal_access_token_request: &635 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -138407,10 +138435,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *600 - organization: *602 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138487,11 +138515,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *634 - enterprise: *600 - organization: *602 + personal_access_token_request: *635 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138567,11 +138595,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *634 - enterprise: *600 - organization: *602 + personal_access_token_request: *635 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138646,11 +138674,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *634 - organization: *602 - enterprise: *600 + personal_access_token_request: *635 + organization: *603 + enterprise: *601 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138765,7 +138793,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *635 + last_response: *636 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -138797,8 +138825,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 zen: description: Random string of GitHub zen. @@ -139053,10 +139081,10 @@ webhooks: - from required: - note - enterprise: *600 - installation: *601 - organization: *602 - project_card: &636 + enterprise: *601 + installation: *602 + organization: *603 + project_card: &637 title: Project Card type: object properties: @@ -139179,7 +139207,7 @@ webhooks: - creator - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -139270,11 +139298,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project_card: *636 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *637 + repository: *604 sender: *17 required: - action @@ -139364,9 +139392,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 project_card: title: Project Card type: object @@ -139496,7 +139524,7 @@ webhooks: repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -139600,11 +139628,11 @@ webhooks: - from required: - note - enterprise: *600 - installation: *601 - organization: *602 - project_card: *636 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *637 + repository: *604 sender: *17 required: - action @@ -139708,9 +139736,9 @@ webhooks: - from required: - column_id - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 project_card: allOf: - title: Project Card @@ -139907,7 +139935,7 @@ webhooks: type: string required: - after_id - repository: *603 + repository: *604 sender: *17 required: - action @@ -139997,10 +140025,10 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - organization: *602 - project: &638 + enterprise: *601 + installation: *602 + organization: *603 + project: &639 title: Project type: object properties: @@ -140127,7 +140155,7 @@ webhooks: - creator - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -140217,10 +140245,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project_column: &637 + enterprise: *601 + installation: *602 + organization: *603 + project_column: &638 title: Project Column type: object properties: @@ -140260,7 +140288,7 @@ webhooks: - name - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -140349,14 +140377,14 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -140455,11 +140483,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 + repository: *604 sender: *17 required: - action @@ -140549,11 +140577,11 @@ webhooks: type: string enum: - moved - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 + repository: *604 sender: *17 required: - action @@ -140643,11 +140671,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -140737,14 +140765,14 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - project: *638 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -140855,11 +140883,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -140948,11 +140976,11 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -141043,9 +141071,9 @@ webhooks: type: string enum: - closed - installation: *601 - organization: *602 - projects_v2: &639 + installation: *602 + organization: *603 + projects_v2: &640 title: Projects v2 Project description: A projects v2 project type: object @@ -141292,9 +141320,9 @@ webhooks: type: string enum: - created - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141385,9 +141413,9 @@ webhooks: type: string enum: - deleted - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141518,9 +141546,9 @@ webhooks: type: string to: type: string - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141613,7 +141641,7 @@ webhooks: type: string enum: - archived - changes: &643 + changes: &644 type: object properties: archived_at: @@ -141629,9 +141657,9 @@ webhooks: - string - 'null' format: date-time - installation: *601 - organization: *602 - projects_v2_item: &640 + installation: *602 + organization: *603 + projects_v2_item: &641 title: Projects v2 Item description: An item belonging to a project type: object @@ -141788,9 +141816,9 @@ webhooks: - 'null' to: type: string - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -141882,9 +141910,9 @@ webhooks: type: string enum: - created - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -141975,9 +142003,9 @@ webhooks: type: string enum: - deleted - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142092,7 +142120,7 @@ webhooks: oneOf: - type: string - type: integer - - &641 + - &642 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -142116,7 +142144,7 @@ webhooks: required: - id - name - - &642 + - &643 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -142156,8 +142184,8 @@ webhooks: oneOf: - type: string - type: integer - - *641 - *642 + - *643 type: - 'null' - string @@ -142180,9 +142208,9 @@ webhooks: - 'null' required: - body - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142289,9 +142317,9 @@ webhooks: type: - string - 'null' - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142384,10 +142412,10 @@ webhooks: type: string enum: - restored - changes: *643 - installation: *601 - organization: *602 - projects_v2_item: *640 + changes: *644 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142479,9 +142507,9 @@ webhooks: type: string enum: - reopened - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -142562,10 +142590,10 @@ webhooks: title: public event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - repository @@ -142652,13 +142680,13 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *600 - installation: *601 - number: &644 + assignee: *623 + enterprise: *601 + installation: *602 + number: &645 description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -145007,7 +145035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -145099,11 +145127,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -147445,7 +147473,7 @@ webhooks: - draft reason: type: string - repository: *603 + repository: *604 sender: *17 required: - action @@ -147537,11 +147565,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -149883,7 +149911,7 @@ webhooks: - draft reason: type: string - repository: *603 + repository: *604 sender: *17 required: - action @@ -149975,11 +150003,11 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: &645 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: &646 allOf: - *488 - type: object @@ -150043,7 +150071,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *603 + repository: *604 sender: *17 required: - action @@ -150134,12 +150162,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -150229,11 +150257,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *600 + enterprise: *601 milestone: *393 - number: *644 - organization: *602 - pull_request: &646 + number: *645 + organization: *603 + pull_request: &647 title: Pull Request type: object properties: @@ -152560,7 +152588,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -152692,12 +152720,12 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -152787,11 +152815,11 @@ webhooks: type: string enum: - labeled - enterprise: *600 - installation: *601 - label: *621 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + label: *622 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -155139,7 +155167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -155230,10 +155258,10 @@ webhooks: type: string enum: - locked - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -157579,7 +157607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -157669,12 +157697,12 @@ webhooks: type: string enum: - milestoned - enterprise: *600 + enterprise: *601 milestone: *393 - number: *644 - organization: *602 - pull_request: *646 - repository: *603 + number: *645 + organization: *603 + pull_request: *647 + repository: *604 sender: *17 required: - action @@ -157763,12 +157791,12 @@ webhooks: type: string enum: - opened - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -157859,12 +157887,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -157954,12 +157982,12 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -158344,9 +158372,9 @@ webhooks: - start_side - side - reactions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -160576,7 +160604,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -160666,7 +160694,7 @@ webhooks: type: string enum: - deleted - comment: &648 + comment: &649 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.15/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -160959,9 +160987,9 @@ webhooks: - start_side - side - reactions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -163179,7 +163207,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -163269,11 +163297,11 @@ webhooks: type: string enum: - edited - changes: *647 - comment: *648 - enterprise: *600 - installation: *601 - organization: *602 + changes: *648 + comment: *649 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -165494,7 +165522,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -165585,9 +165613,9 @@ webhooks: type: string enum: - dismissed - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -167820,7 +167848,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 review: description: The review that was affected. type: object @@ -168081,9 +168109,9 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -170197,8 +170225,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 - review: &649 + repository: *604 + review: &650 description: The review that was affected. type: object properties: @@ -170446,12 +170474,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -172798,7 +172826,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_reviewer: title: User type: @@ -172884,12 +172912,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -175243,7 +175271,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -175448,12 +175476,12 @@ webhooks: type: string enum: - review_requested - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -177802,7 +177830,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_reviewer: title: User type: @@ -177889,12 +177917,12 @@ webhooks: type: string enum: - review_requested - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -180234,7 +180262,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -180428,9 +180456,9 @@ webhooks: type: string enum: - submitted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -182666,8 +182694,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 - review: *649 + repository: *604 + review: *650 sender: *17 required: - action @@ -182757,9 +182785,9 @@ webhooks: type: string enum: - resolved - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -184890,7 +184918,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 sender: *17 thread: type: object @@ -185297,9 +185325,9 @@ webhooks: type: string enum: - unresolved - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -187413,7 +187441,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 sender: *17 thread: type: object @@ -187822,10 +187850,10 @@ webhooks: type: string before: type: string - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -190160,7 +190188,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -190252,11 +190280,11 @@ webhooks: type: string enum: - unassigned - assignee: *650 - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + assignee: *651 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -192606,7 +192634,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -192695,11 +192723,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *600 - installation: *601 - label: *621 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + label: *622 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -195038,7 +195066,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -195129,10 +195157,10 @@ webhooks: type: string enum: - unlocked - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -197461,7 +197489,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -197674,7 +197702,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *600 + enterprise: *601 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -197769,8 +197797,8 @@ webhooks: - url - author - committer - installation: *601 - organization: *602 + installation: *602 + organization: *603 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -198368,9 +198396,9 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -198847,7 +198875,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *633 + items: *634 summary: type: string tag_name: @@ -198903,7 +198931,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -198991,9 +199019,9 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -199305,7 +199333,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *633 + items: *634 summary: type: string tag_name: @@ -199355,7 +199383,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -199442,10 +199470,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - release: &651 + enterprise: *601 + installation: *602 + organization: *603 + release: &652 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -199776,7 +199804,7 @@ webhooks: - updated_at - zipball_url - body - repository: *603 + repository: *604 sender: *17 required: - action @@ -199863,11 +199891,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -199994,11 +200022,11 @@ webhooks: type: boolean required: - to - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -200086,9 +200114,9 @@ webhooks: type: string enum: - prereleased - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) @@ -200424,7 +200452,7 @@ webhooks: - string - 'null' format: uri - repository: *603 + repository: *604 sender: *17 required: - action @@ -200510,10 +200538,10 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 - release: &652 + enterprise: *601 + installation: *602 + organization: *603 + release: &653 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -200846,7 +200874,7 @@ webhooks: - string - 'null' format: uri - repository: *603 + repository: *604 sender: *17 required: - action @@ -200932,11 +200960,11 @@ webhooks: type: string enum: - released - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -201022,11 +201050,11 @@ webhooks: type: string enum: - unpublished - enterprise: *600 - installation: *601 - organization: *602 - release: *652 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *653 + repository: *604 sender: *17 required: - action @@ -201112,10 +201140,10 @@ webhooks: type: string enum: - anonymous_access_disabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201200,10 +201228,10 @@ webhooks: type: string enum: - anonymous_access_enabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201288,10 +201316,10 @@ webhooks: type: string enum: - archived - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201378,10 +201406,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201469,10 +201497,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201567,10 +201595,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201695,10 +201723,10 @@ webhooks: - 'null' items: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201786,10 +201814,10 @@ webhooks: type: string enum: - privatized - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201876,10 +201904,10 @@ webhooks: type: string enum: - publicized - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201983,10 +202011,10 @@ webhooks: - name required: - repository - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202066,10 +202094,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 sender: *17 required: @@ -202148,10 +202176,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 sender: *17 required: @@ -202230,10 +202258,10 @@ webhooks: type: string enum: - edited - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 changes: type: object @@ -202295,16 +202323,16 @@ webhooks: properties: added: type: array - items: *510 + items: *511 deleted: type: array - items: *510 + items: *511 updated: type: array items: type: object properties: - rule: *510 + rule: *511 changes: type: object properties: @@ -202551,10 +202579,10 @@ webhooks: - from required: - owner - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202642,10 +202670,10 @@ webhooks: type: string enum: - unarchived - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202733,7 +202761,7 @@ webhooks: type: string enum: - create - alert: &653 + alert: &654 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -202857,10 +202885,10 @@ webhooks: type: string enum: - open - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203080,10 +203108,10 @@ webhooks: type: string enum: - dismissed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203171,11 +203199,11 @@ webhooks: type: string enum: - reopen - alert: *653 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *654 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203387,10 +203415,10 @@ webhooks: enum: - fixed - open - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203478,7 +203506,7 @@ webhooks: type: string enum: - created - alert: &654 + alert: &655 type: object properties: number: *91 @@ -203555,10 +203583,10 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203649,11 +203677,11 @@ webhooks: type: string enum: - created - alert: *654 - installation: *601 - location: *655 - organization: *602 - repository: *603 + alert: *655 + installation: *602 + location: *656 + organization: *603 + repository: *604 sender: *17 required: - location @@ -203896,11 +203924,11 @@ webhooks: type: string enum: - reopened - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203988,11 +204016,11 @@ webhooks: type: string enum: - resolved - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -204080,11 +204108,11 @@ webhooks: type: string enum: - validated - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -204170,11 +204198,11 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - security_advisory: &656 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: &657 description: The details of the security advisory, including summary, description, and severity. type: object @@ -204370,11 +204398,11 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - security_advisory: *656 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: *657 sender: *17 required: - action @@ -204457,10 +204485,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -204657,9 +204685,9 @@ webhooks: type: object properties: security_and_analysis: *238 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: *303 sender: *17 required: @@ -204748,12 +204776,12 @@ webhooks: type: string enum: - cancelled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: &657 + sponsorship: &658 type: object properties: created_at: @@ -205068,12 +205096,12 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - sponsorship @@ -205171,12 +205199,12 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205263,17 +205291,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &658 + effective_date: &659 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: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - sponsorship @@ -205357,7 +205385,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &659 + changes: &660 type: object properties: tier: @@ -205401,13 +205429,13 @@ webhooks: - from required: - tier - effective_date: *658 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + effective_date: *659 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205494,13 +205522,13 @@ webhooks: type: string enum: - tier_changed - changes: *659 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + changes: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205584,10 +205612,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -205681,10 +205709,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -206123,15 +206151,15 @@ webhooks: type: - string - 'null' - enterprise: *600 + enterprise: *601 id: description: The unique identifier of the status. type: integer - installation: *601 + installation: *602 name: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 sha: description: The Commit SHA. @@ -206244,12 +206272,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - team: &660 + team: &661 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -206452,9 +206480,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -206924,7 +206952,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -207010,9 +207038,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -207482,7 +207510,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -207569,9 +207597,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208041,7 +208069,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -208195,9 +208223,9 @@ webhooks: - from required: - permissions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208667,7 +208695,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - changes @@ -208755,9 +208783,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209227,7 +209255,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -209310,12 +209338,12 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action responses: @@ -209393,12 +209421,12 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action responses: @@ -209479,10 +209507,10 @@ webhooks: type: string enum: - started - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -209565,17 +209593,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *600 + enterprise: *601 inputs: type: - object - 'null' additionalProperties: true - installation: *601 - organization: *602 + installation: *602 + organization: *603 ref: type: string - repository: *603 + repository: *604 sender: *17 workflow: type: string @@ -209667,10 +209695,10 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: allOf: @@ -210015,10 +210043,10 @@ webhooks: type: string enum: - in_progress - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: allOf: @@ -210389,10 +210417,10 @@ webhooks: type: string enum: - queued - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: type: object @@ -210627,10 +210655,10 @@ webhooks: type: string enum: - waiting - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: type: object @@ -210867,12 +210895,12 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object @@ -211901,12 +211929,12 @@ webhooks: type: string enum: - in_progress - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object @@ -212920,12 +212948,12 @@ webhooks: type: string enum: - requested - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json index b40baf2029..424a9f9414 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json @@ -139011,7 +139011,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -139238,7 +139238,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -139618,7 +139618,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -139835,7 +139835,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -140153,7 +140153,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -148351,6 +148351,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -150591,6 +150620,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -152406,6 +152464,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -154659,6 +154746,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -445961,6 +446077,61 @@ } } ] + }, + { + "allOf": [ + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, + { + "title": "repository ruleset data for rule", + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "properties": { + "ruleset_source_type": { + "type": "string", + "description": "The type of source for the ruleset that includes this rule.", + "enum": [ + "Repository", + "Organization" + ] + }, + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." + }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + } + ] } ] } @@ -447184,6 +447355,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -448124,6 +448324,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -449274,6 +449503,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -451108,6 +451366,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -452063,6 +452350,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -453209,6 +453525,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1142911,6 +1143256,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1145999,6 +1146373,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1149087,6 +1149490,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1149953,6 +1150385,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1150647,6 +1151108,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] } @@ -1151344,6 +1151834,35 @@ ] } } + }, + { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } } ] }, diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml index 40ae9f0897..dbe1c20b20 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml @@ -4638,7 +4638,7 @@ paths: application/json: schema: *22 application/scim+json: - schema: &534 + schema: &535 title: Scim Error description: Scim Error type: object @@ -14489,14 +14489,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &523 + state: &524 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: &524 + resolution: &525 type: - string - 'null' @@ -15341,7 +15341,7 @@ paths: timeline_url: type: string format: uri - type: &561 + type: &562 title: Issue Type description: The type of issue. type: @@ -15450,7 +15450,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &558 + sub_issues_summary: &559 title: Sub-issues Summary type: object properties: @@ -15471,7 +15471,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &559 + issue_dependencies_summary: &560 title: Issue Dependencies Summary type: object properties: @@ -15490,7 +15490,7 @@ paths: - total_blocking issue_field_values: type: array - items: &560 + items: &561 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16155,7 +16155,7 @@ paths: url: type: string format: uri - user: &572 + user: &573 title: Public User description: Public User type: object @@ -22030,7 +22030,7 @@ paths: type: array items: *68 examples: - default: &581 + default: &582 value: - login: github id: 1 @@ -23253,7 +23253,7 @@ paths: type: array items: *82 examples: - default: &578 + default: &579 value: total_count: 1 repositories: @@ -32055,7 +32055,7 @@ paths: - nuget - container - *130 - - &582 + - &583 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32096,7 +32096,7 @@ paths: default: *215 '403': *41 '401': *39 - '400': &584 + '400': &585 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33696,7 +33696,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -33828,7 +33828,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -33892,7 +33892,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -33941,7 +33941,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -34045,7 +34045,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -35761,7 +35761,7 @@ paths: - *130 - *4 - *5 - - &509 + - &510 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36040,7 +36040,7 @@ paths: - object rules: type: array - items: &510 + items: &511 title: Repository Rule type: object description: A repository rule. @@ -36618,6 +36618,31 @@ paths: - tool required: - code_scanning_tools + - &509 + title: copilot_code_review + description: Request Copilot code review for new pull requests + automatically if the author has access to Copilot code + review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft + pull requests before they are marked as ready + for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each + new push to the pull request. created_at: type: string format: date-time @@ -36820,7 +36845,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *130 - - &511 + - &512 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 @@ -36835,7 +36860,7 @@ paths: in: query schema: type: string - - &512 + - &513 name: time_period description: |- The time period to filter by. @@ -36851,14 +36876,14 @@ paths: - week - month default: day - - &513 + - &514 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 - - &514 + - &515 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -36878,7 +36903,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Rule Suites description: Response type: array @@ -36933,7 +36958,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &516 + default: &517 value: - id: 21 actor_id: 12 @@ -36977,7 +37002,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *130 - - &517 + - &518 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36993,7 +37018,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &519 title: Rule Suite description: Response type: object @@ -37098,7 +37123,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &519 + default: &520 value: id: 21 actor_id: 12 @@ -37316,7 +37341,7 @@ paths: - *9 - *5 - *4 - - &521 + - &522 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.15/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -37326,7 +37351,7 @@ paths: required: false schema: type: string - - &522 + - &523 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.15/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -38406,7 +38431,7 @@ paths: - updated_at - url examples: - default: &562 + default: &563 value: - author: login: octocat @@ -38654,7 +38679,7 @@ paths: application/json: schema: *275 examples: - default: &563 + default: &564 value: author: login: octocat @@ -38845,7 +38870,7 @@ paths: - updated_at - url examples: - default: &564 + default: &565 value: - author: login: octocat @@ -39071,7 +39096,7 @@ paths: application/json: schema: *278 examples: - default: &565 + default: &566 value: author: login: octocat @@ -39751,7 +39776,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &566 + response-if-user-is-a-team-maintainer: &567 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39816,7 +39841,7 @@ paths: application/json: schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: &567 + response-if-users-membership-with-team-is-now-pending: &568 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39958,7 +39983,7 @@ paths: - updated_at - permissions examples: - default: &568 + default: &569 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40037,7 +40062,7 @@ paths: application/json: schema: *290 examples: - default: &569 + default: &570 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40248,7 +40273,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &570 + schema: &571 title: Team Repository description: A team's access to a repository. type: object @@ -40977,7 +41002,7 @@ paths: type: array items: *294 examples: - response-if-child-teams-exist: &571 + response-if-child-teams-exist: &572 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52648,7 +52673,7 @@ paths: check. type: array items: *361 - deployment: &607 + deployment: &608 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58878,7 +58903,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Status description: The status of a commit. type: object @@ -60302,7 +60327,7 @@ paths: items: type: object properties: - placeholder_id: &526 + placeholder_id: &527 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66116,7 +66141,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &635 + last_response: &636 title: Hook Response type: object properties: @@ -66741,7 +66766,7 @@ paths: - html_url - created_at examples: - default: &586 + default: &587 value: - id: 1 repository: @@ -79569,6 +79594,9 @@ paths: - allOf: - *259 - *507 + - allOf: + - *509 + - *507 examples: default: value: @@ -79619,7 +79647,7 @@ paths: schema: type: boolean default: true - - *509 + - *510 responses: '200': description: Response @@ -79704,7 +79732,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *510 + items: *511 required: - name - enforcement @@ -79737,7 +79765,7 @@ paths: application/json: schema: *260 examples: - default: &520 + default: &521 value: id: 42 name: super cool ruleset @@ -79786,10 +79814,10 @@ paths: parameters: - *292 - *293 - - *511 - *512 - *513 - *514 + - *515 - *4 - *5 responses: @@ -79797,9 +79825,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: - default: *516 + default: *517 '404': *24 '500': *220 x-github: @@ -79822,15 +79850,15 @@ paths: parameters: - *292 - *293 - - *517 + - *518 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 '404': *24 '500': *220 x-github: @@ -79881,7 +79909,7 @@ paths: application/json: schema: *260 examples: - default: *520 + default: *521 '404': *24 '500': *220 put: @@ -79934,7 +79962,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *510 + items: *511 examples: default: value: @@ -79964,7 +79992,7 @@ paths: application/json: schema: *260 examples: - default: *520 + default: *521 '404': *24 '500': *220 delete: @@ -80020,8 +80048,8 @@ paths: - *9 - *5 - *4 - - *521 - *522 + - *523 - *267 responses: '200': @@ -80030,7 +80058,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 type: object properties: number: *91 @@ -80046,8 +80074,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *523 - resolution: *524 + state: *524 + resolution: *525 resolved_at: type: - string @@ -80231,7 +80259,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -80281,8 +80309,8 @@ paths: schema: type: object properties: - state: *523 - resolution: *524 + state: *524 + resolution: *525 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80301,7 +80329,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -80381,7 +80409,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &655 + items: &656 type: object properties: type: @@ -80769,14 +80797,14 @@ paths: schema: type: object properties: - reason: &527 + reason: &528 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *526 + placeholder_id: *527 required: - reason - placeholder_id @@ -80793,7 +80821,7 @@ paths: schema: type: object properties: - reason: *527 + reason: *528 expire_at: type: - string @@ -80943,7 +80971,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81311,7 +81339,7 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: default: value: @@ -81401,7 +81429,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: default: value: @@ -81495,7 +81523,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &530 + schema: &531 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81595,7 +81623,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -81735,7 +81763,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Tag protection description: Tag protection type: object @@ -81816,7 +81844,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -81964,7 +81992,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &533 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81976,7 +82004,7 @@ paths: required: - names examples: - default: &533 + default: &534 value: names: - octocat @@ -82031,9 +82059,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 '404': *24 '422': *25 x-github: @@ -82675,7 +82703,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &541 + - &542 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -82685,7 +82713,7 @@ paths: type: string examples: - members - - &546 + - &547 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -82697,7 +82725,7 @@ paths: format: int32 examples: - 1 - - &547 + - &548 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -82741,7 +82769,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &535 + items: &536 allOf: - type: object required: @@ -82823,7 +82851,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: &548 + meta: &549 type: object description: The metadata associated with the creation/updates to the user. @@ -82888,31 +82916,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &536 + '400': &537 description: Bad request content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 - '401': &537 + schema: *535 + '401': &538 description: Authorization failure - '403': &538 + '403': &539 description: Permission denied - '429': &539 + '429': &540 description: Too many requests content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 - '500': &540 + schema: *535 + '500': &541 description: Internal server error content: application/json: - schema: *534 + schema: *535 application/scim+json: - schema: *534 + schema: *535 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -82939,7 +82967,7 @@ paths: required: true content: application/json: - schema: &544 + schema: &545 type: object required: - schemas @@ -83003,9 +83031,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *535 + schema: *536 examples: - group: &542 + group: &543 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -83024,13 +83052,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': *536 - '401': *537 - '403': *538 - '409': &545 + '400': *537 + '401': *538 + '403': *539 + '409': &546 description: Duplicate record detected - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83051,7 +83079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &543 + - &544 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -83060,22 +83088,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *541 + - *542 - *63 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *535 + schema: *536 examples: - default: *542 - '400': *536 - '401': *537 - '403': *538 + default: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83097,13 +83125,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *543 + - *544 - *63 requestBody: required: true content: application/json: - schema: *544 + schema: *545 examples: group: summary: Group @@ -83129,17 +83157,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *535 + schema: *536 examples: - group: *542 - groupWithMembers: *542 - '400': *536 - '401': *537 - '403': *538 + group: *543 + groupWithMembers: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83163,13 +83191,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *543 + - *544 - *63 requestBody: required: true content: application/json: - schema: &555 + schema: &556 type: object required: - Operations @@ -83229,17 +83257,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *535 + schema: *536 examples: - updateGroup: *542 - addMembers: *542 - '400': *536 - '401': *537 - '403': *538 + updateGroup: *543 + addMembers: *543 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83259,17 +83287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *543 + - *544 - *63 responses: '204': description: Group was deleted, no content - '400': *536 - '401': *537 - '403': *538 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83306,8 +83334,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *546 - *547 + - *548 - *63 responses: '200': @@ -83341,7 +83369,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &550 + items: &551 allOf: - type: object required: @@ -83433,7 +83461,7 @@ paths: address. examples: - true - roles: &549 + roles: &550 type: array description: The roles assigned to the user. items: @@ -83492,7 +83520,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *548 + meta: *549 startIndex: type: integer description: A starting index for the returned page @@ -83531,11 +83559,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *536 - '401': *537 - '403': *538 - '429': *539 - '500': *540 + '400': *537 + '401': *538 + '403': *539 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83564,7 +83592,7 @@ paths: required: true content: application/json: - schema: &553 + schema: &554 type: object required: - schemas @@ -83657,9 +83685,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *549 + roles: *550 examples: - user: &554 + user: &555 summary: User value: schemas: @@ -83706,9 +83734,9 @@ paths: description: User has been created content: application/scim+json: - schema: *550 + schema: *551 examples: - user: &551 + user: &552 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -83734,13 +83762,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: *551 - '400': *536 - '401': *537 - '403': *538 - '409': *545 - '429': *539 - '500': *540 + enterpriseOwner: *552 + '400': *537 + '401': *538 + '403': *539 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83761,7 +83789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &552 + - &553 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -83774,15 +83802,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *550 + schema: *551 examples: - default: *551 - '400': *536 - '401': *537 - '403': *538 + default: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83807,30 +83835,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *552 + - *553 - *63 requestBody: required: true content: application/json: - schema: *553 + schema: *554 examples: - user: *554 + user: *555 responses: '200': description: User was updated content: application/scim+json: - schema: *550 + schema: *551 examples: - user: *551 - '400': *536 - '401': *537 - '403': *538 + user: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83868,13 +83896,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *552 + - *553 - *63 requestBody: required: true content: application/json: - schema: *555 + schema: *556 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -83914,18 +83942,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *550 - examples: - userMultiValuedProperties: *551 - userSingleValuedProperties: *551 - disableUser: *551 - '400': *536 - '401': *537 - '403': *538 + schema: *551 + examples: + userMultiValuedProperties: *552 + userSingleValuedProperties: *552 + disableUser: *552 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '409': *545 - '429': *539 - '500': *540 + '409': *546 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -83945,17 +83973,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *552 + - *553 - *63 responses: '204': description: User was deleted, no content - '400': *536 - '401': *537 - '403': *538 + '400': *537 + '401': *538 + '403': *539 '404': *24 - '429': *539 - '500': *540 + '429': *540 + '500': *541 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -84083,7 +84111,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &556 + text_matches: &557 title: Search Result Text Matches type: array items: @@ -84247,7 +84275,7 @@ paths: enum: - author-date - committer-date - - &557 + - &558 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 @@ -84367,7 +84395,7 @@ paths: type: number node_id: type: string - text_matches: *556 + text_matches: *557 required: - sha - node_id @@ -84560,7 +84588,7 @@ paths: - interactions - created - updated - - *557 + - *558 - *4 - *5 - name: advanced_search @@ -84657,11 +84685,11 @@ paths: type: - string - 'null' - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: type: string state_reason: @@ -84689,7 +84717,7 @@ paths: - string - 'null' format: date-time - text_matches: *556 + text_matches: *557 pull_request: type: object properties: @@ -84738,7 +84766,7 @@ paths: timeline_url: type: string format: uri - type: *561 + type: *562 performed_via_github_app: anyOf: - type: 'null' @@ -84912,7 +84940,7 @@ paths: enum: - created - updated - - *557 + - *558 - *4 - *5 responses: @@ -84957,7 +84985,7 @@ paths: - 'null' score: type: number - text_matches: *556 + text_matches: *557 required: - id - node_id @@ -85043,7 +85071,7 @@ paths: - forks - help-wanted-issues - updated - - *557 + - *558 - *4 - *5 responses: @@ -85280,7 +85308,7 @@ paths: - admin - pull - push - text_matches: *556 + text_matches: *557 temp_clone_token: type: string allow_merge_commit: @@ -85589,7 +85617,7 @@ paths: - string - 'null' format: uri - text_matches: *556 + text_matches: *557 related: type: - array @@ -85784,7 +85812,7 @@ paths: - followers - repositories - joined - - *557 + - *558 - *4 - *5 responses: @@ -85894,7 +85922,7 @@ paths: type: - boolean - 'null' - text_matches: *556 + text_matches: *557 blog: type: - string @@ -86156,7 +86184,7 @@ paths: type: array items: *275 examples: - default: *562 + default: *563 headers: Link: *6 x-github: @@ -86308,7 +86336,7 @@ paths: application/json: schema: *275 examples: - default: *563 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86377,7 +86405,7 @@ paths: type: array items: *278 examples: - default: *564 + default: *565 headers: Link: *6 x-github: @@ -86519,7 +86547,7 @@ paths: application/json: schema: *278 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86987,7 +87015,7 @@ paths: application/json: schema: *289 examples: - response-if-user-is-a-team-maintainer: *566 + response-if-user-is-a-team-maintainer: *567 '404': *24 x-github: githubCloudOnly: false @@ -87048,7 +87076,7 @@ paths: application/json: schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: *567 + response-if-users-membership-with-team-is-now-pending: *568 '403': description: Forbidden if team synchronization is set up '422': @@ -87123,7 +87151,7 @@ paths: type: array items: *290 examples: - default: *568 + default: *569 headers: Link: *6 '404': *24 @@ -87158,7 +87186,7 @@ paths: application/json: schema: *290 examples: - default: *569 + default: *570 '404': description: Not Found if project is not managed by this team x-github: @@ -87328,7 +87356,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *570 + schema: *571 examples: alternative-response-with-extra-repository-information: value: @@ -87570,7 +87598,7 @@ paths: type: array items: *294 examples: - response-if-child-teams-exist: *571 + response-if-child-teams-exist: *572 headers: Link: *6 '404': *24 @@ -87603,7 +87631,7 @@ paths: application/json: schema: oneOf: - - &573 + - &574 title: Private User description: Private User type: object @@ -87853,7 +87881,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *572 + - *573 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88011,7 +88039,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -88089,7 +88117,7 @@ paths: type: array items: *214 examples: - default: &583 + default: &584 value: - id: 197 name: hello_docker @@ -88176,7 +88204,7 @@ paths: application/json: schema: type: array - items: &574 + items: &575 title: Email description: Email type: object @@ -88206,7 +88234,7 @@ paths: - verified - visibility examples: - default: &585 + default: &586 value: - email: octocat@github.com verified: true @@ -88283,7 +88311,7 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: default: value: @@ -88541,7 +88569,7 @@ paths: application/json: schema: type: array - items: &575 + items: &576 title: GPG Key description: A unique encryption key type: object @@ -88686,7 +88714,7 @@ paths: - subkeys - revoked examples: - default: &595 + default: &596 value: - id: 3 name: Octocat's GPG Key @@ -88771,9 +88799,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: &576 + default: &577 value: id: 3 name: Octocat's GPG Key @@ -88830,7 +88858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &577 + - &578 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -88842,9 +88870,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *24 '304': *40 '403': *41 @@ -88867,7 +88895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *577 + - *578 responses: '204': description: Response @@ -89058,7 +89086,7 @@ paths: type: array items: *82 examples: - default: *578 + default: *579 headers: Link: *6 '404': *24 @@ -89234,7 +89262,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Key description: Key type: object @@ -89337,9 +89365,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &580 + default: &581 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89378,9 +89406,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 '404': *24 '304': *40 '403': *41 @@ -90232,7 +90260,7 @@ paths: type: array items: *68 examples: - default: *581 + default: *582 headers: Link: *6 '304': *40 @@ -90274,7 +90302,7 @@ paths: - docker - nuget - container - - *582 + - *583 - *5 - *4 responses: @@ -90286,8 +90314,8 @@ paths: type: array items: *214 examples: - default: *583 - '400': *584 + default: *584 + '400': *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90316,7 +90344,7 @@ paths: application/json: schema: *214 examples: - default: &596 + default: &597 value: id: 40201 name: octo-name @@ -90771,9 +90799,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *585 + default: *586 headers: Link: *6 '304': *40 @@ -90886,7 +90914,7 @@ paths: type: array items: *82 examples: - default: &592 + default: &593 summary: Default response value: - id: 1296269 @@ -91246,7 +91274,7 @@ paths: type: array items: *442 examples: - default: *586 + default: *587 headers: Link: *6 '304': *40 @@ -91325,7 +91353,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Social account description: Social media account type: object @@ -91342,7 +91370,7 @@ paths: - provider - url examples: - default: &588 + default: &589 value: - provider: twitter url: https://twitter.com/github @@ -91405,9 +91433,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 '422': *33 '304': *40 '404': *24 @@ -91495,7 +91523,7 @@ paths: application/json: schema: type: array - items: &589 + items: &590 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -91515,7 +91543,7 @@ paths: - title - created_at examples: - default: &597 + default: &598 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91582,9 +91610,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: &590 + default: &591 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91615,7 +91643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &591 + - &592 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -91627,9 +91655,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: *590 + default: *591 '404': *24 '304': *40 '403': *41 @@ -91652,7 +91680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *591 + - *592 responses: '204': description: Response @@ -91681,7 +91709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &598 + - &599 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 @@ -91706,11 +91734,11 @@ paths: type: array items: *82 examples: - default-response: *592 + default-response: *593 application/vnd.github.v3.star+json: schema: type: array - items: &599 + items: &600 title: Starred Repository description: Starred Repository type: object @@ -92080,10 +92108,10 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: &593 + default-response: &594 summary: Default response value: login: octocat @@ -92118,7 +92146,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &594 + response-with-git-hub-plan-information: &595 summary: Response with GitHub plan information value: login: octocat @@ -92230,11 +92258,11 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: *593 - response-with-git-hub-plan-information: *594 + default-response: *594 + response-with-git-hub-plan-information: *595 '404': *24 x-github: githubCloudOnly: false @@ -92265,7 +92293,7 @@ paths: type: array items: *214 examples: - default: *583 + default: *584 '403': *41 '401': *39 x-github: @@ -92669,9 +92697,9 @@ paths: application/json: schema: type: array - items: *575 + items: *576 examples: - default: *595 + default: *596 headers: Link: *6 x-github: @@ -92861,7 +92889,7 @@ paths: type: array items: *68 examples: - default: *581 + default: *582 headers: Link: *6 x-github: @@ -92900,7 +92928,7 @@ paths: - docker - nuget - container - - *582 + - *583 - *8 - *5 - *4 @@ -92913,10 +92941,10 @@ paths: type: array items: *214 examples: - default: *583 + default: *584 '403': *41 '401': *39 - '400': *584 + '400': *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92946,7 +92974,7 @@ paths: application/json: schema: *214 examples: - default: *596 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93585,9 +93613,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 headers: Link: *6 x-github: @@ -93617,9 +93645,9 @@ paths: application/json: schema: type: array - items: *589 + items: *590 examples: - default: *597 + default: *598 headers: Link: *6 x-github: @@ -93644,7 +93672,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *598 + - *599 - *9 - *4 - *5 @@ -93656,11 +93684,11 @@ paths: schema: anyOf: - type: array - items: *599 + items: *600 - type: array items: *82 examples: - default-response: *592 + default-response: *593 headers: Link: *6 x-github: @@ -93872,7 +93900,7 @@ webhooks: type: string enum: - disabled - enterprise: &600 + enterprise: &601 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -93941,7 +93969,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &601 + installation: &602 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -93962,7 +93990,7 @@ webhooks: required: - id - node_id - organization: &602 + organization: &603 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -94035,7 +94063,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &603 + repository: &604 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -94948,10 +94976,10 @@ webhooks: type: string enum: - enabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -95037,11 +95065,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: &604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: &605 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.15/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -95274,11 +95302,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: *604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *17 required: - action @@ -95476,11 +95504,11 @@ webhooks: - everyone required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - rule: *604 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *17 required: - action @@ -95561,11 +95589,11 @@ webhooks: type: string enum: - cancelled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: &605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: &606 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -95803,7 +95831,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &606 + items: &607 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -95923,11 +95951,11 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 sender: *17 required: - action @@ -96007,11 +96035,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 sender: *17 required: - action @@ -96091,12 +96119,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 - exemption_response: *606 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 + exemption_response: *607 sender: *17 required: - action @@ -96178,12 +96206,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - exemption_request: *605 - exemption_response: *606 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + exemption_request: *606 + exemption_response: *607 sender: *17 required: - action @@ -96268,12 +96296,12 @@ webhooks: type: string cache_location: type: string - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 ref: type: string - repository: *603 + repository: *604 sender: *17 required: - cache_location @@ -96367,7 +96395,7 @@ webhooks: type: string enum: - completed - check_run: &608 + check_run: &609 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96477,7 +96505,7 @@ webhooks: - examples: - neutral - deployment: *607 + deployment: *608 details_url: type: string examples: @@ -96575,10 +96603,10 @@ webhooks: - output - app - pull_requests - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -96981,11 +97009,11 @@ webhooks: type: string enum: - created - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -97391,11 +97419,11 @@ webhooks: type: string enum: - requested_action - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 requested_action: description: The action requested by the user. type: object @@ -97810,11 +97838,11 @@ webhooks: type: string enum: - rerequested - check_run: *608 - installation: *601 - enterprise: *600 - organization: *602 - repository: *603 + check_run: *609 + installation: *602 + enterprise: *601 + organization: *603 + repository: *604 sender: *17 required: - check_run @@ -98816,10 +98844,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -99514,10 +99542,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -100206,10 +100234,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -100537,20 +100565,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &609 + commit_oid: &610 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: *600 - installation: *601 - organization: *602 - ref: &610 + enterprise: *601 + installation: *602 + organization: *603 + ref: &611 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: *603 + repository: *604 sender: *17 required: - action @@ -100965,12 +100993,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101260,12 +101288,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101618,12 +101646,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -101913,9 +101941,9 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -101923,7 +101951,7 @@ webhooks: type: - string - 'null' - repository: *603 + repository: *604 sender: *17 required: - action @@ -102176,12 +102204,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *600 - installation: *601 - organization: *602 - ref: *610 - repository: *603 + commit_oid: *610 + enterprise: *601 + installation: *602 + organization: *603 + ref: *611 + repository: *604 sender: *17 required: - action @@ -102453,10 +102481,10 @@ webhooks: - updated_at - author_association - body - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -102547,18 +102575,18 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *602 - pusher_type: &611 + organization: *603 + pusher_type: &612 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &612 + ref: &613 description: The [`git ref`](https://docs.github.com/enterprise-server@3.15/rest/git/refs#get-a-reference) resource. type: string @@ -102568,7 +102596,7 @@ webhooks: enum: - tag - branch - repository: *603 + repository: *604 sender: *17 required: - ref @@ -102651,9 +102679,9 @@ webhooks: enum: - created definition: *233 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102738,9 +102766,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102818,9 +102846,9 @@ webhooks: enum: - updated definition: *233 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 sender: *17 required: - action @@ -102897,10 +102925,10 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - repository: *603 - organization: *602 + enterprise: *601 + installation: *602 + repository: *604 + organization: *603 sender: *17 new_property_values: type: array @@ -102995,18 +103023,18 @@ webhooks: title: delete event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - pusher_type: *611 - ref: *612 + enterprise: *601 + installation: *602 + organization: *603 + pusher_type: *612 + ref: *613 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *603 + repository: *604 sender: *17 required: - ref @@ -103101,10 +103129,10 @@ webhooks: enum: - auto_dismissed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103199,10 +103227,10 @@ webhooks: enum: - auto_reopened alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103297,10 +103325,10 @@ webhooks: enum: - created alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103393,10 +103421,10 @@ webhooks: enum: - dismissed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103489,10 +103517,10 @@ webhooks: enum: - fixed alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103586,10 +103614,10 @@ webhooks: enum: - reintroduced alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103682,10 +103710,10 @@ webhooks: enum: - reopened alert: *404 - installation: *601 - organization: *602 - enterprise: *600 - repository: *603 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *17 required: - action @@ -103772,9 +103800,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - key: &613 + enterprise: *601 + installation: *602 + key: &614 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103810,8 +103838,8 @@ webhooks: - verified - created_at - read_only - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -103898,11 +103926,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - key: *613 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + key: *614 + organization: *603 + repository: *604 sender: *17 required: - action @@ -104484,12 +104512,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: &617 + workflow: &618 title: Workflow type: - object @@ -105241,9 +105269,9 @@ webhooks: pull_requests: type: array items: *488 - repository: *603 - organization: *602 - installation: *601 + repository: *604 + organization: *603 + installation: *602 sender: *17 responses: '200': @@ -105324,7 +105352,7 @@ webhooks: type: string enum: - approved - approver: &614 + approver: &615 type: object properties: avatar_url: @@ -105367,11 +105395,11 @@ webhooks: type: string comment: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - reviewers: &615 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: &616 type: array items: type: object @@ -105452,7 +105480,7 @@ webhooks: sender: *17 since: type: string - workflow_job_run: &616 + workflow_job_run: &617 type: object properties: conclusion: @@ -106208,18 +106236,18 @@ webhooks: type: string enum: - rejected - approver: *614 + approver: *615 comment: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - reviewers: *615 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: *616 sender: *17 since: type: string - workflow_job_run: *616 + workflow_job_run: *617 workflow_job_runs: type: array items: @@ -106946,13 +106974,13 @@ webhooks: type: string enum: - requested - enterprise: *600 + enterprise: *601 environment: type: string - installation: *601 - organization: *602 - repository: *603 - requestor: &622 + installation: *602 + organization: *603 + repository: *604 + requestor: &623 title: User type: - object @@ -108905,12 +108933,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Deployment Workflow Run type: @@ -109611,7 +109639,7 @@ webhooks: type: string enum: - answered - answer: &620 + answer: &621 type: object properties: author_association: @@ -109771,7 +109799,7 @@ webhooks: - created_at - updated_at - body - discussion: &618 + discussion: &619 title: Discussion description: A Discussion in a repository. type: object @@ -110089,10 +110117,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110229,11 +110257,11 @@ webhooks: - from required: - category - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110326,11 +110354,11 @@ webhooks: type: string enum: - closed - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110422,7 +110450,7 @@ webhooks: type: string enum: - created - comment: &619 + comment: &620 type: object properties: author_association: @@ -110582,11 +110610,11 @@ webhooks: - updated_at - body - reactions - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110679,12 +110707,12 @@ webhooks: type: string enum: - deleted - comment: *619 - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + comment: *620 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110789,12 +110817,12 @@ webhooks: - from required: - body - comment: *619 - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + comment: *620 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110888,11 +110916,11 @@ webhooks: type: string enum: - created - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -110984,11 +111012,11 @@ webhooks: type: string enum: - deleted - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111098,11 +111126,11 @@ webhooks: type: string required: - from - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111194,10 +111222,10 @@ webhooks: type: string enum: - labeled - discussion: *618 - enterprise: *600 - installation: *601 - label: &621 + discussion: *619 + enterprise: *601 + installation: *602 + label: &622 title: Label type: object properties: @@ -111230,8 +111258,8 @@ webhooks: - color - default - description - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111324,11 +111352,11 @@ webhooks: type: string enum: - locked - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111420,11 +111448,11 @@ webhooks: type: string enum: - pinned - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111516,11 +111544,11 @@ webhooks: type: string enum: - reopened - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111615,16 +111643,16 @@ webhooks: changes: type: object properties: - new_discussion: *618 - new_repository: *603 + new_discussion: *619 + new_repository: *604 required: - new_discussion - new_repository - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111717,10 +111745,10 @@ webhooks: type: string enum: - unanswered - discussion: *618 - old_answer: *620 - organization: *602 - repository: *603 + discussion: *619 + old_answer: *621 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111812,12 +111840,12 @@ webhooks: type: string enum: - unlabeled - discussion: *618 - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -111910,11 +111938,11 @@ webhooks: type: string enum: - unlocked - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -112006,11 +112034,11 @@ webhooks: type: string enum: - unpinned - discussion: *618 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + discussion: *619 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -112251,7 +112279,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *600 + enterprise: *601 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.15/rest/repos/repos#get-a-repository) resource. @@ -112929,9 +112957,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *601 - organization: *602 - repository: *603 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - forkee @@ -113097,9 +113125,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pages: description: The pages that were updated. type: array @@ -113137,7 +113165,7 @@ webhooks: - action - sha - html_url - repository: *603 + repository: *604 sender: *17 required: - pages @@ -113223,10 +113251,10 @@ webhooks: type: string enum: - created - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: &623 + organization: *603 + repositories: &624 description: An array of repository objects that the installation can access. type: array @@ -113252,8 +113280,8 @@ webhooks: - name - full_name - private - repository: *603 - requester: *622 + repository: *604 + requester: *623 sender: *17 required: - action @@ -113338,11 +113366,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113429,11 +113457,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113520,10 +113548,10 @@ webhooks: type: string enum: - added - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories_added: &624 + organization: *603 + repositories_added: &625 description: An array of repository objects, which were added to the installation. type: array @@ -113569,15 +113597,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *603 - repository_selection: &625 + repository: *604 + repository_selection: &626 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *622 + requester: *623 sender: *17 required: - action @@ -113666,10 +113694,10 @@ webhooks: type: string enum: - removed - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories_added: *624 + organization: *603 + repositories_added: *625 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113696,9 +113724,9 @@ webhooks: - name - full_name - private - repository: *603 - repository_selection: *625 - requester: *622 + repository: *604 + repository_selection: *626 + requester: *623 sender: *17 required: - action @@ -113787,11 +113815,11 @@ webhooks: type: string enum: - suspend - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -113984,10 +114012,10 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 target_type: type: string @@ -114076,11 +114104,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *600 + enterprise: *601 installation: *37 - organization: *602 - repositories: *623 - repository: *603 + organization: *603 + repositories: *624 + repository: *604 requester: type: - 'null' @@ -114338,8 +114366,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115156,8 +115184,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115174,7 +115202,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -115518,8 +115546,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -115609,7 +115637,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &627 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.15/rest/issues/comments#get-an-issue-comment) itself. @@ -115776,8 +115804,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116590,8 +116618,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116608,7 +116636,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -116954,8 +116982,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -117045,7 +117073,7 @@ webhooks: type: string enum: - edited - changes: &647 + changes: &648 description: The changes to the comment. type: object properties: @@ -117057,9 +117085,9 @@ webhooks: type: string required: - from - comment: *626 - enterprise: *600 - installation: *601 + comment: *627 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117875,8 +117903,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117893,7 +117921,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -118237,8 +118265,8 @@ webhooks: - state - locked - assignee - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -118330,10 +118358,10 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *600 - installation: *601 - issue: &629 + assignee: *623 + enterprise: *601 + installation: *602 + issue: &630 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -119145,11 +119173,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119166,7 +119194,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -119269,8 +119297,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -119360,8 +119388,8 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -120178,11 +120206,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120199,7 +120227,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -120445,8 +120473,8 @@ webhooks: required: - state - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -120535,8 +120563,8 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -121344,11 +121372,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121365,7 +121393,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -121467,8 +121495,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -121557,8 +121585,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -122389,11 +122417,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122410,7 +122438,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -122491,7 +122519,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &627 + milestone: &628 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122634,8 +122662,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -122744,8 +122772,8 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -123557,11 +123585,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123575,7 +123603,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -123681,9 +123709,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *602 - repository: *603 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -123773,8 +123801,8 @@ webhooks: type: string enum: - labeled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -124585,11 +124613,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124603,7 +124631,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -124709,9 +124737,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *602 - repository: *603 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -124801,8 +124829,8 @@ webhooks: type: string enum: - locked - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -125638,11 +125666,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125656,7 +125684,7 @@ webhooks: timeline_url: type: string format: uri - type: *561 + type: *562 title: description: Title of the issue type: string @@ -125739,8 +125767,8 @@ webhooks: format: uri user_view_type: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -125829,8 +125857,8 @@ webhooks: type: string enum: - milestoned - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -126660,11 +126688,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126681,7 +126709,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -126761,9 +126789,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *627 - organization: *602 - repository: *603 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -127665,11 +127693,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127765,7 +127793,7 @@ webhooks: required: - login - id - type: *561 + type: *562 required: - id - number @@ -128246,8 +128274,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -129059,11 +129087,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129080,7 +129108,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -129182,8 +129210,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -129273,9 +129301,9 @@ webhooks: type: string enum: - pinned - enterprise: *600 - installation: *601 - issue: &628 + enterprise: *601 + installation: *602 + issue: &629 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -130081,11 +130109,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130102,7 +130130,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -130204,8 +130232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -130294,8 +130322,8 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -131129,11 +131157,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131230,9 +131258,9 @@ webhooks: format: uri user_view_type: type: string - type: *561 - organization: *602 - repository: *603 + type: *562 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132131,11 +132159,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132152,7 +132180,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -132734,11 +132762,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *600 - installation: *601 - issue: *628 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *629 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132829,7 +132857,7 @@ webhooks: type: string enum: - unassigned - assignee: &650 + assignee: &651 title: User type: - object @@ -132901,11 +132929,11 @@ webhooks: required: - login - id - enterprise: *600 - installation: *601 - issue: *629 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *630 + organization: *603 + repository: *604 sender: *17 required: - action @@ -132994,12 +133022,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *600 - installation: *601 - issue: *629 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *630 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -133089,8 +133117,8 @@ webhooks: type: string enum: - unlocked - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -133924,11 +133952,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *558 - issue_dependencies_summary: *559 + sub_issues_summary: *559 + issue_dependencies_summary: *560 issue_field_values: type: array - items: *560 + items: *561 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133945,7 +133973,7 @@ webhooks: title: description: Title of the issue type: string - type: *561 + type: *562 updated_at: type: string format: date-time @@ -134025,8 +134053,8 @@ webhooks: format: uri user_view_type: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134116,11 +134144,11 @@ webhooks: type: string enum: - unpinned - enterprise: *600 - installation: *601 - issue: *628 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + issue: *629 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134209,11 +134237,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134301,11 +134329,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134425,11 +134453,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - label: *621 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + label: *622 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134543,11 +134571,11 @@ webhooks: type: string required: - to - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134659,11 +134687,11 @@ webhooks: type: - string - 'null' - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134752,11 +134780,11 @@ webhooks: type: string enum: - removed - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 sender: *17 required: - action @@ -134844,11 +134872,11 @@ webhooks: type: string enum: - added - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134926,7 +134954,7 @@ webhooks: required: - login - id - team: &630 + team: &631 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135129,11 +135157,11 @@ webhooks: type: string enum: - removed - enterprise: *600 - installation: *601 - member: *622 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + member: *623 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135212,7 +135240,7 @@ webhooks: required: - login - id - team: *630 + team: *631 required: - action - scope @@ -135300,7 +135328,7 @@ webhooks: type: string enum: - deleted - enterprise: *600 + enterprise: *601 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -135409,12 +135437,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *601 - organization: *602 + installation: *602 + organization: *603 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -135504,11 +135532,11 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135597,9 +135625,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - milestone: &631 + enterprise: *601 + installation: *602 + milestone: &632 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135741,8 +135769,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135831,11 +135859,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -135955,11 +135983,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - milestone: *627 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *628 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136049,11 +136077,11 @@ webhooks: type: string enum: - opened - enterprise: *600 - installation: *601 - milestone: *631 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + milestone: *632 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136142,9 +136170,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - membership: &632 + enterprise: *601 + installation: *602 + membership: &633 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -136254,8 +136282,8 @@ webhooks: - role - organization_url - user - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136343,11 +136371,11 @@ webhooks: type: string enum: - member_added - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136436,8 +136464,8 @@ webhooks: type: string enum: - member_invited - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -136559,10 +136587,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action - invitation @@ -136650,11 +136678,11 @@ webhooks: type: string enum: - member_removed - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136751,11 +136779,11 @@ webhooks: properties: from: type: string - enterprise: *600 - installation: *601 - membership: *632 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + membership: *633 + organization: *603 + repository: *604 sender: *17 required: - action @@ -136841,9 +136869,9 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137366,7 +137394,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &633 + items: &634 title: Ruby Gems metadata type: object properties: @@ -137463,7 +137491,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -137549,9 +137577,9 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137913,7 +137941,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *633 + items: *634 source_url: type: string format: uri @@ -137984,7 +138012,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -138175,12 +138203,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *600 + enterprise: *601 id: type: integer - installation: *601 - organization: *602 - repository: *603 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - id @@ -138257,7 +138285,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &634 + personal_access_token_request: &635 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -138407,10 +138435,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *600 - organization: *602 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138487,11 +138515,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *634 - enterprise: *600 - organization: *602 + personal_access_token_request: *635 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138567,11 +138595,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *634 - enterprise: *600 - organization: *602 + personal_access_token_request: *635 + enterprise: *601 + organization: *603 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138646,11 +138674,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *634 - organization: *602 - enterprise: *600 + personal_access_token_request: *635 + organization: *603 + enterprise: *601 sender: *17 - installation: *601 + installation: *602 required: - action - personal_access_token_request @@ -138765,7 +138793,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *635 + last_response: *636 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -138797,8 +138825,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 zen: description: Random string of GitHub zen. @@ -139053,10 +139081,10 @@ webhooks: - from required: - note - enterprise: *600 - installation: *601 - organization: *602 - project_card: &636 + enterprise: *601 + installation: *602 + organization: *603 + project_card: &637 title: Project Card type: object properties: @@ -139179,7 +139207,7 @@ webhooks: - creator - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -139270,11 +139298,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project_card: *636 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *637 + repository: *604 sender: *17 required: - action @@ -139364,9 +139392,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 project_card: title: Project Card type: object @@ -139496,7 +139524,7 @@ webhooks: repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -139600,11 +139628,11 @@ webhooks: - from required: - note - enterprise: *600 - installation: *601 - organization: *602 - project_card: *636 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *637 + repository: *604 sender: *17 required: - action @@ -139708,9 +139736,9 @@ webhooks: - from required: - column_id - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 project_card: allOf: - title: Project Card @@ -139907,7 +139935,7 @@ webhooks: type: string required: - after_id - repository: *603 + repository: *604 sender: *17 required: - action @@ -139997,10 +140025,10 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - organization: *602 - project: &638 + enterprise: *601 + installation: *602 + organization: *603 + project: &639 title: Project type: object properties: @@ -140127,7 +140155,7 @@ webhooks: - creator - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -140217,10 +140245,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project_column: &637 + enterprise: *601 + installation: *602 + organization: *603 + project_column: &638 title: Project Column type: object properties: @@ -140260,7 +140288,7 @@ webhooks: - name - created_at - updated_at - repository: *603 + repository: *604 sender: *17 required: - action @@ -140349,14 +140377,14 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -140455,11 +140483,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 + repository: *604 sender: *17 required: - action @@ -140549,11 +140577,11 @@ webhooks: type: string enum: - moved - enterprise: *600 - installation: *601 - organization: *602 - project_column: *637 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *638 + repository: *604 sender: *17 required: - action @@ -140643,11 +140671,11 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -140737,14 +140765,14 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - project: *638 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 repository: anyOf: - type: 'null' - - *603 + - *604 sender: *17 required: - action @@ -140855,11 +140883,11 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -140948,11 +140976,11 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 - organization: *602 - project: *638 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + project: *639 + repository: *604 sender: *17 required: - action @@ -141043,9 +141071,9 @@ webhooks: type: string enum: - closed - installation: *601 - organization: *602 - projects_v2: &639 + installation: *602 + organization: *603 + projects_v2: &640 title: Projects v2 Project description: A projects v2 project type: object @@ -141292,9 +141320,9 @@ webhooks: type: string enum: - created - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141385,9 +141413,9 @@ webhooks: type: string enum: - deleted - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141518,9 +141546,9 @@ webhooks: type: string to: type: string - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -141613,7 +141641,7 @@ webhooks: type: string enum: - archived - changes: &643 + changes: &644 type: object properties: archived_at: @@ -141629,9 +141657,9 @@ webhooks: - string - 'null' format: date-time - installation: *601 - organization: *602 - projects_v2_item: &640 + installation: *602 + organization: *603 + projects_v2_item: &641 title: Projects v2 Item description: An item belonging to a project type: object @@ -141788,9 +141816,9 @@ webhooks: - 'null' to: type: string - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -141882,9 +141910,9 @@ webhooks: type: string enum: - created - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -141975,9 +142003,9 @@ webhooks: type: string enum: - deleted - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142092,7 +142120,7 @@ webhooks: oneOf: - type: string - type: integer - - &641 + - &642 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -142116,7 +142144,7 @@ webhooks: required: - id - name - - &642 + - &643 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -142156,8 +142184,8 @@ webhooks: oneOf: - type: string - type: integer - - *641 - *642 + - *643 type: - 'null' - string @@ -142180,9 +142208,9 @@ webhooks: - 'null' required: - body - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142289,9 +142317,9 @@ webhooks: type: - string - 'null' - installation: *601 - organization: *602 - projects_v2_item: *640 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142384,10 +142412,10 @@ webhooks: type: string enum: - restored - changes: *643 - installation: *601 - organization: *602 - projects_v2_item: *640 + changes: *644 + installation: *602 + organization: *603 + projects_v2_item: *641 sender: *17 required: - action @@ -142479,9 +142507,9 @@ webhooks: type: string enum: - reopened - installation: *601 - organization: *602 - projects_v2: *639 + installation: *602 + organization: *603 + projects_v2: *640 sender: *17 required: - action @@ -142562,10 +142590,10 @@ webhooks: title: public event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - repository @@ -142652,13 +142680,13 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *600 - installation: *601 - number: &644 + assignee: *623 + enterprise: *601 + installation: *602 + number: &645 description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -145007,7 +145035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -145099,11 +145127,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -147445,7 +147473,7 @@ webhooks: - draft reason: type: string - repository: *603 + repository: *604 sender: *17 required: - action @@ -147537,11 +147565,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -149883,7 +149911,7 @@ webhooks: - draft reason: type: string - repository: *603 + repository: *604 sender: *17 required: - action @@ -149975,11 +150003,11 @@ webhooks: type: string enum: - closed - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: &645 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: &646 allOf: - *488 - type: object @@ -150043,7 +150071,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *603 + repository: *604 sender: *17 required: - action @@ -150134,12 +150162,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -150229,11 +150257,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *600 + enterprise: *601 milestone: *393 - number: *644 - organization: *602 - pull_request: &646 + number: *645 + organization: *603 + pull_request: &647 title: Pull Request type: object properties: @@ -152560,7 +152588,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -152692,12 +152720,12 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -152787,11 +152815,11 @@ webhooks: type: string enum: - labeled - enterprise: *600 - installation: *601 - label: *621 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + label: *622 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -155139,7 +155167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -155230,10 +155258,10 @@ webhooks: type: string enum: - locked - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -157579,7 +157607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -157669,12 +157697,12 @@ webhooks: type: string enum: - milestoned - enterprise: *600 + enterprise: *601 milestone: *393 - number: *644 - organization: *602 - pull_request: *646 - repository: *603 + number: *645 + organization: *603 + pull_request: *647 + repository: *604 sender: *17 required: - action @@ -157763,12 +157791,12 @@ webhooks: type: string enum: - opened - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -157859,12 +157887,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -157954,12 +157982,12 @@ webhooks: type: string enum: - reopened - enterprise: *600 - installation: *601 - number: *644 - organization: *602 - pull_request: *645 - repository: *603 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 + pull_request: *646 + repository: *604 sender: *17 required: - action @@ -158344,9 +158372,9 @@ webhooks: - start_side - side - reactions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -160576,7 +160604,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -160666,7 +160694,7 @@ webhooks: type: string enum: - deleted - comment: &648 + comment: &649 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.15/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -160959,9 +160987,9 @@ webhooks: - start_side - side - reactions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -163179,7 +163207,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -163269,11 +163297,11 @@ webhooks: type: string enum: - edited - changes: *647 - comment: *648 - enterprise: *600 - installation: *601 - organization: *602 + changes: *648 + comment: *649 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -165494,7 +165522,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *603 + repository: *604 sender: *17 required: - action @@ -165585,9 +165613,9 @@ webhooks: type: string enum: - dismissed - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -167820,7 +167848,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 review: description: The review that was affected. type: object @@ -168081,9 +168109,9 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -170197,8 +170225,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 - review: &649 + repository: *604 + review: &650 description: The review that was affected. type: object properties: @@ -170446,12 +170474,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -172798,7 +172826,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_reviewer: title: User type: @@ -172884,12 +172912,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -175243,7 +175271,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -175448,12 +175476,12 @@ webhooks: type: string enum: - review_requested - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -177802,7 +177830,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_reviewer: title: User type: @@ -177889,12 +177917,12 @@ webhooks: type: string enum: - review_requested - enterprise: *600 - installation: *601 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *602 + organization: *603 pull_request: title: Pull Request type: object @@ -180234,7 +180262,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -180428,9 +180456,9 @@ webhooks: type: string enum: - submitted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -182666,8 +182694,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 - review: *649 + repository: *604 + review: *650 sender: *17 required: - action @@ -182757,9 +182785,9 @@ webhooks: type: string enum: - resolved - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -184890,7 +184918,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 sender: *17 thread: type: object @@ -185297,9 +185325,9 @@ webhooks: type: string enum: - unresolved - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -187413,7 +187441,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *603 + repository: *604 sender: *17 thread: type: object @@ -187822,10 +187850,10 @@ webhooks: type: string before: type: string - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -190160,7 +190188,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -190252,11 +190280,11 @@ webhooks: type: string enum: - unassigned - assignee: *650 - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + assignee: *651 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -192606,7 +192634,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -192695,11 +192723,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *600 - installation: *601 - label: *621 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + label: *622 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -195038,7 +195066,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -195129,10 +195157,10 @@ webhooks: type: string enum: - unlocked - enterprise: *600 - installation: *601 - number: *644 - organization: *602 + enterprise: *601 + installation: *602 + number: *645 + organization: *603 pull_request: title: Pull Request type: object @@ -197461,7 +197489,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *603 + repository: *604 sender: *17 required: - action @@ -197674,7 +197702,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *600 + enterprise: *601 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -197769,8 +197797,8 @@ webhooks: - url - author - committer - installation: *601 - organization: *602 + installation: *602 + organization: *603 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -198368,9 +198396,9 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -198847,7 +198875,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *633 + items: *634 summary: type: string tag_name: @@ -198903,7 +198931,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -198991,9 +199019,9 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -199305,7 +199333,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *633 + items: *634 summary: type: string tag_name: @@ -199355,7 +199383,7 @@ webhooks: - owner - package_version - registry - repository: *603 + repository: *604 sender: *17 required: - action @@ -199442,10 +199470,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - release: &651 + enterprise: *601 + installation: *602 + organization: *603 + release: &652 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -199776,7 +199804,7 @@ webhooks: - updated_at - zipball_url - body - repository: *603 + repository: *604 sender: *17 required: - action @@ -199863,11 +199891,11 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -199994,11 +200022,11 @@ webhooks: type: boolean required: - to - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -200086,9 +200114,9 @@ webhooks: type: string enum: - prereleased - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) @@ -200424,7 +200452,7 @@ webhooks: - string - 'null' format: uri - repository: *603 + repository: *604 sender: *17 required: - action @@ -200510,10 +200538,10 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 - release: &652 + enterprise: *601 + installation: *602 + organization: *603 + release: &653 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -200846,7 +200874,7 @@ webhooks: - string - 'null' format: uri - repository: *603 + repository: *604 sender: *17 required: - action @@ -200932,11 +200960,11 @@ webhooks: type: string enum: - released - enterprise: *600 - installation: *601 - organization: *602 - release: *651 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *652 + repository: *604 sender: *17 required: - action @@ -201022,11 +201050,11 @@ webhooks: type: string enum: - unpublished - enterprise: *600 - installation: *601 - organization: *602 - release: *652 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + release: *653 + repository: *604 sender: *17 required: - action @@ -201112,10 +201140,10 @@ webhooks: type: string enum: - anonymous_access_disabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201200,10 +201228,10 @@ webhooks: type: string enum: - anonymous_access_enabled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201288,10 +201316,10 @@ webhooks: type: string enum: - archived - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201378,10 +201406,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201469,10 +201497,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201567,10 +201595,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201695,10 +201723,10 @@ webhooks: - 'null' items: type: string - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201786,10 +201814,10 @@ webhooks: type: string enum: - privatized - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201876,10 +201904,10 @@ webhooks: type: string enum: - publicized - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -201983,10 +202011,10 @@ webhooks: - name required: - repository - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202066,10 +202094,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 sender: *17 required: @@ -202148,10 +202176,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 sender: *17 required: @@ -202230,10 +202258,10 @@ webhooks: type: string enum: - edited - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *260 changes: type: object @@ -202295,16 +202323,16 @@ webhooks: properties: added: type: array - items: *510 + items: *511 deleted: type: array - items: *510 + items: *511 updated: type: array items: type: object properties: - rule: *510 + rule: *511 changes: type: object properties: @@ -202551,10 +202579,10 @@ webhooks: - from required: - owner - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202642,10 +202670,10 @@ webhooks: type: string enum: - unarchived - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -202733,7 +202761,7 @@ webhooks: type: string enum: - create - alert: &653 + alert: &654 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -202857,10 +202885,10 @@ webhooks: type: string enum: - open - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203080,10 +203108,10 @@ webhooks: type: string enum: - dismissed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203171,11 +203199,11 @@ webhooks: type: string enum: - reopen - alert: *653 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *654 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203387,10 +203415,10 @@ webhooks: enum: - fixed - open - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203478,7 +203506,7 @@ webhooks: type: string enum: - created - alert: &654 + alert: &655 type: object properties: number: *91 @@ -203555,10 +203583,10 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203649,11 +203677,11 @@ webhooks: type: string enum: - created - alert: *654 - installation: *601 - location: *655 - organization: *602 - repository: *603 + alert: *655 + installation: *602 + location: *656 + organization: *603 + repository: *604 sender: *17 required: - location @@ -203896,11 +203924,11 @@ webhooks: type: string enum: - reopened - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -203988,11 +204016,11 @@ webhooks: type: string enum: - resolved - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -204080,11 +204108,11 @@ webhooks: type: string enum: - validated - alert: *654 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + alert: *655 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -204170,11 +204198,11 @@ webhooks: type: string enum: - published - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - security_advisory: &656 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: &657 description: The details of the security advisory, including summary, description, and severity. type: object @@ -204370,11 +204398,11 @@ webhooks: type: string enum: - updated - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 - security_advisory: *656 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: *657 sender: *17 required: - action @@ -204457,10 +204485,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -204657,9 +204685,9 @@ webhooks: type: object properties: security_and_analysis: *238 - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: *303 sender: *17 required: @@ -204748,12 +204776,12 @@ webhooks: type: string enum: - cancelled - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: &657 + sponsorship: &658 type: object properties: created_at: @@ -205068,12 +205096,12 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - sponsorship @@ -205171,12 +205199,12 @@ webhooks: type: string required: - from - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205263,17 +205291,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &658 + effective_date: &659 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: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - sponsorship @@ -205357,7 +205385,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &659 + changes: &660 type: object properties: tier: @@ -205401,13 +205429,13 @@ webhooks: - from required: - tier - effective_date: *658 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + effective_date: *659 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205494,13 +205522,13 @@ webhooks: type: string enum: - tier_changed - changes: *659 - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + changes: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - sponsorship: *657 + sponsorship: *658 required: - action - changes @@ -205584,10 +205612,10 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -205681,10 +205709,10 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 starred_at: description: 'The time the star was created. This is a timestamp @@ -206123,15 +206151,15 @@ webhooks: type: - string - 'null' - enterprise: *600 + enterprise: *601 id: description: The unique identifier of the status. type: integer - installation: *601 + installation: *602 name: type: string - organization: *602 - repository: *603 + organization: *603 + repository: *604 sender: *17 sha: description: The Commit SHA. @@ -206244,12 +206272,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - team: &660 + team: &661 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -206452,9 +206480,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -206924,7 +206952,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -207010,9 +207038,9 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -207482,7 +207510,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -207569,9 +207597,9 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208041,7 +208069,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -208195,9 +208223,9 @@ webhooks: - from required: - permissions - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208667,7 +208695,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - changes @@ -208755,9 +208783,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *600 - installation: *601 - organization: *602 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209227,7 +209255,7 @@ webhooks: - topics - visibility sender: *17 - team: *660 + team: *661 required: - action - team @@ -209310,12 +209338,12 @@ webhooks: type: string enum: - created - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action responses: @@ -209393,12 +209421,12 @@ webhooks: type: string enum: - deleted - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - user: *622 + user: *623 required: - action responses: @@ -209479,10 +209507,10 @@ webhooks: type: string enum: - started - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 required: - action @@ -209565,17 +209593,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *600 + enterprise: *601 inputs: type: - object - 'null' additionalProperties: true - installation: *601 - organization: *602 + installation: *602 + organization: *603 ref: type: string - repository: *603 + repository: *604 sender: *17 workflow: type: string @@ -209667,10 +209695,10 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: allOf: @@ -210015,10 +210043,10 @@ webhooks: type: string enum: - in_progress - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: allOf: @@ -210389,10 +210417,10 @@ webhooks: type: string enum: - queued - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: type: object @@ -210627,10 +210655,10 @@ webhooks: type: string enum: - waiting - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 workflow_job: type: object @@ -210867,12 +210895,12 @@ webhooks: type: string enum: - completed - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object @@ -211901,12 +211929,12 @@ webhooks: type: string enum: - in_progress - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object @@ -212920,12 +212948,12 @@ webhooks: type: string enum: - requested - enterprise: *600 - installation: *601 - organization: *602 - repository: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *17 - workflow: *617 + workflow: *618 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json index 044115b077..bdacf415dd 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json +++ b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json @@ -22084,7 +22084,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -22133,7 +22133,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -22237,7 +22237,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -22286,7 +22286,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -22359,7 +22359,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -108672,6 +108672,35 @@ } } }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "copilot_code_review" + ] + }, + "parameters": { + "type": "object", + "properties": { + "review_draft_pull_requests": { + "type": "boolean", + "description": "Copilot automatically reviews draft pull requests before they are marked as ready for review." + }, + "review_on_push": { + "type": "boolean", + "description": "Copilot automatically reviews each new push to the pull request." + } + } + } + } + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -108727,6 +108756,9 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -123996,6 +124028,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, diff --git a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml index 5ee85a067c..5c1f7d5526 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml +++ b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml @@ -15924,7 +15924,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-all-custom-properties + operationId: orgs/custom-properties-for-repos-get-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization @@ -15965,7 +15965,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-properties + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definitions externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization @@ -16034,7 +16034,7 @@ paths: Organization members can read these properties. tags: - orgs - operationId: orgs/get-custom-property + operationId: orgs/custom-properties-for-repos-get-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization @@ -16070,7 +16070,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/create-or-update-custom-property + operationId: orgs/custom-properties-for-repos-create-or-update-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization @@ -16122,7 +16122,7 @@ paths: - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. tags: - orgs - operationId: orgs/remove-custom-property + operationId: orgs/custom-properties-for-repos-delete-organization-definition externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization @@ -78392,6 +78392,29 @@ components: "$ref": "#/components/schemas/repository-rule-params-code-scanning-tool" required: - code_scanning_tools + repository-rule-copilot-code-review: + title: copilot_code_review + description: Request Copilot code review for new pull requests automatically + if the author has access to Copilot code review. + type: object + required: + - type + properties: + type: + type: string + enum: + - copilot_code_review + parameters: + type: object + properties: + review_draft_pull_requests: + type: boolean + description: Copilot automatically reviews draft pull requests before + they are marked as ready for review. + review_on_push: + type: boolean + description: Copilot automatically reviews each new push to the pull + request. repository-rule: title: Repository Rule type: object @@ -78414,6 +78437,7 @@ components: - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - "$ref": "#/components/schemas/repository-rule-workflows" - "$ref": "#/components/schemas/repository-rule-code-scanning" + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" repository-ruleset: title: Repository ruleset type: object @@ -89246,6 +89270,9 @@ components: - allOf: - "$ref": "#/components/schemas/repository-rule-code-scanning" - "$ref": "#/components/schemas/repository-rule-ruleset-info" + - allOf: + - "$ref": "#/components/schemas/repository-rule-copilot-code-review" + - "$ref": "#/components/schemas/repository-rule-ruleset-info" secret-scanning-alert: type: object properties: diff --git a/descriptions-next/ghes-3.15/ghes-3.15.json b/descriptions-next/ghes-3.15/ghes-3.15.json index 044115b077..bdacf415dd 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.json +++ b/descriptions-next/ghes-3.15/ghes-3.15.json @@ -22084,7 +22084,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-all-custom-properties", + "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" @@ -22133,7 +22133,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-properties", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" @@ -22237,7 +22237,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/get-custom-property", + "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" @@ -22286,7 +22286,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/create-or-update-custom-property", + "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" @@ -22359,7 +22359,7 @@ "tags": [ "orgs" ], - "operationId": "orgs/remove-custom-property", + "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" @@ -108672,6 +108672,35 @@ } } }, + "repository-rule-copilot-code-review": { + "title": "copilot_code_review", + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.", + "type": "object", + "required": [ + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}