diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 89b1bb611e..a6447ef9ed 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -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." @@ -3339,6 +3343,687 @@ } } }, + "/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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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", @@ -11527,13 +12212,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -22670,7 +23357,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" @@ -22719,7 +23406,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" @@ -22823,7 +23510,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" @@ -22872,7 +23559,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" @@ -22945,7 +23632,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" @@ -103892,6 +104579,77 @@ } } }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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", @@ -109779,74 +110537,6 @@ ], "nullable": 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", - "example": "disabled | all" - }, - "organization_selection_type": { - "type": "string", - "example": "disabled | all" - }, - "group_id": { - "nullable": true, - "type": "string", - "example": "62ab9291-fae2-468e-974b-7e45096d5021" - }, - "group_name": { - "nullable": true, - "type": "string", - "example": "Justice League" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "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.", @@ -115774,6 +116464,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", @@ -115841,6 +116560,9 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -130662,6 +131384,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -277238,6 +277970,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": [ { @@ -280273,30 +281067,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": [ { @@ -306360,6 +307130,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.", @@ -306612,15 +307409,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.", @@ -306838,15 +307626,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index aaf4a0da2c..e598211436 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -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 @@ -2378,6 +2380,454 @@ 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: + nullable: true + type: string + 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: + nullable: true + type: string + 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: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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 @@ -8381,10 +8831,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -16424,7 +16876,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 @@ -16465,7 +16917,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 @@ -16534,7 +16986,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 @@ -16570,7 +17022,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 @@ -16622,7 +17074,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 @@ -75489,6 +75941,63 @@ 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.' + example: disabled | all + organization_selection_type: + type: string + example: disabled | selected | all + group_id: + nullable: true + type: string + example: 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + nullable: true + type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + example: Justice League + html_url: + type: string + format: uri + example: 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 @@ -80175,58 +80684,6 @@ components: - avatar_url - description nullable: 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 - example: disabled | all - organization_selection_type: - type: string - example: disabled | all - group_id: - nullable: true - type: string - example: 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - nullable: true - type: string - example: Justice League - html_url: - type: string - format: uri - example: 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, @@ -84963,6 +85420,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 @@ -84989,6 +85469,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 @@ -96274,6 +96755,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: @@ -207527,6 +208011,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' @@ -210105,26 +210641,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 @@ -232657,6 +233173,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. @@ -232870,13 +233408,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 @@ -233065,13 +233596,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 89b1bb611e..a6447ef9ed 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/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." @@ -3339,6 +3343,687 @@ } } }, + "/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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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", @@ -11527,13 +12212,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -22670,7 +23357,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" @@ -22719,7 +23406,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" @@ -22823,7 +23510,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" @@ -22872,7 +23559,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" @@ -22945,7 +23632,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" @@ -103892,6 +104579,77 @@ } } }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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", @@ -109779,74 +110537,6 @@ ], "nullable": 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", - "example": "disabled | all" - }, - "organization_selection_type": { - "type": "string", - "example": "disabled | all" - }, - "group_id": { - "nullable": true, - "type": "string", - "example": "62ab9291-fae2-468e-974b-7e45096d5021" - }, - "group_name": { - "nullable": true, - "type": "string", - "example": "Justice League" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "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.", @@ -115774,6 +116464,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", @@ -115841,6 +116560,9 @@ }, { "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" } ] }, @@ -130662,6 +131384,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -277238,6 +277970,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": [ { @@ -280273,30 +281067,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": [ { @@ -306360,6 +307130,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.", @@ -306612,15 +307409,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.", @@ -306838,15 +307626,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index aaf4a0da2c..e598211436 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/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 @@ -2378,6 +2380,454 @@ 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: + nullable: true + type: string + 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: + nullable: true + type: string + 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: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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 @@ -8381,10 +8831,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -16424,7 +16876,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 @@ -16465,7 +16917,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 @@ -16534,7 +16986,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 @@ -16570,7 +17022,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 @@ -16622,7 +17074,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 @@ -75489,6 +75941,63 @@ 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.' + example: disabled | all + organization_selection_type: + type: string + example: disabled | selected | all + group_id: + nullable: true + type: string + example: 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + nullable: true + type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' + example: Justice League + html_url: + type: string + format: uri + example: 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 @@ -80175,58 +80684,6 @@ components: - avatar_url - description nullable: 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 - example: disabled | all - organization_selection_type: - type: string - example: disabled | all - group_id: - nullable: true - type: string - example: 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - nullable: true - type: string - example: Justice League - html_url: - type: string - format: uri - example: 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, @@ -84963,6 +85420,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 @@ -84989,6 +85469,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 @@ -96274,6 +96755,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: @@ -207527,6 +208011,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' @@ -210105,26 +210641,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 @@ -232657,6 +233173,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. @@ -232870,13 +233408,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 @@ -233065,13 +233596,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 31728dcdc6..ac3053f6e5 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -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." @@ -23711,6 +23715,2006 @@ } } }, + "/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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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", @@ -69252,13 +71256,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -84002,11 +86008,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -84016,6 +86023,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -84043,7 +86051,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -108355,11 +110364,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -108369,6 +110379,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -108396,7 +110407,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -137754,7 +139766,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" @@ -137964,7 +139976,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" @@ -138310,7 +140322,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" @@ -138510,7 +140522,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" @@ -138796,7 +140808,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" @@ -145889,6 +147901,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." + } + } + } + } } ] } @@ -148386,6 +150427,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." + } + } + } + } } ] } @@ -150318,6 +152388,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." + } + } + } + } } ] } @@ -152836,6 +154935,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." + } + } + } + } } ] } @@ -443366,6 +445494,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." + } + } + } + ] } ] } @@ -444718,6 +446901,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." + } + } + } + } } ] } @@ -445791,6 +448003,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." + } + } + } + } } ] } @@ -447072,6 +449313,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." + } + } + } + } } ] } @@ -449023,6 +451293,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." + } + } + } + } } ] } @@ -450111,6 +452410,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." + } + } + } + } } ] } @@ -451388,6 +453716,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." + } + } + } + } } ] } @@ -1132847,6 +1135204,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." + } + } + } + } } ] } @@ -1135698,6 +1138084,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." + } + } + } + } } ] } @@ -1138549,6 +1140964,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." + } + } + } + } } ] } @@ -1139549,6 +1141993,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." + } + } + } + } } ] } @@ -1140377,6 +1142850,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." + } + } + } + } } ] } @@ -1141208,6 +1143710,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index af0c6e32b4..f11f22cba5 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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 @@ -853,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &299 + type: &303 type: string description: The type of credit the user is receiving. enum: @@ -986,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &101 + schema: &108 title: Validation Error Simple description: Validation Error Simple type: object @@ -1019,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &621 + - &626 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1137,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &61 + properties: &68 id: description: Unique identifier of the GitHub app example: 37 @@ -1270,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &62 + required: &69 - id - node_id - owner @@ -1575,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &178 + - &184 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 @@ -1591,7 +1593,7 @@ paths: application/json: schema: type: array - items: &179 + items: &185 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1671,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &180 + default: &186 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1730,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &100 + schema: &107 title: Validation Error description: Validation Error type: object @@ -1799,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &187 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1913,7 +1915,7 @@ paths: - request - response examples: - default: &182 + default: &188 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2114,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &67 + - &74 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) @@ -2839,11 +2841,11 @@ paths: - selected repositories: type: array - items: &60 + items: &67 title: Repository description: A repository on GitHub. type: object - properties: &255 + properties: &259 id: description: Unique identifier of the repository example: 42 @@ -2863,7 +2865,7 @@ paths: title: License Simple description: License Simple type: object - properties: &78 + properties: &85 key: type: string example: mit @@ -2885,7 +2887,7 @@ paths: html_url: type: string format: uri - required: &79 + required: &86 - key - name - url @@ -3281,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &256 + required: &260 - archive_url - assignees_url - blobs_url @@ -5068,7 +5070,7 @@ paths: responses: '202': *39 '422': *7 - '500': &97 + '500': &104 description: Internal Error content: application/json: @@ -7392,7 +7394,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &149 + code_scanning_options: &155 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7586,7 +7588,7 @@ paths: description: Response content: application/json: - schema: &151 + schema: &157 type: array description: A list of default code security configurations items: @@ -7602,7 +7604,7 @@ paths: default configuration: *43 examples: - default: &152 + default: &158 value: - default_for_new_repos: public configuration: @@ -7933,7 +7935,7 @@ paths: - *42 - *45 responses: - '204': &153 + '204': &159 description: A header with no content is returned. '400': *14 '403': *29 @@ -8060,7 +8062,7 @@ paths: default: value: default_for_new_repos: all - configuration: &150 + configuration: &156 value: id: 1325 target_type: organization @@ -8145,7 +8147,7 @@ paths: application/json: schema: type: array - items: &154 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8167,7 +8169,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &94 + properties: &101 id: type: integer format: int64 @@ -8394,7 +8396,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &95 + required: &102 - archive_url - assignees_url - blobs_url @@ -8446,7 +8448,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &155 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8540,7 +8542,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &160 + - &166 name: state in: query description: |- @@ -8549,7 +8551,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &161 + - &167 name: severity in: query description: |- @@ -8558,7 +8560,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &162 + - &168 name: ecosystem in: query description: |- @@ -8567,14 +8569,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &163 + - &169 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 - - &164 + - &170 name: epss_percentage in: query description: |- @@ -8586,7 +8588,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 - - &165 + - &171 name: has in: query description: |- @@ -8600,7 +8602,7 @@ paths: type: string enum: - patch - - &166 + - &172 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8610,7 +8612,7 @@ paths: enum: - development - runtime - - &167 + - &173 name: sort in: query description: |- @@ -8628,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &168 + - &174 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8641,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &169 + - &175 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8661,7 +8663,7 @@ paths: application/json: schema: type: array - items: &170 + items: &176 type: object description: A Dependabot alert. properties: @@ -8727,7 +8729,7 @@ paths: - unknown - direct - transitive - security_advisory: &472 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8946,13 +8948,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &143 + updated_at: &149 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &145 + dismissed_at: &151 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8982,14 +8984,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &144 + fixed_at: &150 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &473 + auto_dismissed_at: &477 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9015,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &171 + default: &177 value: - number: 2 state: dismissed @@ -9362,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &287 + - &291 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9373,7 +9375,7 @@ paths: enum: - open - resolved - - &288 + - &292 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9383,7 +9385,7 @@ paths: required: false schema: type: string - - &289 + - &293 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9392,7 +9394,7 @@ paths: required: false schema: type: string - - &290 + - &294 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. @@ -9408,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &291 + - &295 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9417,7 +9419,7 @@ paths: required: false schema: type: string - - &292 + - &296 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9426,7 +9428,7 @@ paths: schema: type: boolean default: false - - &293 + - &297 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9435,7 +9437,7 @@ paths: schema: type: boolean default: false - - &294 + - &298 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9451,7 +9453,7 @@ paths: application/json: schema: type: array - items: &295 + items: &299 type: object properties: number: *54 @@ -9470,14 +9472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &599 + state: &604 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: &600 + resolution: &605 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9584,8 +9586,8 @@ paths: pull request. ' - oneOf: &601 - - &603 + oneOf: &606 + - &608 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9637,7 +9639,7 @@ paths: - blob_url - commit_sha - commit_url - - &604 + - &609 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. @@ -9692,7 +9694,7 @@ paths: - page_url - commit_sha - commit_url - - &605 + - &610 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9706,7 +9708,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &606 + - &611 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9720,7 +9722,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &607 + - &612 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9734,7 +9736,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &608 + - &613 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9748,7 +9750,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &609 + - &614 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9762,7 +9764,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &610 + - &615 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9776,7 +9778,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &611 + - &616 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. @@ -9790,7 +9792,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &612 + - &617 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. @@ -9804,7 +9806,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &613 + - &618 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. @@ -9818,7 +9820,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &614 + - &619 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. @@ -9832,7 +9834,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &615 + - &620 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -9852,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &296 + default: &300 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10011,7 +10013,7 @@ paths: headers: Link: *58 '404': *6 - '503': &65 + '503': &72 description: Service unavailable content: application/json: @@ -10029,6 +10031,551 @@ 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: + - *42 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &59 + 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.' + example: disabled | all + organization_selection_type: + type: string + example: disabled | selected | all + group_id: + nullable: true + type: string + example: 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + nullable: true + type: string + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + example: Justice League + html_url: + type: string + format: uri + example: 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: &60 + 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: *58 + '403': *29 + 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: + - *42 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *59 + examples: + default: *60 + 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: + - *42 + - &61 + 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: &62 + 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: *58 + 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: + - *42 + - *61 + 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: *62 + 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: + - *42 + - *61 + 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: *62 + 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: + - *42 + - *61 + - &63 + 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: &64 + 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: + - *42 + - *61 + - *63 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *64 + 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: + - *42 + - *61 + - *63 + responses: + '204': + description: Response + '403': *29 + 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: + - *42 + - &65 + 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: *59 + examples: + default: *60 + headers: + Link: *58 + '403': *29 + 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: + - *42 + - *65 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *59 + examples: + default: *60 + headers: + Link: *58 + '403': *29 + 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: + - *42 + - *65 + responses: + '204': + description: Response + '403': *29 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -10051,7 +10598,7 @@ paths: application/json: schema: type: array - items: &89 + items: &96 title: Event description: Event type: object @@ -10061,7 +10608,7 @@ paths: type: type: string nullable: true - actor: &59 + actor: &66 title: Actor description: Actor type: object @@ -10101,18 +10648,18 @@ paths: - id - name - url - org: *59 + org: *66 payload: type: object properties: action: type: string - issue: &77 + issue: &84 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &521 + properties: &525 id: type: integer format: int64 @@ -10224,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &243 + properties: &247 url: type: string format: uri @@ -10294,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &244 + required: &248 - closed_issues - creator - description @@ -10373,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &200 + type: &206 title: Issue Type description: The type of issue. type: object @@ -10422,7 +10969,7 @@ paths: - node_id - name - description - repository: *60 + repository: *67 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -10432,9 +10979,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - author_association: &63 + properties: *68 + required: *69 + author_association: &70 title: author_association type: string example: OWNER @@ -10448,7 +10995,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &64 + reactions: &71 title: Reaction Rollup type: object properties: @@ -10484,7 +11031,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &633 + sub_issues_summary: &638 title: Sub-issues Summary type: object properties: @@ -10504,7 +11051,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &634 + issue_dependencies_summary: &639 title: Issue Dependencies Summary type: object properties: @@ -10523,7 +11070,7 @@ paths: - total_blocking issue_field_values: type: array - items: &635 + items: &640 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10583,7 +11130,7 @@ paths: - node_id - data_type - value - required: &522 + required: &526 - assignee - closed_at - comments @@ -10604,7 +11151,7 @@ paths: - user - created_at - updated_at - comment: &519 + comment: &523 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10652,7 +11199,7 @@ paths: issue_url: type: string format: uri - author_association: *63 + author_association: *70 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -10662,9 +11209,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - id - node_id @@ -10759,7 +11306,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10840,7 +11387,7 @@ paths: _links: type: object properties: - timeline: &66 + timeline: &73 title: Link With Type description: Hypermedia Link with Type type: object @@ -10852,17 +11399,17 @@ paths: required: - href - type - user: *66 - security_advisories: *66 - current_user: *66 - current_user_public: *66 - current_user_actor: *66 - current_user_organization: *66 + user: *73 + security_advisories: *73 + current_user: *73 + current_user_public: *73 + current_user_actor: *73 + current_user_organization: *73 current_user_organizations: type: array - items: *66 - repository_discussions: *66 - repository_discussions_category: *66 + items: *73 + repository_discussions: *73 + repository_discussions_category: *73 required: - timeline - user @@ -10924,7 +11471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *67 + - *74 - *17 - *19 responses: @@ -10934,7 +11481,7 @@ paths: application/json: schema: type: array - items: &68 + items: &75 title: Base Gist description: Base Gist type: object @@ -11033,7 +11580,7 @@ paths: - created_at - updated_at examples: - default: &69 + default: &76 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -11154,7 +11701,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &77 title: Gist Simple description: Gist Simple type: object @@ -11171,7 +11718,7 @@ paths: url: type: string format: uri - user: &647 + user: &652 title: Public User description: Public User type: object @@ -11533,7 +12080,7 @@ paths: truncated: type: boolean examples: - default: &71 + default: &78 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -11637,7 +12184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *67 + - *74 - *17 - *19 responses: @@ -11647,9 +12194,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '422': *15 @@ -11671,7 +12218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *67 + - *74 - *17 - *19 responses: @@ -11681,9 +12228,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '401': *25 @@ -11711,7 +12258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &72 + - &79 name: gist_id description: The unique identifier of the gist. in: path @@ -11723,10 +12270,10 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 - '403': &75 + default: *78 + '403': &82 description: Forbidden Gist content: application/json: @@ -11774,7 +12321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *72 + - *79 requestBody: required: true content: @@ -11834,9 +12381,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - updateGist: *71 + updateGist: *78 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -11994,7 +12541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12023,7 +12570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12033,7 +12580,7 @@ paths: application/json: schema: type: array - items: &73 + items: &80 title: Gist Comment description: A comment made to a gist. type: object @@ -12068,7 +12615,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *63 + author_association: *70 required: - url - id @@ -12133,7 +12680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *72 + - *79 requestBody: required: true content: @@ -12158,9 +12705,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: &74 + default: &81 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -12218,8 +12765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *72 - - &76 + - *79 + - &83 name: comment_id description: The unique identifier of the comment. in: path @@ -12232,12 +12779,12 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: *74 + default: *81 '304': *37 '404': *6 - '403': *75 + '403': *82 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12259,8 +12806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *72 - - *76 + - *79 + - *83 requestBody: required: true content: @@ -12285,9 +12832,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: *74 + default: *81 '404': *6 x-github: githubCloudOnly: false @@ -12304,8 +12851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *72 - - *76 + - *79 + - *83 responses: '204': description: Response @@ -12328,7 +12875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12429,7 +12976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12439,7 +12986,7 @@ paths: application/json: schema: type: array - items: *70 + items: *77 examples: default: value: @@ -12504,13 +13051,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *72 + - *79 responses: '201': description: Response content: application/json: - schema: *68 + schema: *75 examples: default: value: @@ -12581,7 +13128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *72 + - *79 responses: '204': description: Response if gist is starred @@ -12611,7 +13158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12633,7 +13180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12662,7 +13209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *72 + - *79 - name: sha in: path required: true @@ -12673,9 +13220,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '422': *15 '404': *6 '403': *29 @@ -12834,7 +13381,7 @@ paths: type: integer repositories: type: array - items: *60 + items: *67 repository_selection: type: string example: selected @@ -13041,7 +13588,7 @@ paths: - closed - all default: open - - &203 + - &209 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13060,7 +13607,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - name: collab in: query required: false @@ -13090,9 +13637,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &204 + default: &210 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13376,8 +13923,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 examples: default: value: @@ -13662,7 +14209,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &80 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -13717,7 +14264,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *80 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -13746,7 +14293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &83 + - &90 name: account_id description: account_id parameter in: path @@ -13758,7 +14305,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -13788,7 +14335,7 @@ paths: nullable: true id: type: integer - plan: &81 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -13877,7 +14424,7 @@ paths: nullable: true updated_at: type: string - plan: *81 + plan: *88 required: - url - id @@ -13885,7 +14432,7 @@ paths: - login - marketplace_purchase examples: - default: &84 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -13970,9 +14517,9 @@ paths: application/json: schema: type: array - items: *81 + items: *88 examples: - default: &85 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -14012,14 +14559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &86 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &87 + - &94 name: sort description: The property to sort the results by. in: query @@ -14049,9 +14596,9 @@ paths: application/json: schema: type: array - items: *82 + items: *89 examples: - default: &88 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -14125,15 +14672,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *83 + - *90 responses: '200': description: Response content: application/json: - schema: *82 + schema: *89 examples: - default: *84 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -14165,9 +14712,9 @@ paths: application/json: schema: type: array - items: *81 + items: *88 examples: - default: *85 + default: *92 headers: Link: *58 '401': *25 @@ -14190,8 +14737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *86 - - *87 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -14211,9 +14758,9 @@ paths: application/json: schema: type: array - items: *82 + items: *89 examples: - default: *88 + default: *95 headers: Link: *58 '401': *25 @@ -14477,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &322 + - &326 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &323 + - &327 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14501,7 +15048,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -14555,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &335 description: Moved permanently content: application/json: @@ -14577,7 +15124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &551 + - &555 name: all description: If `true`, show notifications marked as read. in: query @@ -14585,7 +15132,7 @@ paths: schema: type: boolean default: false - - &552 + - &556 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14594,8 +15141,8 @@ paths: schema: type: boolean default: false - - *67 - - &553 + - *74 + - &557 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: @@ -14620,18 +15167,18 @@ paths: application/json: schema: type: array - items: &90 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &126 + repository: &133 title: Minimal Repository description: Minimal Repository type: object - properties: &173 + properties: &179 id: type: integer format: int64 @@ -14907,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &257 + security_and_analysis: &261 nullable: true type: object properties: @@ -14981,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &174 + required: &180 - archive_url - assignees_url - blobs_url @@ -15069,7 +15616,7 @@ paths: - url - subscription_url examples: - default: &554 + default: &558 value: - id: '1' repository: @@ -15235,7 +15782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &91 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -15249,7 +15796,7 @@ paths: description: Response content: application/json: - schema: *90 + schema: *97 examples: default: value: @@ -15351,7 +15898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *91 + - *98 responses: '205': description: Reset Content @@ -15373,7 +15920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *91 + - *98 responses: '204': description: No content @@ -15396,13 +15943,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *91 + - *98 responses: '200': description: Response content: application/json: - schema: &92 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -15439,7 +15986,7 @@ paths: - url - subscribed examples: - default: &93 + default: &100 value: subscribed: true ignored: false @@ -15470,7 +16017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *91 + - *98 requestBody: required: false content: @@ -15491,9 +16038,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *99 examples: - default: *93 + default: *100 '304': *37 '403': *29 '401': *25 @@ -15516,7 +16063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *91 + - *98 responses: '204': description: Response @@ -15611,11 +16158,11 @@ paths: application/json: schema: type: array - items: &210 + items: &215 title: Organization Simple description: A GitHub organization. type: object - properties: &157 + properties: &163 login: type: string example: github @@ -15656,7 +16203,7 @@ paths: type: string example: A great organization nullable: true - required: &158 + required: &164 - login - url - id @@ -15670,7 +16217,7 @@ paths: - avatar_url - description examples: - default: &664 + default: &669 value: - login: github id: 1 @@ -15710,7 +16257,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: - - &96 + - &103 name: org description: The organization name. The name is not case sensitive. in: path @@ -15760,8 +16307,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *94 - required: *95 + properties: *101 + required: *102 nullable: true additionalProperties: false examples: @@ -15867,7 +16414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -15933,7 +16480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *96 + - *103 requestBody: required: true content: @@ -15980,8 +16527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *96 - - &694 + - *103 + - &699 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, @@ -15990,7 +16537,7 @@ paths: required: false schema: type: integer - - &695 + - &700 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -15999,7 +16546,7 @@ paths: required: false schema: type: integer - - &696 + - &701 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 @@ -16008,7 +16555,7 @@ paths: required: false schema: type: integer - - &697 + - &702 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 @@ -16091,8 +16638,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16118,13 +16665,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &98 + schema: &105 title: Organization Full description: Organization Full type: object @@ -16443,7 +16990,7 @@ paths: - updated_at - archived_at examples: - default-response: &99 + default-response: &106 value: login: github id: 1 @@ -16543,7 +17090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *96 + - *103 requestBody: required: false content: @@ -16759,17 +17306,17 @@ paths: description: Response content: application/json: - schema: *98 + schema: *105 examples: - default: *99 + default: *106 '422': description: Validation failed content: application/json: schema: oneOf: - - *100 - - *101 + - *107 + - *108 '409': *47 x-github: githubCloudOnly: false @@ -16793,7 +17340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *96 + - *103 responses: '202': *39 '404': *6 @@ -16818,7 +17365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -16865,7 +17412,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: - - *96 + - *103 - *17 - *19 responses: @@ -16883,7 +17430,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &340 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16938,7 +17485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -16956,7 +17503,7 @@ paths: type: integer runners: type: array - items: &102 + items: &109 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17005,7 +17552,7 @@ paths: - display_name - source nullable: true - machine_size_details: &105 + machine_size_details: &112 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17097,7 +17644,7 @@ paths: - public_ip_enabled - platform examples: - default: &125 + default: &132 value: total_count: 2 runners: @@ -17157,7 +17704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -17224,9 +17771,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: &106 + default: &113 value: id: 5 name: My hosted ubuntu runner @@ -17265,7 +17812,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: - - *96 + - *103 responses: '200': description: Response @@ -17281,7 +17828,7 @@ paths: type: integer images: type: array - items: &103 + items: &110 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17317,7 +17864,7 @@ paths: - display_name - source examples: - default: &104 + default: &111 value: id: ubuntu-20.04 platform: linux-x64 @@ -17341,7 +17888,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: - - *96 + - *103 responses: '200': description: Response @@ -17357,9 +17904,9 @@ paths: type: integer images: type: array - items: *103 + items: *110 examples: - default: *104 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17376,7 +17923,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: - - *96 + - *103 responses: '200': description: Response @@ -17429,7 +17976,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: - - *96 + - *103 responses: '200': description: Response @@ -17445,7 +17992,7 @@ paths: type: integer machine_specs: type: array - items: *105 + items: *112 examples: default: value: @@ -17470,7 +18017,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: - - *96 + - *103 responses: '200': description: Response @@ -17514,8 +18061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *96 - - &107 + - *103 + - &114 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17527,9 +18074,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 headers: Link: *58 x-github: @@ -17549,8 +18096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *96 - - *107 + - *103 + - *114 requestBody: required: true content: @@ -17588,9 +18135,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17606,16 +18153,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *96 - - *107 + - *103 + - *114 responses: '202': description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17635,13 +18182,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: - - *96 + - *103 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &108 + schema: &115 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17655,7 +18202,7 @@ paths: required: - include_claim_keys examples: - default: &109 + default: &116 value: include_claim_keys: - repo @@ -17677,20 +18224,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: - - *96 + - *103 requestBody: required: true content: application/json: - schema: *108 + schema: *115 examples: - default: *109 + default: *116 responses: '201': description: Empty response content: application/json: - schema: &135 + schema: &142 title: Empty Object description: An object without any properties. type: object @@ -17720,7 +18267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -17729,7 +18276,7 @@ paths: schema: type: object properties: - enabled_repositories: &110 + enabled_repositories: &117 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17742,7 +18289,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: &111 + allowed_actions: &118 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17750,12 +18297,12 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &346 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: &112 + sha_pinning_required: &119 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -17786,7 +18333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -17797,9 +18344,9 @@ paths: schema: type: object properties: - enabled_repositories: *110 - allowed_actions: *111 - sha_pinning_required: *112 + enabled_repositories: *117 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled_repositories examples: @@ -17827,13 +18374,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &346 + schema: &350 type: object properties: days: @@ -17870,12 +18417,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &347 + schema: &351 type: object properties: days: @@ -17912,13 +18459,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &113 + schema: &120 type: object properties: approval_policy: @@ -17932,7 +18479,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &352 value: approval_policy: first_time_contributors '404': *6 @@ -17953,7 +18500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -17963,7 +18510,7 @@ paths: required: true content: application/json: - schema: *113 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -17985,13 +18532,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: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &349 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -18017,7 +18564,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &114 + default: &121 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18040,12 +18587,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: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &350 + schema: &354 type: object required: - run_workflows_from_fork_pull_requests @@ -18068,7 +18615,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *114 + default: *121 responses: '204': description: Empty response for successful settings update @@ -18098,7 +18645,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: - - *96 + - *103 - *17 - *19 responses: @@ -18116,9 +18663,9 @@ paths: type: number repositories: type: array - items: *60 + items: *67 examples: - default: &118 + default: &125 value: total_count: 1 repositories: @@ -18258,7 +18805,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: - - *96 + - *103 responses: '204': description: Response @@ -18302,8 +18849,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: - - *96 - - &115 + - *103 + - &122 name: repository_id description: The unique identifier of the repository. in: path @@ -18331,8 +18878,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: Response @@ -18355,13 +18902,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &116 + schema: &123 type: object properties: github_owned_allowed: @@ -18383,7 +18930,7 @@ paths: items: type: string examples: - default: &117 + default: &124 value: github_owned_allowed: true verified_allowed: false @@ -18408,7 +18955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -18416,9 +18963,9 @@ paths: required: false content: application/json: - schema: *116 + schema: *123 examples: - selected_actions: *117 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18438,7 +18985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -18486,7 +19033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -18533,7 +19080,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: - - *96 + - *103 - *17 - *19 responses: @@ -18548,9 +19095,9 @@ paths: type: integer repositories: type: array - items: *60 + items: *67 examples: - default: *118 + default: *125 '403': *29 '404': *6 x-github: @@ -18570,7 +19117,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: - - *96 + - *103 requestBody: required: true content: @@ -18618,8 +19165,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: No content @@ -18645,8 +19192,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: No content @@ -18674,23 +19221,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &351 + schema: &355 type: object properties: - default_workflow_permissions: &119 + default_workflow_permissions: &126 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &120 + can_approve_pull_request_reviews: &127 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -18698,7 +19245,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &121 + default: &128 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -18723,7 +19270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Success response @@ -18731,13 +19278,13 @@ paths: required: false content: application/json: - schema: &352 + schema: &356 type: object properties: - default_workflow_permissions: *119 - can_approve_pull_request_reviews: *120 + default_workflow_permissions: *126 + can_approve_pull_request_reviews: *127 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18757,7 +19304,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: - - *96 + - *103 - *17 - *19 - name: visible_to_repository @@ -18782,7 +19329,7 @@ paths: type: number runner_groups: type: array - items: &122 + items: &129 type: object properties: id: @@ -18898,7 +19445,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: - - *96 + - *103 requestBody: required: true content: @@ -18970,9 +19517,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: &124 + default: &131 value: id: 2 name: octo-runner-group @@ -19007,8 +19554,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: - - *96 - - &123 + - *103 + - &130 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19020,7 +19567,7 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: default: value: @@ -19056,8 +19603,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19111,9 +19658,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: *124 + default: *131 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19132,8 +19679,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: - - *96 - - *123 + - *103 + - *130 responses: '204': description: Response @@ -19156,8 +19703,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: - - *96 - - *123 + - *103 + - *130 - *17 - *19 responses: @@ -19175,9 +19722,9 @@ paths: type: number runners: type: array - items: *102 + items: *109 examples: - default: *125 + default: *132 headers: Link: *58 x-github: @@ -19199,8 +19746,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: - - *96 - - *123 + - *103 + - *130 - *19 - *17 responses: @@ -19218,9 +19765,9 @@ paths: type: number repositories: type: array - items: *126 + items: *133 examples: - default: &650 + default: &655 value: total_count: 1 repositories: @@ -19472,8 +20019,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19517,9 +20064,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: - - *96 - - *123 - - *115 + - *103 + - *130 + - *122 responses: '204': description: Response @@ -19541,9 +20088,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: - - *96 - - *123 - - *115 + - *103 + - *130 + - *122 responses: '204': description: Response @@ -19566,8 +20113,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: - - *96 - - *123 + - *103 + - *130 - *17 - *19 responses: @@ -19585,7 +20132,7 @@ paths: type: number runners: type: array - items: &128 + items: &135 title: Self hosted runners description: A self hosted runner type: object @@ -19614,7 +20161,7 @@ paths: type: boolean labels: type: array - items: &131 + items: &138 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -19644,7 +20191,7 @@ paths: - busy - labels examples: - default: &129 + default: &136 value: total_count: 2 runners: @@ -19703,8 +20250,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19748,9 +20295,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: - - *96 - - *123 - - &127 + - *103 + - *130 + - &134 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -19778,9 +20325,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: - - *96 - - *123 - - *127 + - *103 + - *130 + - *134 responses: '204': description: Response @@ -19810,7 +20357,7 @@ paths: in: query schema: type: string - - *96 + - *103 - *17 - *19 responses: @@ -19828,9 +20375,9 @@ paths: type: integer runners: type: array - items: *128 + items: *135 examples: - default: *129 + default: *136 headers: Link: *58 x-github: @@ -19854,7 +20401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -19862,7 +20409,7 @@ paths: application/json: schema: type: array - items: &353 + items: &357 title: Runner Application description: Runner Application type: object @@ -19887,7 +20434,7 @@ paths: - download_url - filename examples: - default: &354 + default: &358 value: - os: osx architecture: x64 @@ -19930,7 +20477,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: - - *96 + - *103 requestBody: required: true content: @@ -19973,7 +20520,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &359 description: Response content: application/json: @@ -19983,7 +20530,7 @@ paths: - runner - encoded_jit_config properties: - runner: *128 + runner: *135 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20040,13 +20587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *96 + - *103 responses: '201': description: Response content: application/json: - schema: &130 + schema: &137 title: Authentication Token description: Authentication Token type: object @@ -20068,7 +20615,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *60 + items: *67 single_file: type: string example: config.yaml @@ -20084,7 +20631,7 @@ paths: - token - expires_at examples: - default: &356 + default: &360 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20115,15 +20662,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *96 + - *103 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: &357 + default: &361 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20148,16 +20695,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: - - *96 - - *127 + - *103 + - *134 responses: '200': description: Response content: application/json: - schema: *128 + schema: *135 examples: - default: &358 + default: &362 value: id: 23 name: MBP @@ -20198,8 +20745,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: - - *96 - - *127 + - *103 + - *134 responses: '204': description: Response @@ -20225,10 +20772,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: - - *96 - - *127 + - *103 + - *134 responses: - '200': &132 + '200': &139 description: Response content: application/json: @@ -20242,7 +20789,7 @@ paths: type: integer labels: type: array - items: *131 + items: *138 examples: default: value: @@ -20281,8 +20828,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: - - *96 - - *127 + - *103 + - *134 requestBody: required: true content: @@ -20306,7 +20853,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20330,8 +20877,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: - - *96 - - *127 + - *103 + - *134 requestBody: required: true content: @@ -20356,7 +20903,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20380,10 +20927,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: - - *96 - - *127 + - *103 + - *134 responses: - '200': &359 + '200': &363 description: Response content: application/json: @@ -20397,7 +20944,7 @@ paths: type: integer labels: type: array - items: *131 + items: *138 examples: default: value: @@ -20438,9 +20985,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: - - *96 - - *127 - - &360 + - *103 + - *134 + - &364 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20448,7 +20995,7 @@ paths: schema: type: string responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20473,7 +21020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -20491,7 +21038,7 @@ paths: type: integer secrets: type: array - items: &133 + items: &140 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -20564,13 +21111,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &372 + schema: &376 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -20599,7 +21146,7 @@ paths: - key_id - key examples: - default: &373 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20624,8 +21171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *96 - - &134 + - *103 + - &141 name: secret_name description: The name of the secret. in: path @@ -20637,7 +21184,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *140 examples: default: value: @@ -20667,8 +21214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -20725,7 +21272,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -20751,8 +21298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -20778,8 +21325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -20797,9 +21344,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: &138 + default: &145 value: total_count: 1 repositories: @@ -20891,8 +21438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -20944,8 +21491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -20978,8 +21525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -21011,8 +21558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *96 - - &341 + - *103 + - &345 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)." @@ -21036,7 +21583,7 @@ paths: type: integer variables: type: array - items: &136 + items: &143 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21121,7 +21668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *96 + - *103 requestBody: required: true content: @@ -21169,7 +21716,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -21194,8 +21741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *96 - - &137 + - *103 + - &144 name: name description: The name of the variable. in: path @@ -21207,7 +21754,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *143 examples: default: value: @@ -21237,8 +21784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 requestBody: required: true content: @@ -21300,8 +21847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 responses: '204': description: Response @@ -21327,8 +21874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - *19 - *17 responses: @@ -21346,9 +21893,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 '409': description: Response when the visibility of the variable is not set to `selected` @@ -21374,8 +21921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 requestBody: required: true content: @@ -21424,8 +21971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - name: repository_id in: path required: true @@ -21459,8 +22006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - name: repository_id in: path required: true @@ -21491,7 +22038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *96 + - *103 requestBody: required: true content: @@ -21579,10 +22126,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -21621,7 +22170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *96 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -21706,7 +22255,7 @@ paths: - *17 - *40 - *41 - - *96 + - *103 requestBody: required: true content: @@ -21729,12 +22278,12 @@ paths: required: - subject_digests examples: - default: &683 + default: &688 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &684 + withPredicateType: &689 value: subject_digests: - sha256:abc123 @@ -21792,7 +22341,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &685 + default: &690 value: attestations_subject_digests: - sha256:abc: @@ -21901,7 +22450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *96 + - *103 requestBody: required: true content: @@ -21966,7 +22515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *96 + - *103 - name: subject_digest description: Subject Digest in: path @@ -21997,7 +22546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *96 + - *103 - name: attestation_id description: Attestation ID in: path @@ -22035,7 +22584,7 @@ paths: - *17 - *40 - *41 - - *96 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22086,7 +22635,7 @@ paths: bundle_url: type: string examples: - default: &386 + default: &390 value: attestations: - bundle: @@ -22193,7 +22742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -22205,26 +22754,7 @@ paths: type: array items: *4 examples: - default: &205 - 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: *62 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22243,14 +22773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *96 - - &139 - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string + - *103 + - *63 responses: '204': description: If the user is blocked @@ -22275,8 +22799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -22296,8 +22820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -22322,7 +22846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *96 + - *103 - *19 - *17 - *48 @@ -22330,7 +22854,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &140 + schema: &146 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -22356,7 +22880,7 @@ paths: application/json: schema: type: array - items: &141 + items: &147 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -22387,7 +22911,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &159 + items: &165 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -22446,7 +22970,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &218 + properties: &222 id: description: Unique identifier of the team type: integer @@ -22502,7 +23026,7 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &219 + required: &223 - id - node_id - url @@ -22543,7 +23067,7 @@ paths: type: string format: date-time nullable: true - state: *140 + state: *146 contact_link: description: The contact link of the campaign. type: string @@ -22640,7 +23164,7 @@ paths: headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22664,7 +23188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -22758,9 +23282,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: &142 + default: &148 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -22809,7 +23333,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22831,7 +23355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22843,16 +23367,16 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: *142 + default: *148 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22873,7 +23397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22922,7 +23446,7 @@ paths: type: string format: uri nullable: true - state: *140 + state: *146 examples: default: value: @@ -22932,9 +23456,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: *142 + default: *148 '400': description: Bad Request content: @@ -22946,7 +23470,7 @@ paths: content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22967,7 +23491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22978,7 +23502,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23000,18 +23524,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *96 - - &412 + - *103 + - &416 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: &146 + schema: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &413 + - &417 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 @@ -23019,7 +23543,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &147 + schema: &153 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23034,7 +23558,7 @@ paths: be returned. in: query required: false - schema: &415 + schema: &419 type: string description: State of a code scanning alert. enum: @@ -23057,7 +23581,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &420 type: string description: Severity of a code scanning alert. enum: @@ -23080,16 +23604,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: &417 + instances_url: &421 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &148 + state: &154 type: string description: State of a code scanning alert. nullable: true @@ -23097,7 +23621,7 @@ paths: - open - dismissed - fixed - fixed_at: *144 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -23105,8 +23629,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: &418 + dismissed_at: *151 + dismissed_reason: &422 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23115,13 +23639,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &419 + dismissed_comment: &423 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &420 + rule: &424 type: object properties: id: @@ -23174,25 +23698,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &421 + tool: &425 type: object properties: - name: *146 + name: *152 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *147 - most_recent_instance: &422 + guid: *153 + most_recent_instance: &426 type: object properties: - ref: &414 + ref: &418 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &432 + analysis_key: &436 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23203,13 +23727,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &433 + category: &437 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: *148 + state: *154 commit_sha: type: string message: @@ -23502,7 +24026,7 @@ paths: headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23524,7 +24048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *96 + - *103 - name: target_type in: query description: The target type of the code security configuration @@ -23635,7 +24159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *96 + - *103 requestBody: required: true content: @@ -23713,7 +24237,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *149 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -23856,7 +24380,7 @@ paths: application/json: schema: *43 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23878,15 +24402,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: *152 + default: *158 '304': *37 '403': *29 '404': *6 @@ -23912,7 +24436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *96 + - *103 requestBody: required: true content: @@ -23938,7 +24462,7 @@ paths: - 32 - 91 responses: - '204': *153 + '204': *159 '400': *14 '403': *29 '404': *6 @@ -23964,7 +24488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *96 + - *103 - *45 responses: '200': @@ -23973,7 +24497,7 @@ paths: application/json: schema: *43 examples: - default: *150 + default: *156 '304': *37 '403': *29 '404': *6 @@ -23997,7 +24521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *96 + - *103 - *45 requestBody: required: true @@ -24254,10 +24778,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *96 + - *103 - *45 responses: - '204': *153 + '204': *159 '400': *14 '403': *29 '404': *6 @@ -24285,7 +24809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *96 + - *103 - *45 requestBody: required: true @@ -24349,7 +24873,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: - - *96 + - *103 - *45 requestBody: required: true @@ -24395,7 +24919,7 @@ paths: default: value: default_for_new_repos: all - configuration: *150 + configuration: *156 '403': *29 '404': *6 x-github: @@ -24419,7 +24943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *96 + - *103 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -24448,13 +24972,13 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *155 + repository: *161 '403': *29 '404': *6 x-github: @@ -24478,7 +25002,7 @@ paths: parameters: - *17 - *19 - - *96 + - *103 responses: '200': description: Response @@ -24494,7 +25018,7 @@ paths: type: integer codespaces: type: array - items: &206 + items: &211 type: object title: Codespace description: A codespace. @@ -24519,12 +25043,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *126 + repository: *133 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &445 + properties: &449 name: type: string description: The name of the machine. @@ -24566,7 +25090,7 @@ paths: - ready - in_progress nullable: true - required: &446 + required: &450 - name - display_name - operating_system @@ -24771,7 +25295,7 @@ paths: - pulls_url - recent_folders examples: - default: &207 + default: &212 value: total_count: 3 codespaces: @@ -25181,7 +25705,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -25203,7 +25727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *96 + - *103 deprecated: true requestBody: required: true @@ -25247,7 +25771,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25270,7 +25794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *96 + - *103 deprecated: true requestBody: required: true @@ -25302,7 +25826,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25325,7 +25849,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *96 + - *103 requestBody: required: true content: @@ -25356,7 +25880,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25377,7 +25901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -25395,7 +25919,7 @@ paths: type: integer secrets: type: array - items: &156 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -25434,7 +25958,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &451 value: total_count: 2 secrets: @@ -25466,13 +25990,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &448 + schema: &452 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25501,7 +26025,7 @@ paths: - key_id - key examples: - default: &449 + default: &453 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25524,16 +26048,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: Response content: application/json: - schema: *156 + schema: *162 examples: - default: &451 + default: &455 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -25560,8 +26084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -25616,7 +26140,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -25642,8 +26166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -25668,8 +26192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -25687,9 +26211,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -25711,8 +26235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -25762,8 +26286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -25796,8 +26320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -25836,7 +26360,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: - - *96 + - *103 responses: '200': description: OK @@ -25945,7 +26469,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -25977,7 +26501,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: - - *96 + - *103 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -26000,7 +26524,7 @@ paths: currently being billed. seats: type: array - items: &209 + items: &214 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26017,65 +26541,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *157 - required: *158 + properties: *163 + required: *164 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *159 - - 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 - example: disabled | all - organization_selection_type: - type: string - example: disabled | all - group_id: - nullable: true - type: string - example: 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - nullable: true - type: string - example: Justice League - html_url: - type: string - format: uri - example: 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 + - *165 + - *59 nullable: true pending_cancellation_date: type: string @@ -26200,7 +26674,7 @@ paths: site_admin: false headers: Link: *58 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26233,7 +26707,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: - - *96 + - *103 requestBody: content: application/json: @@ -26275,7 +26749,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26311,7 +26785,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: - - *96 + - *103 requestBody: content: application/json: @@ -26353,7 +26827,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26391,7 +26865,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: - - *96 + - *103 requestBody: content: application/json: @@ -26432,7 +26906,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26468,7 +26942,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: - - *96 + - *103 requestBody: content: application/json: @@ -26510,7 +26984,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26549,7 +27023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *96 + - *103 - 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`). @@ -26581,7 +27055,7 @@ paths: application/json: schema: type: array - items: &304 + items: &308 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -26888,7 +27362,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &309 value: - date: '2024-06-24' total_active_users: 24 @@ -26987,10 +27461,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *97 + '500': *104 '403': *29 '404': *6 - '422': &306 + '422': &310 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27017,12 +27491,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *96 - - *160 - - *161 - - *162 - - *163 - - *164 + - *103 + - *166 + - *167 + - *168 + - *169 + - *170 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27038,14 +27512,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *165 - - *166 - - *167 + - *171 + - *172 + - *173 - *48 - *40 - *41 - - *168 - - *169 + - *174 + - *175 - *17 responses: '200': @@ -27054,9 +27528,9 @@ paths: application/json: schema: type: array - items: *170 + items: *176 examples: - default: *171 + default: *177 '304': *37 '400': *14 '403': *29 @@ -27082,7 +27556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27100,7 +27574,7 @@ paths: type: integer secrets: type: array - items: &172 + items: &178 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27171,13 +27645,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &476 + schema: &480 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27194,7 +27668,7 @@ paths: - key_id - key examples: - default: &477 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27217,14 +27691,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: Response content: application/json: - schema: *172 + schema: *178 examples: default: value: @@ -27252,8 +27726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -27308,7 +27782,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -27332,8 +27806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -27357,8 +27831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -27376,9 +27850,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27399,8 +27873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -27450,8 +27924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -27482,8 +27956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -27513,7 +27987,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: - - *96 + - *103 responses: '200': description: Response @@ -27521,7 +27995,7 @@ paths: application/json: schema: type: array - items: &221 + items: &225 title: Package description: A software package type: object @@ -27571,8 +28045,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *173 - required: *174 + properties: *179 + required: *180 nullable: true created_at: type: string @@ -27591,7 +28065,7 @@ paths: - created_at - updated_at examples: - default: &222 + default: &226 value: - id: 197 name: hello_docker @@ -27669,7 +28143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27679,7 +28153,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: 200-response: value: @@ -27748,7 +28222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27758,7 +28232,7 @@ paths: application/json: schema: type: array - items: &197 + items: &203 title: Organization Invitation description: Organization Invitation type: object @@ -27805,7 +28279,7 @@ paths: - invitation_teams_url - node_id examples: - default: &198 + default: &204 value: - id: 1 login: monalisa @@ -27862,7 +28336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27872,7 +28346,7 @@ paths: application/json: schema: type: array - items: &175 + items: &181 title: Org Hook description: Org Hook type: object @@ -27983,7 +28457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *96 + - *103 requestBody: required: true content: @@ -28043,9 +28517,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: &176 + default: &182 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28092,8 +28566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *96 - - &177 + - *103 + - &183 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. @@ -28106,9 +28580,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 '404': *6 x-github: githubCloudOnly: false @@ -28135,8 +28609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 requestBody: required: false content: @@ -28181,7 +28655,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: default: value: @@ -28222,8 +28696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 responses: '204': description: Response @@ -28250,8 +28724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *96 - - *177 + - *103 + - *183 responses: '200': description: Response @@ -28281,8 +28755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *96 - - *177 + - *103 + - *183 requestBody: required: false content: @@ -28332,10 +28806,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *17 - - *178 + - *184 responses: '200': description: Response @@ -28343,9 +28817,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '400': *14 '422': *15 x-github: @@ -28370,17 +28844,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *16 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '400': *14 '422': *15 x-github: @@ -28405,8 +28879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *16 responses: '202': *39 @@ -28435,8 +28909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 responses: '204': description: Response @@ -28458,8 +28932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *96 - - &187 + - *103 + - &193 name: actor_type in: path description: The type of the actor @@ -28472,14 +28946,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &188 + - &194 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &183 + - &189 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`.' @@ -28487,7 +28961,7 @@ paths: required: true schema: type: string - - &184 + - &190 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) @@ -28580,13 +29054,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *96 - - *183 - - *184 + - *103 + - *189 + - *190 - *19 - *17 - *48 - - &193 + - &199 name: sort description: The property to sort the results by. in: query @@ -28664,15 +29138,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *96 - - *183 - - *184 + - *103 + - *189 + - *190 responses: '200': description: Response content: application/json: - schema: &185 + schema: &191 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -28688,7 +29162,7 @@ paths: type: integer format: int64 examples: - default: &186 + default: &192 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -28708,24 +29182,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *96 - - &189 + - *103 + - &195 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *183 - - *184 + - *189 + - *190 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 x-github: enabledForGitHubApps: true category: orgs @@ -28743,19 +29217,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *96 - - *183 - - *184 - - *187 - - *188 + - *103 + - *189 + - *190 + - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 x-github: enabledForGitHubApps: true category: orgs @@ -28772,10 +29246,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *96 - - *183 - - *184 - - &190 + - *103 + - *189 + - *190 + - &196 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -28788,7 +29262,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &197 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -28804,7 +29278,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &198 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -28840,19 +29314,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *96 + - *103 + - *195 - *189 - - *183 - - *184 - *190 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *197 examples: - default: *192 + default: *198 x-github: enabledForGitHubApps: true category: orgs @@ -28869,20 +29343,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *96 - - *187 - - *188 - - *183 - - *184 + - *103 + - *193 + - *194 + - *189 - *190 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *197 examples: - default: *192 + default: *198 x-github: enabledForGitHubApps: true category: orgs @@ -28899,14 +29373,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *96 + - *103 + - *195 - *189 - - *183 - - *184 + - *190 - *19 - *17 - *48 - - *193 + - *199 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -28979,7 +29453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *96 + - *103 responses: '200': description: Response @@ -28987,7 +29461,7 @@ paths: application/json: schema: *22 examples: - default: &515 + default: &519 value: id: 1 account: @@ -29056,7 +29530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -29145,7 +29619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -29153,12 +29627,12 @@ paths: application/json: schema: anyOf: - - &195 + - &201 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &194 + limit: &200 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29183,7 +29657,7 @@ paths: properties: {} additionalProperties: false examples: - default: &196 + default: &202 value: limit: collaborators_only origin: organization @@ -29207,18 +29681,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &516 + schema: &520 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *194 + limit: *200 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29242,9 +29716,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -29262,7 +29736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -29286,7 +29760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *96 + - *103 - *17 - *19 - name: role @@ -29320,9 +29794,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 '404': *6 @@ -29345,7 +29819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *96 + - *103 requestBody: required: false content: @@ -29399,7 +29873,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *203 examples: default: value: @@ -29453,8 +29927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *96 - - &199 + - *103 + - &205 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29484,8 +29958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *96 - - *199 + - *103 + - *205 - *17 - *19 responses: @@ -29495,9 +29969,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: &220 + default: &224 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29532,7 +30006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -29540,7 +30014,7 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: default: value: @@ -29578,7 +30052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -29625,9 +30099,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: &201 + default: &207 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -29659,8 +30133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *96 - - &202 + - *103 + - &208 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -29713,9 +30187,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 '404': *6 '422': *7 x-github: @@ -29739,8 +30213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *96 - - *202 + - *103 + - *208 responses: '204': description: Response @@ -29773,7 +30247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *96 + - *103 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -29803,7 +30277,7 @@ paths: - closed - all default: open - - *203 + - *209 - name: type description: Can be the name of an issue type. in: query @@ -29822,7 +30296,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -29832,9 +30306,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *204 + default: *210 headers: Link: *58 '404': *6 @@ -29856,7 +30330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *96 + - *103 - 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) @@ -29894,7 +30368,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '422': *15 @@ -29914,8 +30388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response if requester is an organization member and user is @@ -29949,8 +30423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -29976,8 +30450,8 @@ paths: parameters: - *17 - *19 - - *96 - - *139 + - *103 + - *63 responses: '200': description: Response @@ -29993,11 +30467,11 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: - default: *207 + default: *212 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30020,9 +30494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *96 - - *139 - - &208 + - *103 + - *63 + - &213 name: codespace_name in: path required: true @@ -30032,7 +30506,7 @@ paths: responses: '202': *39 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30055,17 +30529,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *96 - - *139 - - *208 + - *103 + - *63 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: &444 + default: &448 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30207,7 +30681,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30238,14 +30712,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: - - *96 - - *139 + - *103 + - *63 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *209 + schema: *214 examples: default: value: @@ -30289,7 +30763,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30314,14 +30788,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '200': description: Response content: application/json: - schema: &211 + schema: &216 title: Org Membership description: Org Membership type: object @@ -30365,7 +30839,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *210 + organization: *215 user: title: Simple User description: A GitHub user. @@ -30388,7 +30862,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &212 + response-if-user-has-an-active-admin-membership-with-organization: &217 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30456,8 +30930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 requestBody: required: false content: @@ -30485,9 +30959,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *216 examples: - response-if-user-already-had-membership-with-organization: *212 + response-if-user-already-had-membership-with-organization: *217 '422': *15 '403': *29 x-github: @@ -30511,8 +30985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -30537,7 +31011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *96 + - *103 - *17 - *19 - name: exclude @@ -30558,7 +31032,7 @@ paths: application/json: schema: type: array - items: &213 + items: &218 title: Migration description: A migration. type: object @@ -30599,7 +31073,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *60 + items: *67 url: type: string format: uri @@ -30811,7 +31285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *96 + - *103 requestBody: required: true content: @@ -30887,7 +31361,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -31065,8 +31539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *96 - - &214 + - *103 + - &219 name: migration_id description: The unique identifier of the migration. in: path @@ -31093,7 +31567,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -31262,8 +31736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *96 - - *214 + - *103 + - *219 responses: '302': description: Response @@ -31284,8 +31758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *96 - - *214 + - *103 + - *219 responses: '204': description: Response @@ -31308,9 +31782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *96 - - *214 - - &663 + - *103 + - *219 + - &668 name: repo_name description: repo_name parameter in: path @@ -31337,8 +31811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *96 - - *214 + - *103 + - *219 - *17 - *19 responses: @@ -31348,9 +31822,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: &227 + default: &231 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31487,7 +31961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response - list of organization roles @@ -31503,7 +31977,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &217 + items: &221 title: Organization Role description: Organization roles type: object @@ -31650,14 +32124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *96 - - &215 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *103 + - *65 responses: '204': description: Response @@ -31682,9 +32150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *96 - - *215 - - &216 + - *103 + - *65 + - &220 name: role_id description: The unique identifier of the role. in: path @@ -31719,9 +32187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *96 - - *215 - - *216 + - *103 + - *65 + - *220 responses: '204': description: Response @@ -31746,8 +32214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -31772,9 +32240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *96 - - *139 - - *216 + - *103 + - *63 + - *220 responses: '204': description: Response @@ -31804,9 +32272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *96 - - *139 - - *216 + - *103 + - *63 + - *220 responses: '204': description: Response @@ -31834,14 +32302,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *96 - - *216 + - *103 + - *220 responses: '200': description: Response content: application/json: - schema: *217 + schema: *221 examples: default: value: @@ -31891,8 +32359,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: - - *96 - - *216 + - *103 + - *220 - *17 - *19 responses: @@ -31970,8 +32438,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 nullable: true required: - id @@ -31986,7 +32454,7 @@ paths: - slug - parent examples: - default: *220 + default: *224 headers: Link: *58 '404': @@ -32015,8 +32483,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: - - *96 - - *216 + - *103 + - *220 - *17 - *19 responses: @@ -32044,13 +32512,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &300 + items: &304 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 name: nullable: true type: string @@ -32145,7 +32613,7 @@ paths: - type - url examples: - default: *205 + default: *62 headers: Link: *58 '404': @@ -32169,7 +32637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *96 + - *103 - 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) @@ -32196,7 +32664,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -32221,8 +32689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *96 - - *139 + - *103 + - *63 requestBody: required: false content: @@ -32279,8 +32747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -32337,8 +32805,8 @@ paths: - docker - nuget - container - - *96 - - &665 + - *103 + - &670 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32374,12 +32842,12 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *222 + default: *226 '403': *29 '401': *25 - '400': &667 + '400': &672 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32401,7 +32869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &223 + - &227 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 @@ -32419,20 +32887,20 @@ paths: - docker - nuget - container - - &224 + - &228 name: package_name description: The name of the package. in: path required: true schema: type: string - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: default: value: @@ -32484,9 +32952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 responses: '204': description: Response @@ -32518,9 +32986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 - name: token description: package token schema: @@ -32552,9 +33020,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: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 - *19 - *17 - name: state @@ -32574,7 +33042,7 @@ paths: application/json: schema: type: array - items: &225 + items: &229 title: Package Version description: A version of a software package type: object @@ -32699,10 +33167,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - &226 + - *227 + - *228 + - *103 + - &230 name: package_version_id description: Unique identifier of the package version. in: path @@ -32714,7 +33182,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -32750,10 +33218,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - *226 + - *227 + - *228 + - *103 + - *230 responses: '204': description: Response @@ -32785,10 +33253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - *226 + - *227 + - *228 + - *103 + - *230 responses: '204': description: Response @@ -32815,10 +33283,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: - - *96 + - *103 - *17 - *19 - - &228 + - &232 name: sort description: The property by which to sort the results. in: query @@ -32829,7 +33297,7 @@ paths: - created_at default: created_at - *48 - - &229 + - &233 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -32840,7 +33308,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &230 + - &234 name: repository description: The name of the repository to use to filter the results. in: query @@ -32848,7 +33316,7 @@ paths: schema: type: string example: Hello-World - - &231 + - &235 name: permission description: The permission to use to filter the results. in: query @@ -32856,7 +33324,7 @@ paths: schema: type: string example: issues_read - - &232 + - &236 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) @@ -32866,7 +33334,7 @@ paths: schema: type: string format: date-time - - &233 + - &237 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) @@ -32876,7 +33344,7 @@ paths: schema: type: string format: date-time - - &234 + - &238 name: token_id description: The ID of the token in: query @@ -32888,7 +33356,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33040,7 +33508,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: - - *96 + - *103 requestBody: required: true content: @@ -33081,7 +33549,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33106,7 +33574,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: - - *96 + - *103 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -33142,11 +33610,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33167,7 +33635,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: - - *96 + - *103 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -33178,7 +33646,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *104 '404': *6 '403': *29 '200': @@ -33187,9 +33655,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -33212,19 +33680,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: - - *96 + - *103 - *17 - *19 - - *228 - - *48 - - *229 - - *230 - - *231 - *232 + - *48 - *233 - *234 + - *235 + - *236 + - *237 + - *238 responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33371,7 +33839,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: - - *96 + - *103 requestBody: required: true content: @@ -33406,7 +33874,7 @@ paths: - 1296269 - 1296280 responses: - '500': *97 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -33431,7 +33899,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: - - *96 + - *103 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -33459,9 +33927,9 @@ paths: value: action: revoke responses: - '500': *97 + '500': *104 '404': *6 - '204': *153 + '204': *159 '403': *29 '422': *15 x-github: @@ -33483,7 +33951,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: - - *96 + - *103 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -33493,7 +33961,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *104 '404': *6 '403': *29 '200': @@ -33502,9 +33970,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -33528,7 +33996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -33546,7 +34014,7 @@ paths: type: integer configurations: type: array - items: &235 + items: &239 title: Organization private registry description: Private registry configuration for an organization type: object @@ -33634,7 +34102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -33799,7 +34267,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &236 + org-private-registry-with-selected-visibility: &240 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -33840,7 +34308,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: - - *96 + - *103 responses: '200': description: Response @@ -33888,16 +34356,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *235 + schema: *239 examples: - default: *236 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -33918,8 +34386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -34014,8 +34482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -34040,7 +34508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *96 + - *103 - name: state description: Indicates the state of the projects to return. in: query @@ -34061,7 +34529,7 @@ paths: application/json: schema: type: array - items: &237 + items: &241 title: Project description: Projects are a way to organize columns and cards of work. @@ -34208,7 +34676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *96 + - *103 requestBody: required: true content: @@ -34234,7 +34702,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -34272,7 +34740,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &328 + '410': &332 description: Gone content: application/json: @@ -34298,7 +34766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *96 + - *103 - name: q description: Limit results to projects of the specified type. in: query @@ -34315,7 +34783,7 @@ paths: application/json: schema: type: array - items: &238 + items: &242 title: Projects v2 Project description: A projects v2 project type: object @@ -34385,7 +34853,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &748 + properties: &753 id: type: number description: The unique identifier of the status update. @@ -34433,7 +34901,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &749 + required: &754 - id - node_id - created_at @@ -34458,7 +34926,7 @@ paths: - deleted_at - deleted_by examples: - default: &239 + default: &243 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -34561,22 +35029,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &240 + - &244 name: project_number description: The project's number. in: path required: true schema: type: integer - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -34598,8 +35066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *240 - - *96 + - *244 + - *103 - *17 - *40 - *41 @@ -34610,7 +35078,7 @@ paths: application/json: schema: type: array - items: &241 + items: &245 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -34757,7 +35225,7 @@ paths: - updated_at - project_url examples: - default: &242 + default: &246 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -34800,23 +35268,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *240 - - &678 + - *244 + - &683 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -34839,8 +35307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *240 - - *96 + - *244 + - *103 - 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. @@ -34869,7 +35337,7 @@ paths: application/json: schema: type: array - items: &247 + items: &251 title: Projects v2 Item description: An item belonging to a project type: object @@ -34885,7 +35353,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &246 + content_type: &250 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -34935,7 +35403,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &252 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -35629,8 +36097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *96 - - *240 + - *103 + - *244 requestBody: required: true description: Details of the item to add to the project. @@ -35667,7 +36135,7 @@ paths: description: Response content: application/json: - schema: &679 + schema: &684 title: Projects v2 Item description: An item belonging to a project type: object @@ -35680,8 +36148,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *77 - - &459 + - *84 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -35787,8 +36255,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true active_lock_reason: type: string @@ -35833,7 +36301,7 @@ paths: nullable: true requested_teams: type: array - items: *159 + items: *165 nullable: true head: type: object @@ -35842,7 +36310,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: @@ -35865,7 +36333,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: @@ -35884,7 +36352,7 @@ paths: _links: type: object properties: - comments: &245 + comments: &249 title: Link description: Hypermedia Link type: object @@ -35893,13 +36361,13 @@ paths: type: string required: - href - commits: *245 - statuses: *245 - html: *245 - issue: *245 - review_comments: *245 - review_comment: *245 - self: *245 + commits: *249 + statuses: *249 + html: *249 + issue: *249 + review_comments: *249 + review_comment: *249 + self: *249 required: - comments - commits @@ -35909,8 +36377,8 @@ paths: - review_comments - review_comment - self - author_association: *63 - auto_merge: &561 + author_association: *70 + auto_merge: &565 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36012,7 +36480,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *246 + content_type: *250 creator: *4 created_at: type: string @@ -36045,7 +36513,7 @@ paths: - updated_at - archived_at examples: - default: &680 + default: &685 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36119,9 +36587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *240 - - *96 - - &249 + - *244 + - *103 + - &253 name: item_id description: The unique identifier of the project item. in: path @@ -36144,9 +36612,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -36167,9 +36635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *240 - - *96 - - *249 + - *244 + - *103 + - *253 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36239,9 +36707,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 '401': *25 '403': *29 '404': *6 @@ -36261,9 +36729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *240 - - *96 - - *249 + - *244 + - *103 + - *253 responses: '204': description: Response @@ -36282,12 +36750,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: - - *96 + - *103 responses: '200': description: Response @@ -36295,7 +36763,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36361,7 +36829,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &255 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36404,12 +36872,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: - - *96 + - *103 requestBody: required: true content: @@ -36420,7 +36888,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *254 minItems: 1 maxItems: 100 required: @@ -36450,9 +36918,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 '403': *29 '404': *6 x-github: @@ -36468,13 +36936,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: - - *96 - - &252 + - *103 + - &256 name: custom_property_name description: The custom property name in: path @@ -36486,9 +36954,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: &253 + default: &257 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36517,13 +36985,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: - - *96 - - *252 + - *103 + - *256 requestBody: required: true content: @@ -36592,9 +37060,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: *253 + default: *257 '403': *29 '404': *6 x-github: @@ -36612,15 +37080,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: - - *96 - - *252 + - *103 + - *256 responses: - '204': *153 + '204': *159 '403': *29 '404': *6 x-github: @@ -36641,7 +37109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *96 + - *103 - *17 - *19 - name: repository_query @@ -36679,7 +37147,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &254 + items: &258 title: Custom Property Value description: Custom property name and associated value type: object @@ -36746,7 +37214,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: - - *96 + - *103 requestBody: required: true content: @@ -36766,7 +37234,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *254 + items: *258 required: - repository_names - properties @@ -36807,7 +37275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *96 + - *103 - *17 - *19 responses: @@ -36819,7 +37287,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -36838,8 +37306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response if user is a public member @@ -36863,8 +37331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -36885,8 +37353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -36910,7 +37378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *96 + - *103 - name: type description: Specifies the types of repositories you want returned. in: query @@ -36956,9 +37424,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -36979,7 +37447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *96 + - *103 requestBody: required: true content: @@ -37160,7 +37628,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &334 title: Full Repository description: Full Repository type: object @@ -37437,8 +37905,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *255 - required: *256 + properties: *259 + required: *260 nullable: true temp_clone_token: type: string @@ -37525,8 +37993,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true organization: title: Simple User @@ -37535,8 +38003,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *60 - source: *60 + parent: *67 + source: *67 forks: type: integer master_branch: @@ -37553,7 +38021,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &464 + properties: &468 url: type: string format: uri @@ -37569,12 +38037,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &465 + required: &469 - url - key - name - html_url - security_and_analysis: *257 + security_and_analysis: *261 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37658,7 +38126,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &336 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38176,10 +38644,10 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - *17 - *19 - - &583 + - &588 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38197,7 +38665,7 @@ paths: application/json: schema: type: array - items: &283 + items: &287 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38232,7 +38700,7 @@ paths: source: type: string description: The name of the source - enforcement: &260 + enforcement: &264 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38245,7 +38713,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &261 + items: &265 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38315,7 +38783,7 @@ paths: conditions: nullable: true anyOf: - - &258 + - &262 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38339,7 +38807,7 @@ paths: match. items: type: string - - &262 + - &266 title: Organization ruleset conditions type: object description: |- @@ -38353,7 +38821,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38387,7 +38855,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38409,7 +38877,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38422,7 +38890,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &259 + items: &263 title: Repository ruleset property targeting definition type: object @@ -38455,17 +38923,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *259 + items: *263 required: - repository_property rules: type: array - items: &584 + items: &589 title: Repository Rule type: object description: A repository rule. oneOf: - - &263 + - &267 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38477,7 +38945,7 @@ paths: type: string enum: - creation - - &264 + - &268 title: update description: Only allow users with bypass permission to update matching refs. @@ -38498,7 +38966,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &265 + - &269 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38510,7 +38978,7 @@ paths: type: string enum: - deletion - - &266 + - &270 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38522,7 +38990,7 @@ paths: type: string enum: - required_linear_history - - &582 + - &586 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38600,7 +39068,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &267 + - &271 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38624,7 +39092,7 @@ paths: type: string required: - required_deployment_environments - - &268 + - &272 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38636,7 +39104,7 @@ paths: type: string enum: - required_signatures - - &269 + - &273 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38698,7 +39166,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &270 + - &274 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38746,7 +39214,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &271 + - &275 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38758,7 +39226,7 @@ paths: type: string enum: - non_fast_forward - - &272 + - &276 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38794,7 +39262,7 @@ paths: required: - operator - pattern - - &273 + - &277 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38830,7 +39298,7 @@ paths: required: - operator - pattern - - &274 + - &278 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38866,7 +39334,7 @@ paths: required: - operator - pattern - - &275 + - &279 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38902,7 +39370,7 @@ paths: required: - operator - pattern - - &276 + - &280 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38938,7 +39406,7 @@ paths: required: - operator - pattern - - &277 + - &281 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -38963,7 +39431,7 @@ paths: type: string required: - restricted_file_paths - - &278 + - &282 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -38987,7 +39455,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &279 + - &283 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39010,7 +39478,7 @@ paths: type: string required: - restricted_file_extensions - - &280 + - &284 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39035,7 +39503,7 @@ paths: maximum: 100 required: - max_file_size - - &281 + - &285 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39085,7 +39553,7 @@ paths: - repository_id required: - workflows - - &282 + - &286 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39146,6 +39614,31 @@ paths: - tool required: - code_scanning_tools + - &587 + 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 @@ -39182,7 +39675,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -39198,7 +39691,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 requestBody: description: Request body required: true @@ -39219,24 +39712,20 @@ paths: - push - repository default: branch - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *262 + items: *265 + conditions: *266 rules: type: array description: An array of rules within the ruleset. - items: &285 + items: &289 title: Repository Rule type: object description: A repository rule. oneOf: - - *263 - - *264 - - *265 - - *266 - *267 - *268 - *269 @@ -39253,6 +39742,10 @@ paths: - *280 - *281 - *282 + - *283 + - *284 + - *285 + - *286 required: - name - enforcement @@ -39290,9 +39783,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: &284 + default: &288 value: id: 21 name: super cool ruleset @@ -39332,7 +39825,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -39346,8 +39839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *96 - - &585 + - *103 + - &590 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 @@ -39362,7 +39855,7 @@ paths: in: query schema: type: string - - &586 + - &591 name: time_period description: |- The time period to filter by. @@ -39378,14 +39871,14 @@ paths: - week - month default: day - - &587 + - &592 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 - - &588 + - &593 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -39405,7 +39898,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &594 title: Rule Suites description: Response type: array @@ -39460,7 +39953,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &590 + default: &595 value: - id: 21 actor_id: 12 @@ -39484,7 +39977,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39503,8 +39996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *96 - - &591 + - *103 + - &596 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39520,7 +40013,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &597 title: Rule Suite description: Response type: object @@ -39619,7 +40112,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &593 + default: &598 value: id: 21 actor_id: 12 @@ -39654,7 +40147,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39680,7 +40173,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39692,11 +40185,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 - '500': *97 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -39712,7 +40205,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39738,16 +40231,16 @@ paths: - tag - push - repository - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *262 + items: *265 + conditions: *266 rules: description: An array of rules within the ruleset. type: array - items: *285 + items: *289 examples: default: value: @@ -39782,11 +40275,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 - '500': *97 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -39802,7 +40295,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39813,7 +40306,7 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -39825,7 +40318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *96 + - *103 - *17 - *19 - name: ruleset_id @@ -39841,7 +40334,7 @@ paths: application/json: schema: type: array - items: &286 + items: &290 title: Ruleset version type: object description: The historical version of a ruleset @@ -39865,7 +40358,7 @@ paths: type: string format: date-time examples: - default: &595 + default: &600 value: - version_id: 3 actor: @@ -39883,7 +40376,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39900,7 +40393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39918,9 +40411,9 @@ paths: description: Response content: application/json: - schema: &596 + schema: &601 allOf: - - *286 + - *290 - type: object required: - state @@ -39967,7 +40460,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39989,15 +40482,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *96 - - *287 - - *288 - - *289 - - *290 + - *103 + - *291 + - *292 + - *293 + - *294 - *48 - *19 - *17 - - &597 + - &602 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 @@ -40007,7 +40500,7 @@ paths: required: false schema: type: string - - &598 + - &603 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 @@ -40017,10 +40510,10 @@ paths: required: false schema: type: string - - *291 - - *292 - - *293 - - *294 + - *295 + - *296 + - *297 + - *298 responses: '200': description: Response @@ -40028,13 +40521,13 @@ paths: application/json: schema: type: array - items: *295 + items: *299 examples: - default: *296 + default: *300 headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40059,7 +40552,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *96 + - *103 responses: '200': description: Response @@ -40071,7 +40564,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &298 + pattern_config_version: &302 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40080,7 +40573,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &297 + items: &301 type: object properties: token_type: @@ -40146,7 +40639,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *297 + items: *301 examples: default: value: @@ -40195,7 +40688,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *96 + - *103 requestBody: required: true content: @@ -40203,7 +40696,7 @@ paths: schema: type: object properties: - pattern_config_version: *298 + pattern_config_version: *302 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40229,7 +40722,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *298 + custom_pattern_version: *302 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -40283,7 +40776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *96 + - *103 - *48 - name: sort description: The property to sort the results by. @@ -40327,7 +40820,7 @@ paths: application/json: schema: type: array - items: &619 + items: &624 description: A repository security advisory. type: object properties: @@ -40547,7 +41040,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 credits_detailed: type: array nullable: true @@ -40557,7 +41050,7 @@ paths: type: object properties: user: *4 - type: *299 + type: *303 state: type: string description: The state of the user's acceptance of the @@ -40581,7 +41074,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *159 + items: *165 private_fork: readOnly: true nullable: true @@ -40618,7 +41111,7 @@ paths: - private_fork additionalProperties: false examples: - default: &620 + default: &625 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40997,7 +41490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *96 + - *103 responses: '200': description: Response @@ -41005,9 +41498,9 @@ paths: application/json: schema: type: array - items: *300 + items: *304 examples: - default: *220 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41030,8 +41523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -41056,8 +41549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -41086,13 +41579,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &688 + schema: &693 type: object properties: total_minutes_used: @@ -41162,7 +41655,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &689 + default: &694 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -41192,13 +41685,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &690 + schema: &695 type: object properties: total_gigabytes_bandwidth_used: @@ -41216,7 +41709,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &691 + default: &696 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -41242,13 +41735,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &692 + schema: &697 type: object properties: days_left_in_billing_cycle: @@ -41266,7 +41759,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &693 + default: &698 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41290,7 +41783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -41308,7 +41801,7 @@ paths: type: integer network_configurations: type: array - items: &301 + items: &305 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -41386,7 +41879,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: - - *96 + - *103 requestBody: required: true content: @@ -41428,9 +41921,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &302 + default: &306 value: id: 123456789ABCDEF name: My network configuration @@ -41458,8 +41951,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: - - *96 - - &303 + - *103 + - &307 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -41471,9 +41964,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 headers: Link: *58 x-github: @@ -41494,8 +41987,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: - - *96 - - *303 + - *103 + - *307 requestBody: required: true content: @@ -41534,9 +42027,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41555,8 +42048,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: - - *96 - - *303 + - *103 + - *307 responses: '204': description: Response @@ -41579,7 +42072,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: - - *96 + - *103 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -41663,8 +42156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *96 - - *215 + - *103 + - *65 - 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`). @@ -41696,13 +42189,13 @@ paths: application/json: schema: type: array - items: *304 + items: *308 examples: - default: *305 - '500': *97 + default: *309 + '500': *104 '403': *29 '404': *6 - '422': *306 + '422': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41720,7 +42213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *96 + - *103 - *17 - *19 responses: @@ -41730,9 +42223,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 headers: Link: *58 '403': *29 @@ -41754,7 +42247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *96 + - *103 requestBody: required: true content: @@ -41826,7 +42319,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &311 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41889,8 +42382,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 nullable: true members_count: type: integer @@ -42136,7 +42629,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &312 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42206,16 +42699,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *96 - - *215 + - *103 + - *65 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -42236,8 +42729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *96 - - *215 + - *103 + - *65 requestBody: required: false content: @@ -42299,16 +42792,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '201': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 '422': *15 '403': *29 @@ -42333,8 +42826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -42360,8 +42853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *96 - - *215 + - *103 + - *65 - *48 - *17 - *19 @@ -42378,7 +42871,7 @@ paths: application/json: schema: type: array - items: &309 + items: &313 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -42457,7 +42950,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *64 + reactions: *71 required: - author - body @@ -42477,7 +42970,7 @@ paths: - updated_at - url examples: - default: &637 + default: &642 value: - author: login: octocat @@ -42551,8 +43044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *96 - - *215 + - *103 + - *65 requestBody: required: true content: @@ -42586,9 +43079,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: &310 + default: &314 value: author: login: octocat @@ -42660,9 +43153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *96 - - *215 - - &311 + - *103 + - *65 + - &315 name: discussion_number description: The number that identifies the discussion. in: path @@ -42674,9 +43167,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42698,9 +43191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: false content: @@ -42723,9 +43216,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: &638 + default: &643 value: author: login: octocat @@ -42795,9 +43288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 responses: '204': description: Response @@ -42823,9 +43316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 - *48 - *17 - *19 @@ -42836,7 +43329,7 @@ paths: application/json: schema: type: array - items: &312 + items: &316 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42893,7 +43386,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *64 + reactions: *71 required: - author - body @@ -42908,7 +43401,7 @@ paths: - updated_at - url examples: - default: &639 + default: &644 value: - author: login: octocat @@ -42976,9 +43469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: true content: @@ -43000,9 +43493,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &313 + default: &317 value: author: login: octocat @@ -43068,10 +43561,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - &314 + - *103 + - *65 + - *315 + - &318 name: comment_number description: The number that identifies the comment. in: path @@ -43083,9 +43576,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43107,10 +43600,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 requestBody: required: true content: @@ -43132,9 +43625,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &640 + default: &645 value: author: login: octocat @@ -43198,10 +43691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 responses: '204': description: Response @@ -43227,10 +43720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 - 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. @@ -43256,7 +43749,7 @@ paths: application/json: schema: type: array - items: &315 + items: &319 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -43299,7 +43792,7 @@ paths: - content - created_at examples: - default: &317 + default: &321 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43349,10 +43842,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 requestBody: required: true content: @@ -43385,9 +43878,9 @@ paths: team discussion comment content: application/json: - schema: *315 + schema: *319 examples: - default: &316 + default: &320 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43416,9 +43909,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43441,11 +43934,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *96 - - *215 - - *311 - - *314 - - &318 + - *103 + - *65 + - *315 + - *318 + - &322 name: reaction_id description: The unique identifier of the reaction. in: path @@ -43477,9 +43970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 - 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. @@ -43505,9 +43998,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -43533,9 +44026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: true content: @@ -43567,16 +44060,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43599,10 +44092,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *96 - - *215 - - *311 - - *318 + - *103 + - *65 + - *315 + - *322 responses: '204': description: Response @@ -43626,8 +44119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -43637,9 +44130,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 x-github: @@ -43661,8 +44154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *96 - - *215 + - *103 + - *65 - name: role description: Filters members returned by their role in the team. in: query @@ -43685,7 +44178,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -43715,15 +44208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 responses: '200': description: Response content: application/json: - schema: &319 + schema: &323 title: Team Membership description: Team Membership type: object @@ -43750,7 +44243,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &641 + response-if-user-is-a-team-maintainer: &646 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43786,9 +44279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 requestBody: required: false content: @@ -43813,9 +44306,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-users-membership-with-team-is-now-pending: &642 + response-if-users-membership-with-team-is-now-pending: &647 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43850,9 +44343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 responses: '204': description: Response @@ -43877,8 +44370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -43888,7 +44381,7 @@ paths: application/json: schema: type: array - items: &320 + items: &324 title: Team Project description: A team's access to a project. type: object @@ -43956,7 +44449,7 @@ paths: - updated_at - permissions examples: - default: &643 + default: &648 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44019,9 +44512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *96 - - *215 - - &321 + - *103 + - *65 + - &325 name: project_id description: The unique identifier of the project. in: path @@ -44033,9 +44526,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *324 examples: - default: &644 + default: &649 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44097,9 +44590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *96 - - *215 - - *321 + - *103 + - *65 + - *325 requestBody: required: false content: @@ -44165,9 +44658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *96 - - *215 - - *321 + - *103 + - *65 + - *325 responses: '204': description: Response @@ -44194,8 +44687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -44205,9 +44698,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -44236,16 +44729,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &645 + schema: &650 title: Team Repository description: A team's access to a repository. type: object @@ -44268,8 +44761,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true forks: type: integer @@ -44814,10 +45307,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 requestBody: required: false content: @@ -44862,10 +45355,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 responses: '204': description: Response @@ -44889,8 +45382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -44900,9 +45393,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - response-if-child-teams-exist: &646 + response-if-child-teams-exist: &651 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44955,7 +45448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *96 + - *103 - name: security_product in: path description: The security feature to enable or disable. @@ -45029,7 +45522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &324 + - &328 name: column_id description: The unique identifier of the column. in: path @@ -45041,7 +45534,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &329 title: Project Column description: Project columns contain cards of work. type: object @@ -45087,7 +45580,7 @@ paths: - created_at - updated_at examples: - default: &326 + default: &330 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45122,7 +45615,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *324 + - *328 requestBody: required: true content: @@ -45146,9 +45639,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *329 examples: - default: *326 + default: *330 '304': *37 '403': *29 '401': *25 @@ -45173,7 +45666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *324 + - *328 responses: '204': description: Response @@ -45202,7 +45695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *324 + - *328 requestBody: required: true content: @@ -45262,15 +45755,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *321 + - *325 responses: '200': description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &327 + default: &331 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45327,7 +45820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *321 + - *325 requestBody: required: false content: @@ -45373,9 +45866,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *327 + default: *331 '404': description: Not Found if the authenticated user does not have access to the project @@ -45396,7 +45889,7 @@ paths: items: type: string '401': *25 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -45419,7 +45912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *321 + - *325 responses: '204': description: Delete Success @@ -45440,7 +45933,7 @@ paths: items: type: string '401': *25 - '410': *328 + '410': *332 '404': *6 x-github: githubCloudOnly: false @@ -45464,7 +45957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *321 + - *325 - 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 @@ -45491,7 +45984,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -45521,8 +46014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *321 - - *139 + - *325 + - *63 requestBody: required: false content: @@ -45574,8 +46067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *321 - - *139 + - *325 + - *63 responses: '204': description: Response @@ -45606,8 +46099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *321 - - *139 + - *325 + - *63 responses: '200': description: Response @@ -45680,7 +46173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *321 + - *325 - *17 - *19 responses: @@ -45690,7 +46183,7 @@ paths: application/json: schema: type: array - items: *325 + items: *329 examples: default: value: @@ -45728,7 +46221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *321 + - *325 requestBody: required: true content: @@ -45751,7 +46244,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *329 examples: default: value: @@ -45816,7 +46309,7 @@ paths: resources: type: object properties: - core: &329 + core: &333 title: Rate Limit type: object properties: @@ -45833,21 +46326,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *333 + search: *333 + code_search: *333 + source_import: *333 + integration_manifest: *333 + code_scanning_upload: *333 + actions_runner_registration: *333 + scim: *333 + dependency_snapshots: *333 + dependency_sbom: *333 + code_scanning_autofix: *333 required: - core - search - rate: *329 + rate: *333 required: - rate - resources @@ -45952,14 +46445,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: default-response: summary: Default response @@ -46460,7 +46953,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46478,8 +46971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -46726,10 +47219,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 - '307': &333 + default: *336 + '307': &337 description: Temporary Redirect content: application/json: @@ -46758,8 +47251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -46781,7 +47274,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *337 '404': *6 '409': *47 x-github: @@ -46805,11 +47298,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - - &364 + - &368 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46832,7 +47325,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &338 title: Artifact description: An artifact type: object @@ -46910,7 +47403,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &369 value: total_count: 2 artifacts: @@ -46971,9 +47464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *322 - - *323 - - &335 + - *326 + - *327 + - &339 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46985,7 +47478,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -47023,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *322 - - *323 - - *335 + - *326 + - *327 + - *339 responses: '204': description: Response @@ -47049,9 +47542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *322 - - *323 - - *335 + - *326 + - *327 + - *339 - name: archive_format in: path required: true @@ -47065,7 +47558,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': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47088,14 +47581,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -47121,11 +47614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - - &337 + - &341 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 @@ -47159,7 +47652,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &342 title: Repository actions caches description: Repository actions caches type: object @@ -47201,7 +47694,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &343 value: total_count: 1 actions_caches: @@ -47233,23 +47726,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: - - *322 - - *323 + - *326 + - *327 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *341 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *339 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47269,8 +47762,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: - - *322 - - *323 + - *326 + - *327 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47301,9 +47794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *322 - - *323 - - &340 + - *326 + - *327 + - &344 name: job_id description: The unique identifier of the job. in: path @@ -47315,7 +47808,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &372 title: Job description: Information of a job execution in a workflow run type: object @@ -47622,9 +48115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *322 - - *323 - - *340 + - *326 + - *327 + - *344 responses: '302': description: Response @@ -47652,9 +48145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *322 - - *323 - - *340 + - *326 + - *327 + - *344 requestBody: required: false content: @@ -47675,7 +48168,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -47699,8 +48192,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Status response @@ -47750,8 +48243,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -47785,7 +48278,7 @@ paths: description: Empty response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -47814,8 +48307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -47833,7 +48326,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &374 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47853,7 +48346,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &375 value: total_count: 2 secrets: @@ -47886,9 +48379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *322 - - *323 - - *341 + - *326 + - *327 + - *345 - *19 responses: '200': @@ -47905,7 +48398,7 @@ paths: type: integer variables: type: array - items: &374 + items: &378 title: Actions Variable type: object properties: @@ -47935,7 +48428,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &379 value: total_count: 2 variables: @@ -47968,8 +48461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -47978,12 +48471,12 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &347 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *111 - selected_actions_url: *342 - sha_pinning_required: *112 + allowed_actions: *118 + selected_actions_url: *346 + sha_pinning_required: *119 required: - enabled examples: @@ -48011,8 +48504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48023,9 +48516,9 @@ paths: schema: type: object properties: - enabled: *343 - allowed_actions: *111 - sha_pinning_required: *112 + enabled: *347 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled examples: @@ -48055,14 +48548,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &344 + schema: &348 type: object properties: access_level: @@ -48079,7 +48572,7 @@ paths: required: - access_level examples: - default: &345 + default: &349 value: access_level: organization x-github: @@ -48103,15 +48596,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *344 + schema: *348 examples: - default: *345 + default: *349 responses: '204': description: Response @@ -48135,14 +48628,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: default: value: @@ -48166,8 +48659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Empty response for successful settings update @@ -48177,7 +48670,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *351 examples: default: summary: Set retention days @@ -48201,16 +48694,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *113 + schema: *120 examples: - default: *348 + default: *352 '404': *6 x-github: enabledForGitHubApps: true @@ -48229,8 +48722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48240,7 +48733,7 @@ paths: required: true content: application/json: - schema: *113 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -48264,16 +48757,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *349 + schema: *353 examples: - default: *114 + default: *121 '403': *29 '404': *6 x-github: @@ -48293,15 +48786,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *350 + schema: *354 examples: - default: *114 + default: *121 responses: '204': description: Empty response for successful settings update @@ -48325,16 +48818,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: *117 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48353,8 +48846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48362,9 +48855,9 @@ paths: required: false content: application/json: - schema: *116 + schema: *123 examples: - selected_actions: *117 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48386,16 +48879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *351 + schema: *355 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48416,8 +48909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Success response @@ -48428,9 +48921,9 @@ paths: required: true content: application/json: - schema: *352 + schema: *356 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48457,8 +48950,8 @@ paths: in: query schema: type: string - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -48476,9 +48969,9 @@ paths: type: integer runners: type: array - items: *128 + items: *135 examples: - default: *129 + default: *136 headers: Link: *58 x-github: @@ -48502,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -48511,9 +49004,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48535,8 +49028,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -48579,7 +49072,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *359 '404': *6 '422': *7 '409': *47 @@ -48610,16 +49103,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: *356 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48647,16 +49140,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48678,17 +49171,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: '200': description: Response content: application/json: - schema: *128 + schema: *135 examples: - default: *358 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48709,9 +49202,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: '204': description: Response @@ -48737,11 +49230,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: - '200': *132 + '200': *139 '404': *6 x-github: githubCloudOnly: false @@ -48763,9 +49256,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 requestBody: required: true content: @@ -48789,7 +49282,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48813,9 +49306,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 requestBody: required: true content: @@ -48840,7 +49333,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48864,11 +49357,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: - '200': *359 + '200': *363 '404': *6 x-github: githubCloudOnly: false @@ -48895,12 +49388,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: - - *322 - - *323 - - *127 - - *360 + - *326 + - *327 + - *134 + - *364 responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48926,9 +49419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *322 - - *323 - - &378 + - *326 + - *327 + - &382 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. @@ -48936,7 +49429,7 @@ paths: required: false schema: type: string - - &379 + - &383 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48944,7 +49437,7 @@ paths: required: false schema: type: string - - &380 + - &384 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48953,7 +49446,7 @@ paths: required: false schema: type: string - - &381 + - &385 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 @@ -48980,7 +49473,7 @@ paths: - pending - *17 - *19 - - &382 + - &386 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)." @@ -48989,7 +49482,7 @@ paths: schema: type: string format: date-time - - &361 + - &365 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48998,13 +49491,13 @@ paths: schema: type: boolean default: false - - &383 + - &387 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &388 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49027,7 +49520,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &366 title: Workflow Run description: An invocation of a workflow type: object @@ -49122,7 +49615,7 @@ paths: that triggered the run. type: array nullable: true - items: &403 + items: &407 title: Pull Request Minimal type: object properties: @@ -49241,7 +49734,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &407 + properties: &411 id: type: string description: SHA for the commit @@ -49292,7 +49785,7 @@ paths: - name - email nullable: true - required: &408 + required: &412 - id - tree_id - message @@ -49300,8 +49793,8 @@ paths: - author - committer nullable: true - repository: *126 - head_repository: *126 + repository: *133 + head_repository: *133 head_repository_id: type: integer example: 5 @@ -49339,7 +49832,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &389 value: total_count: 1 workflow_runs: @@ -49575,24 +50068,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *322 - - *323 - - &363 + - *326 + - *327 + - &367 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *365 responses: '200': description: Response content: application/json: - schema: *362 + schema: *366 examples: - default: &366 + default: &370 value: id: 30433642 name: Build @@ -49833,9 +50326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '204': description: Response @@ -49858,9 +50351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -49979,15 +50472,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: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50014,12 +50507,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 - *17 - *19 - - *364 + - *368 responses: '200': description: Response @@ -50035,9 +50528,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *338 examples: - default: *365 + default: *369 headers: Link: *58 x-github: @@ -50061,25 +50554,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *322 - - *323 - - *363 - - &367 + - *326 + - *327 + - *367 + - &371 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *365 responses: '200': description: Response content: application/json: - schema: *362 + schema: *366 examples: - default: *366 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50102,10 +50595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *322 - - *323 - - *363 + - *326 + - *327 - *367 + - *371 - *17 - *19 responses: @@ -50123,9 +50616,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *372 examples: - default: &369 + default: &373 value: total_count: 1 jobs: @@ -50238,10 +50731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 - *367 + - *371 responses: '302': description: Response @@ -50269,15 +50762,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '202': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50304,9 +50797,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: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: true content: @@ -50373,15 +50866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '202': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50408,9 +50901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 - 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 @@ -50440,9 +50933,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *372 examples: - default: *369 + default: *373 headers: Link: *58 x-github: @@ -50467,9 +50960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '302': description: Response @@ -50496,14 +50989,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '204': description: Response '403': *29 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50525,9 +51018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -50587,7 +51080,7 @@ paths: items: type: object properties: - type: &485 + type: &489 type: string description: The type of reviewer. enum: @@ -50597,7 +51090,7 @@ paths: reviewer: anyOf: - *4 - - *159 + - *165 required: - environment - wait_timer @@ -50672,9 +51165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: true content: @@ -50721,7 +51214,7 @@ paths: application/json: schema: type: array - items: &480 + items: &484 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50809,8 +51302,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -50827,7 +51320,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &485 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50883,9 +51376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: false content: @@ -50906,7 +51399,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50929,9 +51422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: false content: @@ -50952,7 +51445,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50984,9 +51477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -51123,8 +51616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -51142,9 +51635,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *58 x-github: @@ -51169,16 +51662,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *372 + schema: *376 examples: - default: *373 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51200,17 +51693,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: &498 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51236,9 +51729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -51269,7 +51762,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -51295,9 +51788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -51322,9 +51815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *322 - - *323 - - *341 + - *326 + - *327 + - *345 - *19 responses: '200': @@ -51341,9 +51834,9 @@ paths: type: integer variables: type: array - items: *374 + items: *378 examples: - default: *375 + default: *379 headers: Link: *58 x-github: @@ -51366,8 +51859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -51394,7 +51887,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -51419,17 +51912,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 responses: '200': description: Response content: application/json: - schema: *374 + schema: *378 examples: - default: &499 + default: &503 value: name: USERNAME value: octocat @@ -51455,9 +51948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 requestBody: required: true content: @@ -51499,9 +51992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 responses: '204': description: Response @@ -51526,8 +52019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -51545,7 +52038,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &380 title: Workflow description: A GitHub Actions workflow type: object @@ -51652,9 +52145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *322 - - *323 - - &377 + - *326 + - *327 + - &381 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51669,7 +52162,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *380 examples: default: value: @@ -51702,9 +52195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51729,9 +52222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51782,9 +52275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51811,19 +52304,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *322 - - *323 - - *377 - - *378 - - *379 - - *380 + - *326 + - *327 - *381 - - *17 - - *19 - *382 - - *361 - *383 - *384 + - *385 + - *17 + - *19 + - *386 + - *365 + - *387 + - *388 responses: '200': description: Response @@ -51839,9 +52332,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *366 examples: - default: *385 + default: *389 headers: Link: *58 x-github: @@ -51873,9 +52366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '200': description: Response @@ -51936,8 +52429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *322 - - *323 + - *326 + - *327 - *48 - *17 - *40 @@ -52101,8 +52594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -52114,7 +52607,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -52139,8 +52632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *322 - - *323 + - *326 + - *327 - name: assignee in: path required: true @@ -52176,8 +52669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -52289,8 +52782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *40 - *41 @@ -52344,7 +52837,7 @@ paths: bundle_url: type: string examples: - default: *386 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,8 +52857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -52373,7 +52866,7 @@ paths: application/json: schema: type: array - items: &387 + items: &391 title: Autolink reference description: An autolink reference. type: object @@ -52427,8 +52920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -52467,9 +52960,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *391 examples: - default: &388 + default: &392 value: id: 1 key_prefix: TICKET- @@ -52500,9 +52993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *322 - - *323 - - &389 + - *326 + - *327 + - &393 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52514,9 +53007,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *391 examples: - default: *388 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -52536,9 +53029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *322 - - *323 - - *389 + - *326 + - *327 + - *393 responses: '204': description: Response @@ -52562,8 +53055,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response if Dependabot is enabled @@ -52611,8 +53104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -52633,8 +53126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -52654,8 +53147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *322 - - *323 + - *326 + - *327 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52693,7 +53186,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &395 title: Branch Protection description: Branch Protection type: object @@ -52735,7 +53228,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &398 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52750,7 +53243,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &400 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52771,7 +53264,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *159 + items: *165 apps: description: The list of apps with review dismissal access. @@ -52800,7 +53293,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *159 + items: *165 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52826,7 +53319,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &397 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52889,7 +53382,7 @@ paths: type: string teams: type: array - items: *159 + items: *165 apps: type: array items: @@ -53103,9 +53596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *322 - - *323 - - &392 + - *326 + - *327 + - &396 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). @@ -53119,14 +53612,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &406 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &455 + commit: &459 title: Commit description: Commit type: object @@ -53160,7 +53653,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &390 + properties: &394 name: type: string example: '"Chris Wanstrath"' @@ -53175,7 +53668,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true message: type: string @@ -53196,7 +53689,7 @@ paths: required: - sha - url - verification: &505 + verification: &509 title: Verification type: object properties: @@ -53230,12 +53723,12 @@ paths: nullable: true oneOf: - *4 - - *135 + - *142 committer: nullable: true oneOf: - *4 - - *135 + - *142 parents: type: array items: @@ -53266,7 +53759,7 @@ paths: type: integer files: type: array - items: &468 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -53350,7 +53843,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *395 protection_url: type: string format: uri @@ -53457,7 +53950,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *335 '404': *6 x-github: githubCloudOnly: false @@ -53479,15 +53972,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *391 + schema: *395 examples: default: value: @@ -53681,9 +54174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -53938,7 +54431,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &403 title: Status Check Policy description: Status Check Policy type: object @@ -54014,7 +54507,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 apps: type: array items: *5 @@ -54032,7 +54525,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 apps: type: array items: *5 @@ -54090,7 +54583,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *397 required_conversation_resolution: type: object properties: @@ -54202,9 +54695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54229,17 +54722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: &395 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54261,17 +54754,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *395 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54290,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54317,17 +54810,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *400 examples: - default: &397 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54423,9 +54916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54523,9 +55016,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *400 examples: - default: *397 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -54546,9 +55039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54575,17 +55068,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: &398 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54608,17 +55101,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *398 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -54638,9 +55131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54665,17 +55158,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: &400 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54701,9 +55194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54755,9 +55248,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: *400 + default: *404 '404': *6 '422': *15 x-github: @@ -54779,9 +55272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54805,9 +55298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -54841,9 +55334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54910,9 +55403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54976,9 +55469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: content: application/json: @@ -55044,15 +55537,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *393 + schema: *397 examples: default: value: @@ -55143,9 +55636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -55168,9 +55661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55180,7 +55673,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &405 value: - id: 1 slug: octoapp @@ -55237,9 +55730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55273,7 +55766,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55294,9 +55787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55330,7 +55823,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55351,9 +55844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55387,7 +55880,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55409,9 +55902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55419,9 +55912,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '404': *6 x-github: githubCloudOnly: false @@ -55441,9 +55934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -55479,9 +55972,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55502,9 +55995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -55540,9 +56033,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55563,9 +56056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: content: application/json: @@ -55600,9 +56093,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55624,9 +56117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55636,7 +56129,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '404': *6 x-github: githubCloudOnly: false @@ -55660,9 +56153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55695,7 +56188,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55720,9 +56213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55755,7 +56248,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55780,9 +56273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55815,7 +56308,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55842,9 +56335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55866,7 +56359,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *406 examples: default: value: @@ -55982,8 +56475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -56262,7 +56755,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &408 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56373,16 +56866,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *403 - deployment: &706 + items: *407 + deployment: &711 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56449,8 +56942,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -56662,9 +57155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *322 - - *323 - - &405 + - *326 + - *327 + - &409 name: check_run_id description: The unique identifier of the check run. in: path @@ -56676,9 +57169,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: &406 + default: &410 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56778,9 +57271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 requestBody: required: true content: @@ -57020,9 +57513,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: *406 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57042,9 +57535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 - *17 - *19 responses: @@ -57139,15 +57632,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -57185,8 +57678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -57208,7 +57701,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &409 + schema: &413 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57272,7 +57765,7 @@ paths: nullable: true pull_requests: type: array - items: *403 + items: *407 nullable: true app: title: GitHub app @@ -57283,9 +57776,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - repository: *126 + properties: *68 + required: *69 + repository: *133 created_at: type: string format: date-time @@ -57294,12 +57787,12 @@ paths: type: string format: date-time nullable: true - head_commit: &732 + head_commit: &737 title: Simple Commit description: A commit. type: object - properties: *407 - required: *408 + properties: *411 + required: *412 latest_check_runs_count: type: integer check_runs_url: @@ -57327,7 +57820,7 @@ paths: - check_runs_url - pull_requests examples: - default: &410 + default: &414 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57618,9 +58111,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57639,8 +58132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -57701,7 +58194,7 @@ paths: required: - app_id - setting - repository: *126 + repository: *133 examples: default: value: @@ -57949,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *322 - - *323 - - &411 + - *326 + - *327 + - &415 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57963,9 +58456,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57988,17 +58481,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *322 - - *323 - - *411 - - &461 + - *326 + - *327 + - *415 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &462 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -58037,9 +58530,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *408 examples: - default: &463 + default: &467 value: total_count: 1 check_runs: @@ -58141,15 +58634,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *322 - - *323 - - *411 + - *326 + - *327 + - *415 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -58176,21 +58669,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *322 - - *323 - - *412 - - *413 + - *326 + - *327 + - *416 + - *417 - *19 - *17 - - &430 + - &434 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: *414 - - &431 + schema: *418 + - &435 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58215,13 +58708,13 @@ paths: be returned. in: query required: false - schema: *415 + schema: *419 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *416 + schema: *420 responses: '200': description: Response @@ -58234,12 +58727,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: *417 - state: *148 - fixed_at: *144 + instances_url: *421 + state: *154 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -58247,12 +58740,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: *418 - dismissed_comment: *419 - rule: *420 - tool: *421 - most_recent_instance: *422 + dismissed_at: *151 + dismissed_reason: *422 + dismissed_comment: *423 + rule: *424 + tool: *425 + most_recent_instance: *426 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58375,14 +58868,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &423 + '403': &427 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58402,9 +58895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *322 - - *323 - - &424 + - *326 + - *327 + - &428 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58418,17 +58911,17 @@ paths: description: Response content: application/json: - schema: &425 + schema: &429 type: object properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: *417 - state: *148 - fixed_at: *144 + instances_url: *421 + state: *154 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -58436,9 +58929,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_at: *151 + dismissed_reason: *422 + dismissed_comment: *423 rule: type: object properties: @@ -58492,8 +58985,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *421 - most_recent_instance: *422 + tool: *425 + most_recent_instance: *426 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58589,9 +59082,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58609,9 +59102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: true content: @@ -58626,8 +59119,8 @@ paths: enum: - open - dismissed - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *422 + dismissed_comment: *423 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -58646,7 +59139,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *429 examples: default: value: @@ -58722,14 +59215,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &429 + '403': &433 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': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58749,15 +59242,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 responses: '200': description: Response content: application/json: - schema: &426 + schema: &430 type: object properties: status: @@ -58783,13 +59276,13 @@ paths: - description - started_at examples: - default: &427 + default: &431 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &428 + '400': &432 description: Bad Request content: application/json: @@ -58800,9 +59293,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': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58825,29 +59318,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 responses: '200': description: OK content: application/json: - schema: *426 + schema: *430 examples: - default: *427 + default: *431 '202': description: Accepted content: application/json: - schema: *426 + schema: *430 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *428 + '400': *432 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -58857,7 +59350,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58879,9 +59372,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: false content: @@ -58926,12 +59419,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *428 - '403': *429 + '400': *432 + '403': *433 '404': *6 '422': description: Unprocessable Entity - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58951,13 +59444,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 - *19 - *17 - - *430 - - *431 + - *434 + - *435 responses: '200': description: Response @@ -58965,7 +59458,7 @@ paths: application/json: schema: type: array - items: *422 + items: *426 examples: default: value: @@ -59004,9 +59497,9 @@ paths: end_column: 50 classifications: - source - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59038,25 +59531,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *322 - - *323 - - *412 - - *413 + - *326 + - *327 + - *416 + - *417 - *19 - *17 - - *431 + - *435 - 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: *414 + schema: *418 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &434 + schema: &438 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59077,23 +59570,23 @@ paths: application/json: schema: type: array - items: &435 + items: &439 type: object properties: - ref: *414 - commit_sha: &443 + ref: *418 + commit_sha: &447 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: *432 + analysis_key: *436 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *433 + category: *437 error: type: string example: error reading field xyz @@ -59117,8 +59610,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *434 - tool: *421 + sarif_id: *438 + tool: *425 deletable: type: boolean warning: @@ -59179,9 +59672,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59215,8 +59708,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: - - *322 - - *323 + - *326 + - *327 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59229,7 +59722,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: response: summary: application/json response @@ -59283,14 +59776,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *423 + '403': *427 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59370,8 +59863,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: - - *322 - - *323 + - *326 + - *327 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59424,9 +59917,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': *429 + '403': *433 '404': *6 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59446,8 +59939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -59455,7 +59948,7 @@ paths: application/json: schema: type: array - items: &436 + items: &440 title: CodeQL Database description: A CodeQL database. type: object @@ -59566,9 +60059,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': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59595,8 +60088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: language in: path description: The language of the CodeQL database. @@ -59608,7 +60101,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: default: value: @@ -59640,11 +60133,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': &470 + '302': &474 description: Found - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59664,8 +60157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *322 - - *323 + - *326 + - *327 - name: language in: path description: The language of the CodeQL database. @@ -59675,9 +60168,9 @@ paths: responses: '204': description: Response - '403': *429 + '403': *433 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59703,8 +60196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -59713,7 +60206,7 @@ paths: type: object additionalProperties: false properties: - language: &437 + language: &441 type: string description: The language targeted by the CodeQL query enum: @@ -59792,7 +60285,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &441 + schema: &445 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59802,7 +60295,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *437 + query_language: *441 query_pack_url: type: string description: The download url for the query pack. @@ -59849,7 +60342,7 @@ paths: items: type: object properties: - repository: &438 + repository: &442 title: Repository Identifier description: Repository Identifier type: object @@ -59885,7 +60378,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &442 + analysis_status: &446 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59917,7 +60410,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &439 + access_mismatch_repos: &443 type: object properties: repository_count: @@ -59931,7 +60424,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: *438 + items: *442 required: - repository_count - repositories @@ -59953,8 +60446,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *439 - over_limit_repos: *439 + no_codeql_db_repos: *443 + over_limit_repos: *443 required: - access_mismatch_repos - not_found_repos @@ -59970,7 +60463,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &440 + value: &444 summary: Default response value: id: 1 @@ -60122,17 +60615,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *440 + value: *444 repository_lists: summary: Response for a successful variant analysis submission - value: *440 + value: *444 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60153,8 +60646,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: - - *322 - - *323 + - *326 + - *327 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60166,11 +60659,11 @@ paths: description: Response content: application/json: - schema: *441 + schema: *445 examples: - default: *440 + default: *444 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60191,7 +60684,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: - - *322 + - *326 - name: repo in: path description: The name of the controller repository. @@ -60226,7 +60719,7 @@ paths: type: object properties: repository: *53 - analysis_status: *442 + analysis_status: *446 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60330,7 +60823,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60351,8 +60844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -60437,9 +60930,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60458,8 +60951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -60526,7 +61019,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -60551,7 +61044,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *429 + '403': *433 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60565,7 +61058,7 @@ paths: content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60622,8 +61115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -60631,7 +61124,7 @@ paths: schema: type: object properties: - commit_sha: *443 + commit_sha: *447 ref: type: string description: |- @@ -60689,7 +61182,7 @@ paths: schema: type: object properties: - id: *434 + id: *438 url: type: string description: The REST API URL for checking the status of the upload. @@ -60703,11 +61196,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': *429 + '403': *433 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60726,8 +61219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *322 - - *323 + - *326 + - *327 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60773,10 +61266,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': *423 + '403': *427 '404': description: Not Found if the sarif id does not match any upload - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60798,8 +61291,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -60855,7 +61348,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': *153 + '204': *159 '304': *37 '403': *29 '404': *6 @@ -60880,8 +61373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *322 - - *323 + - *326 + - *327 - 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 @@ -61001,8 +61494,8 @@ paths: parameters: - *17 - *19 - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -61018,7 +61511,7 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: default: value: @@ -61294,7 +61787,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': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -61316,8 +61809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -61380,22 +61873,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61419,8 +61912,8 @@ paths: parameters: - *17 - *19 - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -61460,7 +61953,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *97 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -61484,8 +61977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61520,14 +62013,14 @@ paths: type: integer machines: type: array - items: &653 + items: &658 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *449 + required: *450 examples: - default: &654 + default: &659 value: total_count: 2 machines: @@ -61544,7 +62037,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -61567,8 +62060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *322 - - *323 + - *326 + - *327 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61652,8 +62145,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: - - *322 - - *323 + - *326 + - *327 - 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 @@ -61698,7 +62191,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61719,8 +62212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -61738,7 +62231,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &454 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61758,7 +62251,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *451 headers: Link: *58 x-github: @@ -61781,16 +62274,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *448 + schema: *452 examples: - default: *449 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61810,17 +62303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *450 + schema: *454 examples: - default: *451 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61840,9 +62333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -61870,7 +62363,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -61894,9 +62387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -61924,8 +62417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *322 - - *323 + - *326 + - *327 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61967,7 +62460,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &452 + properties: &456 login: type: string example: octocat @@ -62060,7 +62553,7 @@ paths: user_view_type: type: string example: public - required: &453 + required: &457 - avatar_url - events_url - followers_url @@ -62134,9 +62627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '204': description: Response if user is a collaborator @@ -62182,9 +62675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 requestBody: required: false content: @@ -62210,7 +62703,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &518 + schema: &522 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62221,7 +62714,7 @@ paths: example: 42 type: integer format: int64 - repository: *126 + repository: *133 invitee: title: Simple User description: A GitHub user. @@ -62399,7 +62892,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *100 + schema: *107 '403': *29 x-github: triggersNotification: true @@ -62439,9 +62932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62472,9 +62965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '200': description: if user has admin permissions @@ -62494,8 +62987,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *452 - required: *453 + properties: *456 + required: *457 nullable: true required: - permission @@ -62550,8 +63043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -62561,7 +63054,7 @@ paths: application/json: schema: type: array - items: &454 + items: &458 title: Commit Comment description: Commit Comment type: object @@ -62602,8 +63095,8 @@ paths: updated_at: type: string format: date-time - author_association: *63 - reactions: *64 + author_association: *70 + reactions: *71 required: - url - html_url @@ -62619,7 +63112,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62678,17 +63171,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: &458 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62745,9 +63238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -62769,7 +63262,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: default: value: @@ -62820,9 +63313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -62843,9 +63336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -62871,9 +63364,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -62894,9 +63387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -62928,16 +63421,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -62959,10 +63452,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -63011,8 +63504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *322 - - *323 + - *326 + - *327 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63068,9 +63561,9 @@ paths: application/json: schema: type: array - items: *455 + items: *459 examples: - default: &568 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63141,7 +63634,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *97 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -63164,9 +63657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *322 - - *323 - - &456 + - *326 + - *327 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -63238,9 +63731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 - *17 - *19 responses: @@ -63250,9 +63743,9 @@ paths: application/json: schema: type: array - items: *454 + items: *458 examples: - default: *457 + default: *461 headers: Link: *58 x-github: @@ -63280,9 +63773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 requestBody: required: true content: @@ -63317,9 +63810,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *458 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63347,9 +63840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 - *17 - *19 responses: @@ -63359,9 +63852,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: &560 + default: &564 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63898,11 +64391,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 - - &460 + - &464 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)" @@ -63917,9 +64410,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: &547 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64005,8 +64498,8 @@ paths: ..... '422': *15 '404': *6 - '500': *97 - '503': *65 + '500': *104 + '503': *72 '409': *47 x-github: githubCloudOnly: false @@ -64032,11 +64525,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *322 - - *323 - - *460 - - *461 - - *462 + - *326 + - *327 + - *464 + - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64070,9 +64563,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *408 examples: - default: *463 + default: *467 headers: Link: *58 x-github: @@ -64097,9 +64590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64107,7 +64600,7 @@ paths: schema: type: integer example: 1 - - *461 + - *465 - *17 - *19 responses: @@ -64125,7 +64618,7 @@ paths: type: integer check_suites: type: array - items: *409 + items: *413 examples: default: value: @@ -64325,9 +64818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - *17 - *19 responses: @@ -64394,7 +64887,7 @@ paths: type: string total_count: type: integer - repository: *126 + repository: *133 commit_url: type: string format: uri @@ -64525,9 +65018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - *17 - *19 responses: @@ -64537,7 +65030,7 @@ paths: application/json: schema: type: array - items: &624 + items: &629 title: Status description: The status of a commit. type: object @@ -64618,7 +65111,7 @@ paths: site_admin: false headers: Link: *58 - '301': *331 + '301': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64646,8 +65139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -64676,20 +65169,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *464 - required: *465 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &466 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &467 + required: &471 - url - html_url nullable: true @@ -64697,32 +65190,32 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true contributing: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -64849,8 +65342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 - name: basehead @@ -64893,8 +65386,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *455 - merge_base_commit: *455 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -64914,10 +65407,10 @@ paths: example: 6 commits: type: array - items: *455 + items: *459 files: type: array - items: *468 + items: *472 required: - url - html_url @@ -65160,8 +65653,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65203,8 +65696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -65347,7 +65840,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &469 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -65479,7 +65972,7 @@ paths: - size - type - url - - &573 + - &577 title: Content File description: Content File type: object @@ -65680,7 +66173,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *469 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65749,7 +66242,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *470 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -65772,8 +66265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -65866,7 +66359,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &475 title: File Commit description: File Commit type: object @@ -66018,7 +66511,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: example-for-creating-a-file: value: @@ -66072,7 +66565,7 @@ paths: schema: oneOf: - *3 - - &500 + - &504 description: Repository rule violation was detected type: object properties: @@ -66093,7 +66586,7 @@ paths: items: type: object properties: - placeholder_id: &616 + placeholder_id: &621 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66125,8 +66618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -66187,7 +66680,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: default: value: @@ -66222,7 +66715,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66242,8 +66735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *322 - - *323 + - *326 + - *327 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66366,22 +66859,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *322 - - *323 - - *160 - - *161 - - *162 - - *163 + - *326 + - *327 + - *166 + - *167 + - *168 + - *169 - 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 - - *164 - - *165 - - *166 - - *167 + - *170 + - *171 + - *172 + - *173 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66401,8 +66894,8 @@ paths: default: 30 - *40 - *41 - - *168 - - *169 + - *174 + - *175 responses: '200': description: Response @@ -66410,7 +66903,7 @@ paths: application/json: schema: type: array - items: &474 + items: &478 type: object description: A Dependabot alert. properties: @@ -66456,13 +66949,13 @@ paths: - unknown - direct - transitive - security_advisory: *472 + security_advisory: *476 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *143 - dismissed_at: *145 + updated_at: *149 + dismissed_at: *151 dismissed_by: title: Simple User description: A GitHub user. @@ -66486,8 +66979,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: *473 + fixed_at: *150 + auto_dismissed_at: *477 required: - number - state @@ -66717,9 +67210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *322 - - *323 - - &475 + - *326 + - *327 + - &479 name: alert_number in: path description: |- @@ -66734,7 +67227,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *478 examples: default: value: @@ -66847,9 +67340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *322 - - *323 - - *475 + - *326 + - *327 + - *479 requestBody: required: true content: @@ -66894,7 +67387,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *478 examples: default: value: @@ -67023,8 +67516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -67042,7 +67535,7 @@ paths: type: integer secrets: type: array - items: &478 + items: &482 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67095,16 +67588,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *476 + schema: *480 examples: - default: *477 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67124,15 +67617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: default: value: @@ -67158,9 +67651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -67188,7 +67681,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -67212,9 +67705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -67236,8 +67729,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: - - *322 - - *323 + - *326 + - *327 - 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 @@ -67397,8 +67890,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -67637,8 +68130,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -67713,7 +68206,7 @@ paths: - version - url additionalProperties: false - metadata: &479 + metadata: &483 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67746,7 +68239,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *479 + metadata: *483 resolved: type: object description: A collection of resolved package dependencies. @@ -67759,7 +68252,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *479 + metadata: *483 relationship: type: string description: A notation of whether a dependency is requested @@ -67888,8 +68381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *322 - - *323 + - *326 + - *327 - name: sha description: The SHA recorded at creation time. in: query @@ -67929,9 +68422,9 @@ paths: application/json: schema: type: array - items: *480 + items: *484 examples: - default: *481 + default: *485 headers: Link: *58 x-github: @@ -67997,8 +68490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -68079,7 +68572,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *484 examples: simple-example: summary: Simple example @@ -68152,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *322 - - *323 - - &482 + - *326 + - *327 + - &486 name: deployment_id description: deployment_id parameter in: path @@ -68166,7 +68659,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *484 examples: default: value: @@ -68231,9 +68724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 responses: '204': description: Response @@ -68255,9 +68748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 - *17 - *19 responses: @@ -68267,7 +68760,7 @@ paths: application/json: schema: type: array - items: &483 + items: &487 title: Deployment Status description: The status of a deployment. type: object @@ -68358,8 +68851,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -68428,9 +68921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 requestBody: required: true content: @@ -68505,9 +68998,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *487 examples: - default: &484 + default: &488 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68563,9 +69056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 - name: status_id in: path required: true @@ -68576,9 +69069,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *487 examples: - default: *484 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68603,8 +69096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -68661,8 +69154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -68679,7 +69172,7 @@ paths: type: integer environments: type: array - items: &486 + items: &490 title: Environment description: Details of a deployment environment type: object @@ -68731,7 +69224,7 @@ paths: type: type: string example: wait_timer - wait_timer: &488 + wait_timer: &492 type: integer example: 30 description: The amount of time to delay a job after @@ -68768,11 +69261,11 @@ paths: items: type: object properties: - type: *485 + type: *489 reviewer: anyOf: - *4 - - *159 + - *165 required: - id - node_id @@ -68792,7 +69285,7 @@ paths: - id - node_id - type - deployment_branch_policy: &489 + deployment_branch_policy: &493 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -68908,9 +69401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *322 - - *323 - - &487 + - *326 + - *327 + - &491 name: environment_name in: path required: true @@ -68923,9 +69416,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &490 + default: &494 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69009,9 +69502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: false content: @@ -69020,7 +69513,7 @@ paths: type: object nullable: true properties: - wait_timer: *488 + wait_timer: *492 prevent_self_review: type: boolean example: false @@ -69037,13 +69530,13 @@ paths: items: type: object properties: - type: *485 + type: *489 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *489 + deployment_branch_policy: *493 additionalProperties: false examples: default: @@ -69063,9 +69556,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *490 + default: *494 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69089,9 +69582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 responses: '204': description: Default response @@ -69116,9 +69609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 - *17 - *19 responses: @@ -69136,7 +69629,7 @@ paths: example: 2 branch_policies: type: array - items: &491 + items: &495 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69193,9 +69686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: true content: @@ -69241,9 +69734,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - example-wildcard: &492 + example-wildcard: &496 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69285,10 +69778,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - &493 + - *326 + - *327 + - *491 + - &497 name: branch_policy_id in: path required: true @@ -69300,9 +69793,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69321,10 +69814,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - *493 + - *326 + - *327 + - *491 + - *497 requestBody: required: true content: @@ -69352,9 +69845,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69373,10 +69866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - *493 + - *326 + - *327 + - *491 + - *497 responses: '204': description: Response @@ -69401,9 +69894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 responses: '200': description: List of deployment protection rules @@ -69419,7 +69912,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &494 + items: &498 title: Deployment protection rule description: Deployment protection rule type: object @@ -69438,7 +69931,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &495 + app: &499 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69537,9 +70030,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: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 requestBody: content: application/json: @@ -69560,9 +70053,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *494 + schema: *498 examples: - default: &496 + default: &500 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69597,9 +70090,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: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 - *19 - *17 responses: @@ -69618,7 +70111,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *495 + items: *499 examples: default: value: @@ -69653,10 +70146,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *322 - - *323 - - *487 - - &497 + - *326 + - *327 + - *491 + - &501 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69668,9 +70161,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *496 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69691,10 +70184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *487 - - *323 - - *322 - - *497 + - *491 + - *327 + - *326 + - *501 responses: '204': description: Response @@ -69720,9 +70213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 - *17 - *19 responses: @@ -69740,9 +70233,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *58 x-github: @@ -69767,17 +70260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 responses: '200': description: Response content: application/json: - schema: *372 + schema: *376 examples: - default: *373 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69799,18 +70292,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *498 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69832,10 +70325,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 requestBody: required: true content: @@ -69866,7 +70359,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -69892,10 +70385,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 responses: '204': description: Default response @@ -69920,10 +70413,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *322 - - *323 - - *487 - - *341 + - *326 + - *327 + - *491 + - *345 - *19 responses: '200': @@ -69940,9 +70433,9 @@ paths: type: integer variables: type: array - items: *374 + items: *378 examples: - default: *375 + default: *379 headers: Link: *58 x-github: @@ -69965,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: true content: @@ -69994,7 +70487,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -70019,18 +70512,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *322 - - *323 - - *487 - - *137 + - *326 + - *327 + - *491 + - *144 responses: '200': description: Response content: application/json: - schema: *374 + schema: *378 examples: - default: *499 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70051,10 +70544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *322 - - *323 - - *137 - - *487 + - *326 + - *327 + - *144 + - *491 requestBody: required: true content: @@ -70096,10 +70589,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *322 - - *323 - - *137 - - *487 + - *326 + - *327 + - *144 + - *491 responses: '204': description: Response @@ -70121,8 +70614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -70132,7 +70625,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: 200-response: value: @@ -70199,8 +70692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *322 - - *323 + - *326 + - *327 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70222,7 +70715,7 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: default: value: @@ -70359,8 +70852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -70392,9 +70885,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 '400': *14 '422': *15 '403': *29 @@ -70415,8 +70908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -70475,8 +70968,8 @@ paths: application/json: schema: oneOf: - - *100 - - *500 + - *107 + - *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70501,8 +70994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *322 - - *323 + - *326 + - *327 - name: file_sha in: path required: true @@ -70601,8 +71094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -70711,7 +71204,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &505 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70925,15 +71418,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: default: value: @@ -70989,9 +71482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *322 - - *323 - - &502 + - *326 + - *327 + - &506 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. @@ -71008,7 +71501,7 @@ paths: application/json: schema: type: array - items: &503 + items: &507 title: Git Reference description: Git references within a repository type: object @@ -71083,17 +71576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 responses: '200': description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: &504 + default: &508 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71122,8 +71615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71152,9 +71645,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71180,9 +71673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 requestBody: required: true content: @@ -71211,9 +71704,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 '422': *15 '409': *47 x-github: @@ -71231,9 +71724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 responses: '204': description: Response @@ -71288,8 +71781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71356,7 +71849,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &510 title: Git Tag description: Metadata for a Git tag type: object @@ -71407,7 +71900,7 @@ paths: - sha - type - url - verification: *505 + verification: *509 required: - sha - url @@ -71417,7 +71910,7 @@ paths: - tag - message examples: - default: &507 + default: &511 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71490,8 +71983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *322 - - *323 + - *326 + - *327 - name: tag_sha in: path required: true @@ -71502,9 +71995,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: - default: *507 + default: *511 '404': *6 '409': *47 x-github: @@ -71528,8 +72021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71602,7 +72095,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &512 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71698,8 +72191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *322 - - *323 + - *326 + - *327 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71722,7 +72215,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *512 examples: default-response: summary: Default response @@ -71781,8 +72274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -71792,7 +72285,7 @@ paths: application/json: schema: type: array - items: &509 + items: &513 title: Webhook description: Webhooks for repositories. type: object @@ -71846,7 +72339,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &740 + last_response: &745 title: Hook Response type: object properties: @@ -71920,8 +72413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -71973,9 +72466,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: &510 + default: &514 value: type: Repository id: 12345678 @@ -72023,17 +72516,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '200': description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -72053,9 +72546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 requestBody: required: true content: @@ -72100,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 '422': *15 '404': *6 x-github: @@ -72123,9 +72616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72149,9 +72642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '200': description: Response @@ -72178,9 +72671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 requestBody: required: false content: @@ -72224,11 +72717,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *17 - - *178 + - *184 responses: '200': description: Response @@ -72236,9 +72729,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '400': *14 '422': *15 x-github: @@ -72257,18 +72750,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *16 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '400': *14 '422': *15 x-github: @@ -72287,9 +72780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *16 responses: '202': *39 @@ -72312,9 +72805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72339,9 +72832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72399,14 +72892,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &511 + schema: &515 title: Import description: A repository import from an external source. type: object @@ -72505,7 +72998,7 @@ paths: - html_url - authors_url examples: - default: &514 + default: &518 value: vcs: subversion use_lfs: true @@ -72521,7 +73014,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': &512 + '503': &516 description: Unavailable due to service under maintenance. content: application/json: @@ -72550,8 +73043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -72599,7 +73092,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: default: value: @@ -72624,7 +73117,7 @@ paths: type: string '422': *15 '404': *6 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72652,8 +73145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -72702,7 +73195,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: example-1: summary: Example 1 @@ -72750,7 +73243,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': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72773,12 +73266,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72804,9 +73297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *322 - - *323 - - &676 + - *326 + - *327 + - &681 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -72820,7 +73313,7 @@ paths: application/json: schema: type: array - items: &513 + items: &517 title: Porter Author description: Porter Author type: object @@ -72874,7 +73367,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': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72899,8 +73392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *322 - - *323 + - *326 + - *327 - name: author_id in: path required: true @@ -72930,7 +73423,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: default: value: @@ -72943,7 +73436,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72967,8 +73460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73009,7 +73502,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73037,8 +73530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -73065,11 +73558,11 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: - default: *514 + default: *518 '422': *15 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73092,8 +73585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73101,8 +73594,8 @@ paths: application/json: schema: *22 examples: - default: *515 - '301': *331 + default: *519 + '301': *335 '404': *6 x-github: githubCloudOnly: false @@ -73122,8 +73615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73131,12 +73624,12 @@ paths: application/json: schema: anyOf: - - *195 + - *201 - type: object properties: {} additionalProperties: false examples: - default: &517 + default: &521 value: limit: collaborators_only origin: repository @@ -73161,13 +73654,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *516 + schema: *520 examples: default: summary: Example request body @@ -73179,9 +73672,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *517 + default: *521 '409': description: Response x-github: @@ -73203,8 +73696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -73227,8 +73720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -73238,9 +73731,9 @@ paths: application/json: schema: type: array - items: *518 + items: *522 examples: - default: &669 + default: &674 value: - id: 1 repository: @@ -73371,9 +73864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *322 - - *323 - - *199 + - *326 + - *327 + - *205 requestBody: required: false content: @@ -73402,7 +73895,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *522 examples: default: value: @@ -73533,9 +74026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *322 - - *323 - - *199 + - *326 + - *327 + - *205 responses: '204': description: Response @@ -73566,8 +74059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *322 - - *323 + - *326 + - *327 - 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 @@ -73615,7 +74108,7 @@ paths: required: false schema: type: string - - *203 + - *209 - name: sort description: What to sort results by. in: query @@ -73628,7 +74121,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -73638,9 +74131,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &527 + default: &531 value: - id: 1 node_id: MDU6SXNzdWUx @@ -73788,7 +74281,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *331 + '301': *335 '422': *15 '404': *6 x-github: @@ -73817,8 +74310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -73900,9 +74393,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: &524 + default: &528 value: id: 1 node_id: MDU6SXNzdWUx @@ -74056,9 +74549,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *65 + '503': *72 '404': *6 - '410': *328 + '410': *332 x-github: triggersNotification: true githubCloudOnly: false @@ -74086,9 +74579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *322 - - *323 - - *87 + - *326 + - *327 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -74098,7 +74591,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -74108,9 +74601,9 @@ paths: application/json: schema: type: array - items: *519 + items: *523 examples: - default: &526 + default: &530 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74168,17 +74661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74232,9 +74725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -74256,9 +74749,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -74276,9 +74769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -74298,9 +74791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -74326,9 +74819,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -74349,9 +74842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -74383,16 +74876,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -74414,10 +74907,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -74437,8 +74930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -74448,7 +74941,7 @@ paths: application/json: schema: type: array - items: &523 + items: &527 title: Issue Event description: Issue Event type: object @@ -74491,8 +74984,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *521 - required: *522 + properties: *525 + required: *526 nullable: true label: title: Issue Event Label @@ -74536,7 +75029,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *159 + requested_team: *165 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74601,7 +75094,7 @@ paths: required: - from - to - author_association: *63 + author_association: *70 lock_reason: type: string nullable: true @@ -74614,8 +75107,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -74799,8 +75292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *322 - - *323 + - *326 + - *327 - name: event_id in: path required: true @@ -74811,7 +75304,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: default: value: @@ -75004,7 +75497,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *328 + '410': *332 '403': *29 x-github: githubCloudOnly: false @@ -75038,9 +75531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *322 - - *323 - - &525 + - *326 + - *327 + - &529 name: issue_number description: The number that identifies the issue. in: path @@ -75052,12 +75545,12 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '404': *6 - '410': *328 + '410': *332 '304': *37 x-github: githubCloudOnly: false @@ -75082,9 +75575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -75188,15 +75681,15 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 '422': *15 - '503': *65 + '503': *72 '403': *29 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75214,9 +75707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -75242,9 +75735,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75260,9 +75753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: content: application/json: @@ -75287,9 +75780,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75311,9 +75804,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: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: assignee in: path required: true @@ -75353,10 +75846,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *322 - - *323 - - *525 - - *67 + - *326 + - *327 + - *529 + - *74 - *17 - *19 responses: @@ -75366,13 +75859,13 @@ paths: application/json: schema: type: array - items: *519 + items: *523 examples: - default: *526 + default: *530 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75401,9 +75894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -75425,16 +75918,16 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -75462,9 +75955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75474,14 +75967,14 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75509,9 +76002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -75533,17 +76026,17 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *335 '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -75574,9 +76067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -75588,15 +76081,15 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 x-github: triggersNotification: true githubCloudOnly: false @@ -75622,9 +76115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75634,14 +76127,14 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75658,9 +76151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75674,7 +76167,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &530 + - &534 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75705,8 +76198,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 label: type: object properties: @@ -75728,7 +76221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &535 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75759,8 +76252,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 label: type: object properties: @@ -75848,8 +76341,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 assigner: *4 required: @@ -75864,7 +76357,7 @@ paths: - performed_via_github_app - assignee - assigner - - &532 + - &536 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75895,8 +76388,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 milestone: type: object properties: @@ -75915,7 +76408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &537 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75946,8 +76439,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 milestone: type: object properties: @@ -75966,7 +76459,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &538 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75997,8 +76490,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 rename: type: object properties: @@ -76020,7 +76513,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &539 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76051,10 +76544,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 review_requester: *4 - requested_team: *159 + requested_team: *165 requested_reviewer: *4 required: - review_requester @@ -76067,7 +76560,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &540 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76098,10 +76591,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 review_requester: *4 - requested_team: *159 + requested_team: *165 requested_reviewer: *4 required: - review_requester @@ -76114,7 +76607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &541 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76145,8 +76638,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 dismissed_review: type: object properties: @@ -76174,7 +76667,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &542 title: Locked Issue Event description: Locked Issue Event type: object @@ -76205,8 +76698,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 lock_reason: type: string example: '"off-topic"' @@ -76222,7 +76715,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &543 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76253,8 +76746,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76288,7 +76781,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &544 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76319,8 +76812,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76354,7 +76847,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &545 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76385,8 +76878,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76420,7 +76913,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &546 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76511,7 +77004,7 @@ paths: color: red headers: Link: *58 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76528,9 +77021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -76540,7 +77033,7 @@ paths: application/json: schema: type: array - items: &528 + items: &532 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76587,7 +77080,7 @@ paths: - color - default examples: - default: &529 + default: &533 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76605,9 +77098,9 @@ paths: default: false headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76624,9 +77117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76685,12 +77178,12 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 - '301': *331 + default: *533 + '301': *335 '404': *6 - '410': *328 + '410': *332 '422': *15 x-github: githubCloudOnly: false @@ -76707,9 +77200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76769,12 +77262,12 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 - '301': *331 + default: *533 + '301': *335 '404': *6 - '410': *328 + '410': *332 '422': *15 x-github: githubCloudOnly: false @@ -76791,15 +77284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '204': description: Response - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76818,9 +77311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: name in: path required: true @@ -76833,7 +77326,7 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: default: value: @@ -76844,9 +77337,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76866,9 +77359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76896,7 +77389,7 @@ paths: '204': description: Response '403': *29 - '410': *328 + '410': *332 '404': *6 '422': *15 x-github: @@ -76914,9 +77407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '204': description: Response @@ -76946,20 +77439,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '200': description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76976,9 +77469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - 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. @@ -77004,13 +77497,13 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +77521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77062,16 +77555,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -77093,10 +77586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *326 + - *327 + - *529 - *322 - - *323 - - *525 - - *318 responses: '204': description: Response @@ -77125,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77149,9 +77642,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77184,9 +77677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -77196,13 +77689,13 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77230,9 +77723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77259,16 +77752,16 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -77288,9 +77781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77321,13 +77814,13 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 '403': *29 '404': *6 '422': *7 - '503': *65 + '503': *72 x-github: triggersNotification: true githubCloudOnly: false @@ -77345,9 +77838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -77362,10 +77855,6 @@ paths: description: Timeline Event type: object anyOf: - - *530 - - *531 - - *532 - - *533 - *534 - *535 - *536 @@ -77375,6 +77864,10 @@ paths: - *540 - *541 - *542 + - *543 + - *544 + - *545 + - *546 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77417,7 +77910,7 @@ paths: issue_url: type: string format: uri - author_association: *63 + author_association: *70 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -77427,9 +77920,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - event - actor @@ -77460,7 +77953,7 @@ paths: properties: type: type: string - issue: *77 + issue: *84 required: - event - created_at @@ -77660,7 +78153,7 @@ paths: type: string body_text: type: string - author_association: *63 + author_association: *70 required: - event - id @@ -77683,7 +78176,7 @@ paths: type: string comments: type: array - items: &562 + items: &566 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77772,7 +78265,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *63 + author_association: *70 _links: type: object properties: @@ -77856,7 +78349,7 @@ paths: enum: - line - file - reactions: *64 + reactions: *71 body_html: type: string example: '"

comment body

"' @@ -77892,7 +78385,7 @@ paths: type: string comments: type: array - items: *454 + items: *458 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77923,8 +78416,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 required: - id @@ -77967,8 +78460,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 required: - id @@ -78011,8 +78504,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 state_reason: type: string nullable: true @@ -78181,7 +78674,7 @@ paths: headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78198,8 +78691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -78209,7 +78702,7 @@ paths: application/json: schema: type: array - items: &543 + items: &547 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78275,8 +78768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78312,9 +78805,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: &544 + default: &548 value: id: 1 key: ssh-rsa AAA... @@ -78348,9 +78841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *322 - - *323 - - &545 + - *326 + - *327 + - &549 name: key_id description: The unique identifier of the key. in: path @@ -78362,9 +78855,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *544 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -78382,9 +78875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *322 - - *323 - - *545 + - *326 + - *327 + - *549 responses: '204': description: Response @@ -78404,8 +78897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -78415,9 +78908,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 + default: *533 headers: Link: *58 '404': *6 @@ -78438,8 +78931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78475,9 +78968,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: - default: &546 + default: &550 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78509,8 +79002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78521,9 +79014,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: - default: *546 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -78540,8 +79033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78580,7 +79073,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: default: value: @@ -78606,8 +79099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78633,8 +79126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -78673,9 +79166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *322 - - *323 - - *430 + - *326 + - *327 + - *434 responses: '200': description: Response @@ -78737,8 +79230,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true required: - _links @@ -78820,8 +79313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78886,8 +79379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78921,9 +79414,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *455 + schema: *459 examples: - default: *547 + default: *551 '204': description: Response when already merged '404': @@ -78948,8 +79441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78990,12 +79483,12 @@ paths: application/json: schema: type: array - items: &548 + items: &552 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 examples: default: value: @@ -79051,8 +79544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79092,9 +79585,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: &549 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79153,9 +79646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *322 - - *323 - - &550 + - *326 + - *327 + - &554 name: milestone_number description: The number that identifies the milestone. in: path @@ -79167,9 +79660,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: *549 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -79186,9 +79679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 requestBody: required: false content: @@ -79226,9 +79719,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: *549 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79244,9 +79737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 responses: '204': description: Response @@ -79267,9 +79760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 - *17 - *19 responses: @@ -79279,9 +79772,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 + default: *533 headers: Link: *58 x-github: @@ -79300,12 +79793,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *322 - - *323 - - *551 - - *552 - - *67 - - *553 + - *326 + - *327 + - *555 + - *556 + - *74 + - *557 - *17 - *19 responses: @@ -79315,9 +79808,9 @@ paths: application/json: schema: type: array - items: *90 + items: *97 examples: - default: *554 + default: *558 headers: Link: *58 x-github: @@ -79341,8 +79834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -79400,14 +79893,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &555 + schema: &559 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79532,7 +80025,7 @@ paths: - custom_404 - public examples: - default: &556 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79573,8 +80066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79628,9 +80121,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 '422': *15 '409': *47 x-github: @@ -79653,8 +80146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79753,8 +80246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -79780,8 +80273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -79791,7 +80284,7 @@ paths: application/json: schema: type: array - items: &557 + items: &561 title: Page Build description: Page Build type: object @@ -79885,8 +80378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response @@ -79931,16 +80424,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *557 + schema: *561 examples: - default: &558 + default: &562 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79988,8 +80481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *322 - - *323 + - *326 + - *327 - name: build_id in: path required: true @@ -80000,9 +80493,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *561 examples: - default: *558 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80022,8 +80515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80128,9 +80621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *322 - - *323 - - &559 + - *326 + - *327 + - &563 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80188,11 +80681,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *322 - - *323 - - *559 + - *326 + - *327 + - *563 responses: - '204': *153 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -80217,8 +80710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -80449,7 +80942,7 @@ paths: description: Empty response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -80476,8 +80969,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Private vulnerability reporting status @@ -80514,10 +81007,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: - '204': *153 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -80536,10 +81029,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: - '204': *153 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -80560,8 +81053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: Indicates the state of the projects to return. in: query @@ -80582,7 +81075,7 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: default: value: @@ -80622,7 +81115,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -80645,8 +81138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80672,13 +81165,13 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *327 + default: *331 '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -80701,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -80710,7 +81203,7 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: default: value: @@ -80741,8 +81234,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80754,7 +81247,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *254 + items: *258 required: - properties examples: @@ -80804,8 +81297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80865,9 +81358,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: *560 + default: *564 headers: Link: *58 '304': *37 @@ -80899,8 +81392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80965,7 +81458,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &568 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81076,8 +81569,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true active_lock_reason: type: string @@ -81122,7 +81615,7 @@ paths: nullable: true requested_teams: type: array - items: *300 + items: *304 nullable: true head: type: object @@ -81131,7 +81624,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: *4 @@ -81148,7 +81641,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: *4 @@ -81161,14 +81654,14 @@ paths: _links: type: object properties: - comments: *245 - commits: *245 - statuses: *245 - html: *245 - issue: *245 - review_comments: *245 - review_comment: *245 - self: *245 + comments: *249 + commits: *249 + statuses: *249 + html: *249 + issue: *249 + review_comments: *249 + review_comment: *249 + self: *249 required: - comments - commits @@ -81178,8 +81671,8 @@ paths: - review_comments - review_comment - self - author_association: *63 - auto_merge: *561 + author_association: *70 + auto_merge: *565 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -81271,7 +81764,7 @@ paths: - merged_by - review_comments examples: - default: &565 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81798,8 +82291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: sort in: query required: false @@ -81818,7 +82311,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -81828,9 +82321,9 @@ paths: application/json: schema: type: array - items: *562 + items: *566 examples: - default: &567 + default: &571 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81907,17 +82400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *562 + schema: *566 examples: - default: &563 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81992,9 +82485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -82016,9 +82509,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: - default: *563 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82034,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -82057,9 +82550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -82085,9 +82578,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -82108,9 +82601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -82142,16 +82635,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -82173,10 +82666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -82219,9 +82712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *322 - - *323 - - &566 + - *326 + - *327 + - &570 name: pull_number description: The number that identifies the pull request. in: path @@ -82234,9 +82727,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *564 + schema: *568 examples: - default: *565 + default: *569 '304': *37 '404': *6 '406': @@ -82244,8 +82737,8 @@ paths: content: application/json: schema: *3 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82271,9 +82764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -82315,9 +82808,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: - default: *565 + default: *569 '422': *15 '403': *29 x-github: @@ -82339,9 +82832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -82401,21 +82894,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82441,10 +82934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *322 - - *323 - - *566 - - *87 + - *326 + - *327 + - *570 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -82454,7 +82947,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -82464,9 +82957,9 @@ paths: application/json: schema: type: array - items: *562 + items: *566 examples: - default: *567 + default: *571 headers: Link: *58 x-github: @@ -82499,9 +82992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -82606,7 +83099,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: example-for-a-multi-line-comment: value: @@ -82694,10 +83187,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *322 - - *323 - - *566 - - *76 + - *326 + - *327 + - *570 + - *83 requestBody: required: true content: @@ -82719,7 +83212,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: default: value: @@ -82805,9 +83298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -82817,9 +83310,9 @@ paths: application/json: schema: type: array - items: *455 + items: *459 examples: - default: *568 + default: *572 headers: Link: *58 x-github: @@ -82849,9 +83342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -82861,7 +83354,7 @@ paths: application/json: schema: type: array - items: *468 + items: *472 examples: default: value: @@ -82879,8 +83372,8 @@ paths: headers: Link: *58 '422': *15 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82899,9 +83392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 responses: '204': description: Response if pull request has been merged @@ -82924,9 +83417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -83037,9 +83530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 responses: '200': description: Response @@ -83055,7 +83548,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 required: - users - teams @@ -83114,9 +83607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -83153,7 +83646,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -83689,9 +84182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -83725,7 +84218,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -84230,9 +84723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -84242,7 +84735,7 @@ paths: application/json: schema: type: array - items: &569 + items: &573 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84311,7 +84804,7 @@ paths: type: string body_text: type: string - author_association: *63 + author_association: *70 required: - id - node_id @@ -84393,9 +84886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -84481,9 +84974,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: &571 + default: &575 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84546,10 +85039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 - - &570 + - *326 + - *327 + - *570 + - &574 name: review_id description: The unique identifier of the review. in: path @@ -84561,9 +85054,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: &572 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84622,10 +85115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -84648,7 +85141,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: default: value: @@ -84710,18 +85203,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 responses: '200': description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: *571 + default: *575 '422': *7 '404': *6 x-github: @@ -84748,10 +85241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 - *17 - *19 responses: @@ -84830,13 +85323,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *63 + author_association: *70 _links: type: object properties: - self: *245 - html: *245 - pull_request: *245 + self: *249 + html: *249 + pull_request: *249 required: - self - html @@ -84845,7 +85338,7 @@ paths: type: string body_html: type: string - reactions: *64 + reactions: *71 side: description: The side of the first line of the range for a multi-line comment. @@ -84986,10 +85479,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -85017,7 +85510,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: default: value: @@ -85080,10 +85573,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -85118,9 +85611,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: *572 + default: *576 '404': *6 '422': *7 '403': *29 @@ -85142,9 +85635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -85207,8 +85700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *322 - - *323 + - *326 + - *327 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85221,9 +85714,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: &574 + default: &578 value: type: file encoding: base64 @@ -85265,8 +85758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *322 - - *323 + - *326 + - *327 - name: dir description: The alternate path to look for a README file in: path @@ -85286,9 +85779,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 '404': *6 '422': *15 x-github: @@ -85310,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -85321,7 +85814,7 @@ paths: application/json: schema: type: array - items: &575 + items: &579 title: Release description: A release. type: object @@ -85392,7 +85885,7 @@ paths: author: *4 assets: type: array - items: &576 + items: &580 title: Release Asset description: Data related to a release. type: object @@ -85467,7 +85960,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *64 + reactions: *71 required: - assets_url - upload_url @@ -85579,8 +86072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -85656,9 +86149,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: &579 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85763,9 +86256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *322 - - *323 - - &577 + - *326 + - *327 + - &581 name: asset_id description: The unique identifier of the asset. in: path @@ -85777,9 +86270,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: - default: &578 + default: &582 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 @@ -85814,7 +86307,7 @@ paths: type: User site_admin: false '404': *6 - '302': *470 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85830,9 +86323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *322 - - *323 - - *577 + - *326 + - *327 + - *581 requestBody: required: false content: @@ -85860,9 +86353,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: - default: *578 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85878,9 +86371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *322 - - *323 - - *577 + - *326 + - *327 + - *581 responses: '204': description: Response @@ -85904,8 +86397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -85990,16 +86483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86016,8 +86509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *322 - - *323 + - *326 + - *327 - name: tag description: tag parameter in: path @@ -86030,9 +86523,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86054,9 +86547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *322 - - *323 - - &580 + - *326 + - *327 + - &584 name: release_id description: The unique identifier of the release. in: path @@ -86070,9 +86563,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: *575 + schema: *579 examples: - default: *579 + default: *583 '401': description: Unauthorized x-github: @@ -86090,9 +86583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 requestBody: required: false content: @@ -86156,9 +86649,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 '404': description: Not Found if the discussion category name is invalid content: @@ -86179,9 +86672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 responses: '204': description: Response @@ -86201,9 +86694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - *17 - *19 responses: @@ -86213,7 +86706,7 @@ paths: application/json: schema: type: array - items: *576 + items: *580 examples: default: value: @@ -86294,9 +86787,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: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - name: name in: query required: true @@ -86322,7 +86815,7 @@ paths: description: Response for successful upload content: application/json: - schema: *576 + schema: *580 examples: response-for-successful-upload: value: @@ -86377,9 +86870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - 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. @@ -86403,9 +86896,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -86426,9 +86919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 requestBody: required: true content: @@ -86458,16 +86951,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -86489,10 +86982,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *326 + - *327 + - *584 - *322 - - *323 - - *580 - - *318 responses: '204': description: Response @@ -86516,9 +87009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 - *17 - *19 responses: @@ -86534,8 +87027,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *263 - - &581 + - *267 + - &585 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86554,66 +87047,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *264 - - *581 - - allOf: - - *265 - - *581 - - allOf: - - *266 - - *581 - - allOf: - - *582 - - *581 - - allOf: - - *267 - - *581 - allOf: - *268 - - *581 + - *585 - allOf: - *269 - - *581 + - *585 - allOf: - *270 - - *581 + - *585 + - allOf: + - *586 + - *585 - allOf: - *271 - - *581 + - *585 - allOf: - *272 - - *581 + - *585 - allOf: - *273 - - *581 + - *585 - allOf: - *274 - - *581 + - *585 - allOf: - *275 - - *581 + - *585 - allOf: - *276 - - *581 + - *585 - allOf: - *277 - - *581 + - *585 - allOf: - *278 - - *581 + - *585 - allOf: - *279 - - *581 + - *585 - allOf: - *280 - - *581 + - *585 - allOf: - *281 - - *581 + - *585 - allOf: - *282 - - *581 + - *585 + - allOf: + - *283 + - *585 + - allOf: + - *284 + - *585 + - allOf: + - *285 + - *585 + - allOf: + - *286 + - *585 + - allOf: + - *587 + - *585 examples: default: value: @@ -86652,8 +87148,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - name: includes_parents @@ -86664,7 +87160,7 @@ paths: schema: type: boolean default: true - - *583 + - *588 responses: '200': description: Response @@ -86672,7 +87168,7 @@ paths: application/json: schema: type: array - items: *283 + items: *287 examples: default: value: @@ -86703,7 +87199,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -86719,8 +87215,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 requestBody: description: Request body required: true @@ -86740,16 +87236,16 @@ paths: - tag - push default: branch - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *258 + items: *265 + conditions: *262 rules: type: array description: An array of rules within the ruleset. - items: *584 + items: *589 required: - name - enforcement @@ -86780,9 +87276,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: &594 + default: &599 value: id: 42 name: super cool ruleset @@ -86815,7 +87311,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -86829,12 +87325,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *322 - - *323 - - *585 - - *586 - - *587 - - *588 + - *326 + - *327 + - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86842,11 +87338,11 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86865,19 +87361,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *322 - - *323 - - *591 + - *326 + - *327 + - *596 responses: '200': description: Response content: application/json: - schema: *592 + schema: *597 examples: - default: *593 + default: *598 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86903,8 +87399,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86924,11 +87420,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *594 + default: *599 '404': *6 - '500': *97 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -86944,8 +87440,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86970,16 +87466,16 @@ paths: - branch - tag - push - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *258 + items: *265 + conditions: *262 rules: description: An array of rules within the ruleset. type: array - items: *584 + items: *589 examples: default: value: @@ -87007,11 +87503,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *594 + default: *599 '404': *6 - '500': *97 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -87027,8 +87523,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87039,7 +87535,7 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -87051,8 +87547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - name: ruleset_id @@ -87068,11 +87564,11 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *595 + default: *600 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87089,8 +87585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87108,7 +87604,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: default: value: @@ -87141,7 +87637,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87163,21 +87659,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *322 - - *323 - - *287 - - *288 - - *289 - - *290 - - *48 - - *19 - - *17 - - *597 - - *598 + - *326 + - *327 - *291 - *292 - *293 - *294 + - *48 + - *19 + - *17 + - *602 + - *603 + - *295 + - *296 + - *297 + - *298 responses: '200': description: Response @@ -87185,7 +87681,7 @@ paths: application/json: schema: type: array - items: &602 + items: &607 type: object properties: number: *54 @@ -87204,8 +87700,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *599 - resolution: *600 + state: *604 + resolution: *605 resolved_at: type: string format: date-time @@ -87301,7 +87797,7 @@ paths: pull request. ' - oneOf: *601 + oneOf: *606 nullable: true has_more_locations: type: boolean @@ -87402,7 +87898,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,16 +87920,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 - - *294 + - *326 + - *327 + - *428 + - *298 responses: '200': description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -87464,7 +87960,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87485,9 +87981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: true content: @@ -87495,8 +87991,8 @@ paths: schema: type: object properties: - state: *599 - resolution: *600 + state: *604 + resolution: *605 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -87514,7 +88010,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -87567,7 +88063,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87589,9 +88085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 - *19 - *17 responses: @@ -87602,7 +88098,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &762 + items: &767 type: object properties: type: @@ -87628,11 +88124,6 @@ paths: example: commit details: oneOf: - - *603 - - *604 - - *605 - - *606 - - *607 - *608 - *609 - *610 @@ -87641,6 +88132,11 @@ paths: - *613 - *614 - *615 + - *616 + - *617 + - *618 + - *619 + - *620 examples: default: value: @@ -87704,7 +88200,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87726,8 +88222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -87735,14 +88231,14 @@ paths: schema: type: object properties: - reason: &617 + reason: &622 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *616 + placeholder_id: *621 required: - reason - placeholder_id @@ -87759,7 +88255,7 @@ paths: schema: type: object properties: - reason: *617 + reason: *622 expire_at: type: string format: date-time @@ -87782,7 +88278,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87802,13 +88298,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: - - *322 - - *323 + - *326 + - *327 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *65 + '503': *72 '200': description: Response content: @@ -87818,7 +88314,7 @@ paths: properties: incremental_scans: type: array - items: &618 + items: &623 description: Information on a single scan performed by secret scanning on the repository type: object @@ -87844,15 +88340,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *618 + items: *623 backfill_scans: type: array - items: *618 + items: *623 custom_pattern_backfill_scans: type: array items: allOf: - - *618 + - *623 - type: object properties: pattern_name: @@ -87922,8 +88418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *322 - - *323 + - *326 + - *327 - *48 - name: sort description: The property to sort the results by. @@ -87967,9 +88463,9 @@ paths: application/json: schema: type: array - items: *619 + items: *624 examples: - default: *620 + default: *625 '400': *14 '404': *6 x-github: @@ -87992,8 +88488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -88066,7 +88562,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 required: - login - type @@ -88153,9 +88649,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: &622 + default: &627 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88388,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -88493,7 +88989,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -88640,17 +89136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '200': description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 + default: *627 '403': *29 '404': *6 x-github: @@ -88674,9 +89170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 requestBody: required: true content: @@ -88749,7 +89245,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 required: - login - type @@ -88835,17 +89331,17 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 - add_credit: *622 + default: *627 + add_credit: *627 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *100 + schema: *107 examples: invalid_state_transition: value: @@ -88876,9 +89372,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: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '202': *39 '400': *14 @@ -88905,17 +89401,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '202': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 '400': *14 '422': *15 '403': *29 @@ -88941,8 +89437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89041,8 +89537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89051,7 +89547,7 @@ paths: application/json: schema: type: array - items: &623 + items: &628 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89064,7 +89560,7 @@ paths: - 1124 - -435 '202': *39 - '204': *153 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -89084,8 +89580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89134,7 +89630,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89161,8 +89657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89236,7 +89732,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89258,8 +89754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89413,8 +89909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89424,7 +89920,7 @@ paths: application/json: schema: type: array - items: *623 + items: *628 examples: default: value: @@ -89437,7 +89933,7 @@ paths: - - 0 - 2 - 21 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89457,8 +89953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *322 - - *323 + - *326 + - *327 - name: sha in: path required: true @@ -89512,7 +90008,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -89566,8 +90062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89579,7 +90075,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -89599,14 +90095,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &625 + schema: &630 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89674,8 +90170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -89701,7 +90197,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *630 examples: default: value: @@ -89728,8 +90224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -89749,8 +90245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89829,8 +90325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89838,7 +90334,7 @@ paths: application/json: schema: type: array - items: &626 + items: &631 title: Tag protection description: Tag protection type: object @@ -89890,8 +90386,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -89914,7 +90410,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *631 examples: default: value: @@ -89945,8 +90441,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: - - *322 - - *323 + - *326 + - *327 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -89983,8 +90479,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *322 - - *323 + - *326 + - *327 - name: ref in: path required: true @@ -90020,8 +90516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -90031,9 +90527,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 headers: Link: *58 '404': *6 @@ -90053,8 +90549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 responses: @@ -90062,7 +90558,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &632 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90074,7 +90570,7 @@ paths: required: - names examples: - default: &628 + default: &633 value: names: - octocat @@ -90097,8 +90593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -90129,9 +90625,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '404': *6 '422': *7 x-github: @@ -90152,9 +90648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *322 - - *323 - - &629 + - *326 + - *327 + - &634 name: per description: The time frame to display results for. in: query @@ -90183,7 +90679,7 @@ paths: example: 128 clones: type: array - items: &630 + items: &635 title: Traffic type: object properties: @@ -90270,8 +90766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -90361,8 +90857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -90422,9 +90918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *322 - - *323 - - *629 + - *326 + - *327 + - *634 responses: '200': description: Response @@ -90443,7 +90939,7 @@ paths: example: 3782 views: type: array - items: *630 + items: *635 required: - uniques - count @@ -90520,8 +91016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -90557,7 +91053,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *133 examples: default: value: @@ -90795,8 +91291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90819,8 +91315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -90842,8 +91338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -90869,8 +91365,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *322 - - *323 + - *326 + - *327 - name: ref in: path required: true @@ -90962,9 +91458,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91005,7 +91501,7 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: default: value: @@ -91194,7 +91690,7 @@ paths: html_url: type: string format: uri - repository: *126 + repository: *133 score: type: number file_size: @@ -91212,7 +91708,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &631 + text_matches: &636 title: Search Result Text Matches type: array items: @@ -91326,7 +91822,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *65 + '503': *72 '422': *15 '403': *29 x-github: @@ -91374,7 +91870,7 @@ paths: enum: - author-date - committer-date - - &632 + - &637 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 @@ -91445,7 +91941,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true comment_count: type: integer @@ -91465,7 +91961,7 @@ paths: url: type: string format: uri - verification: *505 + verification: *509 required: - author - committer @@ -91484,7 +91980,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true parents: type: array @@ -91497,12 +91993,12 @@ paths: type: string sha: type: string - repository: *126 + repository: *133 score: type: number node_id: type: string - text_matches: *631 + text_matches: *636 required: - sha - node_id @@ -91684,7 +92180,7 @@ paths: - interactions - created - updated - - *632 + - *637 - *17 - *19 - name: advanced_search @@ -91781,11 +92277,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: type: string state_reason: @@ -91802,8 +92298,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true comments: type: integer @@ -91817,7 +92313,7 @@ paths: type: string format: date-time nullable: true - text_matches: *631 + text_matches: *636 pull_request: type: object properties: @@ -91850,10 +92346,10 @@ paths: type: string score: type: number - author_association: *63 + author_association: *70 draft: type: boolean - repository: *60 + repository: *67 body_html: type: string body_text: @@ -91861,7 +92357,7 @@ paths: timeline_url: type: string format: uri - type: *200 + type: *206 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -91871,9 +92367,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - assignee - closed_at @@ -91989,7 +92485,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *65 + '503': *72 '422': *15 '304': *37 '403': *29 @@ -92045,7 +92541,7 @@ paths: enum: - created - updated - - *632 + - *637 - *17 - *19 responses: @@ -92089,7 +92585,7 @@ paths: nullable: true score: type: number - text_matches: *631 + text_matches: *636 required: - id - node_id @@ -92174,7 +92670,7 @@ paths: - forks - help-wanted-issues - updated - - *632 + - *637 - *17 - *19 responses: @@ -92393,8 +92889,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true permissions: type: object @@ -92413,7 +92909,7 @@ paths: - admin - pull - push - text_matches: *631 + text_matches: *636 temp_clone_token: type: string allow_merge_commit: @@ -92615,7 +93111,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *65 + '503': *72 '422': *15 '304': *37 x-github: @@ -92713,7 +93209,7 @@ paths: type: string format: uri nullable: true - text_matches: *631 + text_matches: *636 related: type: array nullable: true @@ -92904,7 +93400,7 @@ paths: - followers - repositories - joined - - *632 + - *637 - *17 - *19 responses: @@ -93008,7 +93504,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *631 + text_matches: *636 blog: type: string nullable: true @@ -93067,7 +93563,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *65 + '503': *72 '422': *15 x-github: githubCloudOnly: false @@ -93087,7 +93583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &636 + - &641 name: team_id description: The unique identifier of the team. in: path @@ -93099,9 +93595,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -93128,7 +93624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *636 + - *641 requestBody: required: true content: @@ -93191,16 +93687,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '201': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 '422': *15 '403': *29 @@ -93228,7 +93724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *636 + - *641 responses: '204': description: Response @@ -93259,7 +93755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *636 + - *641 - *48 - *17 - *19 @@ -93270,9 +93766,9 @@ paths: application/json: schema: type: array - items: *309 + items: *313 examples: - default: *637 + default: *642 headers: Link: *58 x-github: @@ -93301,7 +93797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *636 + - *641 requestBody: required: true content: @@ -93335,9 +93831,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: triggersNotification: true githubCloudOnly: false @@ -93364,16 +93860,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 responses: '200': description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93398,8 +93894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: false content: @@ -93422,9 +93918,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *638 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93449,8 +93945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 responses: '204': description: Response @@ -93479,8 +93975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *636 - - *311 + - *641 + - *315 - *48 - *17 - *19 @@ -93491,9 +93987,9 @@ paths: application/json: schema: type: array - items: *312 + items: *316 examples: - default: *639 + default: *644 headers: Link: *58 x-github: @@ -93522,8 +94018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: true content: @@ -93545,9 +94041,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: triggersNotification: true githubCloudOnly: false @@ -93574,17 +94070,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 responses: '200': description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93609,9 +94105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 requestBody: required: true content: @@ -93633,9 +94129,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *640 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93660,9 +94156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 responses: '204': description: Response @@ -93691,9 +94187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 - 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. @@ -93719,9 +94215,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -93750,9 +94246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 requestBody: required: true content: @@ -93784,9 +94280,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93812,8 +94308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 - 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. @@ -93839,9 +94335,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -93870,8 +94366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: true content: @@ -93903,9 +94399,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93929,7 +94425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -93939,9 +94435,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 x-github: @@ -93967,7 +94463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *636 + - *641 - name: role description: Filters members returned by their role in the team. in: query @@ -93990,7 +94486,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -94018,8 +94514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: if user is a member @@ -94055,8 +94551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94095,8 +94591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94132,16 +94628,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '200': description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-user-is-a-team-maintainer: *641 + response-if-user-is-a-team-maintainer: *646 '404': *6 x-github: githubCloudOnly: false @@ -94174,8 +94670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 requestBody: required: false content: @@ -94200,9 +94696,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-users-membership-with-team-is-now-pending: *642 + response-if-users-membership-with-team-is-now-pending: *647 '403': description: Forbidden if team synchronization is set up '422': @@ -94236,8 +94732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94265,7 +94761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94275,9 +94771,9 @@ paths: application/json: schema: type: array - items: *320 + items: *324 examples: - default: *643 + default: *648 headers: Link: *58 '404': *6 @@ -94303,16 +94799,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *636 - - *321 + - *641 + - *325 responses: '200': description: Response content: application/json: - schema: *320 + schema: *324 examples: - default: *644 + default: *649 '404': description: Not Found if project is not managed by this team x-github: @@ -94336,8 +94832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *636 - - *321 + - *641 + - *325 requestBody: required: false content: @@ -94404,8 +94900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *636 - - *321 + - *641 + - *325 responses: '204': description: Response @@ -94432,7 +94928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94442,9 +94938,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '404': *6 @@ -94474,15 +94970,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *645 + schema: *650 examples: alternative-response-with-extra-repository-information: value: @@ -94633,9 +95129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 requestBody: required: false content: @@ -94685,9 +95181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 responses: '204': description: Response @@ -94712,7 +95208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94722,9 +95218,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - response-if-child-teams-exist: *646 + response-if-child-teams-exist: *651 headers: Link: *58 '404': *6 @@ -94757,7 +95253,7 @@ paths: application/json: schema: oneOf: - - &648 + - &653 title: Private User description: Private User type: object @@ -94960,7 +95456,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *647 + - *652 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95113,7 +95609,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *653 examples: default: value: @@ -95192,7 +95688,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '304': *37 '404': *6 '403': *29 @@ -95215,7 +95711,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: - - *139 + - *63 responses: '204': description: If the user is blocked @@ -95243,7 +95739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -95267,7 +95763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -95316,11 +95812,11 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: - default: *207 + default: *212 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -95457,21 +95953,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95511,7 +96007,7 @@ paths: type: integer secrets: type: array - items: &649 + items: &654 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95551,7 +96047,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *451 headers: Link: *58 x-github: @@ -95621,13 +96117,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 responses: '200': description: Response content: application/json: - schema: *649 + schema: *654 examples: default: value: @@ -95657,7 +96153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 requestBody: required: true content: @@ -95702,7 +96198,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -95730,7 +96226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 responses: '204': description: Response @@ -95755,7 +96251,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *134 + - *141 responses: '200': description: Response @@ -95771,13 +96267,13 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *650 + default: *655 '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95798,7 +96294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *134 + - *141 requestBody: required: true content: @@ -95830,7 +96326,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95852,7 +96348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *134 + - *141 - name: repository_id in: path required: true @@ -95864,7 +96360,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95885,7 +96381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *134 + - *141 - name: repository_id in: path required: true @@ -95897,7 +96393,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95917,17 +96413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -95951,7 +96447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 requestBody: required: false content: @@ -95981,9 +96477,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 @@ -96005,11 +96501,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '202': *39 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96034,13 +96530,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '202': description: Response content: application/json: - schema: &651 + schema: &656 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96081,7 +96577,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &652 + default: &657 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96089,7 +96585,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96113,7 +96609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *208 + - *213 - name: export_id in: path required: true @@ -96126,9 +96622,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -96149,7 +96645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *208 + - *213 responses: '200': description: Response @@ -96165,11 +96661,11 @@ paths: type: integer machines: type: array - items: *653 + items: *658 examples: - default: *654 + default: *659 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96196,7 +96692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *208 + - *213 requestBody: required: true content: @@ -96246,13 +96742,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *334 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *449 + required: *450 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97026,17 +97522,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '304': *37 - '500': *97 + '500': *104 '400': *14 '401': *25 '402': @@ -97066,16 +97562,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 - '500': *97 + default: *448 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97104,9 +97600,9 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: &666 + default: &671 value: - id: 197 name: hello_docker @@ -97207,7 +97703,7 @@ paths: application/json: schema: type: array - items: &655 + items: &660 title: Email description: Email type: object @@ -97272,9 +97768,9 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: - default: &668 + default: &673 value: - email: octocat@github.com verified: true @@ -97349,7 +97845,7 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: default: value: @@ -97459,7 +97955,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '304': *37 @@ -97492,7 +97988,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '304': *37 @@ -97514,7 +98010,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: - - *139 + - *63 responses: '204': description: if the person is followed by the authenticated user @@ -97544,7 +98040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -97569,7 +98065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -97605,7 +98101,7 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: GPG Key description: A unique encryption key type: object @@ -97736,7 +98232,7 @@ paths: - subkeys - revoked examples: - default: &686 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -97821,9 +98317,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: id: 3 name: Octocat's GPG Key @@ -97880,7 +98376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &658 + - &663 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -97892,9 +98388,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 '404': *6 '304': *37 '403': *29 @@ -97917,7 +98413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *658 + - *663 responses: '204': description: Response @@ -98106,9 +98602,9 @@ paths: type: string repositories: type: array - items: *60 + items: *67 examples: - default: *118 + default: *125 headers: Link: *58 '404': *6 @@ -98133,7 +98629,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *115 + - *122 responses: '204': description: Response @@ -98159,7 +98655,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *115 + - *122 responses: '204': description: Response @@ -98193,12 +98689,12 @@ paths: application/json: schema: anyOf: - - *195 + - *201 - type: object properties: {} additionalProperties: false examples: - default: *196 + default: *202 '204': description: Response when there are no restrictions x-github: @@ -98222,7 +98718,7 @@ paths: required: true content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -98233,7 +98729,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: default: value: @@ -98314,7 +98810,7 @@ paths: - closed - all default: open - - *203 + - *209 - name: sort description: What to sort results by. in: query @@ -98327,7 +98823,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -98337,9 +98833,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *204 + default: *210 headers: Link: *58 '404': *6 @@ -98372,7 +98868,7 @@ paths: application/json: schema: type: array - items: &659 + items: &664 title: Key description: Key type: object @@ -98473,9 +98969,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: &660 + default: &665 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98508,15 +99004,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *545 + - *549 responses: '200': description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *660 + default: *665 '404': *6 '304': *37 '403': *29 @@ -98539,7 +99035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *545 + - *549 responses: '204': description: Response @@ -98572,7 +99068,7 @@ paths: application/json: schema: type: array - items: &661 + items: &666 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98629,7 +99125,7 @@ paths: - id - type - login - plan: *81 + plan: *88 required: - billing_cycle - next_billing_date @@ -98640,7 +99136,7 @@ paths: - account - plan examples: - default: &662 + default: &667 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98702,9 +99198,9 @@ paths: application/json: schema: type: array - items: *661 + items: *666 examples: - default: *662 + default: *667 headers: Link: *58 '304': *37 @@ -98744,7 +99240,7 @@ paths: application/json: schema: type: array - items: *211 + items: *216 examples: default: value: @@ -98846,13 +99342,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *211 + schema: *216 examples: default: value: @@ -98910,7 +99406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *96 + - *103 requestBody: required: true content: @@ -98935,7 +99431,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *216 examples: default: value: @@ -99003,7 +99499,7 @@ paths: application/json: schema: type: array - items: *213 + items: *218 examples: default: value: @@ -99256,7 +99752,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -99436,7 +99932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *214 + - *219 - name: exclude in: query required: false @@ -99449,7 +99945,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -99643,7 +100139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *214 + - *219 responses: '302': description: Response @@ -99669,7 +100165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *214 + - *219 responses: '204': description: Response @@ -99698,8 +100194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *214 - - *663 + - *219 + - *668 responses: '204': description: Response @@ -99723,7 +100219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *214 + - *219 - *17 - *19 responses: @@ -99733,9 +100229,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '404': *6 @@ -99770,9 +100266,9 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: - default: *664 + default: *669 headers: Link: *58 '304': *37 @@ -99814,7 +100310,7 @@ paths: - docker - nuget - container - - *665 + - *670 - *19 - *17 responses: @@ -99824,10 +100320,10 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 - '400': *667 + default: *671 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99847,16 +100343,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: - default: &687 + default: &692 value: id: 40201 name: octo-name @@ -99969,8 +100465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 responses: '204': description: Response @@ -100000,8 +100496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 - name: token description: package token schema: @@ -100033,8 +100529,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: - - *223 - - *224 + - *227 + - *228 - *19 - *17 - name: state @@ -100054,7 +100550,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -100103,15 +100599,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -100147,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '204': description: Response @@ -100179,9 +100675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '204': description: Response @@ -100237,7 +100733,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -100309,9 +100805,9 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: - default: *668 + default: *673 headers: Link: *58 '304': *37 @@ -100422,9 +100918,9 @@ paths: application/json: schema: type: array - items: *60 + items: *67 examples: - default: &675 + default: &680 summary: Default response value: - id: 1296269 @@ -100728,9 +101224,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100768,9 +101264,9 @@ paths: application/json: schema: type: array - items: *518 + items: *522 examples: - default: *669 + default: *674 headers: Link: *58 '304': *37 @@ -100793,7 +101289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *199 + - *205 responses: '204': description: Response @@ -100816,7 +101312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *199 + - *205 responses: '204': description: Response @@ -100849,7 +101345,7 @@ paths: application/json: schema: type: array - items: &670 + items: &675 title: Social account description: Social media account type: object @@ -100864,7 +101360,7 @@ paths: - provider - url examples: - default: &671 + default: &676 value: - provider: twitter url: https://twitter.com/github @@ -100926,9 +101422,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *671 + default: *676 '422': *15 '304': *37 '404': *6 @@ -101015,7 +101511,7 @@ paths: application/json: schema: type: array - items: &672 + items: &677 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101035,7 +101531,7 @@ paths: - title - created_at examples: - default: &698 + default: &703 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101101,9 +101597,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: &673 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101134,7 +101630,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: - - &674 + - &679 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101146,9 +101642,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '404': *6 '304': *37 '403': *29 @@ -101171,7 +101667,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: - - *674 + - *679 responses: '204': description: Response @@ -101200,7 +101696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &699 + - &704 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 @@ -101223,13 +101719,13 @@ paths: application/json: schema: type: array - items: *60 + items: *67 examples: - default-response: *675 + default-response: *680 application/vnd.github.v3.star+json: schema: type: array - items: &700 + items: &705 title: Starred Repository description: Starred Repository type: object @@ -101237,7 +101733,7 @@ paths: starred_at: type: string format: date-time - repo: *60 + repo: *67 required: - starred_at - repo @@ -101385,8 +101881,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: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response if this repository is starred by you @@ -101414,8 +101910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -101439,8 +101935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -101473,9 +101969,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '304': *37 @@ -101512,7 +102008,7 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: default: value: @@ -101590,7 +102086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *83 + - *90 responses: '200': description: Response @@ -101598,10 +102094,10 @@ paths: application/json: schema: oneOf: - - *648 - - *647 + - *653 + - *652 examples: - default-response: &681 + default-response: &686 summary: Default response value: login: octocat @@ -101636,7 +102132,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &682 + response-with-git-hub-plan-information: &687 summary: Response with GitHub plan information value: login: octocat @@ -101696,7 +102192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *676 + - *681 - *17 responses: '200': @@ -101707,7 +102203,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: example: ; rel="next" @@ -101730,8 +102226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *240 - - &677 + - *244 + - &682 name: user_id description: The unique identifier of the user. in: path @@ -101743,9 +102239,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -101767,8 +102263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *240 - - *677 + - *244 + - *682 - *17 - *40 - *41 @@ -101779,9 +102275,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -101803,17 +102299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *240 - - *678 - - *677 + - *244 + - *683 + - *682 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -101836,8 +102332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *240 - - *677 + - *244 + - *682 - *40 - *41 - *17 @@ -101866,9 +102362,9 @@ paths: application/json: schema: type: array - items: *247 + items: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -101889,8 +102385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *677 - - *240 + - *682 + - *244 requestBody: required: true description: Details of the item to add to the project. @@ -101927,9 +102423,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *684 examples: - default: *680 + default: *685 '304': *37 '403': *29 '401': *25 @@ -101949,9 +102445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -101968,9 +102464,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -101991,9 +102487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -102063,9 +102559,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 '401': *25 '403': *29 '404': *6 @@ -102085,9 +102581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 responses: '204': description: Response @@ -102116,7 +102612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *139 + - *63 responses: '200': description: Response @@ -102124,11 +102620,11 @@ paths: application/json: schema: oneOf: - - *648 - - *647 + - *653 + - *652 examples: - default-response: *681 - response-with-git-hub-plan-information: *682 + default-response: *686 + response-with-git-hub-plan-information: *687 '404': *6 x-github: githubCloudOnly: false @@ -102154,7 +102650,7 @@ paths: - *17 - *40 - *41 - - *139 + - *63 requestBody: required: true content: @@ -102177,8 +102673,8 @@ paths: required: - subject_digests examples: - default: *683 - withPredicateType: *684 + default: *688 + withPredicateType: *689 responses: '200': description: Response @@ -102231,7 +102727,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *685 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102249,7 +102745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *139 + - *63 requestBody: required: true content: @@ -102314,7 +102810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *139 + - *63 - name: subject_digest description: Subject Digest in: path @@ -102345,7 +102841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *139 + - *63 - name: attestation_id description: Attestation ID in: path @@ -102383,7 +102879,7 @@ paths: - *17 - *40 - *41 - - *139 + - *63 - name: subject_digest description: Subject Digest in: path @@ -102433,12 +102929,12 @@ paths: bundle_url: type: string examples: - default: *386 + default: *390 '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -102464,7 +102960,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: - - *139 + - *63 responses: '200': description: Response @@ -102472,9 +102968,9 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 + default: *671 '403': *29 '401': *25 x-github: @@ -102497,7 +102993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102507,7 +103003,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102578,8 +103074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *139 - - *96 + - *63 + - *103 - *17 - *19 responses: @@ -102589,7 +103085,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102668,7 +103164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102678,7 +103174,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102745,7 +103241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102757,7 +103253,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -102776,7 +103272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102788,7 +103284,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -102807,7 +103303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *139 + - *63 - name: target_user in: path required: true @@ -102834,8 +103330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *139 - - *67 + - *63 + - *74 - *17 - *19 responses: @@ -102845,9 +103341,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '422': *15 @@ -102868,7 +103364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102878,9 +103374,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: *686 + default: *691 headers: Link: *58 x-github: @@ -102904,7 +103400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *139 + - *63 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102976,7 +103472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *139 + - *63 responses: '200': description: Response @@ -102984,7 +103480,7 @@ paths: application/json: schema: *22 examples: - default: *515 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103002,7 +103498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103057,7 +103553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103067,9 +103563,9 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: - default: *664 + default: *669 headers: Link: *58 x-github: @@ -103108,8 +103604,8 @@ paths: - docker - nuget - container - - *665 - - *139 + - *670 + - *63 - *19 - *17 responses: @@ -103119,12 +103615,12 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 + default: *671 '403': *29 '401': *25 - '400': *667 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103144,17 +103640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: - default: *687 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103175,9 +103671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '204': description: Response @@ -103209,9 +103705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 - name: token description: package token schema: @@ -103243,9 +103739,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: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '200': description: Response @@ -103253,7 +103749,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -103311,16 +103807,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *223 - - *224 - - *226 - - *139 + - *227 + - *228 + - *230 + - *63 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -103355,10 +103851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *223 - - *224 - - *139 - - *226 + - *227 + - *228 + - *63 + - *230 responses: '204': description: Response @@ -103390,10 +103886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *223 - - *224 - - *139 - - *226 + - *227 + - *228 + - *63 + - *230 responses: '204': description: Response @@ -103419,7 +103915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *139 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -103440,7 +103936,7 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: default: value: @@ -103498,7 +103994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *139 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -103515,9 +104011,9 @@ paths: application/json: schema: type: array - items: *238 + items: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -103544,7 +104040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103554,7 +104050,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -103633,7 +104129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103643,7 +104139,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -103720,7 +104216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *139 + - *63 - name: type description: Limit results to repositories of the specified type. in: query @@ -103763,9 +104259,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -103789,15 +104285,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *688 + schema: *693 examples: - default: *689 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103819,15 +104315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: *691 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103849,15 +104345,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *692 + schema: *697 examples: - default: *693 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103877,11 +104373,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *139 - - *694 - - *695 - - *696 - - *697 + - *63 + - *699 + - *700 + - *701 + - *702 responses: '200': description: Response when getting a billing usage report @@ -103951,8 +104447,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103970,7 +104466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103980,9 +104476,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *671 + default: *676 headers: Link: *58 x-github: @@ -104002,7 +104498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -104012,9 +104508,9 @@ paths: application/json: schema: type: array - items: *672 + items: *677 examples: - default: *698 + default: *703 headers: Link: *58 x-github: @@ -104038,8 +104534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *139 - - *699 + - *63 + - *704 - *48 - *17 - *19 @@ -104051,11 +104547,11 @@ paths: schema: anyOf: - type: array - items: *700 + items: *705 - type: array - items: *60 + items: *67 examples: - default-response: *675 + default-response: *680 headers: Link: *58 x-github: @@ -104074,7 +104570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -104084,9 +104580,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -104214,7 +104710,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &701 + enterprise: &706 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104272,7 +104768,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &702 + installation: &707 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104291,7 +104787,7 @@ x-webhooks: required: - id - node_id - organization: &703 + organization: &708 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104351,13 +104847,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &704 + repository: &709 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &734 + properties: &739 id: description: Unique identifier of the repository example: 42 @@ -104377,8 +104873,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true organization: title: Simple User @@ -105040,7 +105536,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &735 + required: &740 - archive_url - assignees_url - blobs_url @@ -105191,10 +105687,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -105270,11 +105766,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: &705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: &710 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) @@ -105497,11 +105993,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: *705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -105684,11 +106180,11 @@ x-webhooks: - everyone required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: *705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -105772,7 +106268,7 @@ x-webhooks: type: string enum: - completed - check_run: &707 + check_run: &712 title: CheckRun description: A check performed on the code of a given code change type: object @@ -105825,8 +106321,8 @@ x-webhooks: type: string pull_requests: type: array - items: *403 - repository: *126 + items: *407 + repository: *133 status: example: completed type: string @@ -105863,7 +106359,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *706 + deployment: *711 details_url: example: https://example.com type: string @@ -105913,7 +106409,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *403 + items: *407 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105948,10 +106444,10 @@ x-webhooks: - output - app - pull_requests - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -106344,11 +106840,11 @@ x-webhooks: type: string enum: - created - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -106744,11 +107240,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 requested_action: description: The action requested by the user. type: object @@ -107153,11 +107649,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108134,10 +108630,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -108807,10 +109303,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -109474,10 +109970,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -109640,7 +110136,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -109785,20 +110281,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &713 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: *701 - installation: *702 - organization: *703 - ref: &709 + enterprise: *706 + installation: *707 + organization: *708 + ref: &714 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: *704 + repository: *709 sender: *4 required: - action @@ -109960,7 +110456,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110190,12 +110686,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110290,7 +110786,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -110458,12 +110954,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110626,7 +111122,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110792,12 +111288,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110894,7 +111390,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111062,16 +111558,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *704 + repository: *709 sender: *4 required: - action @@ -111165,7 +111661,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111305,12 +111801,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -111567,10 +112063,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111650,18 +112146,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *703 - pusher_type: &710 + organization: *708 + pusher_type: &715 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &716 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -111671,7 +112167,7 @@ x-webhooks: enum: - tag - branch - repository: *704 + repository: *709 sender: *4 required: - ref @@ -111753,10 +112249,10 @@ x-webhooks: type: string enum: - created - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -111841,9 +112337,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -111920,10 +112416,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -112000,10 +112496,10 @@ x-webhooks: type: string enum: - updated - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -112080,19 +112576,19 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - repository: *704 - organization: *703 + enterprise: *706 + installation: *707 + repository: *709 + organization: *708 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *254 + items: *258 old_property_values: type: array description: The old custom property values for the repository. - items: *254 + items: *258 required: - action - repository @@ -112168,18 +112664,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - pusher_type: *710 - ref: *711 + enterprise: *706 + installation: *707 + organization: *708 + pusher_type: *715 + ref: *716 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *704 + repository: *709 sender: *4 required: - ref @@ -112263,11 +112759,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112351,11 +112847,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112439,11 +112935,11 @@ x-webhooks: type: string enum: - created - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112525,11 +113021,11 @@ x-webhooks: type: string enum: - dismissed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112611,11 +113107,11 @@ x-webhooks: type: string enum: - fixed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112698,11 +113194,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112784,11 +113280,11 @@ x-webhooks: type: string enum: - reopened - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112865,9 +113361,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - key: &712 + enterprise: *706 + installation: *707 + key: &717 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -112903,8 +113399,8 @@ x-webhooks: - verified - created_at - read_only - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -112981,11 +113477,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - key: *712 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + key: *717 + organization: *708 + repository: *709 sender: *4 required: - action @@ -113546,12 +114042,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: &716 + workflow: &721 title: Workflow type: object nullable: true @@ -114277,13 +114773,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *480 + deployment: *484 pull_requests: type: array - items: *564 - repository: *704 - organization: *703 - installation: *702 + items: *568 + repository: *709 + organization: *708 + installation: *707 sender: *4 responses: '200': @@ -114354,7 +114850,7 @@ x-webhooks: type: string enum: - approved - approver: &713 + approver: &718 type: object properties: avatar_url: @@ -114397,11 +114893,11 @@ x-webhooks: type: string comment: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - reviewers: &714 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: &719 type: array items: type: object @@ -114480,7 +114976,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &715 + workflow_job_run: &720 type: object properties: conclusion: @@ -115211,18 +115707,18 @@ x-webhooks: type: string enum: - rejected - approver: *713 + approver: *718 comment: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - reviewers: *714 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: *719 sender: *4 since: type: string - workflow_job_run: *715 + workflow_job_run: *720 workflow_job_runs: type: array items: @@ -115926,13 +116422,13 @@ x-webhooks: type: string enum: - requested - enterprise: *701 + enterprise: *706 environment: type: string - installation: *702 - organization: *703 - repository: *704 - requestor: &721 + installation: *707 + organization: *708 + repository: *709 + requestor: &726 title: User type: object nullable: true @@ -117831,12 +118327,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Deployment Workflow Run type: object @@ -118516,7 +119012,7 @@ x-webhooks: type: string enum: - answered - answer: &719 + answer: &724 type: object properties: author_association: @@ -118673,7 +119169,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &722 title: Discussion description: A Discussion in a repository. type: object @@ -118959,7 +119455,7 @@ x-webhooks: - id labels: type: array - items: *528 + items: *532 required: - repository_url - category @@ -118981,10 +119477,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119111,11 +119607,11 @@ x-webhooks: - from required: - category - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119198,11 +119694,11 @@ x-webhooks: type: string enum: - closed - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119284,7 +119780,7 @@ x-webhooks: type: string enum: - created - comment: &718 + comment: &723 type: object properties: author_association: @@ -119441,11 +119937,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119528,12 +120024,12 @@ x-webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119628,12 +120124,12 @@ x-webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119717,11 +120213,11 @@ x-webhooks: type: string enum: - created - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119803,11 +120299,11 @@ x-webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119907,11 +120403,11 @@ x-webhooks: type: string required: - from - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119993,10 +120489,10 @@ x-webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *701 - installation: *702 - label: &720 + discussion: *722 + enterprise: *706 + installation: *707 + label: &725 title: Label type: object properties: @@ -120028,8 +120524,8 @@ x-webhooks: - color - default - description - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120112,11 +120608,11 @@ x-webhooks: type: string enum: - locked - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120198,11 +120694,11 @@ x-webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120284,11 +120780,11 @@ x-webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120373,16 +120869,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *704 + new_discussion: *722 + new_repository: *709 required: - new_discussion - new_repository - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120465,10 +120961,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *703 - repository: *704 + discussion: *722 + old_answer: *724 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120550,12 +121046,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120638,11 +121134,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120724,11 +121220,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120801,7 +121297,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *701 + enterprise: *706 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -121461,9 +121957,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *702 - organization: *703 - repository: *704 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - forkee @@ -121609,9 +122105,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pages: description: The pages that were updated. type: array @@ -121648,7 +122144,7 @@ x-webhooks: - action - sha - html_url - repository: *704 + repository: *709 sender: *4 required: - pages @@ -121724,10 +122220,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: &722 + organization: *708 + repositories: &727 description: An array of repository objects that the installation can access. type: array @@ -121753,8 +122249,8 @@ x-webhooks: - name - full_name - private - repository: *704 - requester: *721 + repository: *709 + requester: *726 sender: *4 required: - action @@ -121829,11 +122325,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -121909,11 +122405,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -121989,10 +122485,10 @@ x-webhooks: type: string enum: - added - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories_added: &723 + organization: *708 + repositories_added: &728 description: An array of repository objects, which were added to the installation. type: array @@ -122038,15 +122534,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *704 - repository_selection: &724 + repository: *709 + repository_selection: &729 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *726 sender: *4 required: - action @@ -122125,10 +122621,10 @@ x-webhooks: type: string enum: - removed - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories_added: *723 + organization: *708 + repositories_added: *728 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122155,9 +122651,9 @@ x-webhooks: - name - full_name - private - repository: *704 - repository_selection: *724 - requester: *721 + repository: *709 + repository_selection: *729 + requester: *726 sender: *4 required: - action @@ -122236,11 +122732,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -122418,10 +122914,10 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 target_type: type: string @@ -122500,11 +122996,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -122628,8 +123124,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 reactions: title: Reactions type: object @@ -122756,8 +123252,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123551,8 +124047,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123568,7 +124064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -123901,8 +124397,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -123982,7 +124478,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &730 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -124147,8 +124643,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124938,8 +125434,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124955,7 +125451,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -125290,8 +125786,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -125371,7 +125867,7 @@ x-webhooks: type: string enum: - edited - changes: &754 + changes: &759 description: The changes to the comment. type: object properties: @@ -125383,9 +125879,9 @@ x-webhooks: type: string required: - from - comment: *725 - enterprise: *701 - installation: *702 + comment: *730 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126178,8 +126674,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126195,7 +126691,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -126528,8 +127024,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126613,15 +127109,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 + blocked_issue: *84 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - blocking_issue_repo: *60 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + blocking_issue_repo: *67 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126709,15 +127205,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 + blocked_issue: *84 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - blocking_issue_repo: *60 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + blocking_issue_repo: *67 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126804,15 +127300,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 - blocked_issue_repo: *60 + blocked_issue: *84 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126900,15 +127396,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 - blocked_issue_repo: *60 + blocked_issue: *84 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126993,10 +127489,10 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *701 - installation: *702 - issue: &728 + assignee: *726 + enterprise: *706 + installation: *707 + issue: &733 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127785,11 +128281,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127805,7 +128301,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -127906,8 +128402,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -127987,8 +128483,8 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128782,11 +129278,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128802,7 +129298,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -129038,8 +129534,8 @@ x-webhooks: required: - state - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -129118,8 +129614,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129904,11 +130400,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129924,7 +130420,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -130024,8 +130520,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -130104,8 +130600,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130912,11 +131408,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130932,7 +131428,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -131011,7 +131507,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &731 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131149,8 +131645,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -131249,8 +131745,8 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132039,11 +132535,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132056,7 +132552,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -132160,9 +132656,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *703 - repository: *704 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -132242,8 +132738,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133031,11 +133527,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133048,7 +133544,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -133152,9 +133648,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *703 - repository: *704 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -133234,8 +133730,8 @@ x-webhooks: type: string enum: - locked - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134047,11 +134543,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134064,7 +134560,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -134145,8 +134641,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -134225,8 +134721,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135032,11 +135528,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135052,7 +135548,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -135130,9 +135626,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *703 - repository: *704 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -136000,11 +136496,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136097,7 +136593,7 @@ x-webhooks: required: - login - id - type: *200 + type: *206 required: - id - number @@ -136566,8 +137062,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137356,11 +137852,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137376,7 +137872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -137476,8 +137972,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -137557,9 +138053,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *701 - installation: *702 - issue: &727 + enterprise: *706 + installation: *707 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -138342,11 +138838,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138362,7 +138858,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -138462,8 +138958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -138542,8 +139038,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139353,11 +139849,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139451,9 +139947,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *200 - organization: *703 - repository: *704 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140319,11 +140815,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140339,7 +140835,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -140907,11 +141403,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *701 - installation: *702 - issue: *727 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140991,12 +141487,12 @@ x-webhooks: type: string enum: - typed - enterprise: *701 - installation: *702 - issue: *728 - type: *200 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141077,7 +141573,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &757 + assignee: &762 title: User type: object nullable: true @@ -141147,11 +141643,11 @@ x-webhooks: required: - login - id - enterprise: *701 - installation: *702 - issue: *728 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141230,12 +141726,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *701 - installation: *702 - issue: *728 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141315,8 +141811,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142126,11 +142622,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142146,7 +142642,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -142224,8 +142720,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142305,11 +142801,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *701 - installation: *702 - issue: *727 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142388,12 +142884,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *701 - installation: *702 - issue: *728 - type: *200 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142473,11 +142969,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142555,11 +143051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142669,11 +143165,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142755,9 +143251,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: &729 + enterprise: *706 + installation: *707 + marketplace_purchase: &734 title: Marketplace Purchase type: object required: @@ -142840,8 +143336,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *703 - previous_marketplace_purchase: &730 + organization: *708 + previous_marketplace_purchase: &735 title: Marketplace Purchase type: object properties: @@ -142921,7 +143417,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143001,10 +143497,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143087,7 +143583,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143169,10 +143665,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143254,7 +143750,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143335,8 +143831,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 marketplace_purchase: title: Marketplace Purchase type: object @@ -143418,9 +143914,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *703 - previous_marketplace_purchase: *730 - repository: *704 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -143500,12 +143996,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 - previous_marketplace_purchase: *730 - repository: *704 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -143607,11 +144103,11 @@ x-webhooks: type: string required: - to - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143711,11 +144207,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143794,11 +144290,11 @@ x-webhooks: type: string enum: - removed - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143876,11 +144372,11 @@ x-webhooks: type: string enum: - added - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143956,7 +144452,7 @@ x-webhooks: required: - login - id - team: &731 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144146,11 +144642,11 @@ x-webhooks: type: string enum: - removed - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144227,7 +144723,7 @@ x-webhooks: required: - login - id - team: *731 + team: *736 required: - action - scope @@ -144309,8 +144805,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *702 - merge_group: &733 + installation: *707 + merge_group: &738 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144329,15 +144825,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *732 + head_commit: *737 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144423,10 +144919,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *702 - merge_group: *733 - organization: *703 - repository: *704 + installation: *707 + merge_group: *738 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144499,7 +144995,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 + enterprise: *706 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144608,16 +145104,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *702 - organization: *703 + installation: *707 + organization: *708 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -144698,11 +145194,11 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144781,9 +145277,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - milestone: &736 + enterprise: *706 + installation: *707 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144920,8 +145416,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145000,11 +145496,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145114,11 +145610,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145198,11 +145694,11 @@ x-webhooks: type: string enum: - opened - enterprise: *701 - installation: *702 - milestone: *736 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *741 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145281,11 +145777,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145364,11 +145860,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145447,9 +145943,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - membership: &737 + enterprise: *706 + installation: *707 + membership: &742 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145556,8 +146052,8 @@ x-webhooks: - role - organization_url - user - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145635,11 +146131,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145718,8 +146214,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145835,10 +146331,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 - user: *721 + user: *726 required: - action - invitation @@ -145916,11 +146412,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146007,11 +146503,11 @@ x-webhooks: properties: from: type: string - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146087,9 +146583,9 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -146588,7 +147084,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &738 + items: &743 title: Ruby Gems metadata type: object properties: @@ -146683,7 +147179,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -146759,9 +147255,9 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -147114,7 +147610,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *743 source_url: type: string format: uri @@ -147184,7 +147680,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -147361,12 +147857,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *701 + enterprise: *706 id: type: integer - installation: *702 - organization: *703 - repository: *704 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - id @@ -147443,7 +147939,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &739 + personal_access_token_request: &744 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147589,10 +148085,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *701 - organization: *703 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147669,11 +148165,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *739 - enterprise: *701 - organization: *703 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147749,11 +148245,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *739 - enterprise: *701 - organization: *703 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147828,11 +148324,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *739 - organization: *703 - enterprise: *701 + personal_access_token_request: *744 + organization: *708 + enterprise: *706 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147937,7 +148433,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *740 + last_response: *745 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147969,8 +148465,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 zen: description: Random string of GitHub zen. @@ -148215,10 +148711,10 @@ x-webhooks: - from required: - note - enterprise: *701 - installation: *702 - organization: *703 - project_card: &741 + enterprise: *706 + installation: *707 + organization: *708 + project_card: &746 title: Project Card type: object properties: @@ -148337,7 +148833,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -148418,11 +148914,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project_card: *741 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -148502,9 +148998,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 project_card: title: Project Card type: object @@ -148632,8 +149128,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -148727,11 +149223,11 @@ x-webhooks: - from required: - note - enterprise: *701 - installation: *702 - organization: *703 - project_card: *741 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -148825,9 +149321,9 @@ x-webhooks: - from required: - column_id - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 project_card: allOf: - title: Project Card @@ -149017,7 +149513,7 @@ x-webhooks: type: string required: - after_id - repository: *704 + repository: *709 sender: *4 required: - action @@ -149097,10 +149593,10 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - organization: *703 - project: &743 + enterprise: *706 + installation: *707 + organization: *708 + project: &748 title: Project type: object properties: @@ -149224,7 +149720,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -149304,10 +149800,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project_column: &742 + enterprise: *706 + installation: *707 + organization: *708 + project_column: &747 title: Project Column type: object properties: @@ -149346,7 +149842,7 @@ x-webhooks: - name - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -149425,18 +149921,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -149526,11 +150022,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -149610,11 +150106,11 @@ x-webhooks: type: string enum: - moved - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -149694,11 +150190,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -149778,18 +150274,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - project: *743 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -149891,11 +150387,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -149974,11 +150470,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -150059,9 +150555,9 @@ x-webhooks: type: string enum: - closed - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150142,9 +150638,9 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150225,9 +150721,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150344,9 +150840,9 @@ x-webhooks: type: string to: type: string - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150429,7 +150925,7 @@ x-webhooks: type: string enum: - archived - changes: &747 + changes: &752 type: object properties: archived_at: @@ -150443,9 +150939,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *702 - organization: *703 - projects_v2_item: &744 + installation: *707 + organization: *708 + projects_v2_item: &749 title: Projects v2 Item description: An item belonging to a project type: object @@ -150463,7 +150959,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *246 + content_type: *250 creator: *4 created_at: type: string @@ -150580,9 +151076,9 @@ x-webhooks: nullable: true to: type: string - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150664,9 +151160,9 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150747,9 +151243,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150855,7 +151351,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &745 + - &750 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150877,7 +151373,7 @@ x-webhooks: required: - id - name - - &746 + - &751 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150911,8 +151407,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *745 - - *746 + - *750 + - *751 required: - field_value - type: object @@ -150928,9 +151424,9 @@ x-webhooks: nullable: true required: - body - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151025,9 +151521,9 @@ x-webhooks: to: type: string nullable: true - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151110,10 +151606,10 @@ x-webhooks: type: string enum: - restored - changes: *747 - installation: *702 - organization: *703 - projects_v2_item: *744 + changes: *752 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151195,9 +151691,9 @@ x-webhooks: type: string enum: - reopened - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -151278,14 +151774,14 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2_status_update: &750 + installation: *707 + organization: *708 + projects_v2_status_update: &755 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *748 - required: *749 + properties: *753 + required: *754 sender: *4 required: - action @@ -151366,9 +151862,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2_status_update: *750 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -151504,9 +152000,9 @@ x-webhooks: type: string format: date nullable: true - installation: *702 - organization: *703 - projects_v2_status_update: *750 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -151577,10 +152073,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - repository @@ -151657,13 +152153,13 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *701 - installation: *702 - number: &751 + assignee: *726 + enterprise: *706 + installation: *707 + number: &756 description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -153946,7 +154442,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -154028,11 +154524,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -156310,7 +156806,7 @@ x-webhooks: - draft reason: type: string - repository: *704 + repository: *709 sender: *4 required: - action @@ -156392,11 +156888,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -158674,7 +159170,7 @@ x-webhooks: - draft reason: type: string - repository: *704 + repository: *709 sender: *4 required: - action @@ -158756,13 +159252,13 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: &752 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: &757 allOf: - - *564 + - *568 - type: object properties: allow_auto_merge: @@ -158824,7 +159320,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *704 + repository: *709 sender: *4 required: - action @@ -158905,12 +159401,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -158990,11 +159486,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *701 - milestone: *548 - number: *751 - organization: *703 - pull_request: &753 + enterprise: *706 + milestone: *552 + number: *756 + organization: *708 + pull_request: &758 title: Pull Request type: object properties: @@ -161257,7 +161753,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -161336,11 +161832,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -163622,7 +164118,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *704 + repository: *709 sender: *4 required: - action @@ -163746,12 +164242,12 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -163831,11 +164327,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -166102,7 +166598,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -166182,11 +166678,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *701 - installation: *702 - label: *720 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -168468,7 +168964,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -168549,10 +169045,10 @@ x-webhooks: type: string enum: - locked - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -170832,7 +171328,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -170912,12 +171408,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *701 - milestone: *548 - number: *751 - organization: *703 - pull_request: *753 - repository: *704 + enterprise: *706 + milestone: *552 + number: *756 + organization: *708 + pull_request: *758 + repository: *709 sender: *4 required: - action @@ -170996,12 +171492,12 @@ x-webhooks: type: string enum: - opened - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171082,12 +171578,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171167,12 +171663,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171538,9 +172034,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -173710,7 +174206,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -173790,7 +174286,7 @@ x-webhooks: type: string enum: - deleted - comment: &755 + comment: &760 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -174075,9 +174571,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -176235,7 +176731,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -176315,11 +176811,11 @@ x-webhooks: type: string enum: - edited - changes: *754 - comment: *755 - enterprise: *701 - installation: *702 - organization: *703 + changes: *759 + comment: *760 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -178480,7 +178976,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -178561,9 +179057,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -180736,7 +181232,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 review: description: The review that was affected. type: object @@ -180983,9 +181479,9 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -183039,8 +183535,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 - review: &756 + repository: *709 + review: &761 description: The review that was affected. type: object properties: @@ -183273,12 +183769,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -185561,7 +186057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_reviewer: title: User type: object @@ -185645,12 +186141,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -187940,7 +188436,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188132,12 +188628,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -190422,7 +190918,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_reviewer: title: User type: object @@ -190507,12 +191003,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -192788,7 +193284,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192969,9 +193465,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -195146,8 +195642,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 - review: *756 + repository: *709 + review: *761 sender: *4 required: - action @@ -195227,9 +195723,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -197299,7 +197795,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 sender: *4 thread: type: object @@ -197686,9 +198182,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -199744,7 +200240,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 sender: *4 thread: type: object @@ -200134,10 +200630,10 @@ x-webhooks: type: string before: type: string - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -202408,7 +202904,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -202490,11 +202986,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *757 - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + assignee: *762 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -204777,7 +205273,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -204856,11 +205352,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *701 - installation: *702 - label: *720 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -207133,7 +207629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -207214,10 +207710,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -209482,7 +209978,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -209682,7 +210178,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *701 + enterprise: *706 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209774,8 +210270,8 @@ x-webhooks: - url - author - committer - installation: *702 - organization: *703 + installation: *707 + organization: *708 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210350,9 +210846,9 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -210798,7 +211294,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *738 + items: *743 summary: type: string tag_name: @@ -210852,7 +211348,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -210930,9 +211426,9 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -211240,7 +211736,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *743 summary: type: string tag_name: @@ -211289,7 +211785,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -211366,10 +211862,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - release: &758 + enterprise: *706 + installation: *707 + organization: *708 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211687,7 +212183,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *704 + repository: *709 sender: *4 required: - action @@ -211764,11 +212260,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -211885,11 +212381,11 @@ x-webhooks: type: boolean required: - to - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -211967,9 +212463,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212291,7 +212787,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *704 + repository: *709 sender: *4 required: - action @@ -212367,10 +212863,10 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - release: &759 + enterprise: *706 + installation: *707 + organization: *708 + release: &764 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212689,7 +213185,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *704 + repository: *709 sender: *4 required: - action @@ -212765,11 +213261,11 @@ x-webhooks: type: string enum: - released - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -212845,11 +213341,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *701 - installation: *702 - organization: *703 - release: *759 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *764 + repository: *709 sender: *4 required: - action @@ -212925,11 +213421,11 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_advisory: *619 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *624 sender: *4 required: - action @@ -213005,11 +213501,11 @@ x-webhooks: type: string enum: - reported - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_advisory: *619 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *624 sender: *4 required: - action @@ -213085,10 +213581,10 @@ x-webhooks: type: string enum: - archived - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213165,10 +213661,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213246,10 +213742,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213333,10 +213829,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213448,10 +213944,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213523,10 +214019,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 status: type: string @@ -213607,10 +214103,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213687,10 +214183,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213784,10 +214280,10 @@ x-webhooks: - name required: - repository - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213867,11 +214363,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 sender: *4 required: - action @@ -213949,11 +214445,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 sender: *4 required: - action @@ -214031,11 +214527,11 @@ x-webhooks: type: string enum: - edited - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 changes: type: object properties: @@ -214054,16 +214550,16 @@ x-webhooks: properties: added: type: array - items: *258 + items: *262 deleted: type: array - items: *258 + items: *262 updated: type: array items: type: object properties: - condition: *258 + condition: *262 changes: type: object properties: @@ -214096,16 +214592,16 @@ x-webhooks: properties: added: type: array - items: *584 + items: *589 deleted: type: array - items: *584 + items: *589 updated: type: array items: type: object properties: - rule: *584 + rule: *589 changes: type: object properties: @@ -214339,10 +214835,10 @@ x-webhooks: - from required: - owner - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214420,10 +214916,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214501,7 +214997,7 @@ x-webhooks: type: string enum: - create - alert: &760 + alert: &765 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214622,10 +215118,10 @@ x-webhooks: type: string enum: - open - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214831,10 +215327,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214912,11 +215408,11 @@ x-webhooks: type: string enum: - reopen - alert: *760 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *765 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215115,10 +215611,10 @@ x-webhooks: enum: - fixed - open - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215196,7 +215692,7 @@ x-webhooks: type: string enum: - created - alert: &761 + alert: &766 type: object properties: number: *54 @@ -215307,10 +215803,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215391,11 +215887,11 @@ x-webhooks: type: string enum: - created - alert: *761 - installation: *702 - location: *762 - organization: *703 - repository: *704 + alert: *766 + installation: *707 + location: *767 + organization: *708 + repository: *709 sender: *4 required: - location @@ -215633,11 +216129,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215715,11 +216211,11 @@ x-webhooks: type: string enum: - reopened - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215797,11 +216293,11 @@ x-webhooks: type: string enum: - resolved - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215879,11 +216375,11 @@ x-webhooks: type: string enum: - validated - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216009,10 +216505,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *704 - enterprise: *701 - installation: *702 - organization: *703 + repository: *709 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -216090,11 +216586,11 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - security_advisory: &763 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: &768 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216277,11 +216773,11 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - security_advisory: *763 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: *768 sender: *4 required: - action @@ -216354,10 +216850,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216541,11 +217037,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *257 - enterprise: *701 - installation: *702 - organization: *703 - repository: *330 + security_and_analysis: *261 + enterprise: *706 + installation: *707 + organization: *708 + repository: *334 sender: *4 required: - changes @@ -216623,12 +217119,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: &764 + sponsorship: &769 type: object properties: created_at: @@ -216929,12 +217425,12 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - sponsorship @@ -217022,12 +217518,12 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217104,17 +217600,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &765 + effective_date: &770 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: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - sponsorship @@ -217188,7 +217684,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &766 + changes: &771 type: object properties: tier: @@ -217232,13 +217728,13 @@ x-webhooks: - from required: - tier - effective_date: *765 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + effective_date: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217315,13 +217811,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *766 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + changes: *771 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217395,10 +217891,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217481,10 +217977,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217904,15 +218400,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *701 + enterprise: *706 id: description: The unique identifier of the status. type: integer - installation: *702 + installation: *707 name: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 sha: description: The Commit SHA. @@ -218021,15 +218517,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - parent_issue_repo: *60 + parent_issue: *84 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - installation: *702 - organization: *703 - repository: *704 + sub_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218113,15 +218609,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - parent_issue_repo: *60 + parent_issue: *84 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - installation: *702 - organization: *703 - repository: *704 + sub_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218205,15 +218701,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - sub_issue_repo: *60 + sub_issue: *84 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - installation: *702 - organization: *703 - repository: *704 + parent_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218297,15 +218793,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - sub_issue_repo: *60 + sub_issue: *84 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - installation: *702 - organization: *703 - repository: *704 + parent_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218382,12 +218878,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - team: &767 + team: &772 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218577,9 +219073,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -219037,7 +219533,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -219113,9 +219609,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -219573,7 +220069,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -219650,9 +220146,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -220110,7 +220606,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -220254,9 +220750,9 @@ x-webhooks: - from required: - permissions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -220714,7 +221210,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - changes @@ -220792,9 +221288,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221252,7 +221748,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -221328,10 +221824,10 @@ x-webhooks: type: string enum: - started - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -221404,16 +221900,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *701 + enterprise: *706 inputs: type: object nullable: true additionalProperties: true - installation: *702 - organization: *703 + installation: *707 + organization: *708 ref: type: string - repository: *704 + repository: *709 sender: *4 workflow: type: string @@ -221495,10 +221991,10 @@ x-webhooks: type: string enum: - completed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -221735,7 +222231,7 @@ x-webhooks: type: string required: - conclusion - deployment: *480 + deployment: *484 required: - action - repository @@ -221814,10 +222310,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -222077,7 +222573,7 @@ x-webhooks: required: - status - steps - deployment: *480 + deployment: *484 required: - action - repository @@ -222156,10 +222652,10 @@ x-webhooks: type: string enum: - queued - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -222294,7 +222790,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *480 + deployment: *484 required: - action - repository @@ -222373,10 +222869,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -222512,7 +223008,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *480 + deployment: *484 required: - action - repository @@ -222592,12 +223088,12 @@ x-webhooks: type: string enum: - completed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -223596,12 +224092,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -224585,12 +225081,12 @@ x-webhooks: type: string enum: - requested - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 31728dcdc6..ac3053f6e5 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/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." @@ -23711,6 +23715,2006 @@ } } }, + "/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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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", @@ -69252,13 +71256,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -84002,11 +86008,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -84016,6 +86023,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -84043,7 +86051,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -108355,11 +110364,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -108369,6 +110379,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -108396,7 +110407,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -137754,7 +139766,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" @@ -137964,7 +139976,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" @@ -138310,7 +140322,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" @@ -138510,7 +140522,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" @@ -138796,7 +140808,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" @@ -145889,6 +147901,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." + } + } + } + } } ] } @@ -148386,6 +150427,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." + } + } + } + } } ] } @@ -150318,6 +152388,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." + } + } + } + } } ] } @@ -152836,6 +154935,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." + } + } + } + } } ] } @@ -443366,6 +445494,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." + } + } + } + ] } ] } @@ -444718,6 +446901,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." + } + } + } + } } ] } @@ -445791,6 +448003,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." + } + } + } + } } ] } @@ -447072,6 +449313,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." + } + } + } + } } ] } @@ -449023,6 +451293,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." + } + } + } + } } ] } @@ -450111,6 +452410,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." + } + } + } + } } ] } @@ -451388,6 +453716,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." + } + } + } + } } ] } @@ -1132847,6 +1135204,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." + } + } + } + } } ] } @@ -1135698,6 +1138084,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." + } + } + } + } } ] } @@ -1138549,6 +1140964,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." + } + } + } + } } ] } @@ -1139549,6 +1141993,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." + } + } + } + } } ] } @@ -1140377,6 +1142850,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." + } + } + } + } } ] } @@ -1141208,6 +1143710,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index af0c6e32b4..f11f22cba5 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/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 @@ -853,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &299 + type: &303 type: string description: The type of credit the user is receiving. enum: @@ -986,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &101 + schema: &108 title: Validation Error Simple description: Validation Error Simple type: object @@ -1019,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &621 + - &626 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1137,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &61 + properties: &68 id: description: Unique identifier of the GitHub app example: 37 @@ -1270,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &62 + required: &69 - id - node_id - owner @@ -1575,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &178 + - &184 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 @@ -1591,7 +1593,7 @@ paths: application/json: schema: type: array - items: &179 + items: &185 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1671,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &180 + default: &186 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1730,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &100 + schema: &107 title: Validation Error description: Validation Error type: object @@ -1799,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &187 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1913,7 +1915,7 @@ paths: - request - response examples: - default: &182 + default: &188 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2114,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &67 + - &74 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) @@ -2839,11 +2841,11 @@ paths: - selected repositories: type: array - items: &60 + items: &67 title: Repository description: A repository on GitHub. type: object - properties: &255 + properties: &259 id: description: Unique identifier of the repository example: 42 @@ -2863,7 +2865,7 @@ paths: title: License Simple description: License Simple type: object - properties: &78 + properties: &85 key: type: string example: mit @@ -2885,7 +2887,7 @@ paths: html_url: type: string format: uri - required: &79 + required: &86 - key - name - url @@ -3281,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &256 + required: &260 - archive_url - assignees_url - blobs_url @@ -5068,7 +5070,7 @@ paths: responses: '202': *39 '422': *7 - '500': &97 + '500': &104 description: Internal Error content: application/json: @@ -7392,7 +7394,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &149 + code_scanning_options: &155 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7586,7 +7588,7 @@ paths: description: Response content: application/json: - schema: &151 + schema: &157 type: array description: A list of default code security configurations items: @@ -7602,7 +7604,7 @@ paths: default configuration: *43 examples: - default: &152 + default: &158 value: - default_for_new_repos: public configuration: @@ -7933,7 +7935,7 @@ paths: - *42 - *45 responses: - '204': &153 + '204': &159 description: A header with no content is returned. '400': *14 '403': *29 @@ -8060,7 +8062,7 @@ paths: default: value: default_for_new_repos: all - configuration: &150 + configuration: &156 value: id: 1325 target_type: organization @@ -8145,7 +8147,7 @@ paths: application/json: schema: type: array - items: &154 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8167,7 +8169,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &94 + properties: &101 id: type: integer format: int64 @@ -8394,7 +8396,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &95 + required: &102 - archive_url - assignees_url - blobs_url @@ -8446,7 +8448,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &155 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8540,7 +8542,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &160 + - &166 name: state in: query description: |- @@ -8549,7 +8551,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &161 + - &167 name: severity in: query description: |- @@ -8558,7 +8560,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &162 + - &168 name: ecosystem in: query description: |- @@ -8567,14 +8569,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &163 + - &169 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 - - &164 + - &170 name: epss_percentage in: query description: |- @@ -8586,7 +8588,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 - - &165 + - &171 name: has in: query description: |- @@ -8600,7 +8602,7 @@ paths: type: string enum: - patch - - &166 + - &172 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8610,7 +8612,7 @@ paths: enum: - development - runtime - - &167 + - &173 name: sort in: query description: |- @@ -8628,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &168 + - &174 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8641,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &169 + - &175 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8661,7 +8663,7 @@ paths: application/json: schema: type: array - items: &170 + items: &176 type: object description: A Dependabot alert. properties: @@ -8727,7 +8729,7 @@ paths: - unknown - direct - transitive - security_advisory: &472 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8946,13 +8948,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &143 + updated_at: &149 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &145 + dismissed_at: &151 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8982,14 +8984,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &144 + fixed_at: &150 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &473 + auto_dismissed_at: &477 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9015,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &171 + default: &177 value: - number: 2 state: dismissed @@ -9362,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &287 + - &291 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9373,7 +9375,7 @@ paths: enum: - open - resolved - - &288 + - &292 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9383,7 +9385,7 @@ paths: required: false schema: type: string - - &289 + - &293 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9392,7 +9394,7 @@ paths: required: false schema: type: string - - &290 + - &294 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. @@ -9408,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &291 + - &295 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9417,7 +9419,7 @@ paths: required: false schema: type: string - - &292 + - &296 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9426,7 +9428,7 @@ paths: schema: type: boolean default: false - - &293 + - &297 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9435,7 +9437,7 @@ paths: schema: type: boolean default: false - - &294 + - &298 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9451,7 +9453,7 @@ paths: application/json: schema: type: array - items: &295 + items: &299 type: object properties: number: *54 @@ -9470,14 +9472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &599 + state: &604 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: &600 + resolution: &605 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9584,8 +9586,8 @@ paths: pull request. ' - oneOf: &601 - - &603 + oneOf: &606 + - &608 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9637,7 +9639,7 @@ paths: - blob_url - commit_sha - commit_url - - &604 + - &609 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. @@ -9692,7 +9694,7 @@ paths: - page_url - commit_sha - commit_url - - &605 + - &610 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9706,7 +9708,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &606 + - &611 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9720,7 +9722,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &607 + - &612 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9734,7 +9736,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &608 + - &613 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9748,7 +9750,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &609 + - &614 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9762,7 +9764,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &610 + - &615 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9776,7 +9778,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &611 + - &616 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. @@ -9790,7 +9792,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &612 + - &617 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. @@ -9804,7 +9806,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &613 + - &618 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. @@ -9818,7 +9820,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &614 + - &619 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. @@ -9832,7 +9834,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &615 + - &620 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -9852,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &296 + default: &300 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10011,7 +10013,7 @@ paths: headers: Link: *58 '404': *6 - '503': &65 + '503': &72 description: Service unavailable content: application/json: @@ -10029,6 +10031,551 @@ 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: + - *42 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &59 + 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.' + example: disabled | all + organization_selection_type: + type: string + example: disabled | selected | all + group_id: + nullable: true + type: string + example: 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: + nullable: true + type: string + description: 'Retired: this field will not be returned with + GHEC enterprise teams.' + example: Justice League + html_url: + type: string + format: uri + example: 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: &60 + 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: *58 + '403': *29 + 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: + - *42 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *59 + examples: + default: *60 + 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: + - *42 + - &61 + 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: &62 + 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: *58 + 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: + - *42 + - *61 + 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: *62 + 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: + - *42 + - *61 + 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: *62 + 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: + - *42 + - *61 + - &63 + 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: &64 + 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: + - *42 + - *61 + - *63 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *64 + 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: + - *42 + - *61 + - *63 + responses: + '204': + description: Response + '403': *29 + 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: + - *42 + - &65 + 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: *59 + examples: + default: *60 + headers: + Link: *58 + '403': *29 + 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: + - *42 + - *65 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *59 + examples: + default: *60 + headers: + Link: *58 + '403': *29 + 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: + - *42 + - *65 + responses: + '204': + description: Response + '403': *29 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-teams "/events": get: summary: List public events @@ -10051,7 +10598,7 @@ paths: application/json: schema: type: array - items: &89 + items: &96 title: Event description: Event type: object @@ -10061,7 +10608,7 @@ paths: type: type: string nullable: true - actor: &59 + actor: &66 title: Actor description: Actor type: object @@ -10101,18 +10648,18 @@ paths: - id - name - url - org: *59 + org: *66 payload: type: object properties: action: type: string - issue: &77 + issue: &84 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &521 + properties: &525 id: type: integer format: int64 @@ -10224,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &243 + properties: &247 url: type: string format: uri @@ -10294,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &244 + required: &248 - closed_issues - creator - description @@ -10373,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &200 + type: &206 title: Issue Type description: The type of issue. type: object @@ -10422,7 +10969,7 @@ paths: - node_id - name - description - repository: *60 + repository: *67 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -10432,9 +10979,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - author_association: &63 + properties: *68 + required: *69 + author_association: &70 title: author_association type: string example: OWNER @@ -10448,7 +10995,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &64 + reactions: &71 title: Reaction Rollup type: object properties: @@ -10484,7 +11031,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &633 + sub_issues_summary: &638 title: Sub-issues Summary type: object properties: @@ -10504,7 +11051,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &634 + issue_dependencies_summary: &639 title: Issue Dependencies Summary type: object properties: @@ -10523,7 +11070,7 @@ paths: - total_blocking issue_field_values: type: array - items: &635 + items: &640 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10583,7 +11130,7 @@ paths: - node_id - data_type - value - required: &522 + required: &526 - assignee - closed_at - comments @@ -10604,7 +11151,7 @@ paths: - user - created_at - updated_at - comment: &519 + comment: &523 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10652,7 +11199,7 @@ paths: issue_url: type: string format: uri - author_association: *63 + author_association: *70 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -10662,9 +11209,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - id - node_id @@ -10759,7 +11306,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10840,7 +11387,7 @@ paths: _links: type: object properties: - timeline: &66 + timeline: &73 title: Link With Type description: Hypermedia Link with Type type: object @@ -10852,17 +11399,17 @@ paths: required: - href - type - user: *66 - security_advisories: *66 - current_user: *66 - current_user_public: *66 - current_user_actor: *66 - current_user_organization: *66 + user: *73 + security_advisories: *73 + current_user: *73 + current_user_public: *73 + current_user_actor: *73 + current_user_organization: *73 current_user_organizations: type: array - items: *66 - repository_discussions: *66 - repository_discussions_category: *66 + items: *73 + repository_discussions: *73 + repository_discussions_category: *73 required: - timeline - user @@ -10924,7 +11471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *67 + - *74 - *17 - *19 responses: @@ -10934,7 +11481,7 @@ paths: application/json: schema: type: array - items: &68 + items: &75 title: Base Gist description: Base Gist type: object @@ -11033,7 +11580,7 @@ paths: - created_at - updated_at examples: - default: &69 + default: &76 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -11154,7 +11701,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &77 title: Gist Simple description: Gist Simple type: object @@ -11171,7 +11718,7 @@ paths: url: type: string format: uri - user: &647 + user: &652 title: Public User description: Public User type: object @@ -11533,7 +12080,7 @@ paths: truncated: type: boolean examples: - default: &71 + default: &78 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -11637,7 +12184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *67 + - *74 - *17 - *19 responses: @@ -11647,9 +12194,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '422': *15 @@ -11671,7 +12218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *67 + - *74 - *17 - *19 responses: @@ -11681,9 +12228,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '401': *25 @@ -11711,7 +12258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &72 + - &79 name: gist_id description: The unique identifier of the gist. in: path @@ -11723,10 +12270,10 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 - '403': &75 + default: *78 + '403': &82 description: Forbidden Gist content: application/json: @@ -11774,7 +12321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *72 + - *79 requestBody: required: true content: @@ -11834,9 +12381,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - updateGist: *71 + updateGist: *78 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -11994,7 +12541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12023,7 +12570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12033,7 +12580,7 @@ paths: application/json: schema: type: array - items: &73 + items: &80 title: Gist Comment description: A comment made to a gist. type: object @@ -12068,7 +12615,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *63 + author_association: *70 required: - url - id @@ -12133,7 +12680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *72 + - *79 requestBody: required: true content: @@ -12158,9 +12705,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: &74 + default: &81 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -12218,8 +12765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *72 - - &76 + - *79 + - &83 name: comment_id description: The unique identifier of the comment. in: path @@ -12232,12 +12779,12 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: *74 + default: *81 '304': *37 '404': *6 - '403': *75 + '403': *82 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12259,8 +12806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *72 - - *76 + - *79 + - *83 requestBody: required: true content: @@ -12285,9 +12832,9 @@ paths: description: Response content: application/json: - schema: *73 + schema: *80 examples: - default: *74 + default: *81 '404': *6 x-github: githubCloudOnly: false @@ -12304,8 +12851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *72 - - *76 + - *79 + - *83 responses: '204': description: Response @@ -12328,7 +12875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12429,7 +12976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *72 + - *79 - *17 - *19 responses: @@ -12439,7 +12986,7 @@ paths: application/json: schema: type: array - items: *70 + items: *77 examples: default: value: @@ -12504,13 +13051,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *72 + - *79 responses: '201': description: Response content: application/json: - schema: *68 + schema: *75 examples: default: value: @@ -12581,7 +13128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *72 + - *79 responses: '204': description: Response if gist is starred @@ -12611,7 +13158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12633,7 +13180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *72 + - *79 responses: '204': description: Response @@ -12662,7 +13209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *72 + - *79 - name: sha in: path required: true @@ -12673,9 +13220,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *77 examples: - default: *71 + default: *78 '422': *15 '404': *6 '403': *29 @@ -12834,7 +13381,7 @@ paths: type: integer repositories: type: array - items: *60 + items: *67 repository_selection: type: string example: selected @@ -13041,7 +13588,7 @@ paths: - closed - all default: open - - &203 + - &209 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13060,7 +13607,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - name: collab in: query required: false @@ -13090,9 +13637,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &204 + default: &210 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13376,8 +13923,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 examples: default: value: @@ -13662,7 +14209,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &80 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -13717,7 +14264,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *80 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -13746,7 +14293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &83 + - &90 name: account_id description: account_id parameter in: path @@ -13758,7 +14305,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -13788,7 +14335,7 @@ paths: nullable: true id: type: integer - plan: &81 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -13877,7 +14424,7 @@ paths: nullable: true updated_at: type: string - plan: *81 + plan: *88 required: - url - id @@ -13885,7 +14432,7 @@ paths: - login - marketplace_purchase examples: - default: &84 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -13970,9 +14517,9 @@ paths: application/json: schema: type: array - items: *81 + items: *88 examples: - default: &85 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -14012,14 +14559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &86 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &87 + - &94 name: sort description: The property to sort the results by. in: query @@ -14049,9 +14596,9 @@ paths: application/json: schema: type: array - items: *82 + items: *89 examples: - default: &88 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -14125,15 +14672,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *83 + - *90 responses: '200': description: Response content: application/json: - schema: *82 + schema: *89 examples: - default: *84 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -14165,9 +14712,9 @@ paths: application/json: schema: type: array - items: *81 + items: *88 examples: - default: *85 + default: *92 headers: Link: *58 '401': *25 @@ -14190,8 +14737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *86 - - *87 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -14211,9 +14758,9 @@ paths: application/json: schema: type: array - items: *82 + items: *89 examples: - default: *88 + default: *95 headers: Link: *58 '401': *25 @@ -14477,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &322 + - &326 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &323 + - &327 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14501,7 +15048,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -14555,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &335 description: Moved permanently content: application/json: @@ -14577,7 +15124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &551 + - &555 name: all description: If `true`, show notifications marked as read. in: query @@ -14585,7 +15132,7 @@ paths: schema: type: boolean default: false - - &552 + - &556 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14594,8 +15141,8 @@ paths: schema: type: boolean default: false - - *67 - - &553 + - *74 + - &557 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: @@ -14620,18 +15167,18 @@ paths: application/json: schema: type: array - items: &90 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &126 + repository: &133 title: Minimal Repository description: Minimal Repository type: object - properties: &173 + properties: &179 id: type: integer format: int64 @@ -14907,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &257 + security_and_analysis: &261 nullable: true type: object properties: @@ -14981,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &174 + required: &180 - archive_url - assignees_url - blobs_url @@ -15069,7 +15616,7 @@ paths: - url - subscription_url examples: - default: &554 + default: &558 value: - id: '1' repository: @@ -15235,7 +15782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &91 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -15249,7 +15796,7 @@ paths: description: Response content: application/json: - schema: *90 + schema: *97 examples: default: value: @@ -15351,7 +15898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *91 + - *98 responses: '205': description: Reset Content @@ -15373,7 +15920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *91 + - *98 responses: '204': description: No content @@ -15396,13 +15943,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *91 + - *98 responses: '200': description: Response content: application/json: - schema: &92 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -15439,7 +15986,7 @@ paths: - url - subscribed examples: - default: &93 + default: &100 value: subscribed: true ignored: false @@ -15470,7 +16017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *91 + - *98 requestBody: required: false content: @@ -15491,9 +16038,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *99 examples: - default: *93 + default: *100 '304': *37 '403': *29 '401': *25 @@ -15516,7 +16063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *91 + - *98 responses: '204': description: Response @@ -15611,11 +16158,11 @@ paths: application/json: schema: type: array - items: &210 + items: &215 title: Organization Simple description: A GitHub organization. type: object - properties: &157 + properties: &163 login: type: string example: github @@ -15656,7 +16203,7 @@ paths: type: string example: A great organization nullable: true - required: &158 + required: &164 - login - url - id @@ -15670,7 +16217,7 @@ paths: - avatar_url - description examples: - default: &664 + default: &669 value: - login: github id: 1 @@ -15710,7 +16257,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: - - &96 + - &103 name: org description: The organization name. The name is not case sensitive. in: path @@ -15760,8 +16307,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *94 - required: *95 + properties: *101 + required: *102 nullable: true additionalProperties: false examples: @@ -15867,7 +16414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -15933,7 +16480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *96 + - *103 requestBody: required: true content: @@ -15980,8 +16527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *96 - - &694 + - *103 + - &699 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, @@ -15990,7 +16537,7 @@ paths: required: false schema: type: integer - - &695 + - &700 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -15999,7 +16546,7 @@ paths: required: false schema: type: integer - - &696 + - &701 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 @@ -16008,7 +16555,7 @@ paths: required: false schema: type: integer - - &697 + - &702 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 @@ -16091,8 +16638,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16118,13 +16665,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &98 + schema: &105 title: Organization Full description: Organization Full type: object @@ -16443,7 +16990,7 @@ paths: - updated_at - archived_at examples: - default-response: &99 + default-response: &106 value: login: github id: 1 @@ -16543,7 +17090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *96 + - *103 requestBody: required: false content: @@ -16759,17 +17306,17 @@ paths: description: Response content: application/json: - schema: *98 + schema: *105 examples: - default: *99 + default: *106 '422': description: Validation failed content: application/json: schema: oneOf: - - *100 - - *101 + - *107 + - *108 '409': *47 x-github: githubCloudOnly: false @@ -16793,7 +17340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *96 + - *103 responses: '202': *39 '404': *6 @@ -16818,7 +17365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -16865,7 +17412,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: - - *96 + - *103 - *17 - *19 responses: @@ -16883,7 +17430,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &340 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16938,7 +17485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -16956,7 +17503,7 @@ paths: type: integer runners: type: array - items: &102 + items: &109 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17005,7 +17552,7 @@ paths: - display_name - source nullable: true - machine_size_details: &105 + machine_size_details: &112 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17097,7 +17644,7 @@ paths: - public_ip_enabled - platform examples: - default: &125 + default: &132 value: total_count: 2 runners: @@ -17157,7 +17704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -17224,9 +17771,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: &106 + default: &113 value: id: 5 name: My hosted ubuntu runner @@ -17265,7 +17812,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: - - *96 + - *103 responses: '200': description: Response @@ -17281,7 +17828,7 @@ paths: type: integer images: type: array - items: &103 + items: &110 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17317,7 +17864,7 @@ paths: - display_name - source examples: - default: &104 + default: &111 value: id: ubuntu-20.04 platform: linux-x64 @@ -17341,7 +17888,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: - - *96 + - *103 responses: '200': description: Response @@ -17357,9 +17904,9 @@ paths: type: integer images: type: array - items: *103 + items: *110 examples: - default: *104 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17376,7 +17923,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: - - *96 + - *103 responses: '200': description: Response @@ -17429,7 +17976,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: - - *96 + - *103 responses: '200': description: Response @@ -17445,7 +17992,7 @@ paths: type: integer machine_specs: type: array - items: *105 + items: *112 examples: default: value: @@ -17470,7 +18017,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: - - *96 + - *103 responses: '200': description: Response @@ -17514,8 +18061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *96 - - &107 + - *103 + - &114 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17527,9 +18074,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 headers: Link: *58 x-github: @@ -17549,8 +18096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *96 - - *107 + - *103 + - *114 requestBody: required: true content: @@ -17588,9 +18135,9 @@ paths: description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17606,16 +18153,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *96 - - *107 + - *103 + - *114 responses: '202': description: Response content: application/json: - schema: *102 + schema: *109 examples: - default: *106 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17635,13 +18182,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: - - *96 + - *103 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &108 + schema: &115 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17655,7 +18202,7 @@ paths: required: - include_claim_keys examples: - default: &109 + default: &116 value: include_claim_keys: - repo @@ -17677,20 +18224,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: - - *96 + - *103 requestBody: required: true content: application/json: - schema: *108 + schema: *115 examples: - default: *109 + default: *116 responses: '201': description: Empty response content: application/json: - schema: &135 + schema: &142 title: Empty Object description: An object without any properties. type: object @@ -17720,7 +18267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -17729,7 +18276,7 @@ paths: schema: type: object properties: - enabled_repositories: &110 + enabled_repositories: &117 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17742,7 +18289,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: &111 + allowed_actions: &118 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17750,12 +18297,12 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &346 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: &112 + sha_pinning_required: &119 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -17786,7 +18333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -17797,9 +18344,9 @@ paths: schema: type: object properties: - enabled_repositories: *110 - allowed_actions: *111 - sha_pinning_required: *112 + enabled_repositories: *117 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled_repositories examples: @@ -17827,13 +18374,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &346 + schema: &350 type: object properties: days: @@ -17870,12 +18417,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &347 + schema: &351 type: object properties: days: @@ -17912,13 +18459,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &113 + schema: &120 type: object properties: approval_policy: @@ -17932,7 +18479,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &352 value: approval_policy: first_time_contributors '404': *6 @@ -17953,7 +18500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -17963,7 +18510,7 @@ paths: required: true content: application/json: - schema: *113 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -17985,13 +18532,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: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &349 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -18017,7 +18564,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &114 + default: &121 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18040,12 +18587,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: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &350 + schema: &354 type: object required: - run_workflows_from_fork_pull_requests @@ -18068,7 +18615,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *114 + default: *121 responses: '204': description: Empty response for successful settings update @@ -18098,7 +18645,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: - - *96 + - *103 - *17 - *19 responses: @@ -18116,9 +18663,9 @@ paths: type: number repositories: type: array - items: *60 + items: *67 examples: - default: &118 + default: &125 value: total_count: 1 repositories: @@ -18258,7 +18805,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: - - *96 + - *103 responses: '204': description: Response @@ -18302,8 +18849,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: - - *96 - - &115 + - *103 + - &122 name: repository_id description: The unique identifier of the repository. in: path @@ -18331,8 +18878,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: Response @@ -18355,13 +18902,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &116 + schema: &123 type: object properties: github_owned_allowed: @@ -18383,7 +18930,7 @@ paths: items: type: string examples: - default: &117 + default: &124 value: github_owned_allowed: true verified_allowed: false @@ -18408,7 +18955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -18416,9 +18963,9 @@ paths: required: false content: application/json: - schema: *116 + schema: *123 examples: - selected_actions: *117 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18438,7 +18985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -18486,7 +19033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -18533,7 +19080,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: - - *96 + - *103 - *17 - *19 responses: @@ -18548,9 +19095,9 @@ paths: type: integer repositories: type: array - items: *60 + items: *67 examples: - default: *118 + default: *125 '403': *29 '404': *6 x-github: @@ -18570,7 +19117,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: - - *96 + - *103 requestBody: required: true content: @@ -18618,8 +19165,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: No content @@ -18645,8 +19192,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: - - *96 - - *115 + - *103 + - *122 responses: '204': description: No content @@ -18674,23 +19221,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &351 + schema: &355 type: object properties: - default_workflow_permissions: &119 + default_workflow_permissions: &126 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &120 + can_approve_pull_request_reviews: &127 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -18698,7 +19245,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &121 + default: &128 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -18723,7 +19270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Success response @@ -18731,13 +19278,13 @@ paths: required: false content: application/json: - schema: &352 + schema: &356 type: object properties: - default_workflow_permissions: *119 - can_approve_pull_request_reviews: *120 + default_workflow_permissions: *126 + can_approve_pull_request_reviews: *127 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18757,7 +19304,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: - - *96 + - *103 - *17 - *19 - name: visible_to_repository @@ -18782,7 +19329,7 @@ paths: type: number runner_groups: type: array - items: &122 + items: &129 type: object properties: id: @@ -18898,7 +19445,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: - - *96 + - *103 requestBody: required: true content: @@ -18970,9 +19517,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: &124 + default: &131 value: id: 2 name: octo-runner-group @@ -19007,8 +19554,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: - - *96 - - &123 + - *103 + - &130 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19020,7 +19567,7 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: default: value: @@ -19056,8 +19603,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19111,9 +19658,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *129 examples: - default: *124 + default: *131 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19132,8 +19679,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: - - *96 - - *123 + - *103 + - *130 responses: '204': description: Response @@ -19156,8 +19703,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: - - *96 - - *123 + - *103 + - *130 - *17 - *19 responses: @@ -19175,9 +19722,9 @@ paths: type: number runners: type: array - items: *102 + items: *109 examples: - default: *125 + default: *132 headers: Link: *58 x-github: @@ -19199,8 +19746,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: - - *96 - - *123 + - *103 + - *130 - *19 - *17 responses: @@ -19218,9 +19765,9 @@ paths: type: number repositories: type: array - items: *126 + items: *133 examples: - default: &650 + default: &655 value: total_count: 1 repositories: @@ -19472,8 +20019,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19517,9 +20064,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: - - *96 - - *123 - - *115 + - *103 + - *130 + - *122 responses: '204': description: Response @@ -19541,9 +20088,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: - - *96 - - *123 - - *115 + - *103 + - *130 + - *122 responses: '204': description: Response @@ -19566,8 +20113,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: - - *96 - - *123 + - *103 + - *130 - *17 - *19 responses: @@ -19585,7 +20132,7 @@ paths: type: number runners: type: array - items: &128 + items: &135 title: Self hosted runners description: A self hosted runner type: object @@ -19614,7 +20161,7 @@ paths: type: boolean labels: type: array - items: &131 + items: &138 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -19644,7 +20191,7 @@ paths: - busy - labels examples: - default: &129 + default: &136 value: total_count: 2 runners: @@ -19703,8 +20250,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: - - *96 - - *123 + - *103 + - *130 requestBody: required: true content: @@ -19748,9 +20295,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: - - *96 - - *123 - - &127 + - *103 + - *130 + - &134 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -19778,9 +20325,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: - - *96 - - *123 - - *127 + - *103 + - *130 + - *134 responses: '204': description: Response @@ -19810,7 +20357,7 @@ paths: in: query schema: type: string - - *96 + - *103 - *17 - *19 responses: @@ -19828,9 +20375,9 @@ paths: type: integer runners: type: array - items: *128 + items: *135 examples: - default: *129 + default: *136 headers: Link: *58 x-github: @@ -19854,7 +20401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -19862,7 +20409,7 @@ paths: application/json: schema: type: array - items: &353 + items: &357 title: Runner Application description: Runner Application type: object @@ -19887,7 +20434,7 @@ paths: - download_url - filename examples: - default: &354 + default: &358 value: - os: osx architecture: x64 @@ -19930,7 +20477,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: - - *96 + - *103 requestBody: required: true content: @@ -19973,7 +20520,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &359 description: Response content: application/json: @@ -19983,7 +20530,7 @@ paths: - runner - encoded_jit_config properties: - runner: *128 + runner: *135 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20040,13 +20587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *96 + - *103 responses: '201': description: Response content: application/json: - schema: &130 + schema: &137 title: Authentication Token description: Authentication Token type: object @@ -20068,7 +20615,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *60 + items: *67 single_file: type: string example: config.yaml @@ -20084,7 +20631,7 @@ paths: - token - expires_at examples: - default: &356 + default: &360 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20115,15 +20662,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *96 + - *103 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: &357 + default: &361 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20148,16 +20695,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: - - *96 - - *127 + - *103 + - *134 responses: '200': description: Response content: application/json: - schema: *128 + schema: *135 examples: - default: &358 + default: &362 value: id: 23 name: MBP @@ -20198,8 +20745,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: - - *96 - - *127 + - *103 + - *134 responses: '204': description: Response @@ -20225,10 +20772,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: - - *96 - - *127 + - *103 + - *134 responses: - '200': &132 + '200': &139 description: Response content: application/json: @@ -20242,7 +20789,7 @@ paths: type: integer labels: type: array - items: *131 + items: *138 examples: default: value: @@ -20281,8 +20828,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: - - *96 - - *127 + - *103 + - *134 requestBody: required: true content: @@ -20306,7 +20853,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20330,8 +20877,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: - - *96 - - *127 + - *103 + - *134 requestBody: required: true content: @@ -20356,7 +20903,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20380,10 +20927,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: - - *96 - - *127 + - *103 + - *134 responses: - '200': &359 + '200': &363 description: Response content: application/json: @@ -20397,7 +20944,7 @@ paths: type: integer labels: type: array - items: *131 + items: *138 examples: default: value: @@ -20438,9 +20985,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: - - *96 - - *127 - - &360 + - *103 + - *134 + - &364 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20448,7 +20995,7 @@ paths: schema: type: string responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -20473,7 +21020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -20491,7 +21038,7 @@ paths: type: integer secrets: type: array - items: &133 + items: &140 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -20564,13 +21111,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &372 + schema: &376 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -20599,7 +21146,7 @@ paths: - key_id - key examples: - default: &373 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20624,8 +21171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *96 - - &134 + - *103 + - &141 name: secret_name description: The name of the secret. in: path @@ -20637,7 +21184,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *140 examples: default: value: @@ -20667,8 +21214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -20725,7 +21272,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -20751,8 +21298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -20778,8 +21325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -20797,9 +21344,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: &138 + default: &145 value: total_count: 1 repositories: @@ -20891,8 +21438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -20944,8 +21491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -20978,8 +21525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -21011,8 +21558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *96 - - &341 + - *103 + - &345 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)." @@ -21036,7 +21583,7 @@ paths: type: integer variables: type: array - items: &136 + items: &143 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21121,7 +21668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *96 + - *103 requestBody: required: true content: @@ -21169,7 +21716,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -21194,8 +21741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *96 - - &137 + - *103 + - &144 name: name description: The name of the variable. in: path @@ -21207,7 +21754,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *143 examples: default: value: @@ -21237,8 +21784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 requestBody: required: true content: @@ -21300,8 +21847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 responses: '204': description: Response @@ -21327,8 +21874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - *19 - *17 responses: @@ -21346,9 +21893,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 '409': description: Response when the visibility of the variable is not set to `selected` @@ -21374,8 +21921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 requestBody: required: true content: @@ -21424,8 +21971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - name: repository_id in: path required: true @@ -21459,8 +22006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *96 - - *137 + - *103 + - *144 - name: repository_id in: path required: true @@ -21491,7 +22038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *96 + - *103 requestBody: required: true content: @@ -21579,10 +22126,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -21621,7 +22170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *96 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -21706,7 +22255,7 @@ paths: - *17 - *40 - *41 - - *96 + - *103 requestBody: required: true content: @@ -21729,12 +22278,12 @@ paths: required: - subject_digests examples: - default: &683 + default: &688 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &684 + withPredicateType: &689 value: subject_digests: - sha256:abc123 @@ -21792,7 +22341,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &685 + default: &690 value: attestations_subject_digests: - sha256:abc: @@ -21901,7 +22450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *96 + - *103 requestBody: required: true content: @@ -21966,7 +22515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *96 + - *103 - name: subject_digest description: Subject Digest in: path @@ -21997,7 +22546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *96 + - *103 - name: attestation_id description: Attestation ID in: path @@ -22035,7 +22584,7 @@ paths: - *17 - *40 - *41 - - *96 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -22086,7 +22635,7 @@ paths: bundle_url: type: string examples: - default: &386 + default: &390 value: attestations: - bundle: @@ -22193,7 +22742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -22205,26 +22754,7 @@ paths: type: array items: *4 examples: - default: &205 - 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: *62 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22243,14 +22773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *96 - - &139 - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string + - *103 + - *63 responses: '204': description: If the user is blocked @@ -22275,8 +22799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -22296,8 +22820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -22322,7 +22846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *96 + - *103 - *19 - *17 - *48 @@ -22330,7 +22854,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &140 + schema: &146 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -22356,7 +22880,7 @@ paths: application/json: schema: type: array - items: &141 + items: &147 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -22387,7 +22911,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &159 + items: &165 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -22446,7 +22970,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &218 + properties: &222 id: description: Unique identifier of the team type: integer @@ -22502,7 +23026,7 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &219 + required: &223 - id - node_id - url @@ -22543,7 +23067,7 @@ paths: type: string format: date-time nullable: true - state: *140 + state: *146 contact_link: description: The contact link of the campaign. type: string @@ -22640,7 +23164,7 @@ paths: headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22664,7 +23188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -22758,9 +23282,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: &142 + default: &148 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -22809,7 +23333,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22831,7 +23355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22843,16 +23367,16 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: *142 + default: *148 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22873,7 +23397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22922,7 +23446,7 @@ paths: type: string format: uri nullable: true - state: *140 + state: *146 examples: default: value: @@ -22932,9 +23456,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *147 examples: - default: *142 + default: *148 '400': description: Bad Request content: @@ -22946,7 +23470,7 @@ paths: content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22967,7 +23491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *96 + - *103 - name: campaign_number description: The campaign number. in: path @@ -22978,7 +23502,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23000,18 +23524,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *96 - - &412 + - *103 + - &416 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: &146 + schema: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &413 + - &417 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 @@ -23019,7 +23543,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &147 + schema: &153 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23034,7 +23558,7 @@ paths: be returned. in: query required: false - schema: &415 + schema: &419 type: string description: State of a code scanning alert. enum: @@ -23057,7 +23581,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &420 type: string description: Severity of a code scanning alert. enum: @@ -23080,16 +23604,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: &417 + instances_url: &421 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &148 + state: &154 type: string description: State of a code scanning alert. nullable: true @@ -23097,7 +23621,7 @@ paths: - open - dismissed - fixed - fixed_at: *144 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -23105,8 +23629,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: &418 + dismissed_at: *151 + dismissed_reason: &422 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23115,13 +23639,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &419 + dismissed_comment: &423 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &420 + rule: &424 type: object properties: id: @@ -23174,25 +23698,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &421 + tool: &425 type: object properties: - name: *146 + name: *152 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *147 - most_recent_instance: &422 + guid: *153 + most_recent_instance: &426 type: object properties: - ref: &414 + ref: &418 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &432 + analysis_key: &436 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23203,13 +23727,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &433 + category: &437 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: *148 + state: *154 commit_sha: type: string message: @@ -23502,7 +24026,7 @@ paths: headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23524,7 +24048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *96 + - *103 - name: target_type in: query description: The target type of the code security configuration @@ -23635,7 +24159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *96 + - *103 requestBody: required: true content: @@ -23713,7 +24237,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *149 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -23856,7 +24380,7 @@ paths: application/json: schema: *43 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23878,15 +24402,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: *152 + default: *158 '304': *37 '403': *29 '404': *6 @@ -23912,7 +24436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *96 + - *103 requestBody: required: true content: @@ -23938,7 +24462,7 @@ paths: - 32 - 91 responses: - '204': *153 + '204': *159 '400': *14 '403': *29 '404': *6 @@ -23964,7 +24488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *96 + - *103 - *45 responses: '200': @@ -23973,7 +24497,7 @@ paths: application/json: schema: *43 examples: - default: *150 + default: *156 '304': *37 '403': *29 '404': *6 @@ -23997,7 +24521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *96 + - *103 - *45 requestBody: required: true @@ -24254,10 +24778,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *96 + - *103 - *45 responses: - '204': *153 + '204': *159 '400': *14 '403': *29 '404': *6 @@ -24285,7 +24809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *96 + - *103 - *45 requestBody: required: true @@ -24349,7 +24873,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: - - *96 + - *103 - *45 requestBody: required: true @@ -24395,7 +24919,7 @@ paths: default: value: default_for_new_repos: all - configuration: *150 + configuration: *156 '403': *29 '404': *6 x-github: @@ -24419,7 +24943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *96 + - *103 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -24448,13 +24972,13 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *155 + repository: *161 '403': *29 '404': *6 x-github: @@ -24478,7 +25002,7 @@ paths: parameters: - *17 - *19 - - *96 + - *103 responses: '200': description: Response @@ -24494,7 +25018,7 @@ paths: type: integer codespaces: type: array - items: &206 + items: &211 type: object title: Codespace description: A codespace. @@ -24519,12 +25043,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *126 + repository: *133 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &445 + properties: &449 name: type: string description: The name of the machine. @@ -24566,7 +25090,7 @@ paths: - ready - in_progress nullable: true - required: &446 + required: &450 - name - display_name - operating_system @@ -24771,7 +25295,7 @@ paths: - pulls_url - recent_folders examples: - default: &207 + default: &212 value: total_count: 3 codespaces: @@ -25181,7 +25705,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -25203,7 +25727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *96 + - *103 deprecated: true requestBody: required: true @@ -25247,7 +25771,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25270,7 +25794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *96 + - *103 deprecated: true requestBody: required: true @@ -25302,7 +25826,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25325,7 +25849,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *96 + - *103 requestBody: required: true content: @@ -25356,7 +25880,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25377,7 +25901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -25395,7 +25919,7 @@ paths: type: integer secrets: type: array - items: &156 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -25434,7 +25958,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &451 value: total_count: 2 secrets: @@ -25466,13 +25990,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &448 + schema: &452 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25501,7 +26025,7 @@ paths: - key_id - key examples: - default: &449 + default: &453 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25524,16 +26048,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: Response content: application/json: - schema: *156 + schema: *162 examples: - default: &451 + default: &455 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -25560,8 +26084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -25616,7 +26140,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -25642,8 +26166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -25668,8 +26192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -25687,9 +26211,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -25711,8 +26235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -25762,8 +26286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -25796,8 +26320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -25836,7 +26360,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: - - *96 + - *103 responses: '200': description: OK @@ -25945,7 +26469,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -25977,7 +26501,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: - - *96 + - *103 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -26000,7 +26524,7 @@ paths: currently being billed. seats: type: array - items: &209 + items: &214 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26017,65 +26541,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *157 - required: *158 + properties: *163 + required: *164 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *159 - - 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 - example: disabled | all - organization_selection_type: - type: string - example: disabled | all - group_id: - nullable: true - type: string - example: 62ab9291-fae2-468e-974b-7e45096d5021 - group_name: - nullable: true - type: string - example: Justice League - html_url: - type: string - format: uri - example: 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 + - *165 + - *59 nullable: true pending_cancellation_date: type: string @@ -26200,7 +26674,7 @@ paths: site_admin: false headers: Link: *58 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26233,7 +26707,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: - - *96 + - *103 requestBody: content: application/json: @@ -26275,7 +26749,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26311,7 +26785,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: - - *96 + - *103 requestBody: content: application/json: @@ -26353,7 +26827,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26391,7 +26865,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: - - *96 + - *103 requestBody: content: application/json: @@ -26432,7 +26906,7 @@ paths: default: value: seats_created: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26468,7 +26942,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: - - *96 + - *103 requestBody: content: application/json: @@ -26510,7 +26984,7 @@ paths: default: value: seats_cancelled: 5 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -26549,7 +27023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *96 + - *103 - 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`). @@ -26581,7 +27055,7 @@ paths: application/json: schema: type: array - items: &304 + items: &308 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -26888,7 +27362,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &309 value: - date: '2024-06-24' total_active_users: 24 @@ -26987,10 +27461,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *97 + '500': *104 '403': *29 '404': *6 - '422': &306 + '422': &310 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27017,12 +27491,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *96 - - *160 - - *161 - - *162 - - *163 - - *164 + - *103 + - *166 + - *167 + - *168 + - *169 + - *170 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27038,14 +27512,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *165 - - *166 - - *167 + - *171 + - *172 + - *173 - *48 - *40 - *41 - - *168 - - *169 + - *174 + - *175 - *17 responses: '200': @@ -27054,9 +27528,9 @@ paths: application/json: schema: type: array - items: *170 + items: *176 examples: - default: *171 + default: *177 '304': *37 '400': *14 '403': *29 @@ -27082,7 +27556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27100,7 +27574,7 @@ paths: type: integer secrets: type: array - items: &172 + items: &178 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27171,13 +27645,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &476 + schema: &480 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27194,7 +27668,7 @@ paths: - key_id - key examples: - default: &477 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27217,14 +27691,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: Response content: application/json: - schema: *172 + schema: *178 examples: default: value: @@ -27252,8 +27726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -27308,7 +27782,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -27332,8 +27806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -27357,8 +27831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - *19 - *17 responses: @@ -27376,9 +27850,9 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *138 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27399,8 +27873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -27450,8 +27924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -27482,8 +27956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *96 - - *134 + - *103 + - *141 - name: repository_id in: path required: true @@ -27513,7 +27987,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: - - *96 + - *103 responses: '200': description: Response @@ -27521,7 +27995,7 @@ paths: application/json: schema: type: array - items: &221 + items: &225 title: Package description: A software package type: object @@ -27571,8 +28045,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *173 - required: *174 + properties: *179 + required: *180 nullable: true created_at: type: string @@ -27591,7 +28065,7 @@ paths: - created_at - updated_at examples: - default: &222 + default: &226 value: - id: 197 name: hello_docker @@ -27669,7 +28143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27679,7 +28153,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: 200-response: value: @@ -27748,7 +28222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27758,7 +28232,7 @@ paths: application/json: schema: type: array - items: &197 + items: &203 title: Organization Invitation description: Organization Invitation type: object @@ -27805,7 +28279,7 @@ paths: - invitation_teams_url - node_id examples: - default: &198 + default: &204 value: - id: 1 login: monalisa @@ -27862,7 +28336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *96 + - *103 - *17 - *19 responses: @@ -27872,7 +28346,7 @@ paths: application/json: schema: type: array - items: &175 + items: &181 title: Org Hook description: Org Hook type: object @@ -27983,7 +28457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *96 + - *103 requestBody: required: true content: @@ -28043,9 +28517,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: &176 + default: &182 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28092,8 +28566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *96 - - &177 + - *103 + - &183 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. @@ -28106,9 +28580,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: - default: *176 + default: *182 '404': *6 x-github: githubCloudOnly: false @@ -28135,8 +28609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 requestBody: required: false content: @@ -28181,7 +28655,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *181 examples: default: value: @@ -28222,8 +28696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 responses: '204': description: Response @@ -28250,8 +28724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *96 - - *177 + - *103 + - *183 responses: '200': description: Response @@ -28281,8 +28755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *96 - - *177 + - *103 + - *183 requestBody: required: false content: @@ -28332,10 +28806,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *17 - - *178 + - *184 responses: '200': description: Response @@ -28343,9 +28817,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '400': *14 '422': *15 x-github: @@ -28370,17 +28844,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *16 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '400': *14 '422': *15 x-github: @@ -28405,8 +28879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 - *16 responses: '202': *39 @@ -28435,8 +28909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *96 - - *177 + - *103 + - *183 responses: '204': description: Response @@ -28458,8 +28932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *96 - - &187 + - *103 + - &193 name: actor_type in: path description: The type of the actor @@ -28472,14 +28946,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &188 + - &194 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &183 + - &189 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`.' @@ -28487,7 +28961,7 @@ paths: required: true schema: type: string - - &184 + - &190 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) @@ -28580,13 +29054,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *96 - - *183 - - *184 + - *103 + - *189 + - *190 - *19 - *17 - *48 - - &193 + - &199 name: sort description: The property to sort the results by. in: query @@ -28664,15 +29138,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *96 - - *183 - - *184 + - *103 + - *189 + - *190 responses: '200': description: Response content: application/json: - schema: &185 + schema: &191 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -28688,7 +29162,7 @@ paths: type: integer format: int64 examples: - default: &186 + default: &192 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -28708,24 +29182,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *96 - - &189 + - *103 + - &195 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *183 - - *184 + - *189 + - *190 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 x-github: enabledForGitHubApps: true category: orgs @@ -28743,19 +29217,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *96 - - *183 - - *184 - - *187 - - *188 + - *103 + - *189 + - *190 + - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: *186 + default: *192 x-github: enabledForGitHubApps: true category: orgs @@ -28772,10 +29246,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *96 - - *183 - - *184 - - &190 + - *103 + - *189 + - *190 + - &196 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -28788,7 +29262,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &197 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -28804,7 +29278,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &198 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -28840,19 +29314,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *96 + - *103 + - *195 - *189 - - *183 - - *184 - *190 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *197 examples: - default: *192 + default: *198 x-github: enabledForGitHubApps: true category: orgs @@ -28869,20 +29343,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *96 - - *187 - - *188 - - *183 - - *184 + - *103 + - *193 + - *194 + - *189 - *190 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *197 examples: - default: *192 + default: *198 x-github: enabledForGitHubApps: true category: orgs @@ -28899,14 +29373,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *96 + - *103 + - *195 - *189 - - *183 - - *184 + - *190 - *19 - *17 - *48 - - *193 + - *199 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -28979,7 +29453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *96 + - *103 responses: '200': description: Response @@ -28987,7 +29461,7 @@ paths: application/json: schema: *22 examples: - default: &515 + default: &519 value: id: 1 account: @@ -29056,7 +29530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -29145,7 +29619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -29153,12 +29627,12 @@ paths: application/json: schema: anyOf: - - &195 + - &201 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &194 + limit: &200 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29183,7 +29657,7 @@ paths: properties: {} additionalProperties: false examples: - default: &196 + default: &202 value: limit: collaborators_only origin: organization @@ -29207,18 +29681,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: application/json: - schema: &516 + schema: &520 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *194 + limit: *200 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29242,9 +29716,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -29262,7 +29736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *96 + - *103 responses: '204': description: Response @@ -29286,7 +29760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *96 + - *103 - *17 - *19 - name: role @@ -29320,9 +29794,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 '404': *6 @@ -29345,7 +29819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *96 + - *103 requestBody: required: false content: @@ -29399,7 +29873,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *203 examples: default: value: @@ -29453,8 +29927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *96 - - &199 + - *103 + - &205 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29484,8 +29958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *96 - - *199 + - *103 + - *205 - *17 - *19 responses: @@ -29495,9 +29969,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: &220 + default: &224 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29532,7 +30006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response @@ -29540,7 +30014,7 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: default: value: @@ -29578,7 +30052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -29625,9 +30099,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: &201 + default: &207 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -29659,8 +30133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *96 - - &202 + - *103 + - &208 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -29713,9 +30187,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 '404': *6 '422': *7 x-github: @@ -29739,8 +30213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *96 - - *202 + - *103 + - *208 responses: '204': description: Response @@ -29773,7 +30247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *96 + - *103 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -29803,7 +30277,7 @@ paths: - closed - all default: open - - *203 + - *209 - name: type description: Can be the name of an issue type. in: query @@ -29822,7 +30296,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -29832,9 +30306,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *204 + default: *210 headers: Link: *58 '404': *6 @@ -29856,7 +30330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *96 + - *103 - 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) @@ -29894,7 +30368,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '422': *15 @@ -29914,8 +30388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response if requester is an organization member and user is @@ -29949,8 +30423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -29976,8 +30450,8 @@ paths: parameters: - *17 - *19 - - *96 - - *139 + - *103 + - *63 responses: '200': description: Response @@ -29993,11 +30467,11 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: - default: *207 + default: *212 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30020,9 +30494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *96 - - *139 - - &208 + - *103 + - *63 + - &213 name: codespace_name in: path required: true @@ -30032,7 +30506,7 @@ paths: responses: '202': *39 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30055,17 +30529,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *96 - - *139 - - *208 + - *103 + - *63 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: &444 + default: &448 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30207,7 +30681,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30238,14 +30712,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: - - *96 - - *139 + - *103 + - *63 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *209 + schema: *214 examples: default: value: @@ -30289,7 +30763,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -30314,14 +30788,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '200': description: Response content: application/json: - schema: &211 + schema: &216 title: Org Membership description: Org Membership type: object @@ -30365,7 +30839,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *210 + organization: *215 user: title: Simple User description: A GitHub user. @@ -30388,7 +30862,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &212 + response-if-user-has-an-active-admin-membership-with-organization: &217 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30456,8 +30930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 requestBody: required: false content: @@ -30485,9 +30959,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *216 examples: - response-if-user-already-had-membership-with-organization: *212 + response-if-user-already-had-membership-with-organization: *217 '422': *15 '403': *29 x-github: @@ -30511,8 +30985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -30537,7 +31011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *96 + - *103 - *17 - *19 - name: exclude @@ -30558,7 +31032,7 @@ paths: application/json: schema: type: array - items: &213 + items: &218 title: Migration description: A migration. type: object @@ -30599,7 +31073,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *60 + items: *67 url: type: string format: uri @@ -30811,7 +31285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *96 + - *103 requestBody: required: true content: @@ -30887,7 +31361,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -31065,8 +31539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *96 - - &214 + - *103 + - &219 name: migration_id description: The unique identifier of the migration. in: path @@ -31093,7 +31567,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -31262,8 +31736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *96 - - *214 + - *103 + - *219 responses: '302': description: Response @@ -31284,8 +31758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *96 - - *214 + - *103 + - *219 responses: '204': description: Response @@ -31308,9 +31782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *96 - - *214 - - &663 + - *103 + - *219 + - &668 name: repo_name description: repo_name parameter in: path @@ -31337,8 +31811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *96 - - *214 + - *103 + - *219 - *17 - *19 responses: @@ -31348,9 +31822,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: &227 + default: &231 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31487,7 +31961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response - list of organization roles @@ -31503,7 +31977,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &217 + items: &221 title: Organization Role description: Organization roles type: object @@ -31650,14 +32124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *96 - - &215 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *103 + - *65 responses: '204': description: Response @@ -31682,9 +32150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *96 - - *215 - - &216 + - *103 + - *65 + - &220 name: role_id description: The unique identifier of the role. in: path @@ -31719,9 +32187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *96 - - *215 - - *216 + - *103 + - *65 + - *220 responses: '204': description: Response @@ -31746,8 +32214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -31772,9 +32240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *96 - - *139 - - *216 + - *103 + - *63 + - *220 responses: '204': description: Response @@ -31804,9 +32272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *96 - - *139 - - *216 + - *103 + - *63 + - *220 responses: '204': description: Response @@ -31834,14 +32302,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *96 - - *216 + - *103 + - *220 responses: '200': description: Response content: application/json: - schema: *217 + schema: *221 examples: default: value: @@ -31891,8 +32359,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: - - *96 - - *216 + - *103 + - *220 - *17 - *19 responses: @@ -31970,8 +32438,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 nullable: true required: - id @@ -31986,7 +32454,7 @@ paths: - slug - parent examples: - default: *220 + default: *224 headers: Link: *58 '404': @@ -32015,8 +32483,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: - - *96 - - *216 + - *103 + - *220 - *17 - *19 responses: @@ -32044,13 +32512,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &300 + items: &304 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 name: nullable: true type: string @@ -32145,7 +32613,7 @@ paths: - type - url examples: - default: *205 + default: *62 headers: Link: *58 '404': @@ -32169,7 +32637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *96 + - *103 - 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) @@ -32196,7 +32664,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -32221,8 +32689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *96 - - *139 + - *103 + - *63 requestBody: required: false content: @@ -32279,8 +32747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -32337,8 +32805,8 @@ paths: - docker - nuget - container - - *96 - - &665 + - *103 + - &670 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32374,12 +32842,12 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *222 + default: *226 '403': *29 '401': *25 - '400': &667 + '400': &672 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32401,7 +32869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &223 + - &227 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 @@ -32419,20 +32887,20 @@ paths: - docker - nuget - container - - &224 + - &228 name: package_name description: The name of the package. in: path required: true schema: type: string - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: default: value: @@ -32484,9 +32952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 responses: '204': description: Response @@ -32518,9 +32986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 - name: token description: package token schema: @@ -32552,9 +33020,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: - - *223 - - *224 - - *96 + - *227 + - *228 + - *103 - *19 - *17 - name: state @@ -32574,7 +33042,7 @@ paths: application/json: schema: type: array - items: &225 + items: &229 title: Package Version description: A version of a software package type: object @@ -32699,10 +33167,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - &226 + - *227 + - *228 + - *103 + - &230 name: package_version_id description: Unique identifier of the package version. in: path @@ -32714,7 +33182,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -32750,10 +33218,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - *226 + - *227 + - *228 + - *103 + - *230 responses: '204': description: Response @@ -32785,10 +33253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *223 - - *224 - - *96 - - *226 + - *227 + - *228 + - *103 + - *230 responses: '204': description: Response @@ -32815,10 +33283,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: - - *96 + - *103 - *17 - *19 - - &228 + - &232 name: sort description: The property by which to sort the results. in: query @@ -32829,7 +33297,7 @@ paths: - created_at default: created_at - *48 - - &229 + - &233 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -32840,7 +33308,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &230 + - &234 name: repository description: The name of the repository to use to filter the results. in: query @@ -32848,7 +33316,7 @@ paths: schema: type: string example: Hello-World - - &231 + - &235 name: permission description: The permission to use to filter the results. in: query @@ -32856,7 +33324,7 @@ paths: schema: type: string example: issues_read - - &232 + - &236 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) @@ -32866,7 +33334,7 @@ paths: schema: type: string format: date-time - - &233 + - &237 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) @@ -32876,7 +33344,7 @@ paths: schema: type: string format: date-time - - &234 + - &238 name: token_id description: The ID of the token in: query @@ -32888,7 +33356,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33040,7 +33508,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: - - *96 + - *103 requestBody: required: true content: @@ -33081,7 +33549,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33106,7 +33574,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: - - *96 + - *103 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -33142,11 +33610,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33167,7 +33635,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: - - *96 + - *103 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -33178,7 +33646,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *104 '404': *6 '403': *29 '200': @@ -33187,9 +33655,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -33212,19 +33680,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: - - *96 + - *103 - *17 - *19 - - *228 - - *48 - - *229 - - *230 - - *231 - *232 + - *48 - *233 - *234 + - *235 + - *236 + - *237 + - *238 responses: - '500': *97 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -33371,7 +33839,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: - - *96 + - *103 requestBody: required: true content: @@ -33406,7 +33874,7 @@ paths: - 1296269 - 1296280 responses: - '500': *97 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -33431,7 +33899,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: - - *96 + - *103 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -33459,9 +33927,9 @@ paths: value: action: revoke responses: - '500': *97 + '500': *104 '404': *6 - '204': *153 + '204': *159 '403': *29 '422': *15 x-github: @@ -33483,7 +33951,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: - - *96 + - *103 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -33493,7 +33961,7 @@ paths: - *17 - *19 responses: - '500': *97 + '500': *104 '404': *6 '403': *29 '200': @@ -33502,9 +33970,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -33528,7 +33996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -33546,7 +34014,7 @@ paths: type: integer configurations: type: array - items: &235 + items: &239 title: Organization private registry description: Private registry configuration for an organization type: object @@ -33634,7 +34102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *96 + - *103 requestBody: required: true content: @@ -33799,7 +34267,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &236 + org-private-registry-with-selected-visibility: &240 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -33840,7 +34308,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: - - *96 + - *103 responses: '200': description: Response @@ -33888,16 +34356,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *235 + schema: *239 examples: - default: *236 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -33918,8 +34386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 requestBody: required: true content: @@ -34014,8 +34482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *96 - - *134 + - *103 + - *141 responses: '204': description: Response @@ -34040,7 +34508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *96 + - *103 - name: state description: Indicates the state of the projects to return. in: query @@ -34061,7 +34529,7 @@ paths: application/json: schema: type: array - items: &237 + items: &241 title: Project description: Projects are a way to organize columns and cards of work. @@ -34208,7 +34676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *96 + - *103 requestBody: required: true content: @@ -34234,7 +34702,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -34272,7 +34740,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &328 + '410': &332 description: Gone content: application/json: @@ -34298,7 +34766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *96 + - *103 - name: q description: Limit results to projects of the specified type. in: query @@ -34315,7 +34783,7 @@ paths: application/json: schema: type: array - items: &238 + items: &242 title: Projects v2 Project description: A projects v2 project type: object @@ -34385,7 +34853,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &748 + properties: &753 id: type: number description: The unique identifier of the status update. @@ -34433,7 +34901,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &749 + required: &754 - id - node_id - created_at @@ -34458,7 +34926,7 @@ paths: - deleted_at - deleted_by examples: - default: &239 + default: &243 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -34561,22 +35029,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &240 + - &244 name: project_number description: The project's number. in: path required: true schema: type: integer - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -34598,8 +35066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *240 - - *96 + - *244 + - *103 - *17 - *40 - *41 @@ -34610,7 +35078,7 @@ paths: application/json: schema: type: array - items: &241 + items: &245 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -34757,7 +35225,7 @@ paths: - updated_at - project_url examples: - default: &242 + default: &246 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -34800,23 +35268,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *240 - - &678 + - *244 + - &683 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -34839,8 +35307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *240 - - *96 + - *244 + - *103 - 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. @@ -34869,7 +35337,7 @@ paths: application/json: schema: type: array - items: &247 + items: &251 title: Projects v2 Item description: An item belonging to a project type: object @@ -34885,7 +35353,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &246 + content_type: &250 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -34935,7 +35403,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &252 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -35629,8 +36097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *96 - - *240 + - *103 + - *244 requestBody: required: true description: Details of the item to add to the project. @@ -35667,7 +36135,7 @@ paths: description: Response content: application/json: - schema: &679 + schema: &684 title: Projects v2 Item description: An item belonging to a project type: object @@ -35680,8 +36148,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *77 - - &459 + - *84 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -35787,8 +36255,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true active_lock_reason: type: string @@ -35833,7 +36301,7 @@ paths: nullable: true requested_teams: type: array - items: *159 + items: *165 nullable: true head: type: object @@ -35842,7 +36310,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: @@ -35865,7 +36333,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: @@ -35884,7 +36352,7 @@ paths: _links: type: object properties: - comments: &245 + comments: &249 title: Link description: Hypermedia Link type: object @@ -35893,13 +36361,13 @@ paths: type: string required: - href - commits: *245 - statuses: *245 - html: *245 - issue: *245 - review_comments: *245 - review_comment: *245 - self: *245 + commits: *249 + statuses: *249 + html: *249 + issue: *249 + review_comments: *249 + review_comment: *249 + self: *249 required: - comments - commits @@ -35909,8 +36377,8 @@ paths: - review_comments - review_comment - self - author_association: *63 - auto_merge: &561 + author_association: *70 + auto_merge: &565 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36012,7 +36480,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *246 + content_type: *250 creator: *4 created_at: type: string @@ -36045,7 +36513,7 @@ paths: - updated_at - archived_at examples: - default: &680 + default: &685 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36119,9 +36587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *240 - - *96 - - &249 + - *244 + - *103 + - &253 name: item_id description: The unique identifier of the project item. in: path @@ -36144,9 +36612,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -36167,9 +36635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *240 - - *96 - - *249 + - *244 + - *103 + - *253 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36239,9 +36707,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 '401': *25 '403': *29 '404': *6 @@ -36261,9 +36729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *240 - - *96 - - *249 + - *244 + - *103 + - *253 responses: '204': description: Response @@ -36282,12 +36750,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: - - *96 + - *103 responses: '200': description: Response @@ -36295,7 +36763,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36361,7 +36829,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &255 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36404,12 +36872,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: - - *96 + - *103 requestBody: required: true content: @@ -36420,7 +36888,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *254 minItems: 1 maxItems: 100 required: @@ -36450,9 +36918,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 '403': *29 '404': *6 x-github: @@ -36468,13 +36936,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: - - *96 - - &252 + - *103 + - &256 name: custom_property_name description: The custom property name in: path @@ -36486,9 +36954,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: &253 + default: &257 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36517,13 +36985,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: - - *96 - - *252 + - *103 + - *256 requestBody: required: true content: @@ -36592,9 +37060,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: *253 + default: *257 '403': *29 '404': *6 x-github: @@ -36612,15 +37080,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: - - *96 - - *252 + - *103 + - *256 responses: - '204': *153 + '204': *159 '403': *29 '404': *6 x-github: @@ -36641,7 +37109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *96 + - *103 - *17 - *19 - name: repository_query @@ -36679,7 +37147,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &254 + items: &258 title: Custom Property Value description: Custom property name and associated value type: object @@ -36746,7 +37214,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: - - *96 + - *103 requestBody: required: true content: @@ -36766,7 +37234,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *254 + items: *258 required: - repository_names - properties @@ -36807,7 +37275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *96 + - *103 - *17 - *19 responses: @@ -36819,7 +37287,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -36838,8 +37306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response if user is a public member @@ -36863,8 +37331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -36885,8 +37353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *96 - - *139 + - *103 + - *63 responses: '204': description: Response @@ -36910,7 +37378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *96 + - *103 - name: type description: Specifies the types of repositories you want returned. in: query @@ -36956,9 +37424,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -36979,7 +37447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *96 + - *103 requestBody: required: true content: @@ -37160,7 +37628,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &334 title: Full Repository description: Full Repository type: object @@ -37437,8 +37905,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *255 - required: *256 + properties: *259 + required: *260 nullable: true temp_clone_token: type: string @@ -37525,8 +37993,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true organization: title: Simple User @@ -37535,8 +38003,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *60 - source: *60 + parent: *67 + source: *67 forks: type: integer master_branch: @@ -37553,7 +38021,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &464 + properties: &468 url: type: string format: uri @@ -37569,12 +38037,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &465 + required: &469 - url - key - name - html_url - security_and_analysis: *257 + security_and_analysis: *261 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37658,7 +38126,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &336 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38176,10 +38644,10 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - *17 - *19 - - &583 + - &588 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38197,7 +38665,7 @@ paths: application/json: schema: type: array - items: &283 + items: &287 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38232,7 +38700,7 @@ paths: source: type: string description: The name of the source - enforcement: &260 + enforcement: &264 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38245,7 +38713,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &261 + items: &265 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38315,7 +38783,7 @@ paths: conditions: nullable: true anyOf: - - &258 + - &262 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38339,7 +38807,7 @@ paths: match. items: type: string - - &262 + - &266 title: Organization ruleset conditions type: object description: |- @@ -38353,7 +38821,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38387,7 +38855,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38409,7 +38877,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *258 + - *262 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38422,7 +38890,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &259 + items: &263 title: Repository ruleset property targeting definition type: object @@ -38455,17 +38923,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *259 + items: *263 required: - repository_property rules: type: array - items: &584 + items: &589 title: Repository Rule type: object description: A repository rule. oneOf: - - &263 + - &267 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38477,7 +38945,7 @@ paths: type: string enum: - creation - - &264 + - &268 title: update description: Only allow users with bypass permission to update matching refs. @@ -38498,7 +38966,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &265 + - &269 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38510,7 +38978,7 @@ paths: type: string enum: - deletion - - &266 + - &270 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38522,7 +38990,7 @@ paths: type: string enum: - required_linear_history - - &582 + - &586 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38600,7 +39068,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &267 + - &271 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38624,7 +39092,7 @@ paths: type: string required: - required_deployment_environments - - &268 + - &272 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38636,7 +39104,7 @@ paths: type: string enum: - required_signatures - - &269 + - &273 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38698,7 +39166,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &270 + - &274 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38746,7 +39214,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &271 + - &275 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38758,7 +39226,7 @@ paths: type: string enum: - non_fast_forward - - &272 + - &276 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38794,7 +39262,7 @@ paths: required: - operator - pattern - - &273 + - &277 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38830,7 +39298,7 @@ paths: required: - operator - pattern - - &274 + - &278 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38866,7 +39334,7 @@ paths: required: - operator - pattern - - &275 + - &279 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38902,7 +39370,7 @@ paths: required: - operator - pattern - - &276 + - &280 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38938,7 +39406,7 @@ paths: required: - operator - pattern - - &277 + - &281 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -38963,7 +39431,7 @@ paths: type: string required: - restricted_file_paths - - &278 + - &282 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -38987,7 +39455,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &279 + - &283 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39010,7 +39478,7 @@ paths: type: string required: - restricted_file_extensions - - &280 + - &284 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39035,7 +39503,7 @@ paths: maximum: 100 required: - max_file_size - - &281 + - &285 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39085,7 +39553,7 @@ paths: - repository_id required: - workflows - - &282 + - &286 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39146,6 +39614,31 @@ paths: - tool required: - code_scanning_tools + - &587 + 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 @@ -39182,7 +39675,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -39198,7 +39691,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 requestBody: description: Request body required: true @@ -39219,24 +39712,20 @@ paths: - push - repository default: branch - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *262 + items: *265 + conditions: *266 rules: type: array description: An array of rules within the ruleset. - items: &285 + items: &289 title: Repository Rule type: object description: A repository rule. oneOf: - - *263 - - *264 - - *265 - - *266 - *267 - *268 - *269 @@ -39253,6 +39742,10 @@ paths: - *280 - *281 - *282 + - *283 + - *284 + - *285 + - *286 required: - name - enforcement @@ -39290,9 +39783,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: &284 + default: &288 value: id: 21 name: super cool ruleset @@ -39332,7 +39825,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -39346,8 +39839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *96 - - &585 + - *103 + - &590 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 @@ -39362,7 +39855,7 @@ paths: in: query schema: type: string - - &586 + - &591 name: time_period description: |- The time period to filter by. @@ -39378,14 +39871,14 @@ paths: - week - month default: day - - &587 + - &592 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 - - &588 + - &593 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -39405,7 +39898,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &594 title: Rule Suites description: Response type: array @@ -39460,7 +39953,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &590 + default: &595 value: - id: 21 actor_id: 12 @@ -39484,7 +39977,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39503,8 +39996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *96 - - &591 + - *103 + - &596 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39520,7 +40013,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &597 title: Rule Suite description: Response type: object @@ -39619,7 +40112,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &593 + default: &598 value: id: 21 actor_id: 12 @@ -39654,7 +40147,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39680,7 +40173,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39692,11 +40185,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 - '500': *97 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -39712,7 +40205,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39738,16 +40231,16 @@ paths: - tag - push - repository - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *262 + items: *265 + conditions: *266 rules: description: An array of rules within the ruleset. type: array - items: *285 + items: *289 examples: default: value: @@ -39782,11 +40275,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 - '500': *97 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -39802,7 +40295,7 @@ paths: category: orgs subcategory: rules parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39813,7 +40306,7 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -39825,7 +40318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *96 + - *103 - *17 - *19 - name: ruleset_id @@ -39841,7 +40334,7 @@ paths: application/json: schema: type: array - items: &286 + items: &290 title: Ruleset version type: object description: The historical version of a ruleset @@ -39865,7 +40358,7 @@ paths: type: string format: date-time examples: - default: &595 + default: &600 value: - version_id: 3 actor: @@ -39883,7 +40376,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39900,7 +40393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *96 + - *103 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39918,9 +40411,9 @@ paths: description: Response content: application/json: - schema: &596 + schema: &601 allOf: - - *286 + - *290 - type: object required: - state @@ -39967,7 +40460,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39989,15 +40482,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *96 - - *287 - - *288 - - *289 - - *290 + - *103 + - *291 + - *292 + - *293 + - *294 - *48 - *19 - *17 - - &597 + - &602 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 @@ -40007,7 +40500,7 @@ paths: required: false schema: type: string - - &598 + - &603 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 @@ -40017,10 +40510,10 @@ paths: required: false schema: type: string - - *291 - - *292 - - *293 - - *294 + - *295 + - *296 + - *297 + - *298 responses: '200': description: Response @@ -40028,13 +40521,13 @@ paths: application/json: schema: type: array - items: *295 + items: *299 examples: - default: *296 + default: *300 headers: Link: *58 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40059,7 +40552,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *96 + - *103 responses: '200': description: Response @@ -40071,7 +40564,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &298 + pattern_config_version: &302 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40080,7 +40573,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &297 + items: &301 type: object properties: token_type: @@ -40146,7 +40639,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *297 + items: *301 examples: default: value: @@ -40195,7 +40688,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *96 + - *103 requestBody: required: true content: @@ -40203,7 +40696,7 @@ paths: schema: type: object properties: - pattern_config_version: *298 + pattern_config_version: *302 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40229,7 +40722,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *298 + custom_pattern_version: *302 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -40283,7 +40776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *96 + - *103 - *48 - name: sort description: The property to sort the results by. @@ -40327,7 +40820,7 @@ paths: application/json: schema: type: array - items: &619 + items: &624 description: A repository security advisory. type: object properties: @@ -40547,7 +41040,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 credits_detailed: type: array nullable: true @@ -40557,7 +41050,7 @@ paths: type: object properties: user: *4 - type: *299 + type: *303 state: type: string description: The state of the user's acceptance of the @@ -40581,7 +41074,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *159 + items: *165 private_fork: readOnly: true nullable: true @@ -40618,7 +41111,7 @@ paths: - private_fork additionalProperties: false examples: - default: &620 + default: &625 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40997,7 +41490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *96 + - *103 responses: '200': description: Response @@ -41005,9 +41498,9 @@ paths: application/json: schema: type: array - items: *300 + items: *304 examples: - default: *220 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41030,8 +41523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -41056,8 +41549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -41086,13 +41579,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &688 + schema: &693 type: object properties: total_minutes_used: @@ -41162,7 +41655,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &689 + default: &694 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -41192,13 +41685,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &690 + schema: &695 type: object properties: total_gigabytes_bandwidth_used: @@ -41216,7 +41709,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &691 + default: &696 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -41242,13 +41735,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: &692 + schema: &697 type: object properties: days_left_in_billing_cycle: @@ -41266,7 +41759,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &693 + default: &698 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41290,7 +41783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *96 + - *103 - *17 - *19 responses: @@ -41308,7 +41801,7 @@ paths: type: integer network_configurations: type: array - items: &301 + items: &305 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -41386,7 +41879,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: - - *96 + - *103 requestBody: required: true content: @@ -41428,9 +41921,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &302 + default: &306 value: id: 123456789ABCDEF name: My network configuration @@ -41458,8 +41951,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: - - *96 - - &303 + - *103 + - &307 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -41471,9 +41964,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 headers: Link: *58 x-github: @@ -41494,8 +41987,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: - - *96 - - *303 + - *103 + - *307 requestBody: required: true content: @@ -41534,9 +42027,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41555,8 +42048,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: - - *96 - - *303 + - *103 + - *307 responses: '204': description: Response @@ -41579,7 +42072,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: - - *96 + - *103 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -41663,8 +42156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *96 - - *215 + - *103 + - *65 - 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`). @@ -41696,13 +42189,13 @@ paths: application/json: schema: type: array - items: *304 + items: *308 examples: - default: *305 - '500': *97 + default: *309 + '500': *104 '403': *29 '404': *6 - '422': *306 + '422': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41720,7 +42213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *96 + - *103 - *17 - *19 responses: @@ -41730,9 +42223,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 headers: Link: *58 '403': *29 @@ -41754,7 +42247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *96 + - *103 requestBody: required: true content: @@ -41826,7 +42319,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &311 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41889,8 +42382,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *218 - required: *219 + properties: *222 + required: *223 nullable: true members_count: type: integer @@ -42136,7 +42629,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &312 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42206,16 +42699,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *96 - - *215 + - *103 + - *65 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -42236,8 +42729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *96 - - *215 + - *103 + - *65 requestBody: required: false content: @@ -42299,16 +42792,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '201': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 '422': *15 '403': *29 @@ -42333,8 +42826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *96 - - *215 + - *103 + - *65 responses: '204': description: Response @@ -42360,8 +42853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *96 - - *215 + - *103 + - *65 - *48 - *17 - *19 @@ -42378,7 +42871,7 @@ paths: application/json: schema: type: array - items: &309 + items: &313 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -42457,7 +42950,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *64 + reactions: *71 required: - author - body @@ -42477,7 +42970,7 @@ paths: - updated_at - url examples: - default: &637 + default: &642 value: - author: login: octocat @@ -42551,8 +43044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *96 - - *215 + - *103 + - *65 requestBody: required: true content: @@ -42586,9 +43079,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: &310 + default: &314 value: author: login: octocat @@ -42660,9 +43153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *96 - - *215 - - &311 + - *103 + - *65 + - &315 name: discussion_number description: The number that identifies the discussion. in: path @@ -42674,9 +43167,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42698,9 +43191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: false content: @@ -42723,9 +43216,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: &638 + default: &643 value: author: login: octocat @@ -42795,9 +43288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 responses: '204': description: Response @@ -42823,9 +43316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 - *48 - *17 - *19 @@ -42836,7 +43329,7 @@ paths: application/json: schema: type: array - items: &312 + items: &316 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42893,7 +43386,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *64 + reactions: *71 required: - author - body @@ -42908,7 +43401,7 @@ paths: - updated_at - url examples: - default: &639 + default: &644 value: - author: login: octocat @@ -42976,9 +43469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: true content: @@ -43000,9 +43493,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &313 + default: &317 value: author: login: octocat @@ -43068,10 +43561,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - &314 + - *103 + - *65 + - *315 + - &318 name: comment_number description: The number that identifies the comment. in: path @@ -43083,9 +43576,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43107,10 +43600,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 requestBody: required: true content: @@ -43132,9 +43625,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &640 + default: &645 value: author: login: octocat @@ -43198,10 +43691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 responses: '204': description: Response @@ -43227,10 +43720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 - 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. @@ -43256,7 +43749,7 @@ paths: application/json: schema: type: array - items: &315 + items: &319 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -43299,7 +43792,7 @@ paths: - content - created_at examples: - default: &317 + default: &321 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43349,10 +43842,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *96 - - *215 - - *311 - - *314 + - *103 + - *65 + - *315 + - *318 requestBody: required: true content: @@ -43385,9 +43878,9 @@ paths: team discussion comment content: application/json: - schema: *315 + schema: *319 examples: - default: &316 + default: &320 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43416,9 +43909,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43441,11 +43934,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *96 - - *215 - - *311 - - *314 - - &318 + - *103 + - *65 + - *315 + - *318 + - &322 name: reaction_id description: The unique identifier of the reaction. in: path @@ -43477,9 +43970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 - 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. @@ -43505,9 +43998,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -43533,9 +44026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *96 - - *215 - - *311 + - *103 + - *65 + - *315 requestBody: required: true content: @@ -43567,16 +44060,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43599,10 +44092,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *96 - - *215 - - *311 - - *318 + - *103 + - *65 + - *315 + - *322 responses: '204': description: Response @@ -43626,8 +44119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -43637,9 +44130,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 x-github: @@ -43661,8 +44154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *96 - - *215 + - *103 + - *65 - name: role description: Filters members returned by their role in the team. in: query @@ -43685,7 +44178,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -43715,15 +44208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 responses: '200': description: Response content: application/json: - schema: &319 + schema: &323 title: Team Membership description: Team Membership type: object @@ -43750,7 +44243,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &641 + response-if-user-is-a-team-maintainer: &646 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43786,9 +44279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 requestBody: required: false content: @@ -43813,9 +44306,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-users-membership-with-team-is-now-pending: &642 + response-if-users-membership-with-team-is-now-pending: &647 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43850,9 +44343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *96 - - *215 - - *139 + - *103 + - *65 + - *63 responses: '204': description: Response @@ -43877,8 +44370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -43888,7 +44381,7 @@ paths: application/json: schema: type: array - items: &320 + items: &324 title: Team Project description: A team's access to a project. type: object @@ -43956,7 +44449,7 @@ paths: - updated_at - permissions examples: - default: &643 + default: &648 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44019,9 +44512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *96 - - *215 - - &321 + - *103 + - *65 + - &325 name: project_id description: The unique identifier of the project. in: path @@ -44033,9 +44526,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *324 examples: - default: &644 + default: &649 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44097,9 +44590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *96 - - *215 - - *321 + - *103 + - *65 + - *325 requestBody: required: false content: @@ -44165,9 +44658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *96 - - *215 - - *321 + - *103 + - *65 + - *325 responses: '204': description: Response @@ -44194,8 +44687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -44205,9 +44698,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -44236,16 +44729,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &645 + schema: &650 title: Team Repository description: A team's access to a repository. type: object @@ -44268,8 +44761,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true forks: type: integer @@ -44814,10 +45307,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 requestBody: required: false content: @@ -44862,10 +45355,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *96 - - *215 - - *322 - - *323 + - *103 + - *65 + - *326 + - *327 responses: '204': description: Response @@ -44889,8 +45382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *96 - - *215 + - *103 + - *65 - *17 - *19 responses: @@ -44900,9 +45393,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - response-if-child-teams-exist: &646 + response-if-child-teams-exist: &651 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44955,7 +45448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *96 + - *103 - name: security_product in: path description: The security feature to enable or disable. @@ -45029,7 +45522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &324 + - &328 name: column_id description: The unique identifier of the column. in: path @@ -45041,7 +45534,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &329 title: Project Column description: Project columns contain cards of work. type: object @@ -45087,7 +45580,7 @@ paths: - created_at - updated_at examples: - default: &326 + default: &330 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45122,7 +45615,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *324 + - *328 requestBody: required: true content: @@ -45146,9 +45639,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *329 examples: - default: *326 + default: *330 '304': *37 '403': *29 '401': *25 @@ -45173,7 +45666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *324 + - *328 responses: '204': description: Response @@ -45202,7 +45695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *324 + - *328 requestBody: required: true content: @@ -45262,15 +45755,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *321 + - *325 responses: '200': description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &327 + default: &331 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45327,7 +45820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *321 + - *325 requestBody: required: false content: @@ -45373,9 +45866,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *327 + default: *331 '404': description: Not Found if the authenticated user does not have access to the project @@ -45396,7 +45889,7 @@ paths: items: type: string '401': *25 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -45419,7 +45912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *321 + - *325 responses: '204': description: Delete Success @@ -45440,7 +45933,7 @@ paths: items: type: string '401': *25 - '410': *328 + '410': *332 '404': *6 x-github: githubCloudOnly: false @@ -45464,7 +45957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *321 + - *325 - 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 @@ -45491,7 +45984,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -45521,8 +46014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *321 - - *139 + - *325 + - *63 requestBody: required: false content: @@ -45574,8 +46067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *321 - - *139 + - *325 + - *63 responses: '204': description: Response @@ -45606,8 +46099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *321 - - *139 + - *325 + - *63 responses: '200': description: Response @@ -45680,7 +46173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *321 + - *325 - *17 - *19 responses: @@ -45690,7 +46183,7 @@ paths: application/json: schema: type: array - items: *325 + items: *329 examples: default: value: @@ -45728,7 +46221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *321 + - *325 requestBody: required: true content: @@ -45751,7 +46244,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *329 examples: default: value: @@ -45816,7 +46309,7 @@ paths: resources: type: object properties: - core: &329 + core: &333 title: Rate Limit type: object properties: @@ -45833,21 +46326,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *333 + search: *333 + code_search: *333 + source_import: *333 + integration_manifest: *333 + code_scanning_upload: *333 + actions_runner_registration: *333 + scim: *333 + dependency_snapshots: *333 + dependency_sbom: *333 + code_scanning_autofix: *333 required: - core - search - rate: *329 + rate: *333 required: - rate - resources @@ -45952,14 +46445,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: default-response: summary: Default response @@ -46460,7 +46953,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46478,8 +46971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -46726,10 +47219,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 - '307': &333 + default: *336 + '307': &337 description: Temporary Redirect content: application/json: @@ -46758,8 +47251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -46781,7 +47274,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *337 '404': *6 '409': *47 x-github: @@ -46805,11 +47298,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - - &364 + - &368 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46832,7 +47325,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &338 title: Artifact description: An artifact type: object @@ -46910,7 +47403,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &369 value: total_count: 2 artifacts: @@ -46971,9 +47464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *322 - - *323 - - &335 + - *326 + - *327 + - &339 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46985,7 +47478,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -47023,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *322 - - *323 - - *335 + - *326 + - *327 + - *339 responses: '204': description: Response @@ -47049,9 +47542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *322 - - *323 - - *335 + - *326 + - *327 + - *339 - name: archive_format in: path required: true @@ -47065,7 +47558,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': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47088,14 +47581,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -47121,11 +47614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - - &337 + - &341 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 @@ -47159,7 +47652,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &342 title: Repository actions caches description: Repository actions caches type: object @@ -47201,7 +47694,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &343 value: total_count: 1 actions_caches: @@ -47233,23 +47726,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: - - *322 - - *323 + - *326 + - *327 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *341 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *339 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47269,8 +47762,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: - - *322 - - *323 + - *326 + - *327 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47301,9 +47794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *322 - - *323 - - &340 + - *326 + - *327 + - &344 name: job_id description: The unique identifier of the job. in: path @@ -47315,7 +47808,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &372 title: Job description: Information of a job execution in a workflow run type: object @@ -47622,9 +48115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *322 - - *323 - - *340 + - *326 + - *327 + - *344 responses: '302': description: Response @@ -47652,9 +48145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *322 - - *323 - - *340 + - *326 + - *327 + - *344 requestBody: required: false content: @@ -47675,7 +48168,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -47699,8 +48192,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Status response @@ -47750,8 +48243,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -47785,7 +48278,7 @@ paths: description: Empty response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -47814,8 +48307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -47833,7 +48326,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &374 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47853,7 +48346,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &375 value: total_count: 2 secrets: @@ -47886,9 +48379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *322 - - *323 - - *341 + - *326 + - *327 + - *345 - *19 responses: '200': @@ -47905,7 +48398,7 @@ paths: type: integer variables: type: array - items: &374 + items: &378 title: Actions Variable type: object properties: @@ -47935,7 +48428,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &379 value: total_count: 2 variables: @@ -47968,8 +48461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -47978,12 +48471,12 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &347 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *111 - selected_actions_url: *342 - sha_pinning_required: *112 + allowed_actions: *118 + selected_actions_url: *346 + sha_pinning_required: *119 required: - enabled examples: @@ -48011,8 +48504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48023,9 +48516,9 @@ paths: schema: type: object properties: - enabled: *343 - allowed_actions: *111 - sha_pinning_required: *112 + enabled: *347 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled examples: @@ -48055,14 +48548,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &344 + schema: &348 type: object properties: access_level: @@ -48079,7 +48572,7 @@ paths: required: - access_level examples: - default: &345 + default: &349 value: access_level: organization x-github: @@ -48103,15 +48596,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *344 + schema: *348 examples: - default: *345 + default: *349 responses: '204': description: Response @@ -48135,14 +48628,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *346 + schema: *350 examples: default: value: @@ -48166,8 +48659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Empty response for successful settings update @@ -48177,7 +48670,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *351 examples: default: summary: Set retention days @@ -48201,16 +48694,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *113 + schema: *120 examples: - default: *348 + default: *352 '404': *6 x-github: enabledForGitHubApps: true @@ -48229,8 +48722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48240,7 +48733,7 @@ paths: required: true content: application/json: - schema: *113 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -48264,16 +48757,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *349 + schema: *353 examples: - default: *114 + default: *121 '403': *29 '404': *6 x-github: @@ -48293,15 +48786,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *350 + schema: *354 examples: - default: *114 + default: *121 responses: '204': description: Empty response for successful settings update @@ -48325,16 +48818,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *116 + schema: *123 examples: - default: *117 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48353,8 +48846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -48362,9 +48855,9 @@ paths: required: false content: application/json: - schema: *116 + schema: *123 examples: - selected_actions: *117 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48386,16 +48879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *351 + schema: *355 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48416,8 +48909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Success response @@ -48428,9 +48921,9 @@ paths: required: true content: application/json: - schema: *352 + schema: *356 examples: - default: *121 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48457,8 +48950,8 @@ paths: in: query schema: type: string - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -48476,9 +48969,9 @@ paths: type: integer runners: type: array - items: *128 + items: *135 examples: - default: *129 + default: *136 headers: Link: *58 x-github: @@ -48502,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -48511,9 +49004,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48535,8 +49028,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -48579,7 +49072,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *359 '404': *6 '422': *7 '409': *47 @@ -48610,16 +49103,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: *356 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48647,16 +49140,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response content: application/json: - schema: *130 + schema: *137 examples: - default: *357 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48678,17 +49171,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: '200': description: Response content: application/json: - schema: *128 + schema: *135 examples: - default: *358 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48709,9 +49202,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: '204': description: Response @@ -48737,11 +49230,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: - '200': *132 + '200': *139 '404': *6 x-github: githubCloudOnly: false @@ -48763,9 +49256,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 requestBody: required: true content: @@ -48789,7 +49282,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48813,9 +49306,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 requestBody: required: true content: @@ -48840,7 +49333,7 @@ paths: - gpu - accelerated responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48864,11 +49357,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: - - *322 - - *323 - - *127 + - *326 + - *327 + - *134 responses: - '200': *359 + '200': *363 '404': *6 x-github: githubCloudOnly: false @@ -48895,12 +49388,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: - - *322 - - *323 - - *127 - - *360 + - *326 + - *327 + - *134 + - *364 responses: - '200': *132 + '200': *139 '404': *6 '422': *7 x-github: @@ -48926,9 +49419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *322 - - *323 - - &378 + - *326 + - *327 + - &382 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. @@ -48936,7 +49429,7 @@ paths: required: false schema: type: string - - &379 + - &383 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48944,7 +49437,7 @@ paths: required: false schema: type: string - - &380 + - &384 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48953,7 +49446,7 @@ paths: required: false schema: type: string - - &381 + - &385 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 @@ -48980,7 +49473,7 @@ paths: - pending - *17 - *19 - - &382 + - &386 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)." @@ -48989,7 +49482,7 @@ paths: schema: type: string format: date-time - - &361 + - &365 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48998,13 +49491,13 @@ paths: schema: type: boolean default: false - - &383 + - &387 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &388 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49027,7 +49520,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &366 title: Workflow Run description: An invocation of a workflow type: object @@ -49122,7 +49615,7 @@ paths: that triggered the run. type: array nullable: true - items: &403 + items: &407 title: Pull Request Minimal type: object properties: @@ -49241,7 +49734,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &407 + properties: &411 id: type: string description: SHA for the commit @@ -49292,7 +49785,7 @@ paths: - name - email nullable: true - required: &408 + required: &412 - id - tree_id - message @@ -49300,8 +49793,8 @@ paths: - author - committer nullable: true - repository: *126 - head_repository: *126 + repository: *133 + head_repository: *133 head_repository_id: type: integer example: 5 @@ -49339,7 +49832,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &389 value: total_count: 1 workflow_runs: @@ -49575,24 +50068,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *322 - - *323 - - &363 + - *326 + - *327 + - &367 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *365 responses: '200': description: Response content: application/json: - schema: *362 + schema: *366 examples: - default: &366 + default: &370 value: id: 30433642 name: Build @@ -49833,9 +50326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '204': description: Response @@ -49858,9 +50351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -49979,15 +50472,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: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50014,12 +50507,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 - *17 - *19 - - *364 + - *368 responses: '200': description: Response @@ -50035,9 +50528,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *338 examples: - default: *365 + default: *369 headers: Link: *58 x-github: @@ -50061,25 +50554,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *322 - - *323 - - *363 - - &367 + - *326 + - *327 + - *367 + - &371 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *365 responses: '200': description: Response content: application/json: - schema: *362 + schema: *366 examples: - default: *366 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50102,10 +50595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *322 - - *323 - - *363 + - *326 + - *327 - *367 + - *371 - *17 - *19 responses: @@ -50123,9 +50616,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *372 examples: - default: &369 + default: &373 value: total_count: 1 jobs: @@ -50238,10 +50731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 - *367 + - *371 responses: '302': description: Response @@ -50269,15 +50762,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '202': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50304,9 +50797,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: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: true content: @@ -50373,15 +50866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '202': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50408,9 +50901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 - 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 @@ -50440,9 +50933,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *372 examples: - default: *369 + default: *373 headers: Link: *58 x-github: @@ -50467,9 +50960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '302': description: Response @@ -50496,14 +50989,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '204': description: Response '403': *29 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50525,9 +51018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -50587,7 +51080,7 @@ paths: items: type: object properties: - type: &485 + type: &489 type: string description: The type of reviewer. enum: @@ -50597,7 +51090,7 @@ paths: reviewer: anyOf: - *4 - - *159 + - *165 required: - environment - wait_timer @@ -50672,9 +51165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: true content: @@ -50721,7 +51214,7 @@ paths: application/json: schema: type: array - items: &480 + items: &484 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50809,8 +51302,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -50827,7 +51320,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &485 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50883,9 +51376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: false content: @@ -50906,7 +51399,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50929,9 +51422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 requestBody: required: false content: @@ -50952,7 +51445,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -50984,9 +51477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *322 - - *323 - - *363 + - *326 + - *327 + - *367 responses: '200': description: Response @@ -51123,8 +51616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -51142,9 +51635,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *58 x-github: @@ -51169,16 +51662,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *372 + schema: *376 examples: - default: *373 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51200,17 +51693,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: &498 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51236,9 +51729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -51269,7 +51762,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -51295,9 +51788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -51322,9 +51815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *322 - - *323 - - *341 + - *326 + - *327 + - *345 - *19 responses: '200': @@ -51341,9 +51834,9 @@ paths: type: integer variables: type: array - items: *374 + items: *378 examples: - default: *375 + default: *379 headers: Link: *58 x-github: @@ -51366,8 +51859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -51394,7 +51887,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -51419,17 +51912,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 responses: '200': description: Response content: application/json: - schema: *374 + schema: *378 examples: - default: &499 + default: &503 value: name: USERNAME value: octocat @@ -51455,9 +51948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 requestBody: required: true content: @@ -51499,9 +51992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *322 - - *323 - - *137 + - *326 + - *327 + - *144 responses: '204': description: Response @@ -51526,8 +52019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -51545,7 +52038,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &380 title: Workflow description: A GitHub Actions workflow type: object @@ -51652,9 +52145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *322 - - *323 - - &377 + - *326 + - *327 + - &381 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51669,7 +52162,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *380 examples: default: value: @@ -51702,9 +52195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51729,9 +52222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51782,9 +52275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '204': description: Response @@ -51811,19 +52304,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *322 - - *323 - - *377 - - *378 - - *379 - - *380 + - *326 + - *327 - *381 - - *17 - - *19 - *382 - - *361 - *383 - *384 + - *385 + - *17 + - *19 + - *386 + - *365 + - *387 + - *388 responses: '200': description: Response @@ -51839,9 +52332,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *366 examples: - default: *385 + default: *389 headers: Link: *58 x-github: @@ -51873,9 +52366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *322 - - *323 - - *377 + - *326 + - *327 + - *381 responses: '200': description: Response @@ -51936,8 +52429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *322 - - *323 + - *326 + - *327 - *48 - *17 - *40 @@ -52101,8 +52594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -52114,7 +52607,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -52139,8 +52632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *322 - - *323 + - *326 + - *327 - name: assignee in: path required: true @@ -52176,8 +52669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -52289,8 +52782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *40 - *41 @@ -52344,7 +52837,7 @@ paths: bundle_url: type: string examples: - default: *386 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,8 +52857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -52373,7 +52866,7 @@ paths: application/json: schema: type: array - items: &387 + items: &391 title: Autolink reference description: An autolink reference. type: object @@ -52427,8 +52920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -52467,9 +52960,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *391 examples: - default: &388 + default: &392 value: id: 1 key_prefix: TICKET- @@ -52500,9 +52993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *322 - - *323 - - &389 + - *326 + - *327 + - &393 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52514,9 +53007,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *391 examples: - default: *388 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -52536,9 +53029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *322 - - *323 - - *389 + - *326 + - *327 + - *393 responses: '204': description: Response @@ -52562,8 +53055,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response if Dependabot is enabled @@ -52611,8 +53104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -52633,8 +53126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -52654,8 +53147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *322 - - *323 + - *326 + - *327 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52693,7 +53186,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &395 title: Branch Protection description: Branch Protection type: object @@ -52735,7 +53228,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &398 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52750,7 +53243,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &400 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52771,7 +53264,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *159 + items: *165 apps: description: The list of apps with review dismissal access. @@ -52800,7 +53293,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *159 + items: *165 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52826,7 +53319,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &397 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52889,7 +53382,7 @@ paths: type: string teams: type: array - items: *159 + items: *165 apps: type: array items: @@ -53103,9 +53596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *322 - - *323 - - &392 + - *326 + - *327 + - &396 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). @@ -53119,14 +53612,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &406 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &455 + commit: &459 title: Commit description: Commit type: object @@ -53160,7 +53653,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &390 + properties: &394 name: type: string example: '"Chris Wanstrath"' @@ -53175,7 +53668,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true message: type: string @@ -53196,7 +53689,7 @@ paths: required: - sha - url - verification: &505 + verification: &509 title: Verification type: object properties: @@ -53230,12 +53723,12 @@ paths: nullable: true oneOf: - *4 - - *135 + - *142 committer: nullable: true oneOf: - *4 - - *135 + - *142 parents: type: array items: @@ -53266,7 +53759,7 @@ paths: type: integer files: type: array - items: &468 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -53350,7 +53843,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *395 protection_url: type: string format: uri @@ -53457,7 +53950,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *335 '404': *6 x-github: githubCloudOnly: false @@ -53479,15 +53972,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *391 + schema: *395 examples: default: value: @@ -53681,9 +54174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -53938,7 +54431,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &403 title: Status Check Policy description: Status Check Policy type: object @@ -54014,7 +54507,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 apps: type: array items: *5 @@ -54032,7 +54525,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 apps: type: array items: *5 @@ -54090,7 +54583,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *397 required_conversation_resolution: type: object properties: @@ -54202,9 +54695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54229,17 +54722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: &395 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54261,17 +54754,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *395 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54290,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54317,17 +54810,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *400 examples: - default: &397 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54423,9 +54916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54523,9 +55016,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *400 examples: - default: *397 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -54546,9 +55039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54575,17 +55068,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: &398 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54608,17 +55101,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *398 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -54638,9 +55131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54665,17 +55158,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: &400 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54701,9 +55194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54755,9 +55248,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: *400 + default: *404 '404': *6 '422': *15 x-github: @@ -54779,9 +55272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -54805,9 +55298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -54841,9 +55334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54910,9 +55403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -54976,9 +55469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: content: application/json: @@ -55044,15 +55537,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response content: application/json: - schema: *393 + schema: *397 examples: default: value: @@ -55143,9 +55636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '204': description: Response @@ -55168,9 +55661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55180,7 +55673,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &405 value: - id: 1 slug: octoapp @@ -55237,9 +55730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55273,7 +55766,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55294,9 +55787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55330,7 +55823,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55351,9 +55844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55387,7 +55880,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -55409,9 +55902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55419,9 +55912,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '404': *6 x-github: githubCloudOnly: false @@ -55441,9 +55934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -55479,9 +55972,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55502,9 +55995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: false content: @@ -55540,9 +56033,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55563,9 +56056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: content: application/json: @@ -55600,9 +56093,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -55624,9 +56117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 responses: '200': description: Response @@ -55636,7 +56129,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '404': *6 x-github: githubCloudOnly: false @@ -55660,9 +56153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55695,7 +56188,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55720,9 +56213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55755,7 +56248,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55780,9 +56273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55815,7 +56308,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '422': *15 x-github: githubCloudOnly: false @@ -55842,9 +56335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 requestBody: required: true content: @@ -55866,7 +56359,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *406 examples: default: value: @@ -55982,8 +56475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -56262,7 +56755,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &408 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56373,16 +56866,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *403 - deployment: &706 + items: *407 + deployment: &711 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56449,8 +56942,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -56662,9 +57155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *322 - - *323 - - &405 + - *326 + - *327 + - &409 name: check_run_id description: The unique identifier of the check run. in: path @@ -56676,9 +57169,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: &406 + default: &410 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56778,9 +57271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 requestBody: required: true content: @@ -57020,9 +57513,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: *406 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57042,9 +57535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 - *17 - *19 responses: @@ -57139,15 +57632,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *322 - - *323 - - *405 + - *326 + - *327 + - *409 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -57185,8 +57678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -57208,7 +57701,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &409 + schema: &413 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57272,7 +57765,7 @@ paths: nullable: true pull_requests: type: array - items: *403 + items: *407 nullable: true app: title: GitHub app @@ -57283,9 +57776,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - repository: *126 + properties: *68 + required: *69 + repository: *133 created_at: type: string format: date-time @@ -57294,12 +57787,12 @@ paths: type: string format: date-time nullable: true - head_commit: &732 + head_commit: &737 title: Simple Commit description: A commit. type: object - properties: *407 - required: *408 + properties: *411 + required: *412 latest_check_runs_count: type: integer check_runs_url: @@ -57327,7 +57820,7 @@ paths: - check_runs_url - pull_requests examples: - default: &410 + default: &414 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57618,9 +58111,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57639,8 +58132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -57701,7 +58194,7 @@ paths: required: - app_id - setting - repository: *126 + repository: *133 examples: default: value: @@ -57949,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *322 - - *323 - - &411 + - *326 + - *327 + - &415 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57963,9 +58456,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57988,17 +58481,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *322 - - *323 - - *411 - - &461 + - *326 + - *327 + - *415 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &462 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -58037,9 +58530,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *408 examples: - default: &463 + default: &467 value: total_count: 1 check_runs: @@ -58141,15 +58634,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *322 - - *323 - - *411 + - *326 + - *327 + - *415 responses: '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -58176,21 +58669,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *322 - - *323 - - *412 - - *413 + - *326 + - *327 + - *416 + - *417 - *19 - *17 - - &430 + - &434 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: *414 - - &431 + schema: *418 + - &435 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58215,13 +58708,13 @@ paths: be returned. in: query required: false - schema: *415 + schema: *419 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *416 + schema: *420 responses: '200': description: Response @@ -58234,12 +58727,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: *417 - state: *148 - fixed_at: *144 + instances_url: *421 + state: *154 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -58247,12 +58740,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: *418 - dismissed_comment: *419 - rule: *420 - tool: *421 - most_recent_instance: *422 + dismissed_at: *151 + dismissed_reason: *422 + dismissed_comment: *423 + rule: *424 + tool: *425 + most_recent_instance: *426 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58375,14 +58868,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &423 + '403': &427 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58402,9 +58895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *322 - - *323 - - &424 + - *326 + - *327 + - &428 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58418,17 +58911,17 @@ paths: description: Response content: application/json: - schema: &425 + schema: &429 type: object properties: number: *54 created_at: *55 - updated_at: *143 + updated_at: *149 url: *56 html_url: *57 - instances_url: *417 - state: *148 - fixed_at: *144 + instances_url: *421 + state: *154 + fixed_at: *150 dismissed_by: title: Simple User description: A GitHub user. @@ -58436,9 +58929,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *145 - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_at: *151 + dismissed_reason: *422 + dismissed_comment: *423 rule: type: object properties: @@ -58492,8 +58985,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *421 - most_recent_instance: *422 + tool: *425 + most_recent_instance: *426 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58589,9 +59082,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58609,9 +59102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: true content: @@ -58626,8 +59119,8 @@ paths: enum: - open - dismissed - dismissed_reason: *418 - dismissed_comment: *419 + dismissed_reason: *422 + dismissed_comment: *423 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -58646,7 +59139,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *429 examples: default: value: @@ -58722,14 +59215,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &429 + '403': &433 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': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58749,15 +59242,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 responses: '200': description: Response content: application/json: - schema: &426 + schema: &430 type: object properties: status: @@ -58783,13 +59276,13 @@ paths: - description - started_at examples: - default: &427 + default: &431 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &428 + '400': &432 description: Bad Request content: application/json: @@ -58800,9 +59293,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': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58825,29 +59318,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 responses: '200': description: OK content: application/json: - schema: *426 + schema: *430 examples: - default: *427 + default: *431 '202': description: Accepted content: application/json: - schema: *426 + schema: *430 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *428 + '400': *432 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -58857,7 +59350,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58879,9 +59372,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: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: false content: @@ -58926,12 +59419,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *428 - '403': *429 + '400': *432 + '403': *433 '404': *6 '422': description: Unprocessable Entity - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58951,13 +59444,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 - *19 - *17 - - *430 - - *431 + - *434 + - *435 responses: '200': description: Response @@ -58965,7 +59458,7 @@ paths: application/json: schema: type: array - items: *422 + items: *426 examples: default: value: @@ -59004,9 +59497,9 @@ paths: end_column: 50 classifications: - source - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59038,25 +59531,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *322 - - *323 - - *412 - - *413 + - *326 + - *327 + - *416 + - *417 - *19 - *17 - - *431 + - *435 - 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: *414 + schema: *418 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &434 + schema: &438 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59077,23 +59570,23 @@ paths: application/json: schema: type: array - items: &435 + items: &439 type: object properties: - ref: *414 - commit_sha: &443 + ref: *418 + commit_sha: &447 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: *432 + analysis_key: *436 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *433 + category: *437 error: type: string example: error reading field xyz @@ -59117,8 +59610,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *434 - tool: *421 + sarif_id: *438 + tool: *425 deletable: type: boolean warning: @@ -59179,9 +59672,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59215,8 +59708,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: - - *322 - - *323 + - *326 + - *327 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59229,7 +59722,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *439 examples: response: summary: application/json response @@ -59283,14 +59776,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *423 + '403': *427 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59370,8 +59863,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: - - *322 - - *323 + - *326 + - *327 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59424,9 +59917,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': *429 + '403': *433 '404': *6 - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59446,8 +59939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -59455,7 +59948,7 @@ paths: application/json: schema: type: array - items: &436 + items: &440 title: CodeQL Database description: A CodeQL database. type: object @@ -59566,9 +60059,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': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59595,8 +60088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: language in: path description: The language of the CodeQL database. @@ -59608,7 +60101,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: default: value: @@ -59640,11 +60133,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': &470 + '302': &474 description: Found - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59664,8 +60157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *322 - - *323 + - *326 + - *327 - name: language in: path description: The language of the CodeQL database. @@ -59675,9 +60168,9 @@ paths: responses: '204': description: Response - '403': *429 + '403': *433 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59703,8 +60196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -59713,7 +60206,7 @@ paths: type: object additionalProperties: false properties: - language: &437 + language: &441 type: string description: The language targeted by the CodeQL query enum: @@ -59792,7 +60285,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &441 + schema: &445 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59802,7 +60295,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *437 + query_language: *441 query_pack_url: type: string description: The download url for the query pack. @@ -59849,7 +60342,7 @@ paths: items: type: object properties: - repository: &438 + repository: &442 title: Repository Identifier description: Repository Identifier type: object @@ -59885,7 +60378,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &442 + analysis_status: &446 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59917,7 +60410,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &439 + access_mismatch_repos: &443 type: object properties: repository_count: @@ -59931,7 +60424,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: *438 + items: *442 required: - repository_count - repositories @@ -59953,8 +60446,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *439 - over_limit_repos: *439 + no_codeql_db_repos: *443 + over_limit_repos: *443 required: - access_mismatch_repos - not_found_repos @@ -59970,7 +60463,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &440 + value: &444 summary: Default response value: id: 1 @@ -60122,17 +60615,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *440 + value: *444 repository_lists: summary: Response for a successful variant analysis submission - value: *440 + value: *444 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60153,8 +60646,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: - - *322 - - *323 + - *326 + - *327 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60166,11 +60659,11 @@ paths: description: Response content: application/json: - schema: *441 + schema: *445 examples: - default: *440 + default: *444 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60191,7 +60684,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: - - *322 + - *326 - name: repo in: path description: The name of the controller repository. @@ -60226,7 +60719,7 @@ paths: type: object properties: repository: *53 - analysis_status: *442 + analysis_status: *446 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60330,7 +60823,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60351,8 +60844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -60437,9 +60930,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *423 + '403': *427 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60458,8 +60951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -60526,7 +61019,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -60551,7 +61044,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *429 + '403': *433 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60565,7 +61058,7 @@ paths: content: application/json: schema: *3 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60622,8 +61115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -60631,7 +61124,7 @@ paths: schema: type: object properties: - commit_sha: *443 + commit_sha: *447 ref: type: string description: |- @@ -60689,7 +61182,7 @@ paths: schema: type: object properties: - id: *434 + id: *438 url: type: string description: The REST API URL for checking the status of the upload. @@ -60703,11 +61196,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': *429 + '403': *433 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60726,8 +61219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *322 - - *323 + - *326 + - *327 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60773,10 +61266,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': *423 + '403': *427 '404': description: Not Found if the sarif id does not match any upload - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60798,8 +61291,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -60855,7 +61348,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': *153 + '204': *159 '304': *37 '403': *29 '404': *6 @@ -60880,8 +61373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *322 - - *323 + - *326 + - *327 - 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 @@ -61001,8 +61494,8 @@ paths: parameters: - *17 - *19 - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -61018,7 +61511,7 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: default: value: @@ -61294,7 +61787,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': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -61316,8 +61809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -61380,22 +61873,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61419,8 +61912,8 @@ paths: parameters: - *17 - *19 - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -61460,7 +61953,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *97 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -61484,8 +61977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61520,14 +62013,14 @@ paths: type: integer machines: type: array - items: &653 + items: &658 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *449 + required: *450 examples: - default: &654 + default: &659 value: total_count: 2 machines: @@ -61544,7 +62037,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -61567,8 +62060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *322 - - *323 + - *326 + - *327 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61652,8 +62145,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: - - *322 - - *323 + - *326 + - *327 - 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 @@ -61698,7 +62191,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61719,8 +62212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -61738,7 +62231,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &454 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61758,7 +62251,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *451 headers: Link: *58 x-github: @@ -61781,16 +62274,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *448 + schema: *452 examples: - default: *449 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61810,17 +62303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *450 + schema: *454 examples: - default: *451 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61840,9 +62333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -61870,7 +62363,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -61894,9 +62387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -61924,8 +62417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *322 - - *323 + - *326 + - *327 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61967,7 +62460,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &452 + properties: &456 login: type: string example: octocat @@ -62060,7 +62553,7 @@ paths: user_view_type: type: string example: public - required: &453 + required: &457 - avatar_url - events_url - followers_url @@ -62134,9 +62627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '204': description: Response if user is a collaborator @@ -62182,9 +62675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 requestBody: required: false content: @@ -62210,7 +62703,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &518 + schema: &522 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62221,7 +62714,7 @@ paths: example: 42 type: integer format: int64 - repository: *126 + repository: *133 invitee: title: Simple User description: A GitHub user. @@ -62399,7 +62892,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *100 + schema: *107 '403': *29 x-github: triggersNotification: true @@ -62439,9 +62932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62472,9 +62965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *322 - - *323 - - *139 + - *326 + - *327 + - *63 responses: '200': description: if user has admin permissions @@ -62494,8 +62987,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *452 - required: *453 + properties: *456 + required: *457 nullable: true required: - permission @@ -62550,8 +63043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -62561,7 +63054,7 @@ paths: application/json: schema: type: array - items: &454 + items: &458 title: Commit Comment description: Commit Comment type: object @@ -62602,8 +63095,8 @@ paths: updated_at: type: string format: date-time - author_association: *63 - reactions: *64 + author_association: *70 + reactions: *71 required: - url - html_url @@ -62619,7 +63112,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62678,17 +63171,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: &458 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62745,9 +63238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -62769,7 +63262,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: default: value: @@ -62820,9 +63313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -62843,9 +63336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -62871,9 +63364,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -62894,9 +63387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -62928,16 +63421,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -62959,10 +63452,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -63011,8 +63504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *322 - - *323 + - *326 + - *327 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63068,9 +63561,9 @@ paths: application/json: schema: type: array - items: *455 + items: *459 examples: - default: &568 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63141,7 +63634,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *97 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -63164,9 +63657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *322 - - *323 - - &456 + - *326 + - *327 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -63238,9 +63731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 - *17 - *19 responses: @@ -63250,9 +63743,9 @@ paths: application/json: schema: type: array - items: *454 + items: *458 examples: - default: *457 + default: *461 headers: Link: *58 x-github: @@ -63280,9 +63773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 requestBody: required: true content: @@ -63317,9 +63810,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *458 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63347,9 +63840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 - *17 - *19 responses: @@ -63359,9 +63852,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: &560 + default: &564 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63898,11 +64391,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 - - &460 + - &464 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)" @@ -63917,9 +64410,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: &547 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64005,8 +64498,8 @@ paths: ..... '422': *15 '404': *6 - '500': *97 - '503': *65 + '500': *104 + '503': *72 '409': *47 x-github: githubCloudOnly: false @@ -64032,11 +64525,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *322 - - *323 - - *460 - - *461 - - *462 + - *326 + - *327 + - *464 + - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64070,9 +64563,9 @@ paths: type: integer check_runs: type: array - items: *404 + items: *408 examples: - default: *463 + default: *467 headers: Link: *58 x-github: @@ -64097,9 +64590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64107,7 +64600,7 @@ paths: schema: type: integer example: 1 - - *461 + - *465 - *17 - *19 responses: @@ -64125,7 +64618,7 @@ paths: type: integer check_suites: type: array - items: *409 + items: *413 examples: default: value: @@ -64325,9 +64818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - *17 - *19 responses: @@ -64394,7 +64887,7 @@ paths: type: string total_count: type: integer - repository: *126 + repository: *133 commit_url: type: string format: uri @@ -64525,9 +65018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *322 - - *323 - - *460 + - *326 + - *327 + - *464 - *17 - *19 responses: @@ -64537,7 +65030,7 @@ paths: application/json: schema: type: array - items: &624 + items: &629 title: Status description: The status of a commit. type: object @@ -64618,7 +65111,7 @@ paths: site_admin: false headers: Link: *58 - '301': *331 + '301': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64646,8 +65139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -64676,20 +65169,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *464 - required: *465 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &466 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &467 + required: &471 - url - html_url nullable: true @@ -64697,32 +65190,32 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true contributing: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *466 - required: *467 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -64849,8 +65342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 - name: basehead @@ -64893,8 +65386,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *455 - merge_base_commit: *455 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -64914,10 +65407,10 @@ paths: example: 6 commits: type: array - items: *455 + items: *459 files: type: array - items: *468 + items: *472 required: - url - html_url @@ -65160,8 +65653,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65203,8 +65696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -65347,7 +65840,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &469 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -65479,7 +65972,7 @@ paths: - size - type - url - - &573 + - &577 title: Content File description: Content File type: object @@ -65680,7 +66173,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *469 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65749,7 +66242,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *470 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -65772,8 +66265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -65866,7 +66359,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &475 title: File Commit description: File Commit type: object @@ -66018,7 +66511,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: example-for-creating-a-file: value: @@ -66072,7 +66565,7 @@ paths: schema: oneOf: - *3 - - &500 + - &504 description: Repository rule violation was detected type: object properties: @@ -66093,7 +66586,7 @@ paths: items: type: object properties: - placeholder_id: &616 + placeholder_id: &621 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66125,8 +66618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *322 - - *323 + - *326 + - *327 - name: path description: path parameter in: path @@ -66187,7 +66680,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: default: value: @@ -66222,7 +66715,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66242,8 +66735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *322 - - *323 + - *326 + - *327 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66366,22 +66859,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *322 - - *323 - - *160 - - *161 - - *162 - - *163 + - *326 + - *327 + - *166 + - *167 + - *168 + - *169 - 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 - - *164 - - *165 - - *166 - - *167 + - *170 + - *171 + - *172 + - *173 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66401,8 +66894,8 @@ paths: default: 30 - *40 - *41 - - *168 - - *169 + - *174 + - *175 responses: '200': description: Response @@ -66410,7 +66903,7 @@ paths: application/json: schema: type: array - items: &474 + items: &478 type: object description: A Dependabot alert. properties: @@ -66456,13 +66949,13 @@ paths: - unknown - direct - transitive - security_advisory: *472 + security_advisory: *476 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *143 - dismissed_at: *145 + updated_at: *149 + dismissed_at: *151 dismissed_by: title: Simple User description: A GitHub user. @@ -66486,8 +66979,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *144 - auto_dismissed_at: *473 + fixed_at: *150 + auto_dismissed_at: *477 required: - number - state @@ -66717,9 +67210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *322 - - *323 - - &475 + - *326 + - *327 + - &479 name: alert_number in: path description: |- @@ -66734,7 +67227,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *478 examples: default: value: @@ -66847,9 +67340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *322 - - *323 - - *475 + - *326 + - *327 + - *479 requestBody: required: true content: @@ -66894,7 +67387,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *478 examples: default: value: @@ -67023,8 +67516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -67042,7 +67535,7 @@ paths: type: integer secrets: type: array - items: &478 + items: &482 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67095,16 +67588,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *476 + schema: *480 examples: - default: *477 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67124,15 +67617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: default: value: @@ -67158,9 +67651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 requestBody: required: true content: @@ -67188,7 +67681,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -67212,9 +67705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *322 - - *323 - - *134 + - *326 + - *327 + - *141 responses: '204': description: Response @@ -67236,8 +67729,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: - - *322 - - *323 + - *326 + - *327 - 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 @@ -67397,8 +67890,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -67637,8 +68130,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -67713,7 +68206,7 @@ paths: - version - url additionalProperties: false - metadata: &479 + metadata: &483 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67746,7 +68239,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *479 + metadata: *483 resolved: type: object description: A collection of resolved package dependencies. @@ -67759,7 +68252,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *479 + metadata: *483 relationship: type: string description: A notation of whether a dependency is requested @@ -67888,8 +68381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *322 - - *323 + - *326 + - *327 - name: sha description: The SHA recorded at creation time. in: query @@ -67929,9 +68422,9 @@ paths: application/json: schema: type: array - items: *480 + items: *484 examples: - default: *481 + default: *485 headers: Link: *58 x-github: @@ -67997,8 +68490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -68079,7 +68572,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *484 examples: simple-example: summary: Simple example @@ -68152,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *322 - - *323 - - &482 + - *326 + - *327 + - &486 name: deployment_id description: deployment_id parameter in: path @@ -68166,7 +68659,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *484 examples: default: value: @@ -68231,9 +68724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 responses: '204': description: Response @@ -68255,9 +68748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 - *17 - *19 responses: @@ -68267,7 +68760,7 @@ paths: application/json: schema: type: array - items: &483 + items: &487 title: Deployment Status description: The status of a deployment. type: object @@ -68358,8 +68851,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -68428,9 +68921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 requestBody: required: true content: @@ -68505,9 +68998,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *487 examples: - default: &484 + default: &488 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68563,9 +69056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *322 - - *323 - - *482 + - *326 + - *327 + - *486 - name: status_id in: path required: true @@ -68576,9 +69069,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *487 examples: - default: *484 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68603,8 +69096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -68661,8 +69154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -68679,7 +69172,7 @@ paths: type: integer environments: type: array - items: &486 + items: &490 title: Environment description: Details of a deployment environment type: object @@ -68731,7 +69224,7 @@ paths: type: type: string example: wait_timer - wait_timer: &488 + wait_timer: &492 type: integer example: 30 description: The amount of time to delay a job after @@ -68768,11 +69261,11 @@ paths: items: type: object properties: - type: *485 + type: *489 reviewer: anyOf: - *4 - - *159 + - *165 required: - id - node_id @@ -68792,7 +69285,7 @@ paths: - id - node_id - type - deployment_branch_policy: &489 + deployment_branch_policy: &493 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -68908,9 +69401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *322 - - *323 - - &487 + - *326 + - *327 + - &491 name: environment_name in: path required: true @@ -68923,9 +69416,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &490 + default: &494 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69009,9 +69502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: false content: @@ -69020,7 +69513,7 @@ paths: type: object nullable: true properties: - wait_timer: *488 + wait_timer: *492 prevent_self_review: type: boolean example: false @@ -69037,13 +69530,13 @@ paths: items: type: object properties: - type: *485 + type: *489 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *489 + deployment_branch_policy: *493 additionalProperties: false examples: default: @@ -69063,9 +69556,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *490 + default: *494 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69089,9 +69582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 responses: '204': description: Default response @@ -69116,9 +69609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 - *17 - *19 responses: @@ -69136,7 +69629,7 @@ paths: example: 2 branch_policies: type: array - items: &491 + items: &495 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69193,9 +69686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: true content: @@ -69241,9 +69734,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - example-wildcard: &492 + example-wildcard: &496 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69285,10 +69778,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - &493 + - *326 + - *327 + - *491 + - &497 name: branch_policy_id in: path required: true @@ -69300,9 +69793,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69321,10 +69814,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - *493 + - *326 + - *327 + - *491 + - *497 requestBody: required: true content: @@ -69352,9 +69845,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69373,10 +69866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *322 - - *323 - - *487 - - *493 + - *326 + - *327 + - *491 + - *497 responses: '204': description: Response @@ -69401,9 +69894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 responses: '200': description: List of deployment protection rules @@ -69419,7 +69912,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &494 + items: &498 title: Deployment protection rule description: Deployment protection rule type: object @@ -69438,7 +69931,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &495 + app: &499 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69537,9 +70030,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: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 requestBody: content: application/json: @@ -69560,9 +70053,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *494 + schema: *498 examples: - default: &496 + default: &500 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69597,9 +70090,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: - - *487 - - *323 - - *322 + - *491 + - *327 + - *326 - *19 - *17 responses: @@ -69618,7 +70111,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *495 + items: *499 examples: default: value: @@ -69653,10 +70146,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *322 - - *323 - - *487 - - &497 + - *326 + - *327 + - *491 + - &501 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69668,9 +70161,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *496 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69691,10 +70184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *487 - - *323 - - *322 - - *497 + - *491 + - *327 + - *326 + - *501 responses: '204': description: Response @@ -69720,9 +70213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 - *17 - *19 responses: @@ -69740,9 +70233,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *58 x-github: @@ -69767,17 +70260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 responses: '200': description: Response content: application/json: - schema: *372 + schema: *376 examples: - default: *373 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69799,18 +70292,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *498 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69832,10 +70325,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 requestBody: required: true content: @@ -69866,7 +70359,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -69892,10 +70385,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *322 - - *323 - - *487 - - *134 + - *326 + - *327 + - *491 + - *141 responses: '204': description: Default response @@ -69920,10 +70413,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *322 - - *323 - - *487 - - *341 + - *326 + - *327 + - *491 + - *345 - *19 responses: '200': @@ -69940,9 +70433,9 @@ paths: type: integer variables: type: array - items: *374 + items: *378 examples: - default: *375 + default: *379 headers: Link: *58 x-github: @@ -69965,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *322 - - *323 - - *487 + - *326 + - *327 + - *491 requestBody: required: true content: @@ -69994,7 +70487,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -70019,18 +70512,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *322 - - *323 - - *487 - - *137 + - *326 + - *327 + - *491 + - *144 responses: '200': description: Response content: application/json: - schema: *374 + schema: *378 examples: - default: *499 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70051,10 +70544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *322 - - *323 - - *137 - - *487 + - *326 + - *327 + - *144 + - *491 requestBody: required: true content: @@ -70096,10 +70589,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *322 - - *323 - - *137 - - *487 + - *326 + - *327 + - *144 + - *491 responses: '204': description: Response @@ -70121,8 +70614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -70132,7 +70625,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: 200-response: value: @@ -70199,8 +70692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *322 - - *323 + - *326 + - *327 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70222,7 +70715,7 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: default: value: @@ -70359,8 +70852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -70392,9 +70885,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 '400': *14 '422': *15 '403': *29 @@ -70415,8 +70908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -70475,8 +70968,8 @@ paths: application/json: schema: oneOf: - - *100 - - *500 + - *107 + - *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70501,8 +70994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *322 - - *323 + - *326 + - *327 - name: file_sha in: path required: true @@ -70601,8 +71094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -70711,7 +71204,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &505 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70925,15 +71418,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *322 - - *323 - - *456 + - *326 + - *327 + - *460 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: default: value: @@ -70989,9 +71482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *322 - - *323 - - &502 + - *326 + - *327 + - &506 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. @@ -71008,7 +71501,7 @@ paths: application/json: schema: type: array - items: &503 + items: &507 title: Git Reference description: Git references within a repository type: object @@ -71083,17 +71576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 responses: '200': description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: &504 + default: &508 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71122,8 +71615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71152,9 +71645,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71180,9 +71673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 requestBody: required: true content: @@ -71211,9 +71704,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 '422': *15 '409': *47 x-github: @@ -71231,9 +71724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *322 - - *323 - - *502 + - *326 + - *327 + - *506 responses: '204': description: Response @@ -71288,8 +71781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71356,7 +71849,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &510 title: Git Tag description: Metadata for a Git tag type: object @@ -71407,7 +71900,7 @@ paths: - sha - type - url - verification: *505 + verification: *509 required: - sha - url @@ -71417,7 +71910,7 @@ paths: - tag - message examples: - default: &507 + default: &511 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71490,8 +71983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *322 - - *323 + - *326 + - *327 - name: tag_sha in: path required: true @@ -71502,9 +71995,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: - default: *507 + default: *511 '404': *6 '409': *47 x-github: @@ -71528,8 +72021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -71602,7 +72095,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &512 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71698,8 +72191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *322 - - *323 + - *326 + - *327 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71722,7 +72215,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *512 examples: default-response: summary: Default response @@ -71781,8 +72274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -71792,7 +72285,7 @@ paths: application/json: schema: type: array - items: &509 + items: &513 title: Webhook description: Webhooks for repositories. type: object @@ -71846,7 +72339,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &740 + last_response: &745 title: Hook Response type: object properties: @@ -71920,8 +72413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -71973,9 +72466,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: &510 + default: &514 value: type: Repository id: 12345678 @@ -72023,17 +72516,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '200': description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -72053,9 +72546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 requestBody: required: true content: @@ -72100,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 '422': *15 '404': *6 x-github: @@ -72123,9 +72616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72149,9 +72642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '200': description: Response @@ -72178,9 +72671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 requestBody: required: false content: @@ -72224,11 +72717,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *17 - - *178 + - *184 responses: '200': description: Response @@ -72236,9 +72729,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '400': *14 '422': *15 x-github: @@ -72257,18 +72750,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *16 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '400': *14 '422': *15 x-github: @@ -72287,9 +72780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 - *16 responses: '202': *39 @@ -72312,9 +72805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72339,9 +72832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *322 - - *323 - - *177 + - *326 + - *327 + - *183 responses: '204': description: Response @@ -72399,14 +72892,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &511 + schema: &515 title: Import description: A repository import from an external source. type: object @@ -72505,7 +72998,7 @@ paths: - html_url - authors_url examples: - default: &514 + default: &518 value: vcs: subversion use_lfs: true @@ -72521,7 +73014,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': &512 + '503': &516 description: Unavailable due to service under maintenance. content: application/json: @@ -72550,8 +73043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -72599,7 +73092,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: default: value: @@ -72624,7 +73117,7 @@ paths: type: string '422': *15 '404': *6 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72652,8 +73145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -72702,7 +73195,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: example-1: summary: Example 1 @@ -72750,7 +73243,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': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72773,12 +73266,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72804,9 +73297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *322 - - *323 - - &676 + - *326 + - *327 + - &681 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -72820,7 +73313,7 @@ paths: application/json: schema: type: array - items: &513 + items: &517 title: Porter Author description: Porter Author type: object @@ -72874,7 +73367,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': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72899,8 +73392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *322 - - *323 + - *326 + - *327 - name: author_id in: path required: true @@ -72930,7 +73423,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: default: value: @@ -72943,7 +73436,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72967,8 +73460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73009,7 +73502,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73037,8 +73530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -73065,11 +73558,11 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: - default: *514 + default: *518 '422': *15 - '503': *512 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73092,8 +73585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73101,8 +73594,8 @@ paths: application/json: schema: *22 examples: - default: *515 - '301': *331 + default: *519 + '301': *335 '404': *6 x-github: githubCloudOnly: false @@ -73122,8 +73615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -73131,12 +73624,12 @@ paths: application/json: schema: anyOf: - - *195 + - *201 - type: object properties: {} additionalProperties: false examples: - default: &517 + default: &521 value: limit: collaborators_only origin: repository @@ -73161,13 +73654,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: application/json: - schema: *516 + schema: *520 examples: default: summary: Example request body @@ -73179,9 +73672,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *517 + default: *521 '409': description: Response x-github: @@ -73203,8 +73696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -73227,8 +73720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -73238,9 +73731,9 @@ paths: application/json: schema: type: array - items: *518 + items: *522 examples: - default: &669 + default: &674 value: - id: 1 repository: @@ -73371,9 +73864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *322 - - *323 - - *199 + - *326 + - *327 + - *205 requestBody: required: false content: @@ -73402,7 +73895,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *522 examples: default: value: @@ -73533,9 +74026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *322 - - *323 - - *199 + - *326 + - *327 + - *205 responses: '204': description: Response @@ -73566,8 +74059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *322 - - *323 + - *326 + - *327 - 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 @@ -73615,7 +74108,7 @@ paths: required: false schema: type: string - - *203 + - *209 - name: sort description: What to sort results by. in: query @@ -73628,7 +74121,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -73638,9 +74131,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: &527 + default: &531 value: - id: 1 node_id: MDU6SXNzdWUx @@ -73788,7 +74281,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *331 + '301': *335 '422': *15 '404': *6 x-github: @@ -73817,8 +74310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -73900,9 +74393,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: &524 + default: &528 value: id: 1 node_id: MDU6SXNzdWUx @@ -74056,9 +74549,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *65 + '503': *72 '404': *6 - '410': *328 + '410': *332 x-github: triggersNotification: true githubCloudOnly: false @@ -74086,9 +74579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *322 - - *323 - - *87 + - *326 + - *327 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -74098,7 +74591,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -74108,9 +74601,9 @@ paths: application/json: schema: type: array - items: *519 + items: *523 examples: - default: &526 + default: &530 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74168,17 +74661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74232,9 +74725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -74256,9 +74749,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -74276,9 +74769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -74298,9 +74791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -74326,9 +74819,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -74349,9 +74842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -74383,16 +74876,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -74414,10 +74907,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -74437,8 +74930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -74448,7 +74941,7 @@ paths: application/json: schema: type: array - items: &523 + items: &527 title: Issue Event description: Issue Event type: object @@ -74491,8 +74984,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *521 - required: *522 + properties: *525 + required: *526 nullable: true label: title: Issue Event Label @@ -74536,7 +75029,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *159 + requested_team: *165 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74601,7 +75094,7 @@ paths: required: - from - to - author_association: *63 + author_association: *70 lock_reason: type: string nullable: true @@ -74614,8 +75107,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 required: - id - node_id @@ -74799,8 +75292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *322 - - *323 + - *326 + - *327 - name: event_id in: path required: true @@ -74811,7 +75304,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: default: value: @@ -75004,7 +75497,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *328 + '410': *332 '403': *29 x-github: githubCloudOnly: false @@ -75038,9 +75531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *322 - - *323 - - &525 + - *326 + - *327 + - &529 name: issue_number description: The number that identifies the issue. in: path @@ -75052,12 +75545,12 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '404': *6 - '410': *328 + '410': *332 '304': *37 x-github: githubCloudOnly: false @@ -75082,9 +75575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -75188,15 +75681,15 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 '422': *15 - '503': *65 + '503': *72 '403': *29 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75214,9 +75707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -75242,9 +75735,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75260,9 +75753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: content: application/json: @@ -75287,9 +75780,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75311,9 +75804,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: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: assignee in: path required: true @@ -75353,10 +75846,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *322 - - *323 - - *525 - - *67 + - *326 + - *327 + - *529 + - *74 - *17 - *19 responses: @@ -75366,13 +75859,13 @@ paths: application/json: schema: type: array - items: *519 + items: *523 examples: - default: *526 + default: *530 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75401,9 +75894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -75425,16 +75918,16 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -75462,9 +75955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75474,14 +75967,14 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75509,9 +76002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -75533,17 +76026,17 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *335 '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -75574,9 +76067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -75588,15 +76081,15 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 x-github: triggersNotification: true githubCloudOnly: false @@ -75622,9 +76115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75634,14 +76127,14 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75658,9 +76151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -75674,7 +76167,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &530 + - &534 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75705,8 +76198,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 label: type: object properties: @@ -75728,7 +76221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &535 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75759,8 +76252,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 label: type: object properties: @@ -75848,8 +76341,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 assigner: *4 required: @@ -75864,7 +76357,7 @@ paths: - performed_via_github_app - assignee - assigner - - &532 + - &536 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75895,8 +76388,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 milestone: type: object properties: @@ -75915,7 +76408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &537 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75946,8 +76439,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 milestone: type: object properties: @@ -75966,7 +76459,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &538 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75997,8 +76490,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 rename: type: object properties: @@ -76020,7 +76513,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &539 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76051,10 +76544,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 review_requester: *4 - requested_team: *159 + requested_team: *165 requested_reviewer: *4 required: - review_requester @@ -76067,7 +76560,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &540 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76098,10 +76591,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 review_requester: *4 - requested_team: *159 + requested_team: *165 requested_reviewer: *4 required: - review_requester @@ -76114,7 +76607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &541 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76145,8 +76638,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 dismissed_review: type: object properties: @@ -76174,7 +76667,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &542 title: Locked Issue Event description: Locked Issue Event type: object @@ -76205,8 +76698,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 lock_reason: type: string example: '"off-topic"' @@ -76222,7 +76715,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &543 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76253,8 +76746,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76288,7 +76781,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &544 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76319,8 +76812,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76354,7 +76847,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &545 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76385,8 +76878,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 project_card: type: object properties: @@ -76420,7 +76913,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &546 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76511,7 +77004,7 @@ paths: color: red headers: Link: *58 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76528,9 +77021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -76540,7 +77033,7 @@ paths: application/json: schema: type: array - items: &528 + items: &532 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76587,7 +77080,7 @@ paths: - color - default examples: - default: &529 + default: &533 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76605,9 +77098,9 @@ paths: default: false headers: Link: *58 - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76624,9 +77117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76685,12 +77178,12 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 - '301': *331 + default: *533 + '301': *335 '404': *6 - '410': *328 + '410': *332 '422': *15 x-github: githubCloudOnly: false @@ -76707,9 +77200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76769,12 +77262,12 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 - '301': *331 + default: *533 + '301': *335 '404': *6 - '410': *328 + '410': *332 '422': *15 x-github: githubCloudOnly: false @@ -76791,15 +77284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '204': description: Response - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76818,9 +77311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - name: name in: path required: true @@ -76833,7 +77326,7 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: default: value: @@ -76844,9 +77337,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76866,9 +77359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: false content: @@ -76896,7 +77389,7 @@ paths: '204': description: Response '403': *29 - '410': *328 + '410': *332 '404': *6 '422': *15 x-github: @@ -76914,9 +77407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '204': description: Response @@ -76946,20 +77439,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 responses: '200': description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 - '301': *331 + default: *528 + '301': *335 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76976,9 +77469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - 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. @@ -77004,13 +77497,13 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +77521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77062,16 +77555,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -77093,10 +77586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *326 + - *327 + - *529 - *322 - - *323 - - *525 - - *318 responses: '204': description: Response @@ -77125,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77149,9 +77642,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77184,9 +77677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -77196,13 +77689,13 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *527 + default: *531 headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77230,9 +77723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77259,16 +77752,16 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *328 + '410': *332 '422': *15 '404': *6 x-github: @@ -77288,9 +77781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 requestBody: required: true content: @@ -77321,13 +77814,13 @@ paths: description: Response content: application/json: - schema: *77 + schema: *84 examples: - default: *524 + default: *528 '403': *29 '404': *6 '422': *7 - '503': *65 + '503': *72 x-github: triggersNotification: true githubCloudOnly: false @@ -77345,9 +77838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *322 - - *323 - - *525 + - *326 + - *327 + - *529 - *17 - *19 responses: @@ -77362,10 +77855,6 @@ paths: description: Timeline Event type: object anyOf: - - *530 - - *531 - - *532 - - *533 - *534 - *535 - *536 @@ -77375,6 +77864,10 @@ paths: - *540 - *541 - *542 + - *543 + - *544 + - *545 + - *546 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77417,7 +77910,7 @@ paths: issue_url: type: string format: uri - author_association: *63 + author_association: *70 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -77427,9 +77920,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - event - actor @@ -77460,7 +77953,7 @@ paths: properties: type: type: string - issue: *77 + issue: *84 required: - event - created_at @@ -77660,7 +78153,7 @@ paths: type: string body_text: type: string - author_association: *63 + author_association: *70 required: - event - id @@ -77683,7 +78176,7 @@ paths: type: string comments: type: array - items: &562 + items: &566 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77772,7 +78265,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *63 + author_association: *70 _links: type: object properties: @@ -77856,7 +78349,7 @@ paths: enum: - line - file - reactions: *64 + reactions: *71 body_html: type: string example: '"

comment body

"' @@ -77892,7 +78385,7 @@ paths: type: string comments: type: array - items: *454 + items: *458 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77923,8 +78416,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 required: - id @@ -77967,8 +78460,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 assignee: *4 required: - id @@ -78011,8 +78504,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 state_reason: type: string nullable: true @@ -78181,7 +78674,7 @@ paths: headers: Link: *58 '404': *6 - '410': *328 + '410': *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78198,8 +78691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -78209,7 +78702,7 @@ paths: application/json: schema: type: array - items: &543 + items: &547 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78275,8 +78768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78312,9 +78805,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: &544 + default: &548 value: id: 1 key: ssh-rsa AAA... @@ -78348,9 +78841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *322 - - *323 - - &545 + - *326 + - *327 + - &549 name: key_id description: The unique identifier of the key. in: path @@ -78362,9 +78855,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *544 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -78382,9 +78875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *322 - - *323 - - *545 + - *326 + - *327 + - *549 responses: '204': description: Response @@ -78404,8 +78897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -78415,9 +78908,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 + default: *533 headers: Link: *58 '404': *6 @@ -78438,8 +78931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78475,9 +78968,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: - default: &546 + default: &550 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78509,8 +79002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78521,9 +79014,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: - default: *546 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -78540,8 +79033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78580,7 +79073,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: default: value: @@ -78606,8 +79099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *322 - - *323 + - *326 + - *327 - name: name in: path required: true @@ -78633,8 +79126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -78673,9 +79166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *322 - - *323 - - *430 + - *326 + - *327 + - *434 responses: '200': description: Response @@ -78737,8 +79230,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true required: - _links @@ -78820,8 +79313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78886,8 +79379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -78921,9 +79414,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *455 + schema: *459 examples: - default: *547 + default: *551 '204': description: Response when already merged '404': @@ -78948,8 +79441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78990,12 +79483,12 @@ paths: application/json: schema: type: array - items: &548 + items: &552 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 examples: default: value: @@ -79051,8 +79544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79092,9 +79585,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: &549 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79153,9 +79646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *322 - - *323 - - &550 + - *326 + - *327 + - &554 name: milestone_number description: The number that identifies the milestone. in: path @@ -79167,9 +79660,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: *549 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -79186,9 +79679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 requestBody: required: false content: @@ -79226,9 +79719,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *552 examples: - default: *549 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79244,9 +79737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 responses: '204': description: Response @@ -79267,9 +79760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *322 - - *323 - - *550 + - *326 + - *327 + - *554 - *17 - *19 responses: @@ -79279,9 +79772,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *529 + default: *533 headers: Link: *58 x-github: @@ -79300,12 +79793,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *322 - - *323 - - *551 - - *552 - - *67 - - *553 + - *326 + - *327 + - *555 + - *556 + - *74 + - *557 - *17 - *19 responses: @@ -79315,9 +79808,9 @@ paths: application/json: schema: type: array - items: *90 + items: *97 examples: - default: *554 + default: *558 headers: Link: *58 x-github: @@ -79341,8 +79834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -79400,14 +79893,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &555 + schema: &559 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79532,7 +80025,7 @@ paths: - custom_404 - public examples: - default: &556 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79573,8 +80066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79628,9 +80121,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 '422': *15 '409': *47 x-github: @@ -79653,8 +80146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -79753,8 +80246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -79780,8 +80273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -79791,7 +80284,7 @@ paths: application/json: schema: type: array - items: &557 + items: &561 title: Page Build description: Page Build type: object @@ -79885,8 +80378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *322 - - *323 + - *326 + - *327 responses: '201': description: Response @@ -79931,16 +80424,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *557 + schema: *561 examples: - default: &558 + default: &562 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79988,8 +80481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *322 - - *323 + - *326 + - *327 - name: build_id in: path required: true @@ -80000,9 +80493,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *561 examples: - default: *558 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80022,8 +80515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80128,9 +80621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *322 - - *323 - - &559 + - *326 + - *327 + - &563 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80188,11 +80681,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *322 - - *323 - - *559 + - *326 + - *327 + - *563 responses: - '204': *153 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -80217,8 +80710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -80449,7 +80942,7 @@ paths: description: Empty response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -80476,8 +80969,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: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Private vulnerability reporting status @@ -80514,10 +81007,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: - '204': *153 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -80536,10 +81029,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: - '204': *153 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -80560,8 +81053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: Indicates the state of the projects to return. in: query @@ -80582,7 +81075,7 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: default: value: @@ -80622,7 +81115,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -80645,8 +81138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80672,13 +81165,13 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: *327 + default: *331 '401': *25 '403': *29 '404': *6 - '410': *328 + '410': *332 '422': *7 x-github: githubCloudOnly: false @@ -80701,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -80710,7 +81203,7 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: default: value: @@ -80741,8 +81234,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80754,7 +81247,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *254 + items: *258 required: - properties examples: @@ -80804,8 +81297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *322 - - *323 + - *326 + - *327 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80865,9 +81358,9 @@ paths: application/json: schema: type: array - items: *459 + items: *463 examples: - default: *560 + default: *564 headers: Link: *58 '304': *37 @@ -80899,8 +81392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -80965,7 +81458,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &568 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81076,8 +81569,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true active_lock_reason: type: string @@ -81122,7 +81615,7 @@ paths: nullable: true requested_teams: type: array - items: *300 + items: *304 nullable: true head: type: object @@ -81131,7 +81624,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: *4 @@ -81148,7 +81641,7 @@ paths: type: string ref: type: string - repo: *60 + repo: *67 sha: type: string user: *4 @@ -81161,14 +81654,14 @@ paths: _links: type: object properties: - comments: *245 - commits: *245 - statuses: *245 - html: *245 - issue: *245 - review_comments: *245 - review_comment: *245 - self: *245 + comments: *249 + commits: *249 + statuses: *249 + html: *249 + issue: *249 + review_comments: *249 + review_comment: *249 + self: *249 required: - comments - commits @@ -81178,8 +81671,8 @@ paths: - review_comments - review_comment - self - author_association: *63 - auto_merge: *561 + author_association: *70 + auto_merge: *565 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -81271,7 +81764,7 @@ paths: - merged_by - review_comments examples: - default: &565 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81798,8 +82291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *322 - - *323 + - *326 + - *327 - name: sort in: query required: false @@ -81818,7 +82311,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -81828,9 +82321,9 @@ paths: application/json: schema: type: array - items: *562 + items: *566 examples: - default: &567 + default: &571 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81907,17 +82400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '200': description: Response content: application/json: - schema: *562 + schema: *566 examples: - default: &563 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81992,9 +82485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -82016,9 +82509,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: - default: *563 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82034,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 responses: '204': description: Response @@ -82057,9 +82550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 - 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. @@ -82085,9 +82578,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -82108,9 +82601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *322 - - *323 - - *76 + - *326 + - *327 + - *83 requestBody: required: true content: @@ -82142,16 +82635,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -82173,10 +82666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *326 + - *327 + - *83 - *322 - - *323 - - *76 - - *318 responses: '204': description: Response @@ -82219,9 +82712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *322 - - *323 - - &566 + - *326 + - *327 + - &570 name: pull_number description: The number that identifies the pull request. in: path @@ -82234,9 +82727,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *564 + schema: *568 examples: - default: *565 + default: *569 '304': *37 '404': *6 '406': @@ -82244,8 +82737,8 @@ paths: content: application/json: schema: *3 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82271,9 +82764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -82315,9 +82808,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: - default: *565 + default: *569 '422': *15 '403': *29 x-github: @@ -82339,9 +82832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -82401,21 +82894,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82441,10 +82934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *322 - - *323 - - *566 - - *87 + - *326 + - *327 + - *570 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -82454,7 +82947,7 @@ paths: enum: - asc - desc - - *67 + - *74 - *17 - *19 responses: @@ -82464,9 +82957,9 @@ paths: application/json: schema: type: array - items: *562 + items: *566 examples: - default: *567 + default: *571 headers: Link: *58 x-github: @@ -82499,9 +82992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -82606,7 +83099,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: example-for-a-multi-line-comment: value: @@ -82694,10 +83187,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *322 - - *323 - - *566 - - *76 + - *326 + - *327 + - *570 + - *83 requestBody: required: true content: @@ -82719,7 +83212,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *566 examples: default: value: @@ -82805,9 +83298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -82817,9 +83310,9 @@ paths: application/json: schema: type: array - items: *455 + items: *459 examples: - default: *568 + default: *572 headers: Link: *58 x-github: @@ -82849,9 +83342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -82861,7 +83354,7 @@ paths: application/json: schema: type: array - items: *468 + items: *472 examples: default: value: @@ -82879,8 +83372,8 @@ paths: headers: Link: *58 '422': *15 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82899,9 +83392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 responses: '204': description: Response if pull request has been merged @@ -82924,9 +83417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -83037,9 +83530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 responses: '200': description: Response @@ -83055,7 +83548,7 @@ paths: items: *4 teams: type: array - items: *159 + items: *165 required: - users - teams @@ -83114,9 +83607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -83153,7 +83646,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -83689,9 +84182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: true content: @@ -83725,7 +84218,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -84230,9 +84723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 - *17 - *19 responses: @@ -84242,7 +84735,7 @@ paths: application/json: schema: type: array - items: &569 + items: &573 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84311,7 +84804,7 @@ paths: type: string body_text: type: string - author_association: *63 + author_association: *70 required: - id - node_id @@ -84393,9 +84886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -84481,9 +84974,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: &571 + default: &575 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84546,10 +85039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 - - &570 + - *326 + - *327 + - *570 + - &574 name: review_id description: The unique identifier of the review. in: path @@ -84561,9 +85054,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: &572 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84622,10 +85115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -84648,7 +85141,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: default: value: @@ -84710,18 +85203,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 responses: '200': description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: *571 + default: *575 '422': *7 '404': *6 x-github: @@ -84748,10 +85241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 - *17 - *19 responses: @@ -84830,13 +85323,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *63 + author_association: *70 _links: type: object properties: - self: *245 - html: *245 - pull_request: *245 + self: *249 + html: *249 + pull_request: *249 required: - self - html @@ -84845,7 +85338,7 @@ paths: type: string body_html: type: string - reactions: *64 + reactions: *71 side: description: The side of the first line of the range for a multi-line comment. @@ -84986,10 +85479,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -85017,7 +85510,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: default: value: @@ -85080,10 +85573,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *322 - - *323 - - *566 + - *326 + - *327 - *570 + - *574 requestBody: required: true content: @@ -85118,9 +85611,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *573 examples: - default: *572 + default: *576 '404': *6 '422': *7 '403': *29 @@ -85142,9 +85635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *322 - - *323 - - *566 + - *326 + - *327 + - *570 requestBody: required: false content: @@ -85207,8 +85700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *322 - - *323 + - *326 + - *327 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85221,9 +85714,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: &574 + default: &578 value: type: file encoding: base64 @@ -85265,8 +85758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *322 - - *323 + - *326 + - *327 - name: dir description: The alternate path to look for a README file in: path @@ -85286,9 +85779,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 '404': *6 '422': *15 x-github: @@ -85310,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -85321,7 +85814,7 @@ paths: application/json: schema: type: array - items: &575 + items: &579 title: Release description: A release. type: object @@ -85392,7 +85885,7 @@ paths: author: *4 assets: type: array - items: &576 + items: &580 title: Release Asset description: Data related to a release. type: object @@ -85467,7 +85960,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *64 + reactions: *71 required: - assets_url - upload_url @@ -85579,8 +86072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -85656,9 +86149,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: &579 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85763,9 +86256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *322 - - *323 - - &577 + - *326 + - *327 + - &581 name: asset_id description: The unique identifier of the asset. in: path @@ -85777,9 +86270,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: - default: &578 + default: &582 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 @@ -85814,7 +86307,7 @@ paths: type: User site_admin: false '404': *6 - '302': *470 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85830,9 +86323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *322 - - *323 - - *577 + - *326 + - *327 + - *581 requestBody: required: false content: @@ -85860,9 +86353,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: - default: *578 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85878,9 +86371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *322 - - *323 - - *577 + - *326 + - *327 + - *581 responses: '204': description: Response @@ -85904,8 +86397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -85990,16 +86483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86016,8 +86509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *322 - - *323 + - *326 + - *327 - name: tag description: tag parameter in: path @@ -86030,9 +86523,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86054,9 +86547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *322 - - *323 - - &580 + - *326 + - *327 + - &584 name: release_id description: The unique identifier of the release. in: path @@ -86070,9 +86563,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: *575 + schema: *579 examples: - default: *579 + default: *583 '401': description: Unauthorized x-github: @@ -86090,9 +86583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 requestBody: required: false content: @@ -86156,9 +86649,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *579 + default: *583 '404': description: Not Found if the discussion category name is invalid content: @@ -86179,9 +86672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 responses: '204': description: Response @@ -86201,9 +86694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - *17 - *19 responses: @@ -86213,7 +86706,7 @@ paths: application/json: schema: type: array - items: *576 + items: *580 examples: default: value: @@ -86294,9 +86787,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: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - name: name in: query required: true @@ -86322,7 +86815,7 @@ paths: description: Response for successful upload content: application/json: - schema: *576 + schema: *580 examples: response-for-successful-upload: value: @@ -86377,9 +86870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 - 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. @@ -86403,9 +86896,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 '404': *6 @@ -86426,9 +86919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *322 - - *323 - - *580 + - *326 + - *327 + - *584 requestBody: required: true content: @@ -86458,16 +86951,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '201': description: Reaction created content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 '422': *15 x-github: githubCloudOnly: false @@ -86489,10 +86982,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *326 + - *327 + - *584 - *322 - - *323 - - *580 - - *318 responses: '204': description: Response @@ -86516,9 +87009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *322 - - *323 - - *392 + - *326 + - *327 + - *396 - *17 - *19 responses: @@ -86534,8 +87027,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *263 - - &581 + - *267 + - &585 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86554,66 +87047,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *264 - - *581 - - allOf: - - *265 - - *581 - - allOf: - - *266 - - *581 - - allOf: - - *582 - - *581 - - allOf: - - *267 - - *581 - allOf: - *268 - - *581 + - *585 - allOf: - *269 - - *581 + - *585 - allOf: - *270 - - *581 + - *585 + - allOf: + - *586 + - *585 - allOf: - *271 - - *581 + - *585 - allOf: - *272 - - *581 + - *585 - allOf: - *273 - - *581 + - *585 - allOf: - *274 - - *581 + - *585 - allOf: - *275 - - *581 + - *585 - allOf: - *276 - - *581 + - *585 - allOf: - *277 - - *581 + - *585 - allOf: - *278 - - *581 + - *585 - allOf: - *279 - - *581 + - *585 - allOf: - *280 - - *581 + - *585 - allOf: - *281 - - *581 + - *585 - allOf: - *282 - - *581 + - *585 + - allOf: + - *283 + - *585 + - allOf: + - *284 + - *585 + - allOf: + - *285 + - *585 + - allOf: + - *286 + - *585 + - allOf: + - *587 + - *585 examples: default: value: @@ -86652,8 +87148,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - name: includes_parents @@ -86664,7 +87160,7 @@ paths: schema: type: boolean default: true - - *583 + - *588 responses: '200': description: Response @@ -86672,7 +87168,7 @@ paths: application/json: schema: type: array - items: *283 + items: *287 examples: default: value: @@ -86703,7 +87199,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -86719,8 +87215,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 requestBody: description: Request body required: true @@ -86740,16 +87236,16 @@ paths: - tag - push default: branch - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *258 + items: *265 + conditions: *262 rules: type: array description: An array of rules within the ruleset. - items: *584 + items: *589 required: - name - enforcement @@ -86780,9 +87276,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: &594 + default: &599 value: id: 42 name: super cool ruleset @@ -86815,7 +87311,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *97 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -86829,12 +87325,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *322 - - *323 - - *585 - - *586 - - *587 - - *588 + - *326 + - *327 + - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86842,11 +87338,11 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86865,19 +87361,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *322 - - *323 - - *591 + - *326 + - *327 + - *596 responses: '200': description: Response content: application/json: - schema: *592 + schema: *597 examples: - default: *593 + default: *598 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86903,8 +87399,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86924,11 +87420,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *594 + default: *599 '404': *6 - '500': *97 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -86944,8 +87440,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86970,16 +87466,16 @@ paths: - branch - tag - push - enforcement: *260 + enforcement: *264 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *261 - conditions: *258 + items: *265 + conditions: *262 rules: description: An array of rules within the ruleset. type: array - items: *584 + items: *589 examples: default: value: @@ -87007,11 +87503,11 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *594 + default: *599 '404': *6 - '500': *97 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -87027,8 +87523,8 @@ paths: category: repos subcategory: rules parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87039,7 +87535,7 @@ paths: '204': description: Response '404': *6 - '500': *97 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -87051,8 +87547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 - name: ruleset_id @@ -87068,11 +87564,11 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *595 + default: *600 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87089,8 +87585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *322 - - *323 + - *326 + - *327 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87108,7 +87604,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *601 examples: default: value: @@ -87141,7 +87637,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87163,21 +87659,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *322 - - *323 - - *287 - - *288 - - *289 - - *290 - - *48 - - *19 - - *17 - - *597 - - *598 + - *326 + - *327 - *291 - *292 - *293 - *294 + - *48 + - *19 + - *17 + - *602 + - *603 + - *295 + - *296 + - *297 + - *298 responses: '200': description: Response @@ -87185,7 +87681,7 @@ paths: application/json: schema: type: array - items: &602 + items: &607 type: object properties: number: *54 @@ -87204,8 +87700,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *599 - resolution: *600 + state: *604 + resolution: *605 resolved_at: type: string format: date-time @@ -87301,7 +87797,7 @@ paths: pull request. ' - oneOf: *601 + oneOf: *606 nullable: true has_more_locations: type: boolean @@ -87402,7 +87898,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,16 +87920,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 - - *294 + - *326 + - *327 + - *428 + - *298 responses: '200': description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -87464,7 +87960,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87485,9 +87981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 requestBody: required: true content: @@ -87495,8 +87991,8 @@ paths: schema: type: object properties: - state: *599 - resolution: *600 + state: *604 + resolution: *605 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -87514,7 +88010,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -87567,7 +88063,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87589,9 +88085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *322 - - *323 - - *424 + - *326 + - *327 + - *428 - *19 - *17 responses: @@ -87602,7 +88098,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &762 + items: &767 type: object properties: type: @@ -87628,11 +88124,6 @@ paths: example: commit details: oneOf: - - *603 - - *604 - - *605 - - *606 - - *607 - *608 - *609 - *610 @@ -87641,6 +88132,11 @@ paths: - *613 - *614 - *615 + - *616 + - *617 + - *618 + - *619 + - *620 examples: default: value: @@ -87704,7 +88200,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87726,8 +88222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -87735,14 +88231,14 @@ paths: schema: type: object properties: - reason: &617 + reason: &622 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *616 + placeholder_id: *621 required: - reason - placeholder_id @@ -87759,7 +88255,7 @@ paths: schema: type: object properties: - reason: *617 + reason: *622 expire_at: type: string format: date-time @@ -87782,7 +88278,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *65 + '503': *72 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87802,13 +88298,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: - - *322 - - *323 + - *326 + - *327 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *65 + '503': *72 '200': description: Response content: @@ -87818,7 +88314,7 @@ paths: properties: incremental_scans: type: array - items: &618 + items: &623 description: Information on a single scan performed by secret scanning on the repository type: object @@ -87844,15 +88340,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *618 + items: *623 backfill_scans: type: array - items: *618 + items: *623 custom_pattern_backfill_scans: type: array items: allOf: - - *618 + - *623 - type: object properties: pattern_name: @@ -87922,8 +88418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *322 - - *323 + - *326 + - *327 - *48 - name: sort description: The property to sort the results by. @@ -87967,9 +88463,9 @@ paths: application/json: schema: type: array - items: *619 + items: *624 examples: - default: *620 + default: *625 '400': *14 '404': *6 x-github: @@ -87992,8 +88488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -88066,7 +88562,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 required: - login - type @@ -88153,9 +88649,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: &622 + default: &627 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88388,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -88493,7 +88989,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -88640,17 +89136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '200': description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 + default: *627 '403': *29 '404': *6 x-github: @@ -88674,9 +89170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 requestBody: required: true content: @@ -88749,7 +89245,7 @@ paths: login: type: string description: The username of the user credited. - type: *299 + type: *303 required: - login - type @@ -88835,17 +89331,17 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 - add_credit: *622 + default: *627 + add_credit: *627 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *100 + schema: *107 examples: invalid_state_transition: value: @@ -88876,9 +89372,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: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '202': *39 '400': *14 @@ -88905,17 +89401,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *322 - - *323 - - *621 + - *326 + - *327 + - *626 responses: '202': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 '400': *14 '422': *15 '403': *29 @@ -88941,8 +89437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89041,8 +89537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89051,7 +89547,7 @@ paths: application/json: schema: type: array - items: &623 + items: &628 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89064,7 +89560,7 @@ paths: - 1124 - -435 '202': *39 - '204': *153 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -89084,8 +89580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89134,7 +89630,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89161,8 +89657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89236,7 +89732,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89258,8 +89754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89413,8 +89909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89424,7 +89920,7 @@ paths: application/json: schema: type: array - items: *623 + items: *628 examples: default: value: @@ -89437,7 +89933,7 @@ paths: - - 0 - 2 - 21 - '204': *153 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89457,8 +89953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *322 - - *323 + - *326 + - *327 - name: sha in: path required: true @@ -89512,7 +90008,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -89566,8 +90062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89579,7 +90075,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -89599,14 +90095,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &625 + schema: &630 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89674,8 +90170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: false content: @@ -89701,7 +90197,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *630 examples: default: value: @@ -89728,8 +90224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -89749,8 +90245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -89829,8 +90325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -89838,7 +90334,7 @@ paths: application/json: schema: type: array - items: &626 + items: &631 title: Tag protection description: Tag protection type: object @@ -89890,8 +90386,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: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -89914,7 +90410,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *631 examples: default: value: @@ -89945,8 +90441,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: - - *322 - - *323 + - *326 + - *327 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -89983,8 +90479,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *322 - - *323 + - *326 + - *327 - name: ref in: path required: true @@ -90020,8 +90516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *322 - - *323 + - *326 + - *327 - *17 - *19 responses: @@ -90031,9 +90527,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - default: *220 + default: *224 headers: Link: *58 '404': *6 @@ -90053,8 +90549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *322 - - *323 + - *326 + - *327 - *19 - *17 responses: @@ -90062,7 +90558,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &632 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90074,7 +90570,7 @@ paths: required: - names examples: - default: &628 + default: &633 value: names: - octocat @@ -90097,8 +90593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -90129,9 +90625,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '404': *6 '422': *7 x-github: @@ -90152,9 +90648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *322 - - *323 - - &629 + - *326 + - *327 + - &634 name: per description: The time frame to display results for. in: query @@ -90183,7 +90679,7 @@ paths: example: 128 clones: type: array - items: &630 + items: &635 title: Traffic type: object properties: @@ -90270,8 +90766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -90361,8 +90857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *322 - - *323 + - *326 + - *327 responses: '200': description: Response @@ -90422,9 +90918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *322 - - *323 - - *629 + - *326 + - *327 + - *634 responses: '200': description: Response @@ -90443,7 +90939,7 @@ paths: example: 3782 views: type: array - items: *630 + items: *635 required: - uniques - count @@ -90520,8 +91016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *322 - - *323 + - *326 + - *327 requestBody: required: true content: @@ -90557,7 +91053,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *133 examples: default: value: @@ -90795,8 +91291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90819,8 +91315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -90842,8 +91338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -90869,8 +91365,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *322 - - *323 + - *326 + - *327 - name: ref in: path required: true @@ -90962,9 +91458,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91005,7 +91501,7 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: default: value: @@ -91194,7 +91690,7 @@ paths: html_url: type: string format: uri - repository: *126 + repository: *133 score: type: number file_size: @@ -91212,7 +91708,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &631 + text_matches: &636 title: Search Result Text Matches type: array items: @@ -91326,7 +91822,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *65 + '503': *72 '422': *15 '403': *29 x-github: @@ -91374,7 +91870,7 @@ paths: enum: - author-date - committer-date - - &632 + - &637 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 @@ -91445,7 +91941,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true comment_count: type: integer @@ -91465,7 +91961,7 @@ paths: url: type: string format: uri - verification: *505 + verification: *509 required: - author - committer @@ -91484,7 +91980,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *390 + properties: *394 nullable: true parents: type: array @@ -91497,12 +91993,12 @@ paths: type: string sha: type: string - repository: *126 + repository: *133 score: type: number node_id: type: string - text_matches: *631 + text_matches: *636 required: - sha - node_id @@ -91684,7 +92180,7 @@ paths: - interactions - created - updated - - *632 + - *637 - *17 - *19 - name: advanced_search @@ -91781,11 +92277,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: type: string state_reason: @@ -91802,8 +92298,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true comments: type: integer @@ -91817,7 +92313,7 @@ paths: type: string format: date-time nullable: true - text_matches: *631 + text_matches: *636 pull_request: type: object properties: @@ -91850,10 +92346,10 @@ paths: type: string score: type: number - author_association: *63 + author_association: *70 draft: type: boolean - repository: *60 + repository: *67 body_html: type: string body_text: @@ -91861,7 +92357,7 @@ paths: timeline_url: type: string format: uri - type: *200 + type: *206 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -91871,9 +92367,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 - reactions: *64 + properties: *68 + required: *69 + reactions: *71 required: - assignee - closed_at @@ -91989,7 +92485,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *65 + '503': *72 '422': *15 '304': *37 '403': *29 @@ -92045,7 +92541,7 @@ paths: enum: - created - updated - - *632 + - *637 - *17 - *19 responses: @@ -92089,7 +92585,7 @@ paths: nullable: true score: type: number - text_matches: *631 + text_matches: *636 required: - id - node_id @@ -92174,7 +92670,7 @@ paths: - forks - help-wanted-issues - updated - - *632 + - *637 - *17 - *19 responses: @@ -92393,8 +92889,8 @@ paths: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true permissions: type: object @@ -92413,7 +92909,7 @@ paths: - admin - pull - push - text_matches: *631 + text_matches: *636 temp_clone_token: type: string allow_merge_commit: @@ -92615,7 +93111,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *65 + '503': *72 '422': *15 '304': *37 x-github: @@ -92713,7 +93209,7 @@ paths: type: string format: uri nullable: true - text_matches: *631 + text_matches: *636 related: type: array nullable: true @@ -92904,7 +93400,7 @@ paths: - followers - repositories - joined - - *632 + - *637 - *17 - *19 responses: @@ -93008,7 +93504,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *631 + text_matches: *636 blog: type: string nullable: true @@ -93067,7 +93563,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *65 + '503': *72 '422': *15 x-github: githubCloudOnly: false @@ -93087,7 +93583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &636 + - &641 name: team_id description: The unique identifier of the team. in: path @@ -93099,9 +93595,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -93128,7 +93624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *636 + - *641 requestBody: required: true content: @@ -93191,16 +93687,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '201': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '404': *6 '422': *15 '403': *29 @@ -93228,7 +93724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *636 + - *641 responses: '204': description: Response @@ -93259,7 +93755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *636 + - *641 - *48 - *17 - *19 @@ -93270,9 +93766,9 @@ paths: application/json: schema: type: array - items: *309 + items: *313 examples: - default: *637 + default: *642 headers: Link: *58 x-github: @@ -93301,7 +93797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *636 + - *641 requestBody: required: true content: @@ -93335,9 +93831,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: triggersNotification: true githubCloudOnly: false @@ -93364,16 +93860,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 responses: '200': description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93398,8 +93894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: false content: @@ -93422,9 +93918,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *313 examples: - default: *638 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93449,8 +93945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 responses: '204': description: Response @@ -93479,8 +93975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *636 - - *311 + - *641 + - *315 - *48 - *17 - *19 @@ -93491,9 +93987,9 @@ paths: application/json: schema: type: array - items: *312 + items: *316 examples: - default: *639 + default: *644 headers: Link: *58 x-github: @@ -93522,8 +94018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: true content: @@ -93545,9 +94041,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: triggersNotification: true githubCloudOnly: false @@ -93574,17 +94070,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 responses: '200': description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93609,9 +94105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 requestBody: required: true content: @@ -93633,9 +94129,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *640 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93660,9 +94156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 responses: '204': description: Response @@ -93691,9 +94187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 - 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. @@ -93719,9 +94215,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -93750,9 +94246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *636 - - *311 - - *314 + - *641 + - *315 + - *318 requestBody: required: true content: @@ -93784,9 +94280,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93812,8 +94308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 - 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. @@ -93839,9 +94335,9 @@ paths: application/json: schema: type: array - items: *315 + items: *319 examples: - default: *317 + default: *321 headers: Link: *58 x-github: @@ -93870,8 +94366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *636 - - *311 + - *641 + - *315 requestBody: required: true content: @@ -93903,9 +94399,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *319 examples: - default: *316 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93929,7 +94425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -93939,9 +94435,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *58 x-github: @@ -93967,7 +94463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *636 + - *641 - name: role description: Filters members returned by their role in the team. in: query @@ -93990,7 +94486,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '404': *6 @@ -94018,8 +94514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: if user is a member @@ -94055,8 +94551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94095,8 +94591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94132,16 +94628,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '200': description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-user-is-a-team-maintainer: *641 + response-if-user-is-a-team-maintainer: *646 '404': *6 x-github: githubCloudOnly: false @@ -94174,8 +94670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 requestBody: required: false content: @@ -94200,9 +94696,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *323 examples: - response-if-users-membership-with-team-is-now-pending: *642 + response-if-users-membership-with-team-is-now-pending: *647 '403': description: Forbidden if team synchronization is set up '422': @@ -94236,8 +94732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *636 - - *139 + - *641 + - *63 responses: '204': description: Response @@ -94265,7 +94761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94275,9 +94771,9 @@ paths: application/json: schema: type: array - items: *320 + items: *324 examples: - default: *643 + default: *648 headers: Link: *58 '404': *6 @@ -94303,16 +94799,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *636 - - *321 + - *641 + - *325 responses: '200': description: Response content: application/json: - schema: *320 + schema: *324 examples: - default: *644 + default: *649 '404': description: Not Found if project is not managed by this team x-github: @@ -94336,8 +94832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *636 - - *321 + - *641 + - *325 requestBody: required: false content: @@ -94404,8 +94900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *636 - - *321 + - *641 + - *325 responses: '204': description: Response @@ -94432,7 +94928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94442,9 +94938,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '404': *6 @@ -94474,15 +94970,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *645 + schema: *650 examples: alternative-response-with-extra-repository-information: value: @@ -94633,9 +95129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 requestBody: required: false content: @@ -94685,9 +95181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *636 - - *322 - - *323 + - *641 + - *326 + - *327 responses: '204': description: Response @@ -94712,7 +95208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *636 + - *641 - *17 - *19 responses: @@ -94722,9 +95218,9 @@ paths: application/json: schema: type: array - items: *159 + items: *165 examples: - response-if-child-teams-exist: *646 + response-if-child-teams-exist: *651 headers: Link: *58 '404': *6 @@ -94757,7 +95253,7 @@ paths: application/json: schema: oneOf: - - &648 + - &653 title: Private User description: Private User type: object @@ -94960,7 +95456,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *647 + - *652 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95113,7 +95609,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *653 examples: default: value: @@ -95192,7 +95688,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 '304': *37 '404': *6 '403': *29 @@ -95215,7 +95711,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: - - *139 + - *63 responses: '204': description: If the user is blocked @@ -95243,7 +95739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -95267,7 +95763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -95316,11 +95812,11 @@ paths: type: integer codespaces: type: array - items: *206 + items: *211 examples: - default: *207 + default: *212 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -95457,21 +95953,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 - '503': *65 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95511,7 +96007,7 @@ paths: type: integer secrets: type: array - items: &649 + items: &654 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95551,7 +96047,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *451 headers: Link: *58 x-github: @@ -95621,13 +96117,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 responses: '200': description: Response content: application/json: - schema: *649 + schema: *654 examples: default: value: @@ -95657,7 +96153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 requestBody: required: true content: @@ -95702,7 +96198,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -95730,7 +96226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *134 + - *141 responses: '204': description: Response @@ -95755,7 +96251,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *134 + - *141 responses: '200': description: Response @@ -95771,13 +96267,13 @@ paths: type: integer repositories: type: array - items: *126 + items: *133 examples: - default: *650 + default: *655 '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95798,7 +96294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *134 + - *141 requestBody: required: true content: @@ -95830,7 +96326,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95852,7 +96348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *134 + - *141 - name: repository_id in: path required: true @@ -95864,7 +96360,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95885,7 +96381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *134 + - *141 - name: repository_id in: path required: true @@ -95897,7 +96393,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *97 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95917,17 +96413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -95951,7 +96447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 requestBody: required: false content: @@ -95981,9 +96477,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '401': *25 '403': *29 '404': *6 @@ -96005,11 +96501,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '202': *39 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96034,13 +96530,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '202': description: Response content: application/json: - schema: &651 + schema: &656 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96081,7 +96577,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &652 + default: &657 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96089,7 +96585,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96113,7 +96609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *208 + - *213 - name: export_id in: path required: true @@ -96126,9 +96622,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -96149,7 +96645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *208 + - *213 responses: '200': description: Response @@ -96165,11 +96661,11 @@ paths: type: integer machines: type: array - items: *653 + items: *658 examples: - default: *654 + default: *659 '304': *37 - '500': *97 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -96196,7 +96692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *208 + - *213 requestBody: required: true content: @@ -96246,13 +96742,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *334 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *445 - required: *446 + properties: *449 + required: *450 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97026,17 +97522,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 + default: *448 '304': *37 - '500': *97 + '500': *104 '400': *14 '401': *25 '402': @@ -97066,16 +97562,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *208 + - *213 responses: '200': description: Response content: application/json: - schema: *206 + schema: *211 examples: - default: *444 - '500': *97 + default: *448 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97104,9 +97600,9 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: &666 + default: &671 value: - id: 197 name: hello_docker @@ -97207,7 +97703,7 @@ paths: application/json: schema: type: array - items: &655 + items: &660 title: Email description: Email type: object @@ -97272,9 +97768,9 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: - default: &668 + default: &673 value: - email: octocat@github.com verified: true @@ -97349,7 +97845,7 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: default: value: @@ -97459,7 +97955,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '304': *37 @@ -97492,7 +97988,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 '304': *37 @@ -97514,7 +98010,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: - - *139 + - *63 responses: '204': description: if the person is followed by the authenticated user @@ -97544,7 +98040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -97569,7 +98065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *139 + - *63 responses: '204': description: Response @@ -97605,7 +98101,7 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: GPG Key description: A unique encryption key type: object @@ -97736,7 +98232,7 @@ paths: - subkeys - revoked examples: - default: &686 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -97821,9 +98317,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: id: 3 name: Octocat's GPG Key @@ -97880,7 +98376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &658 + - &663 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -97892,9 +98388,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 '404': *6 '304': *37 '403': *29 @@ -97917,7 +98413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *658 + - *663 responses: '204': description: Response @@ -98106,9 +98602,9 @@ paths: type: string repositories: type: array - items: *60 + items: *67 examples: - default: *118 + default: *125 headers: Link: *58 '404': *6 @@ -98133,7 +98629,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *115 + - *122 responses: '204': description: Response @@ -98159,7 +98655,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *115 + - *122 responses: '204': description: Response @@ -98193,12 +98689,12 @@ paths: application/json: schema: anyOf: - - *195 + - *201 - type: object properties: {} additionalProperties: false examples: - default: *196 + default: *202 '204': description: Response when there are no restrictions x-github: @@ -98222,7 +98718,7 @@ paths: required: true content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -98233,7 +98729,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: default: value: @@ -98314,7 +98810,7 @@ paths: - closed - all default: open - - *203 + - *209 - name: sort description: What to sort results by. in: query @@ -98327,7 +98823,7 @@ paths: - comments default: created - *48 - - *67 + - *74 - *17 - *19 responses: @@ -98337,9 +98833,9 @@ paths: application/json: schema: type: array - items: *77 + items: *84 examples: - default: *204 + default: *210 headers: Link: *58 '404': *6 @@ -98372,7 +98868,7 @@ paths: application/json: schema: type: array - items: &659 + items: &664 title: Key description: Key type: object @@ -98473,9 +98969,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: &660 + default: &665 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98508,15 +99004,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *545 + - *549 responses: '200': description: Response content: application/json: - schema: *659 + schema: *664 examples: - default: *660 + default: *665 '404': *6 '304': *37 '403': *29 @@ -98539,7 +99035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *545 + - *549 responses: '204': description: Response @@ -98572,7 +99068,7 @@ paths: application/json: schema: type: array - items: &661 + items: &666 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98629,7 +99125,7 @@ paths: - id - type - login - plan: *81 + plan: *88 required: - billing_cycle - next_billing_date @@ -98640,7 +99136,7 @@ paths: - account - plan examples: - default: &662 + default: &667 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98702,9 +99198,9 @@ paths: application/json: schema: type: array - items: *661 + items: *666 examples: - default: *662 + default: *667 headers: Link: *58 '304': *37 @@ -98744,7 +99240,7 @@ paths: application/json: schema: type: array - items: *211 + items: *216 examples: default: value: @@ -98846,13 +99342,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *96 + - *103 responses: '200': description: Response content: application/json: - schema: *211 + schema: *216 examples: default: value: @@ -98910,7 +99406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *96 + - *103 requestBody: required: true content: @@ -98935,7 +99431,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *216 examples: default: value: @@ -99003,7 +99499,7 @@ paths: application/json: schema: type: array - items: *213 + items: *218 examples: default: value: @@ -99256,7 +99752,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -99436,7 +99932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *214 + - *219 - name: exclude in: query required: false @@ -99449,7 +99945,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -99643,7 +100139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *214 + - *219 responses: '302': description: Response @@ -99669,7 +100165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *214 + - *219 responses: '204': description: Response @@ -99698,8 +100194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *214 - - *663 + - *219 + - *668 responses: '204': description: Response @@ -99723,7 +100219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *214 + - *219 - *17 - *19 responses: @@ -99733,9 +100229,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '404': *6 @@ -99770,9 +100266,9 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: - default: *664 + default: *669 headers: Link: *58 '304': *37 @@ -99814,7 +100310,7 @@ paths: - docker - nuget - container - - *665 + - *670 - *19 - *17 responses: @@ -99824,10 +100320,10 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 - '400': *667 + default: *671 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99847,16 +100343,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: - default: &687 + default: &692 value: id: 40201 name: octo-name @@ -99969,8 +100465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 responses: '204': description: Response @@ -100000,8 +100496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *223 - - *224 + - *227 + - *228 - name: token description: package token schema: @@ -100033,8 +100529,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: - - *223 - - *224 + - *227 + - *228 - *19 - *17 - name: state @@ -100054,7 +100550,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -100103,15 +100599,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -100147,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '204': description: Response @@ -100179,9 +100675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *223 - - *224 - - *226 + - *227 + - *228 + - *230 responses: '204': description: Response @@ -100237,7 +100733,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -100309,9 +100805,9 @@ paths: application/json: schema: type: array - items: *655 + items: *660 examples: - default: *668 + default: *673 headers: Link: *58 '304': *37 @@ -100422,9 +100918,9 @@ paths: application/json: schema: type: array - items: *60 + items: *67 examples: - default: &675 + default: &680 summary: Default response value: - id: 1296269 @@ -100728,9 +101224,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *332 + default: *336 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100768,9 +101264,9 @@ paths: application/json: schema: type: array - items: *518 + items: *522 examples: - default: *669 + default: *674 headers: Link: *58 '304': *37 @@ -100793,7 +101289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *199 + - *205 responses: '204': description: Response @@ -100816,7 +101312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *199 + - *205 responses: '204': description: Response @@ -100849,7 +101345,7 @@ paths: application/json: schema: type: array - items: &670 + items: &675 title: Social account description: Social media account type: object @@ -100864,7 +101360,7 @@ paths: - provider - url examples: - default: &671 + default: &676 value: - provider: twitter url: https://twitter.com/github @@ -100926,9 +101422,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *671 + default: *676 '422': *15 '304': *37 '404': *6 @@ -101015,7 +101511,7 @@ paths: application/json: schema: type: array - items: &672 + items: &677 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101035,7 +101531,7 @@ paths: - title - created_at examples: - default: &698 + default: &703 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101101,9 +101597,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: &673 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101134,7 +101630,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: - - &674 + - &679 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101146,9 +101642,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '404': *6 '304': *37 '403': *29 @@ -101171,7 +101667,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: - - *674 + - *679 responses: '204': description: Response @@ -101200,7 +101696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &699 + - &704 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 @@ -101223,13 +101719,13 @@ paths: application/json: schema: type: array - items: *60 + items: *67 examples: - default-response: *675 + default-response: *680 application/vnd.github.v3.star+json: schema: type: array - items: &700 + items: &705 title: Starred Repository description: Starred Repository type: object @@ -101237,7 +101733,7 @@ paths: starred_at: type: string format: date-time - repo: *60 + repo: *67 required: - starred_at - repo @@ -101385,8 +101881,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: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response if this repository is starred by you @@ -101414,8 +101910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -101439,8 +101935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *322 - - *323 + - *326 + - *327 responses: '204': description: Response @@ -101473,9 +101969,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 '304': *37 @@ -101512,7 +102008,7 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: default: value: @@ -101590,7 +102086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *83 + - *90 responses: '200': description: Response @@ -101598,10 +102094,10 @@ paths: application/json: schema: oneOf: - - *648 - - *647 + - *653 + - *652 examples: - default-response: &681 + default-response: &686 summary: Default response value: login: octocat @@ -101636,7 +102132,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &682 + response-with-git-hub-plan-information: &687 summary: Response with GitHub plan information value: login: octocat @@ -101696,7 +102192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *676 + - *681 - *17 responses: '200': @@ -101707,7 +102203,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: example: ; rel="next" @@ -101730,8 +102226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *240 - - &677 + - *244 + - &682 name: user_id description: The unique identifier of the user. in: path @@ -101743,9 +102239,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -101767,8 +102263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *240 - - *677 + - *244 + - *682 - *17 - *40 - *41 @@ -101779,9 +102275,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -101803,17 +102299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *240 - - *678 - - *677 + - *244 + - *683 + - *682 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: - default: *242 + default: *246 headers: Link: *58 '304': *37 @@ -101836,8 +102332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *240 - - *677 + - *244 + - *682 - *40 - *41 - *17 @@ -101866,9 +102362,9 @@ paths: application/json: schema: type: array - items: *247 + items: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -101889,8 +102385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *677 - - *240 + - *682 + - *244 requestBody: required: true description: Details of the item to add to the project. @@ -101927,9 +102423,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *684 examples: - default: *680 + default: *685 '304': *37 '403': *29 '401': *25 @@ -101949,9 +102445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -101968,9 +102464,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 headers: Link: *58 '304': *37 @@ -101991,9 +102487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -102063,9 +102559,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 '401': *25 '403': *29 '404': *6 @@ -102085,9 +102581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *240 - - *677 - - *249 + - *244 + - *682 + - *253 responses: '204': description: Response @@ -102116,7 +102612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *139 + - *63 responses: '200': description: Response @@ -102124,11 +102620,11 @@ paths: application/json: schema: oneOf: - - *648 - - *647 + - *653 + - *652 examples: - default-response: *681 - response-with-git-hub-plan-information: *682 + default-response: *686 + response-with-git-hub-plan-information: *687 '404': *6 x-github: githubCloudOnly: false @@ -102154,7 +102650,7 @@ paths: - *17 - *40 - *41 - - *139 + - *63 requestBody: required: true content: @@ -102177,8 +102673,8 @@ paths: required: - subject_digests examples: - default: *683 - withPredicateType: *684 + default: *688 + withPredicateType: *689 responses: '200': description: Response @@ -102231,7 +102727,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *685 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102249,7 +102745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *139 + - *63 requestBody: required: true content: @@ -102314,7 +102810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *139 + - *63 - name: subject_digest description: Subject Digest in: path @@ -102345,7 +102841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *139 + - *63 - name: attestation_id description: Attestation ID in: path @@ -102383,7 +102879,7 @@ paths: - *17 - *40 - *41 - - *139 + - *63 - name: subject_digest description: Subject Digest in: path @@ -102433,12 +102929,12 @@ paths: bundle_url: type: string examples: - default: *386 + default: *390 '201': description: Response content: application/json: - schema: *135 + schema: *142 examples: default: value: @@ -102464,7 +102960,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: - - *139 + - *63 responses: '200': description: Response @@ -102472,9 +102968,9 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 + default: *671 '403': *29 '401': *25 x-github: @@ -102497,7 +102993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102507,7 +103003,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102578,8 +103074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *139 - - *96 + - *63 + - *103 - *17 - *19 responses: @@ -102589,7 +103085,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102668,7 +103164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102678,7 +103174,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -102745,7 +103241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102757,7 +103253,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -102776,7 +103272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102788,7 +103284,7 @@ paths: type: array items: *4 examples: - default: *205 + default: *62 headers: Link: *58 x-github: @@ -102807,7 +103303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *139 + - *63 - name: target_user in: path required: true @@ -102834,8 +103330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *139 - - *67 + - *63 + - *74 - *17 - *19 responses: @@ -102845,9 +103341,9 @@ paths: application/json: schema: type: array - items: *68 + items: *75 examples: - default: *69 + default: *76 headers: Link: *58 '422': *15 @@ -102868,7 +103364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -102878,9 +103374,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: *686 + default: *691 headers: Link: *58 x-github: @@ -102904,7 +103400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *139 + - *63 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102976,7 +103472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *139 + - *63 responses: '200': description: Response @@ -102984,7 +103480,7 @@ paths: application/json: schema: *22 examples: - default: *515 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103002,7 +103498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103057,7 +103553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103067,9 +103563,9 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: - default: *664 + default: *669 headers: Link: *58 x-github: @@ -103108,8 +103604,8 @@ paths: - docker - nuget - container - - *665 - - *139 + - *670 + - *63 - *19 - *17 responses: @@ -103119,12 +103615,12 @@ paths: application/json: schema: type: array - items: *221 + items: *225 examples: - default: *666 + default: *671 '403': *29 '401': *25 - '400': *667 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103144,17 +103640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '200': description: Response content: application/json: - schema: *221 + schema: *225 examples: - default: *687 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103175,9 +103671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '204': description: Response @@ -103209,9 +103705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 - name: token description: package token schema: @@ -103243,9 +103739,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: - - *223 - - *224 - - *139 + - *227 + - *228 + - *63 responses: '200': description: Response @@ -103253,7 +103749,7 @@ paths: application/json: schema: type: array - items: *225 + items: *229 examples: default: value: @@ -103311,16 +103807,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *223 - - *224 - - *226 - - *139 + - *227 + - *228 + - *230 + - *63 responses: '200': description: Response content: application/json: - schema: *225 + schema: *229 examples: default: value: @@ -103355,10 +103851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *223 - - *224 - - *139 - - *226 + - *227 + - *228 + - *63 + - *230 responses: '204': description: Response @@ -103390,10 +103886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *223 - - *224 - - *139 - - *226 + - *227 + - *228 + - *63 + - *230 responses: '204': description: Response @@ -103419,7 +103915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *139 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -103440,7 +103936,7 @@ paths: application/json: schema: type: array - items: *237 + items: *241 examples: default: value: @@ -103498,7 +103994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *139 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -103515,9 +104011,9 @@ paths: application/json: schema: type: array - items: *238 + items: *242 examples: - default: *239 + default: *243 headers: Link: *58 '304': *37 @@ -103544,7 +104040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103554,7 +104050,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -103633,7 +104129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103643,7 +104139,7 @@ paths: application/json: schema: type: array - items: *89 + items: *96 examples: default: value: @@ -103720,7 +104216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *139 + - *63 - name: type description: Limit results to repositories of the specified type. in: query @@ -103763,9 +104259,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -103789,15 +104285,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *688 + schema: *693 examples: - default: *689 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103819,15 +104315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *690 + schema: *695 examples: - default: *691 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103849,15 +104345,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *139 + - *63 responses: '200': description: Response content: application/json: - schema: *692 + schema: *697 examples: - default: *693 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103877,11 +104373,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *139 - - *694 - - *695 - - *696 - - *697 + - *63 + - *699 + - *700 + - *701 + - *702 responses: '200': description: Response when getting a billing usage report @@ -103951,8 +104447,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *97 - '503': *65 + '500': *104 + '503': *72 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103970,7 +104466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -103980,9 +104476,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *671 + default: *676 headers: Link: *58 x-github: @@ -104002,7 +104498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -104012,9 +104508,9 @@ paths: application/json: schema: type: array - items: *672 + items: *677 examples: - default: *698 + default: *703 headers: Link: *58 x-github: @@ -104038,8 +104534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *139 - - *699 + - *63 + - *704 - *48 - *17 - *19 @@ -104051,11 +104547,11 @@ paths: schema: anyOf: - type: array - items: *700 + items: *705 - type: array - items: *60 + items: *67 examples: - default-response: *675 + default-response: *680 headers: Link: *58 x-github: @@ -104074,7 +104570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *139 + - *63 - *17 - *19 responses: @@ -104084,9 +104580,9 @@ paths: application/json: schema: type: array - items: *126 + items: *133 examples: - default: *227 + default: *231 headers: Link: *58 x-github: @@ -104214,7 +104710,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &701 + enterprise: &706 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104272,7 +104768,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &702 + installation: &707 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104291,7 +104787,7 @@ x-webhooks: required: - id - node_id - organization: &703 + organization: &708 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104351,13 +104847,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &704 + repository: &709 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &734 + properties: &739 id: description: Unique identifier of the repository example: 42 @@ -104377,8 +104873,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *78 - required: *79 + properties: *85 + required: *86 nullable: true organization: title: Simple User @@ -105040,7 +105536,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &735 + required: &740 - archive_url - assignees_url - blobs_url @@ -105191,10 +105687,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -105270,11 +105766,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: &705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: &710 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) @@ -105497,11 +105993,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: *705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -105684,11 +106180,11 @@ x-webhooks: - everyone required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - rule: *705 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + rule: *710 sender: *4 required: - action @@ -105772,7 +106268,7 @@ x-webhooks: type: string enum: - completed - check_run: &707 + check_run: &712 title: CheckRun description: A check performed on the code of a given code change type: object @@ -105825,8 +106321,8 @@ x-webhooks: type: string pull_requests: type: array - items: *403 - repository: *126 + items: *407 + repository: *133 status: example: completed type: string @@ -105863,7 +106359,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *706 + deployment: *711 details_url: example: https://example.com type: string @@ -105913,7 +106409,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *403 + items: *407 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105948,10 +106444,10 @@ x-webhooks: - output - app - pull_requests - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -106344,11 +106840,11 @@ x-webhooks: type: string enum: - created - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -106744,11 +107240,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 requested_action: description: The action requested by the user. type: object @@ -107153,11 +107649,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *707 - installation: *702 - enterprise: *701 - organization: *703 - repository: *704 + check_run: *712 + installation: *707 + enterprise: *706 + organization: *708 + repository: *709 sender: *4 required: - check_run @@ -108134,10 +108630,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -108807,10 +109303,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -109474,10 +109970,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -109640,7 +110136,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -109785,20 +110281,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &713 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: *701 - installation: *702 - organization: *703 - ref: &709 + enterprise: *706 + installation: *707 + organization: *708 + ref: &714 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: *704 + repository: *709 sender: *4 required: - action @@ -109960,7 +110456,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110190,12 +110686,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110290,7 +110786,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -110458,12 +110954,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110626,7 +111122,7 @@ x-webhooks: required: - login - id - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110792,12 +111288,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -110894,7 +111390,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111062,16 +111558,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *704 + repository: *709 sender: *4 required: - action @@ -111165,7 +111661,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *419 + dismissed_comment: *423 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111305,12 +111801,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *701 - installation: *702 - organization: *703 - ref: *709 - repository: *704 + commit_oid: *713 + enterprise: *706 + installation: *707 + organization: *708 + ref: *714 + repository: *709 sender: *4 required: - action @@ -111567,10 +112063,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -111650,18 +112146,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *703 - pusher_type: &710 + organization: *708 + pusher_type: &715 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &716 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -111671,7 +112167,7 @@ x-webhooks: enum: - tag - branch - repository: *704 + repository: *709 sender: *4 required: - ref @@ -111753,10 +112249,10 @@ x-webhooks: type: string enum: - created - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -111841,9 +112337,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -111920,10 +112416,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -112000,10 +112496,10 @@ x-webhooks: type: string enum: - updated - definition: *250 - enterprise: *701 - installation: *702 - organization: *703 + definition: *254 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -112080,19 +112576,19 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - repository: *704 - organization: *703 + enterprise: *706 + installation: *707 + repository: *709 + organization: *708 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *254 + items: *258 old_property_values: type: array description: The old custom property values for the repository. - items: *254 + items: *258 required: - action - repository @@ -112168,18 +112664,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - pusher_type: *710 - ref: *711 + enterprise: *706 + installation: *707 + organization: *708 + pusher_type: *715 + ref: *716 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *704 + repository: *709 sender: *4 required: - ref @@ -112263,11 +112759,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112351,11 +112847,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112439,11 +112935,11 @@ x-webhooks: type: string enum: - created - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112525,11 +113021,11 @@ x-webhooks: type: string enum: - dismissed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112611,11 +113107,11 @@ x-webhooks: type: string enum: - fixed - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112698,11 +113194,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112784,11 +113280,11 @@ x-webhooks: type: string enum: - reopened - alert: *474 - installation: *702 - organization: *703 - enterprise: *701 - repository: *704 + alert: *478 + installation: *707 + organization: *708 + enterprise: *706 + repository: *709 sender: *4 required: - action @@ -112865,9 +113361,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - key: &712 + enterprise: *706 + installation: *707 + key: &717 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -112903,8 +113399,8 @@ x-webhooks: - verified - created_at - read_only - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -112981,11 +113477,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - key: *712 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + key: *717 + organization: *708 + repository: *709 sender: *4 required: - action @@ -113546,12 +114042,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: &716 + workflow: &721 title: Workflow type: object nullable: true @@ -114277,13 +114773,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *480 + deployment: *484 pull_requests: type: array - items: *564 - repository: *704 - organization: *703 - installation: *702 + items: *568 + repository: *709 + organization: *708 + installation: *707 sender: *4 responses: '200': @@ -114354,7 +114850,7 @@ x-webhooks: type: string enum: - approved - approver: &713 + approver: &718 type: object properties: avatar_url: @@ -114397,11 +114893,11 @@ x-webhooks: type: string comment: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - reviewers: &714 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: &719 type: array items: type: object @@ -114480,7 +114976,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &715 + workflow_job_run: &720 type: object properties: conclusion: @@ -115211,18 +115707,18 @@ x-webhooks: type: string enum: - rejected - approver: *713 + approver: *718 comment: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - reviewers: *714 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + reviewers: *719 sender: *4 since: type: string - workflow_job_run: *715 + workflow_job_run: *720 workflow_job_runs: type: array items: @@ -115926,13 +116422,13 @@ x-webhooks: type: string enum: - requested - enterprise: *701 + enterprise: *706 environment: type: string - installation: *702 - organization: *703 - repository: *704 - requestor: &721 + installation: *707 + organization: *708 + repository: *709 + requestor: &726 title: User type: object nullable: true @@ -117831,12 +118327,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Deployment Workflow Run type: object @@ -118516,7 +119012,7 @@ x-webhooks: type: string enum: - answered - answer: &719 + answer: &724 type: object properties: author_association: @@ -118673,7 +119169,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &722 title: Discussion description: A Discussion in a repository. type: object @@ -118959,7 +119455,7 @@ x-webhooks: - id labels: type: array - items: *528 + items: *532 required: - repository_url - category @@ -118981,10 +119477,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119111,11 +119607,11 @@ x-webhooks: - from required: - category - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119198,11 +119694,11 @@ x-webhooks: type: string enum: - closed - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119284,7 +119780,7 @@ x-webhooks: type: string enum: - created - comment: &718 + comment: &723 type: object properties: author_association: @@ -119441,11 +119937,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119528,12 +120024,12 @@ x-webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119628,12 +120124,12 @@ x-webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + comment: *723 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119717,11 +120213,11 @@ x-webhooks: type: string enum: - created - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119803,11 +120299,11 @@ x-webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119907,11 +120403,11 @@ x-webhooks: type: string required: - from - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -119993,10 +120489,10 @@ x-webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *701 - installation: *702 - label: &720 + discussion: *722 + enterprise: *706 + installation: *707 + label: &725 title: Label type: object properties: @@ -120028,8 +120524,8 @@ x-webhooks: - color - default - description - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120112,11 +120608,11 @@ x-webhooks: type: string enum: - locked - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120198,11 +120694,11 @@ x-webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120284,11 +120780,11 @@ x-webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120373,16 +120869,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *704 + new_discussion: *722 + new_repository: *709 required: - new_discussion - new_repository - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120465,10 +120961,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *703 - repository: *704 + discussion: *722 + old_answer: *724 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120550,12 +121046,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120638,11 +121134,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120724,11 +121220,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + discussion: *722 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -120801,7 +121297,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *701 + enterprise: *706 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -121461,9 +121957,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *702 - organization: *703 - repository: *704 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - forkee @@ -121609,9 +122105,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pages: description: The pages that were updated. type: array @@ -121648,7 +122144,7 @@ x-webhooks: - action - sha - html_url - repository: *704 + repository: *709 sender: *4 required: - pages @@ -121724,10 +122220,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: &722 + organization: *708 + repositories: &727 description: An array of repository objects that the installation can access. type: array @@ -121753,8 +122249,8 @@ x-webhooks: - name - full_name - private - repository: *704 - requester: *721 + repository: *709 + requester: *726 sender: *4 required: - action @@ -121829,11 +122325,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -121909,11 +122405,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -121989,10 +122485,10 @@ x-webhooks: type: string enum: - added - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories_added: &723 + organization: *708 + repositories_added: &728 description: An array of repository objects, which were added to the installation. type: array @@ -122038,15 +122534,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *704 - repository_selection: &724 + repository: *709 + repository_selection: &729 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *726 sender: *4 required: - action @@ -122125,10 +122621,10 @@ x-webhooks: type: string enum: - removed - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories_added: *723 + organization: *708 + repositories_added: *728 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122155,9 +122651,9 @@ x-webhooks: - name - full_name - private - repository: *704 - repository_selection: *724 - requester: *721 + repository: *709 + repository_selection: *729 + requester: *726 sender: *4 required: - action @@ -122236,11 +122732,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -122418,10 +122914,10 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 target_type: type: string @@ -122500,11 +122996,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *701 + enterprise: *706 installation: *22 - organization: *703 - repositories: *722 - repository: *704 + organization: *708 + repositories: *727 + repository: *709 requester: nullable: true sender: *4 @@ -122628,8 +123124,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *61 - required: *62 + properties: *68 + required: *69 reactions: title: Reactions type: object @@ -122756,8 +123252,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123551,8 +124047,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123568,7 +124064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -123901,8 +124397,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -123982,7 +124478,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &730 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -124147,8 +124643,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124938,8 +125434,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124955,7 +125451,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -125290,8 +125786,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -125371,7 +125867,7 @@ x-webhooks: type: string enum: - edited - changes: &754 + changes: &759 description: The changes to the comment. type: object properties: @@ -125383,9 +125879,9 @@ x-webhooks: type: string required: - from - comment: *725 - enterprise: *701 - installation: *702 + comment: *730 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126178,8 +126674,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126195,7 +126691,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -126528,8 +127024,8 @@ x-webhooks: - state - locked - assignee - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126613,15 +127109,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 + blocked_issue: *84 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - blocking_issue_repo: *60 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + blocking_issue_repo: *67 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126709,15 +127205,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 + blocked_issue: *84 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - blocking_issue_repo: *60 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + blocking_issue_repo: *67 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126804,15 +127300,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 - blocked_issue_repo: *60 + blocked_issue: *84 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126900,15 +127396,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *77 - blocked_issue_repo: *60 + blocked_issue: *84 + blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *77 - installation: *702 - organization: *703 - repository: *704 + blocking_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -126993,10 +127489,10 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *701 - installation: *702 - issue: &728 + assignee: *726 + enterprise: *706 + installation: *707 + issue: &733 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127785,11 +128281,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127805,7 +128301,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -127906,8 +128402,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -127987,8 +128483,8 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128782,11 +129278,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128802,7 +129298,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -129038,8 +129534,8 @@ x-webhooks: required: - state - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -129118,8 +129614,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129904,11 +130400,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129924,7 +130420,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -130024,8 +130520,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -130104,8 +130600,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130912,11 +131408,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130932,7 +131428,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -131011,7 +131507,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &731 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131149,8 +131645,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -131249,8 +131745,8 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132039,11 +132535,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132056,7 +132552,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -132160,9 +132656,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *703 - repository: *704 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -132242,8 +132738,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133031,11 +133527,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133048,7 +133544,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -133152,9 +133648,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *703 - repository: *704 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -133234,8 +133730,8 @@ x-webhooks: type: string enum: - locked - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134047,11 +134543,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134064,7 +134560,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *200 + type: *206 title: description: Title of the issue type: string @@ -134145,8 +134641,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -134225,8 +134721,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135032,11 +135528,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135052,7 +135548,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -135130,9 +135626,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *703 - repository: *704 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -136000,11 +136496,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136097,7 +136593,7 @@ x-webhooks: required: - login - id - type: *200 + type: *206 required: - id - number @@ -136566,8 +137062,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137356,11 +137852,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137376,7 +137872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -137476,8 +137972,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -137557,9 +138053,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *701 - installation: *702 - issue: &727 + enterprise: *706 + installation: *707 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -138342,11 +138838,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138362,7 +138858,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -138462,8 +138958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -138542,8 +139038,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139353,11 +139849,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139451,9 +139947,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *200 - organization: *703 - repository: *704 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140319,11 +140815,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140339,7 +140835,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -140907,11 +141403,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *701 - installation: *702 - issue: *727 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -140991,12 +141487,12 @@ x-webhooks: type: string enum: - typed - enterprise: *701 - installation: *702 - issue: *728 - type: *200 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141077,7 +141573,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &757 + assignee: &762 title: User type: object nullable: true @@ -141147,11 +141643,11 @@ x-webhooks: required: - login - id - enterprise: *701 - installation: *702 - issue: *728 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141230,12 +141726,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *701 - installation: *702 - issue: *728 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -141315,8 +141811,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142126,11 +142622,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *633 - issue_dependencies_summary: *634 + sub_issues_summary: *638 + issue_dependencies_summary: *639 issue_field_values: type: array - items: *635 + items: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142146,7 +142642,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *200 + type: *206 updated_at: type: string format: date-time @@ -142224,8 +142720,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142305,11 +142801,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *701 - installation: *702 - issue: *727 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *732 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142388,12 +142884,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *701 - installation: *702 - issue: *728 - type: *200 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + issue: *733 + type: *206 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142473,11 +142969,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142555,11 +143051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142669,11 +143165,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - label: *720 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + label: *725 + organization: *708 + repository: *709 sender: *4 required: - action @@ -142755,9 +143251,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: &729 + enterprise: *706 + installation: *707 + marketplace_purchase: &734 title: Marketplace Purchase type: object required: @@ -142840,8 +143336,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *703 - previous_marketplace_purchase: &730 + organization: *708 + previous_marketplace_purchase: &735 title: Marketplace Purchase type: object properties: @@ -142921,7 +143417,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143001,10 +143497,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143087,7 +143583,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143169,10 +143665,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143254,7 +143750,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *704 + repository: *709 sender: *4 required: - action @@ -143335,8 +143831,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 marketplace_purchase: title: Marketplace Purchase type: object @@ -143418,9 +143914,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *703 - previous_marketplace_purchase: *730 - repository: *704 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -143500,12 +143996,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *701 - installation: *702 - marketplace_purchase: *729 - organization: *703 - previous_marketplace_purchase: *730 - repository: *704 + enterprise: *706 + installation: *707 + marketplace_purchase: *734 + organization: *708 + previous_marketplace_purchase: *735 + repository: *709 sender: *4 required: - action @@ -143607,11 +144103,11 @@ x-webhooks: type: string required: - to - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143711,11 +144207,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143794,11 +144290,11 @@ x-webhooks: type: string enum: - removed - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 sender: *4 required: - action @@ -143876,11 +144372,11 @@ x-webhooks: type: string enum: - added - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143956,7 +144452,7 @@ x-webhooks: required: - login - id - team: &731 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144146,11 +144642,11 @@ x-webhooks: type: string enum: - removed - enterprise: *701 - installation: *702 - member: *721 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + member: *726 + organization: *708 + repository: *709 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144227,7 +144723,7 @@ x-webhooks: required: - login - id - team: *731 + team: *736 required: - action - scope @@ -144309,8 +144805,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *702 - merge_group: &733 + installation: *707 + merge_group: &738 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144329,15 +144825,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *732 + head_commit: *737 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144423,10 +144919,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *702 - merge_group: *733 - organization: *703 - repository: *704 + installation: *707 + merge_group: *738 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144499,7 +144995,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 + enterprise: *706 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144608,16 +145104,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *702 - organization: *703 + installation: *707 + organization: *708 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -144698,11 +145194,11 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -144781,9 +145277,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - milestone: &736 + enterprise: *706 + installation: *707 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144920,8 +145416,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145000,11 +145496,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145114,11 +145610,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - milestone: *726 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *731 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145198,11 +145694,11 @@ x-webhooks: type: string enum: - opened - enterprise: *701 - installation: *702 - milestone: *736 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + milestone: *741 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145281,11 +145777,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145364,11 +145860,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + blocked_user: *726 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145447,9 +145943,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - membership: &737 + enterprise: *706 + installation: *707 + membership: &742 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145556,8 +146052,8 @@ x-webhooks: - role - organization_url - user - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145635,11 +146131,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -145718,8 +146214,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145835,10 +146331,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 - user: *721 + user: *726 required: - action - invitation @@ -145916,11 +146412,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146007,11 +146503,11 @@ x-webhooks: properties: from: type: string - enterprise: *701 - installation: *702 - membership: *737 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + membership: *742 + organization: *708 + repository: *709 sender: *4 required: - action @@ -146087,9 +146583,9 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -146588,7 +147084,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &738 + items: &743 title: Ruby Gems metadata type: object properties: @@ -146683,7 +147179,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -146759,9 +147255,9 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 package: description: Information about the package. type: object @@ -147114,7 +147610,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *743 source_url: type: string format: uri @@ -147184,7 +147680,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -147361,12 +147857,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *701 + enterprise: *706 id: type: integer - installation: *702 - organization: *703 - repository: *704 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - id @@ -147443,7 +147939,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &739 + personal_access_token_request: &744 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147589,10 +148085,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *701 - organization: *703 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147669,11 +148165,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *739 - enterprise: *701 - organization: *703 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147749,11 +148245,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *739 - enterprise: *701 - organization: *703 + personal_access_token_request: *744 + enterprise: *706 + organization: *708 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147828,11 +148324,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *739 - organization: *703 - enterprise: *701 + personal_access_token_request: *744 + organization: *708 + enterprise: *706 sender: *4 - installation: *702 + installation: *707 required: - action - personal_access_token_request @@ -147937,7 +148433,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *740 + last_response: *745 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147969,8 +148465,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 zen: description: Random string of GitHub zen. @@ -148215,10 +148711,10 @@ x-webhooks: - from required: - note - enterprise: *701 - installation: *702 - organization: *703 - project_card: &741 + enterprise: *706 + installation: *707 + organization: *708 + project_card: &746 title: Project Card type: object properties: @@ -148337,7 +148833,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -148418,11 +148914,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project_card: *741 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -148502,9 +148998,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 project_card: title: Project Card type: object @@ -148632,8 +149128,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -148727,11 +149223,11 @@ x-webhooks: - from required: - note - enterprise: *701 - installation: *702 - organization: *703 - project_card: *741 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_card: *746 + repository: *709 sender: *4 required: - action @@ -148825,9 +149321,9 @@ x-webhooks: - from required: - column_id - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 project_card: allOf: - title: Project Card @@ -149017,7 +149513,7 @@ x-webhooks: type: string required: - after_id - repository: *704 + repository: *709 sender: *4 required: - action @@ -149097,10 +149593,10 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - organization: *703 - project: &743 + enterprise: *706 + installation: *707 + organization: *708 + project: &748 title: Project type: object properties: @@ -149224,7 +149720,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -149304,10 +149800,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project_column: &742 + enterprise: *706 + installation: *707 + organization: *708 + project_column: &747 title: Project Column type: object properties: @@ -149346,7 +149842,7 @@ x-webhooks: - name - created_at - updated_at - repository: *704 + repository: *709 sender: *4 required: - action @@ -149425,18 +149921,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -149526,11 +150022,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -149610,11 +150106,11 @@ x-webhooks: type: string enum: - moved - enterprise: *701 - installation: *702 - organization: *703 - project_column: *742 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project_column: *747 + repository: *709 sender: *4 required: - action @@ -149694,11 +150190,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -149778,18 +150274,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - project: *743 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *739 + required: *740 nullable: true sender: *4 required: @@ -149891,11 +150387,11 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -149974,11 +150470,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 - organization: *703 - project: *743 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + project: *748 + repository: *709 sender: *4 required: - action @@ -150059,9 +150555,9 @@ x-webhooks: type: string enum: - closed - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150142,9 +150638,9 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150225,9 +150721,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150344,9 +150840,9 @@ x-webhooks: type: string to: type: string - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -150429,7 +150925,7 @@ x-webhooks: type: string enum: - archived - changes: &747 + changes: &752 type: object properties: archived_at: @@ -150443,9 +150939,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *702 - organization: *703 - projects_v2_item: &744 + installation: *707 + organization: *708 + projects_v2_item: &749 title: Projects v2 Item description: An item belonging to a project type: object @@ -150463,7 +150959,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *246 + content_type: *250 creator: *4 created_at: type: string @@ -150580,9 +151076,9 @@ x-webhooks: nullable: true to: type: string - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150664,9 +151160,9 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150747,9 +151243,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -150855,7 +151351,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &745 + - &750 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150877,7 +151373,7 @@ x-webhooks: required: - id - name - - &746 + - &751 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150911,8 +151407,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *745 - - *746 + - *750 + - *751 required: - field_value - type: object @@ -150928,9 +151424,9 @@ x-webhooks: nullable: true required: - body - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151025,9 +151521,9 @@ x-webhooks: to: type: string nullable: true - installation: *702 - organization: *703 - projects_v2_item: *744 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151110,10 +151606,10 @@ x-webhooks: type: string enum: - restored - changes: *747 - installation: *702 - organization: *703 - projects_v2_item: *744 + changes: *752 + installation: *707 + organization: *708 + projects_v2_item: *749 sender: *4 required: - action @@ -151195,9 +151691,9 @@ x-webhooks: type: string enum: - reopened - installation: *702 - organization: *703 - projects_v2: *238 + installation: *707 + organization: *708 + projects_v2: *242 sender: *4 required: - action @@ -151278,14 +151774,14 @@ x-webhooks: type: string enum: - created - installation: *702 - organization: *703 - projects_v2_status_update: &750 + installation: *707 + organization: *708 + projects_v2_status_update: &755 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *748 - required: *749 + properties: *753 + required: *754 sender: *4 required: - action @@ -151366,9 +151862,9 @@ x-webhooks: type: string enum: - deleted - installation: *702 - organization: *703 - projects_v2_status_update: *750 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -151504,9 +152000,9 @@ x-webhooks: type: string format: date nullable: true - installation: *702 - organization: *703 - projects_v2_status_update: *750 + installation: *707 + organization: *708 + projects_v2_status_update: *755 sender: *4 required: - action @@ -151577,10 +152073,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - repository @@ -151657,13 +152153,13 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *701 - installation: *702 - number: &751 + assignee: *726 + enterprise: *706 + installation: *707 + number: &756 description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -153946,7 +154442,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -154028,11 +154524,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -156310,7 +156806,7 @@ x-webhooks: - draft reason: type: string - repository: *704 + repository: *709 sender: *4 required: - action @@ -156392,11 +156888,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -158674,7 +159170,7 @@ x-webhooks: - draft reason: type: string - repository: *704 + repository: *709 sender: *4 required: - action @@ -158756,13 +159252,13 @@ x-webhooks: type: string enum: - closed - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: &752 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: &757 allOf: - - *564 + - *568 - type: object properties: allow_auto_merge: @@ -158824,7 +159320,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *704 + repository: *709 sender: *4 required: - action @@ -158905,12 +159401,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -158990,11 +159486,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *701 - milestone: *548 - number: *751 - organization: *703 - pull_request: &753 + enterprise: *706 + milestone: *552 + number: *756 + organization: *708 + pull_request: &758 title: Pull Request type: object properties: @@ -161257,7 +161753,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -161336,11 +161832,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -163622,7 +164118,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *704 + repository: *709 sender: *4 required: - action @@ -163746,12 +164242,12 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -163831,11 +164327,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -166102,7 +166598,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -166182,11 +166678,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *701 - installation: *702 - label: *720 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -168468,7 +168964,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -168549,10 +169045,10 @@ x-webhooks: type: string enum: - locked - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -170832,7 +171328,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -170912,12 +171408,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *701 - milestone: *548 - number: *751 - organization: *703 - pull_request: *753 - repository: *704 + enterprise: *706 + milestone: *552 + number: *756 + organization: *708 + pull_request: *758 + repository: *709 sender: *4 required: - action @@ -170996,12 +171492,12 @@ x-webhooks: type: string enum: - opened - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171082,12 +171578,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171167,12 +171663,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *701 - installation: *702 - number: *751 - organization: *703 - pull_request: *752 - repository: *704 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 + pull_request: *757 + repository: *709 sender: *4 required: - action @@ -171538,9 +172034,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -173710,7 +174206,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -173790,7 +174286,7 @@ x-webhooks: type: string enum: - deleted - comment: &755 + comment: &760 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -174075,9 +174571,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -176235,7 +176731,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -176315,11 +176811,11 @@ x-webhooks: type: string enum: - edited - changes: *754 - comment: *755 - enterprise: *701 - installation: *702 - organization: *703 + changes: *759 + comment: *760 + enterprise: *706 + installation: *707 + organization: *708 pull_request: type: object properties: @@ -178480,7 +178976,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *704 + repository: *709 sender: *4 required: - action @@ -178561,9 +179057,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -180736,7 +181232,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 review: description: The review that was affected. type: object @@ -180983,9 +181479,9 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -183039,8 +183535,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 - review: &756 + repository: *709 + review: &761 description: The review that was affected. type: object properties: @@ -183273,12 +183769,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -185561,7 +186057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_reviewer: title: User type: object @@ -185645,12 +186141,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -187940,7 +188436,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188132,12 +188628,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -190422,7 +190918,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_reviewer: title: User type: object @@ -190507,12 +191003,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *701 - installation: *702 + enterprise: *706 + installation: *707 number: description: The pull request number. type: integer - organization: *703 + organization: *708 pull_request: title: Pull Request type: object @@ -192788,7 +193284,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192969,9 +193465,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -195146,8 +195642,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 - review: *756 + repository: *709 + review: *761 sender: *4 required: - action @@ -195227,9 +195723,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -197299,7 +197795,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 sender: *4 thread: type: object @@ -197686,9 +198182,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 pull_request: title: Simple Pull Request type: object @@ -199744,7 +200240,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *704 + repository: *709 sender: *4 thread: type: object @@ -200134,10 +200630,10 @@ x-webhooks: type: string before: type: string - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -202408,7 +202904,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -202490,11 +202986,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *757 - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + assignee: *762 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -204777,7 +205273,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -204856,11 +205352,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *701 - installation: *702 - label: *720 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + label: *725 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -207133,7 +207629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -207214,10 +207710,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *701 - installation: *702 - number: *751 - organization: *703 + enterprise: *706 + installation: *707 + number: *756 + organization: *708 pull_request: title: Pull Request type: object @@ -209482,7 +209978,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *704 + repository: *709 sender: *4 required: - action @@ -209682,7 +210178,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *701 + enterprise: *706 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209774,8 +210270,8 @@ x-webhooks: - url - author - committer - installation: *702 - organization: *703 + installation: *707 + organization: *708 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210350,9 +210846,9 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -210798,7 +211294,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *738 + items: *743 summary: type: string tag_name: @@ -210852,7 +211348,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -210930,9 +211426,9 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 registry_package: type: object properties: @@ -211240,7 +211736,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *743 summary: type: string tag_name: @@ -211289,7 +211785,7 @@ x-webhooks: - owner - package_version - registry - repository: *704 + repository: *709 sender: *4 required: - action @@ -211366,10 +211862,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - release: &758 + enterprise: *706 + installation: *707 + organization: *708 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211687,7 +212183,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *704 + repository: *709 sender: *4 required: - action @@ -211764,11 +212260,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -211885,11 +212381,11 @@ x-webhooks: type: boolean required: - to - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -211967,9 +212463,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212291,7 +212787,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *704 + repository: *709 sender: *4 required: - action @@ -212367,10 +212863,10 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - release: &759 + enterprise: *706 + installation: *707 + organization: *708 + release: &764 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212689,7 +213185,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *704 + repository: *709 sender: *4 required: - action @@ -212765,11 +213261,11 @@ x-webhooks: type: string enum: - released - enterprise: *701 - installation: *702 - organization: *703 - release: *758 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *763 + repository: *709 sender: *4 required: - action @@ -212845,11 +213341,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *701 - installation: *702 - organization: *703 - release: *759 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + release: *764 + repository: *709 sender: *4 required: - action @@ -212925,11 +213421,11 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_advisory: *619 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *624 sender: *4 required: - action @@ -213005,11 +213501,11 @@ x-webhooks: type: string enum: - reported - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_advisory: *619 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_advisory: *624 sender: *4 required: - action @@ -213085,10 +213581,10 @@ x-webhooks: type: string enum: - archived - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213165,10 +213661,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213246,10 +213742,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213333,10 +213829,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213448,10 +213944,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213523,10 +214019,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 status: type: string @@ -213607,10 +214103,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213687,10 +214183,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213784,10 +214280,10 @@ x-webhooks: - name required: - repository - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -213867,11 +214363,11 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 sender: *4 required: - action @@ -213949,11 +214445,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 sender: *4 required: - action @@ -214031,11 +214527,11 @@ x-webhooks: type: string enum: - edited - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - repository_ruleset: *283 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + repository_ruleset: *287 changes: type: object properties: @@ -214054,16 +214550,16 @@ x-webhooks: properties: added: type: array - items: *258 + items: *262 deleted: type: array - items: *258 + items: *262 updated: type: array items: type: object properties: - condition: *258 + condition: *262 changes: type: object properties: @@ -214096,16 +214592,16 @@ x-webhooks: properties: added: type: array - items: *584 + items: *589 deleted: type: array - items: *584 + items: *589 updated: type: array items: type: object properties: - rule: *584 + rule: *589 changes: type: object properties: @@ -214339,10 +214835,10 @@ x-webhooks: - from required: - owner - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214420,10 +214916,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214501,7 +214997,7 @@ x-webhooks: type: string enum: - create - alert: &760 + alert: &765 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214622,10 +215118,10 @@ x-webhooks: type: string enum: - open - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214831,10 +215327,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -214912,11 +215408,11 @@ x-webhooks: type: string enum: - reopen - alert: *760 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *765 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215115,10 +215611,10 @@ x-webhooks: enum: - fixed - open - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215196,7 +215692,7 @@ x-webhooks: type: string enum: - created - alert: &761 + alert: &766 type: object properties: number: *54 @@ -215307,10 +215803,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215391,11 +215887,11 @@ x-webhooks: type: string enum: - created - alert: *761 - installation: *702 - location: *762 - organization: *703 - repository: *704 + alert: *766 + installation: *707 + location: *767 + organization: *708 + repository: *709 sender: *4 required: - location @@ -215633,11 +216129,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215715,11 +216211,11 @@ x-webhooks: type: string enum: - reopened - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215797,11 +216293,11 @@ x-webhooks: type: string enum: - resolved - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -215879,11 +216375,11 @@ x-webhooks: type: string enum: - validated - alert: *761 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + alert: *766 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -216009,10 +216505,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *704 - enterprise: *701 - installation: *702 - organization: *703 + repository: *709 + enterprise: *706 + installation: *707 + organization: *708 sender: *4 required: - action @@ -216090,11 +216586,11 @@ x-webhooks: type: string enum: - published - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - security_advisory: &763 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: &768 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216277,11 +216773,11 @@ x-webhooks: type: string enum: - updated - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 - security_advisory: *763 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 + security_advisory: *768 sender: *4 required: - action @@ -216354,10 +216850,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216541,11 +217037,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *257 - enterprise: *701 - installation: *702 - organization: *703 - repository: *330 + security_and_analysis: *261 + enterprise: *706 + installation: *707 + organization: *708 + repository: *334 sender: *4 required: - changes @@ -216623,12 +217119,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: &764 + sponsorship: &769 type: object properties: created_at: @@ -216929,12 +217425,12 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - sponsorship @@ -217022,12 +217518,12 @@ x-webhooks: type: string required: - from - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217104,17 +217600,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &765 + effective_date: &770 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: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - sponsorship @@ -217188,7 +217684,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &766 + changes: &771 type: object properties: tier: @@ -217232,13 +217728,13 @@ x-webhooks: - from required: - tier - effective_date: *765 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + effective_date: *770 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217315,13 +217811,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *766 - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + changes: *771 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - sponsorship: *764 + sponsorship: *769 required: - action - changes @@ -217395,10 +217891,10 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217481,10 +217977,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217904,15 +218400,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *701 + enterprise: *706 id: description: The unique identifier of the status. type: integer - installation: *702 + installation: *707 name: type: string - organization: *703 - repository: *704 + organization: *708 + repository: *709 sender: *4 sha: description: The Commit SHA. @@ -218021,15 +218517,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - parent_issue_repo: *60 + parent_issue: *84 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - installation: *702 - organization: *703 - repository: *704 + sub_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218113,15 +218609,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - parent_issue_repo: *60 + parent_issue: *84 + parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - installation: *702 - organization: *703 - repository: *704 + sub_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218205,15 +218701,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - sub_issue_repo: *60 + sub_issue: *84 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - installation: *702 - organization: *703 - repository: *704 + parent_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218297,15 +218793,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *77 - sub_issue_repo: *60 + sub_issue: *84 + sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *77 - installation: *702 - organization: *703 - repository: *704 + parent_issue: *84 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -218382,12 +218878,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - team: &767 + team: &772 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218577,9 +219073,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -219037,7 +219533,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -219113,9 +219609,9 @@ x-webhooks: type: string enum: - created - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -219573,7 +220069,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -219650,9 +220146,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -220110,7 +220606,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -220254,9 +220750,9 @@ x-webhooks: - from required: - permissions - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -220714,7 +221210,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - changes @@ -220792,9 +221288,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *701 - installation: *702 - organization: *703 + enterprise: *706 + installation: *707 + organization: *708 repository: title: Repository description: A git repository @@ -221252,7 +221748,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *767 + team: *772 required: - action - team @@ -221328,10 +221824,10 @@ x-webhooks: type: string enum: - started - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 required: - action @@ -221404,16 +221900,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *701 + enterprise: *706 inputs: type: object nullable: true additionalProperties: true - installation: *702 - organization: *703 + installation: *707 + organization: *708 ref: type: string - repository: *704 + repository: *709 sender: *4 workflow: type: string @@ -221495,10 +221991,10 @@ x-webhooks: type: string enum: - completed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -221735,7 +222231,7 @@ x-webhooks: type: string required: - conclusion - deployment: *480 + deployment: *484 required: - action - repository @@ -221814,10 +222310,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: allOf: @@ -222077,7 +222573,7 @@ x-webhooks: required: - status - steps - deployment: *480 + deployment: *484 required: - action - repository @@ -222156,10 +222652,10 @@ x-webhooks: type: string enum: - queued - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -222294,7 +222790,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *480 + deployment: *484 required: - action - repository @@ -222373,10 +222869,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 workflow_job: type: object @@ -222512,7 +223008,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *480 + deployment: *484 required: - action - repository @@ -222592,12 +223088,12 @@ x-webhooks: type: string enum: - completed - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -223596,12 +224092,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object @@ -224585,12 +225081,12 @@ x-webhooks: type: string enum: - requested - enterprise: *701 - installation: *702 - organization: *703 - repository: *704 + enterprise: *706 + installation: *707 + organization: *708 + repository: *709 sender: *4 - workflow: *716 + workflow: *721 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 76006f0932..6b886aefa0 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/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." @@ -16861,6 +16865,310 @@ } } }, + "/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.", + "example": "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.", + "example": "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", @@ -38816,11 +39124,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -38830,6 +39139,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -38857,7 +39167,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -42899,11 +43210,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -42913,6 +43225,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -42940,7 +43253,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -47867,6 +48181,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." + } + } + } + } } ] } @@ -49250,6 +49593,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." + } + } + } + } } ] } @@ -51964,6 +52336,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." + } + } + } + } } ] } @@ -57938,34 +58339,1991 @@ } } }, - "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { @@ -57989,9 +60347,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": { @@ -58018,10 +60419,10 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" } } }, @@ -104254,13 +106655,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -120240,11 +122643,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -120254,6 +122658,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -120281,7 +122686,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -148932,11 +151338,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -148946,6 +151353,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -148973,7 +151381,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -179480,7 +181889,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" @@ -179690,7 +182099,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" @@ -180036,7 +182445,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" @@ -180236,7 +182645,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" @@ -180522,7 +182931,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" @@ -187718,6 +190127,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." + } + } + } + } } ] } @@ -190217,6 +192655,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." + } + } + } + } } ] } @@ -192150,6 +194617,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." + } + } + } + } } ] } @@ -194670,6 +197166,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." + } + } + } + } } ] } @@ -492995,6 +495520,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." + } + } + } + ] } ] } @@ -494348,6 +496928,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." + } + } + } + } } ] } @@ -495422,6 +498031,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." + } + } + } + } } ] } @@ -496704,6 +499342,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." + } + } + } + } } ] } @@ -498656,6 +501323,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." + } + } + } + } } ] } @@ -499745,6 +502441,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." + } + } + } + } } ] } @@ -501023,6 +503748,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." + } + } + } + } } ] } @@ -1226958,6 +1229712,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." + } + } + } + } } ] } @@ -1229810,6 +1232593,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." + } + } + } + } } ] } @@ -1232662,6 +1235474,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." + } + } + } + } } ] } @@ -1233662,6 +1236503,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." + } + } + } + } } ] } @@ -1234490,6 +1237360,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." + } + } + } + } } ] } @@ -1235321,6 +1238220,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 888507d9e1..19af013771 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/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 - - &98 + - &99 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 - - &99 + - &100 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 - - &100 + - &101 name: direction description: The direction to sort the results by. in: query @@ -683,7 +685,7 @@ paths: required: - vector_string - score - cvss_severities: &114 + cvss_severities: &115 type: object nullable: true properties: @@ -723,7 +725,7 @@ paths: required: - vector_string - score - epss: &115 + epss: &116 type: object nullable: true readOnly: true @@ -861,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &401 + type: &406 type: string description: The type of credit the user is receiving. enum: @@ -994,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &219 + schema: &227 title: Validation Error Simple description: Validation Error Simple type: object @@ -1027,7 +1029,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: - - &726 + - &732 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1145,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &176 + properties: &184 id: description: Unique identifier of the GitHub app example: 37 @@ -1278,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &177 + required: &185 - id - node_id - owner @@ -1583,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &308 + - &315 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 @@ -1599,7 +1601,7 @@ paths: application/json: schema: type: array - items: &309 + items: &316 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1679,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &310 + default: &317 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1711,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &736 + schema: &742 title: Scim Error description: Scim Error type: object @@ -1738,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &218 + schema: &226 title: Validation Error description: Validation Error type: object @@ -1807,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &318 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1921,7 +1923,7 @@ paths: - request - response examples: - default: &312 + default: &319 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2122,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &181 + - &189 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) @@ -2675,7 +2677,7 @@ paths: suspended_at: suspended_by: headers: - Link: &40 + Link: &43 example: ; rel="next", ; rel="last" schema: @@ -2716,7 +2718,7 @@ paths: application/json: schema: *22 examples: - default: &77 + default: &79 value: id: 1 account: @@ -2866,11 +2868,11 @@ paths: - selected repositories: type: array - items: &67 + items: &69 title: Repository description: A repository on GitHub. type: object - properties: &379 + properties: &384 id: description: Unique identifier of the repository example: 42 @@ -2890,7 +2892,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &200 key: type: string example: mit @@ -2912,7 +2914,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &201 - key - name - url @@ -3308,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &380 + required: &385 - archive_url - assignees_url - blobs_url @@ -5095,7 +5097,7 @@ paths: responses: '202': *39 '422': *7 - '500': &91 + '500': &40 description: Internal Error content: application/json: @@ -7353,6 +7355,97 @@ 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: + - &41 + 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: &42 + 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. + example: 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': *29 + '404': *6 + '500': *40 + 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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: *42 + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *29 + '404': *6 + '500': *40 + 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 @@ -7368,19 +7461,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: - - &41 - name: enterprise - description: The slug version of the enterprise name. - in: path - required: true - schema: - type: string + - *41 responses: '200': description: Response content: application/json: - schema: &220 + schema: &228 type: object properties: total_active_caches_count: @@ -7395,12 +7482,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &221 + default: &229 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7438,7 +7525,7 @@ paths: type: integer runners: type: array - items: &42 + items: &44 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7487,7 +7574,7 @@ paths: - display_name - source nullable: true - machine_size_details: &45 + machine_size_details: &47 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7579,7 +7666,7 @@ paths: - public_ip_enabled - platform examples: - default: &222 + default: &230 value: total_count: 2 runners: @@ -7621,7 +7708,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7707,9 +7794,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: &46 + default: &48 value: id: 5 name: My hosted ubuntu runner @@ -7764,7 +7851,7 @@ paths: type: integer images: type: array - items: &43 + items: &45 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -7800,7 +7887,7 @@ paths: - display_name - source examples: - default: &44 + default: &46 value: id: ubuntu-20.04 platform: linux-x64 @@ -7840,9 +7927,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7865,7 +7952,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &231 type: object properties: public_ips: @@ -7890,7 +7977,7 @@ paths: required: - public_ips examples: - default: &224 + default: &232 value: public_ips: current_usage: 17 @@ -7928,9 +8015,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *47 examples: - default: &225 + default: &233 value: id: 4-core cpu_cores: 4 @@ -7998,7 +8085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - &47 + - &49 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8010,11 +8097,11 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8033,7 +8120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *47 + - *49 requestBody: required: true content: @@ -8071,9 +8158,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8090,15 +8177,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *47 + - *49 responses: '202': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8166,7 +8253,7 @@ paths: schema: type: object properties: - enabled_organizations: &48 + enabled_organizations: &50 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8179,7 +8266,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: &49 + allowed_actions: &51 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8187,12 +8274,12 @@ paths: - all - local_only - selected - selected_actions_url: &228 + selected_actions_url: &236 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: &50 + sha_pinning_required: &52 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8234,9 +8321,9 @@ paths: schema: type: object properties: - enabled_organizations: *48 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_organizations: *50 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled_organizations examples: @@ -8267,7 +8354,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &230 + schema: &238 type: object properties: days: @@ -8285,7 +8372,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &737 + '401': &743 description: Authorization failure '404': *6 x-github: @@ -8313,7 +8400,7 @@ paths: required: true content: application/json: - schema: &231 + schema: &239 type: object properties: days: @@ -8348,7 +8435,7 @@ paths: description: Response content: application/json: - schema: &51 + schema: &53 type: object properties: approval_policy: @@ -8362,7 +8449,7 @@ paths: required: - approval_policy examples: - default: &232 + default: &240 value: approval_policy: first_time_contributors '404': *6 @@ -8391,7 +8478,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -8420,7 +8507,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &241 type: object required: - run_workflows_from_fork_pull_requests @@ -8446,7 +8533,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &52 + default: &54 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8474,7 +8561,7 @@ paths: required: true content: application/json: - schema: &234 + schema: &242 type: object required: - run_workflows_from_fork_pull_requests @@ -8497,7 +8584,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -8537,11 +8624,11 @@ paths: type: number organizations: type: array - items: &62 + items: &64 title: Organization Simple description: A GitHub organization. type: object - properties: &110 + properties: &111 login: type: string example: github @@ -8582,7 +8669,7 @@ paths: type: string example: A great organization nullable: true - required: &111 + required: &112 - login - url - id @@ -8599,7 +8686,7 @@ paths: - total_count - organizations examples: - default: &63 + default: &65 value: total_count: 1 organizations: @@ -8678,7 +8765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - &53 + - &55 name: org_id description: The unique identifier of the organization. in: path @@ -8707,7 +8794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - *53 + - *55 responses: '204': description: Response @@ -8736,7 +8823,7 @@ paths: description: Response content: application/json: - schema: &54 + schema: &56 type: object properties: github_owned_allowed: @@ -8757,7 +8844,7 @@ paths: items: type: string examples: - default: &55 + default: &57 value: github_owned_allowed: true verified_allowed: false @@ -8790,9 +8877,9 @@ paths: required: true content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8897,17 +8984,17 @@ paths: description: Success response content: application/json: - schema: &237 + schema: &245 type: object properties: - default_workflow_permissions: &56 + default_workflow_permissions: &58 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &57 + can_approve_pull_request_reviews: &59 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -8915,7 +9002,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &58 + default: &60 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -8945,13 +9032,13 @@ paths: required: true content: application/json: - schema: &238 + schema: &246 type: object properties: - default_workflow_permissions: *56 - can_approve_pull_request_reviews: *57 + default_workflow_permissions: *58 + can_approve_pull_request_reviews: *59 examples: - default: *58 + default: *60 responses: '204': description: Success response @@ -8996,7 +9083,7 @@ paths: type: number runner_groups: type: array - items: &59 + items: &61 type: object properties: id: @@ -9175,9 +9262,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: &60 + default: &62 value: id: 2 name: octo-runner-group @@ -9212,7 +9299,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: - *41 - - &61 + - &63 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9224,9 +9311,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 + default: *62 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9246,7 +9333,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: - *41 - - *61 + - *63 requestBody: required: false content: @@ -9298,7 +9385,7 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: default: value: @@ -9334,7 +9421,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: - *41 - - *61 + - *63 responses: '204': description: Response @@ -9358,7 +9445,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: - *41 - - *61 + - *63 - *17 - *19 responses: @@ -9373,12 +9460,12 @@ paths: type: number organizations: type: array - items: *62 + items: *64 required: - total_count - organizations examples: - default: *63 + default: *65 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9398,7 +9485,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: - *41 - - *61 + - *63 requestBody: required: true content: @@ -9444,8 +9531,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: - *41 - - *61 - - *53 + - *63 + - *55 responses: '204': description: Response @@ -9468,8 +9555,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: - *41 - - *61 - - *53 + - *63 + - *55 responses: '204': description: Response @@ -9493,7 +9580,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: - *41 - - *61 + - *63 - *17 - *19 responses: @@ -9508,7 +9595,7 @@ paths: type: number runners: type: array - items: &65 + items: &67 title: Self hosted runners description: A self hosted runner type: object @@ -9537,7 +9624,7 @@ paths: type: boolean labels: type: array - items: &69 + items: &71 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9570,7 +9657,7 @@ paths: - total_count - runners examples: - default: &66 + default: &68 value: total_count: 2 runners: @@ -9610,7 +9697,7 @@ paths: name: no-gpu type: custom headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9630,7 +9717,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: - *41 - - *61 + - *63 requestBody: required: true content: @@ -9675,8 +9762,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: - *41 - - *61 - - &64 + - *63 + - &66 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9705,8 +9792,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: - *41 - - *61 - - *64 + - *63 + - *66 responses: '204': description: Response @@ -9749,11 +9836,11 @@ paths: type: number runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9781,7 +9868,7 @@ paths: application/json: schema: type: array - items: &242 + items: &250 title: Runner Application description: Runner Application type: object @@ -9806,7 +9893,7 @@ paths: - download_url - filename examples: - default: &243 + default: &251 value: - os: osx architecture: x64 @@ -9890,7 +9977,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &244 + '201': &252 description: Response content: application/json: @@ -9900,7 +9987,7 @@ paths: - runner - encoded_jit_config properties: - runner: *65 + runner: *67 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -9929,7 +10016,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &108 + '409': &109 description: Conflict content: application/json: @@ -9967,7 +10054,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &70 title: Authentication Token description: Authentication Token type: object @@ -9989,7 +10076,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *69 single_file: type: string example: config.yaml @@ -10005,7 +10092,7 @@ paths: - token - expires_at examples: - default: &245 + default: &253 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10043,9 +10130,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: &246 + default: &254 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10069,15 +10156,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *41 - - *64 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: &247 + default: &255 value: id: 23 name: MBP @@ -10117,7 +10204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *41 - - *64 + - *66 responses: '204': description: Response @@ -10142,9 +10229,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: - *41 - - *64 + - *66 responses: - '200': &70 + '200': &72 description: Response content: application/json: @@ -10158,7 +10245,7 @@ paths: type: integer labels: type: array - items: *69 + items: *71 examples: default: value: @@ -10196,7 +10283,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: - *41 - - *64 + - *66 requestBody: required: true content: @@ -10220,7 +10307,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10243,7 +10330,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: - *41 - - *64 + - *66 requestBody: required: true content: @@ -10268,7 +10355,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10291,9 +10378,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: - *41 - - *64 + - *66 responses: - '200': &248 + '200': &256 description: Response content: application/json: @@ -10307,7 +10394,7 @@ paths: type: integer labels: type: array - items: *69 + items: *71 examples: default: value: @@ -10348,8 +10435,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: - *41 - - *64 - - &249 + - *66 + - &257 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10357,7 +10444,7 @@ paths: schema: type: string responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10382,20 +10469,20 @@ paths: description: Response content: application/json: - schema: &75 + schema: &77 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &71 + announcement: &73 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic 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)." example: Very **important** announcement about _something_. nullable: true - expires_at: &72 + expires_at: &74 type: string format: date-time description: 'The time at which the announcement expires. This @@ -10405,7 +10492,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &73 + user_dismissible: &75 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -10416,7 +10503,7 @@ paths: - expires_at - user_dismissible examples: - default: &74 + default: &76 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10440,18 +10527,18 @@ paths: required: true content: application/json: - schema: &256 + schema: &264 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *71 - expires_at: *72 - user_dismissible: *73 + announcement: *73 + expires_at: *74 + user_dismissible: *75 required: - announcement examples: - default: *74 + default: *76 parameters: - *41 responses: @@ -10459,9 +10546,9 @@ paths: description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10557,7 +10644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *41 - - &76 + - &78 name: org description: The organization name. The name is not case sensitive. in: path @@ -10574,7 +10661,7 @@ paths: application/json: schema: type: array - items: &78 + items: &80 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -10625,7 +10712,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: - *41 - - *76 + - *78 - *17 - *19 responses: @@ -10720,7 +10807,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: - *41 - - *76 + - *78 responses: '200': description: A GitHub App installation that was installed previously. @@ -10728,14 +10815,14 @@ paths: application/json: schema: *22 examples: - default: *77 + default: *79 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *77 + default: *79 requestBody: required: true content: @@ -10803,7 +10890,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: - *41 - - *76 + - *78 - *23 responses: '204': @@ -10831,7 +10918,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: - *41 - - *76 + - *78 - *23 - *17 - *19 @@ -10843,7 +10930,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -10872,7 +10959,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: - *41 - - *76 + - *78 - *23 requestBody: required: true @@ -10912,7 +10999,7 @@ paths: application/json: schema: *22 examples: - default: *77 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10933,7 +11020,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *41 - - *76 + - *78 - *23 responses: '200': @@ -10943,7 +11030,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -10994,7 +11081,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *41 - - *76 + - *78 - *23 responses: '200': @@ -11004,7 +11091,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -11081,7 +11168,7 @@ paths: required: false schema: type: string - - &257 + - &265 name: include description: |- The event types to include: @@ -11099,7 +11186,7 @@ paths: - web - git - all - - &258 + - &266 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. @@ -11107,7 +11194,7 @@ paths: required: false schema: type: string - - &259 + - &267 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. @@ -11115,7 +11202,7 @@ paths: required: false schema: type: string - - &260 + - &268 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11137,7 +11224,7 @@ paths: application/json: schema: type: array - items: &261 + items: &269 type: object properties: "@timestamp": @@ -11259,7 +11346,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &262 + default: &270 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11438,7 +11525,7 @@ paths: vendor_specific: type: object oneOf: - - &82 + - &84 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11457,7 +11544,7 @@ paths: - key_id - encrypted_sas_url - container - - &83 + - &85 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11476,7 +11563,7 @@ paths: - name - encrypted_connstring - key_id - - &84 + - &86 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11504,7 +11591,7 @@ paths: - bucket - key_id - region - - &85 + - &87 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11538,7 +11625,7 @@ paths: - encrypted_secret_key - key_id - region - - &86 + - &88 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11566,7 +11653,7 @@ paths: - key_id - port - ssl_verify - - &87 + - &89 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11598,7 +11685,7 @@ paths: - key_id - port - ssl_verify - - &88 + - &90 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -11616,7 +11703,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &89 + - &91 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11647,7 +11734,7 @@ paths: - stream_type - vendor_specific examples: - default: &90 + default: &92 value: enabled: false stream_type: Azure Event Hubs @@ -11661,7 +11748,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &79 + schema: &81 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11692,7 +11779,7 @@ paths: - created_at - updated_at examples: - default: &80 + default: &82 value: id: 1 stream_type: Splunk @@ -11721,7 +11808,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: - *41 - - &81 + - &83 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11733,9 +11820,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *79 + schema: *81 examples: - default: *80 + default: *82 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11755,7 +11842,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *81 + - *83 requestBody: required: true content: @@ -11781,28 +11868,28 @@ paths: vendor_specific: type: object oneOf: - - *82 - - *83 - *84 - *85 - *86 - *87 - *88 - *89 + - *90 + - *91 required: - enabled - stream_type - vendor_specific examples: - default: *90 + default: *92 responses: '200': description: Successful update content: application/json: - schema: *79 + schema: *81 examples: - default: *80 + default: *82 '422': description: Validation error content: @@ -11833,7 +11920,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: - *41 - - *81 + - *83 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11860,13 +11947,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - &92 + - &93 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &93 + - &94 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11874,7 +11961,7 @@ paths: required: false schema: type: string - - &94 + - &95 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11882,7 +11969,7 @@ paths: required: false schema: type: string - - &95 + - &96 name: time_period description: |- The time period to filter by. @@ -11898,7 +11985,7 @@ paths: - week - month default: day - - &96 + - &97 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11925,7 +12012,7 @@ paths: application/json: schema: type: array - items: &264 + items: &271 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12042,7 +12129,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &97 + items: &98 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12086,7 +12173,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &265 + default: &272 value: - id: 21 number: 42 @@ -12155,7 +12242,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': *91 + '500': *40 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -12177,11 +12264,11 @@ paths: subcategory: delegated-bypass parameters: - *41 - - *92 - *93 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -12191,7 +12278,7 @@ paths: application/json: schema: type: array - items: &267 + items: &274 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12305,7 +12392,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *97 + items: *98 url: type: string format: uri @@ -12316,7 +12403,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &268 + default: &275 value: - id: 21 number: 42 @@ -12383,7 +12470,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': *91 + '500': *40 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12401,17 +12488,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &273 + - &280 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: &101 + schema: &102 type: string description: The name of the tool used to generate the code scanning analysis. - - &274 + - &281 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 @@ -12419,22 +12506,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &102 + schema: &103 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *98 - *99 + - *100 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &275 + schema: &282 type: string description: State of a code scanning alert. enum: @@ -12459,42 +12546,42 @@ paths: application/json: schema: type: array - items: &276 + items: &283 type: object properties: - number: &112 + number: &113 type: integer description: The security alert number. readOnly: true - created_at: &119 + created_at: &120 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: &120 + updated_at: &121 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: &117 + url: &118 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &118 + html_url: &119 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &516 + instances_url: &521 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &103 + state: &104 type: string description: State of a code scanning alert. nullable: true @@ -12502,7 +12589,7 @@ paths: - open - dismissed - fixed - fixed_at: &122 + fixed_at: &123 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12516,14 +12603,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &121 + dismissed_at: &122 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &517 + dismissed_reason: &522 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12532,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &518 + dismissed_comment: &523 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &519 + rule: &524 type: object properties: id: @@ -12591,25 +12678,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &520 + tool: &525 type: object properties: - name: *101 + name: *102 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *102 - most_recent_instance: &521 + guid: *103 + most_recent_instance: &526 type: object properties: - ref: &514 + ref: &519 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &536 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12620,13 +12707,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &532 + category: &537 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: *103 + state: *104 commit_sha: type: string message: @@ -12665,11 +12752,11 @@ paths: - generated - test - library - repository: &109 + repository: &110 title: Simple Repository description: A GitHub repository. type: object - properties: &208 + properties: &216 id: type: integer format: int64 @@ -12896,7 +12983,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &209 + required: &217 - archive_url - assignees_url - blobs_url @@ -12965,7 +13052,7 @@ paths: - most_recent_instance - repository examples: - default: &277 + default: &284 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13194,9 +13281,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: *40 + Link: *43 '404': *6 - '503': &166 + '503': &167 description: Service unavailable content: application/json: @@ -13240,8 +13327,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 responses: '200': description: Response @@ -13249,7 +13336,7 @@ paths: application/json: schema: type: array - items: &104 + items: &105 type: object description: A code security configuration properties: @@ -13618,7 +13705,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &278 + code_scanning_options: &285 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13635,7 +13722,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &107 + code_scanning_default_setup_options: &108 type: object description: Feature options for code scanning default setup nullable: true @@ -13752,9 +13839,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *104 + schema: *105 examples: - default: &105 + default: &106 value: id: 1325 target_type: enterprise @@ -13812,7 +13899,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &287 type: array description: A list of default code security configurations items: @@ -13826,9 +13913,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *104 + configuration: *105 examples: - default: &281 + default: &288 value: - default_for_new_repos: public configuration: @@ -13917,7 +14004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &106 + - &107 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13929,9 +14016,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *105 + default: *106 '304': *37 '403': *29 '404': *6 @@ -13956,7 +14043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14035,7 +14122,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14123,13 +14210,13 @@ paths: description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *105 + default: *106 '304': *37 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14153,14 +14240,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *106 + - *107 responses: - '204': &132 + '204': &133 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14185,7 +14272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14212,7 +14299,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14237,7 +14324,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: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14277,12 +14364,12 @@ paths: - none - private_and_internal - public - configuration: *104 + configuration: *105 examples: default: value: default_for_new_repos: all - configuration: &279 + configuration: &286 value: id: 1325 target_type: organization @@ -14339,7 +14426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *106 + - *107 - 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)." @@ -14348,8 +14435,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14367,7 +14454,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 type: object description: Repositories associated with a code security configuration and attachment status @@ -14385,13 +14472,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *109 + repository: *110 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &283 + repository: &290 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14799,7 +14886,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14856,7 +14943,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &123 + items: &124 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14873,14 +14960,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *110 - required: *111 + properties: *111 + required: *112 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &269 + - &276 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14939,7 +15026,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &345 + properties: &350 id: description: Unique identifier of the team type: integer @@ -14995,7 +15082,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &346 + required: &351 - id - node_id - url @@ -15019,7 +15106,8 @@ paths: - repositories_url - slug - parent - - title: Enterprise Team + - &176 + title: Enterprise Team description: Group of enterprise owners and/or members type: object properties: @@ -15037,10 +15125,12 @@ paths: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' example: disabled | all organization_selection_type: type: string - example: disabled | all + example: disabled | selected | all group_id: nullable: true type: string @@ -15048,6 +15138,8 @@ paths: group_name: nullable: true type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' example: Justice League html_url: type: string @@ -15070,6 +15162,7 @@ paths: - slug - created_at - updated_at + - group_id nullable: true pending_cancellation_date: type: string @@ -15123,7 +15216,7 @@ paths: - created_at additionalProperties: false examples: - default: &124 + default: &125 value: total_seats: 2 seats: @@ -15193,8 +15286,8 @@ paths: type: User site_admin: false headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15266,7 +15359,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15355,7 +15448,7 @@ paths: response: value: message: Status for delete command - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15431,7 +15524,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15508,7 +15601,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15575,7 +15668,7 @@ paths: application/json: schema: type: array - items: &172 + items: &173 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -15882,7 +15975,7 @@ paths: - date additionalProperties: true examples: - default: &173 + default: &174 value: - date: '2024-06-24' total_active_users: 24 @@ -15981,10 +16074,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *91 + '500': *40 '403': *29 '404': *6 - '422': &174 + '422': &175 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16014,7 +16107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &290 + - &297 name: state in: query description: |- @@ -16023,7 +16116,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &291 + - &298 name: severity in: query description: |- @@ -16032,7 +16125,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &292 + - &299 name: ecosystem in: query description: |- @@ -16041,14 +16134,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &293 + - &300 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 - - &294 + - &301 name: epss_percentage in: query description: |- @@ -16060,7 +16153,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 - - &295 + - &302 name: has in: query description: |- @@ -16074,7 +16167,7 @@ paths: type: string enum: - patch - - &296 + - &303 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16084,7 +16177,7 @@ paths: enum: - development - runtime - - &297 + - &304 name: sort in: query description: |- @@ -16099,10 +16192,10 @@ paths: - updated - epss_percentage default: created - - *100 - - *98 + - *101 - *99 - - &298 + - *100 + - &305 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16115,7 +16208,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &299 + - &306 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16135,11 +16228,11 @@ paths: application/json: schema: type: array - items: &300 + items: &307 type: object description: A Dependabot alert. properties: - number: *112 + number: *113 state: type: string description: The state of the Dependabot alert. @@ -16154,7 +16247,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &113 + package: &114 type: object description: Details for the vulnerable package. readOnly: true @@ -16198,7 +16291,7 @@ paths: - unknown - direct - transitive - security_advisory: &571 + security_advisory: &576 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16228,13 +16321,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &116 + items: &117 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *113 + package: *114 severity: type: string description: The severity of the vulnerability. @@ -16300,8 +16393,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *114 - epss: *115 + cvss_severities: *115 + epss: *116 cwes: type: array description: Details for the advisory pertaining to Common @@ -16400,12 +16493,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *116 - url: *117 - html_url: *118 - created_at: *119 - updated_at: *120 - dismissed_at: *121 + security_vulnerability: *117 + url: *118 + html_url: *119 + created_at: *120 + updated_at: *121 + dismissed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -16429,15 +16522,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *122 - auto_dismissed_at: &572 + fixed_at: *123 + auto_dismissed_at: &577 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *109 + repository: *110 required: - number - state @@ -16456,7 +16549,7 @@ paths: - repository additionalProperties: false examples: - default: &301 + default: &308 value: - number: 2 state: dismissed @@ -16873,7 +16966,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: - *41 - - &263 + - &180 name: username description: The handle for the GitHub user account. in: path @@ -16895,10 +16988,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *123 + items: *124 examples: - default: *124 - '500': *91 + default: *125 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -16940,7 +17033,7 @@ paths: type: integer network_configurations: type: array - items: &125 + items: &126 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -16980,7 +17073,7 @@ paths: - name - created_on examples: - default: &412 + default: &417 value: total_count: 2 network_configurations: @@ -16999,7 +17092,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17058,9 +17151,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: &126 + default: &127 value: id: 123456789ABCDEF name: My network configuration @@ -17087,7 +17180,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: - *41 - - &127 + - &128 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17099,11 +17192,11 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17121,7 +17214,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: - *41 - - *127 + - *128 requestBody: required: true content: @@ -17160,9 +17253,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17180,7 +17273,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: - *41 - - *127 + - *128 responses: '204': description: Response @@ -17203,7 +17296,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: - *41 - - &413 + - &418 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17215,7 +17308,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &419 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17249,7 +17342,7 @@ paths: - subnet_id - region examples: - default: &415 + default: &420 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17257,7 +17350,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: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17284,7 +17377,7 @@ paths: application/json: schema: type: array - items: &128 + items: &129 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17350,7 +17443,7 @@ paths: - property_name - value_type examples: - default: &129 + default: &130 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17407,7 +17500,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *128 + items: *129 minItems: 1 maxItems: 100 required: @@ -17437,9 +17530,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -17462,8 +17555,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - *76 - - &130 + - *78 + - &131 name: custom_property_name description: The custom property name in: path @@ -17475,9 +17568,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: &131 + default: &132 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17510,15 +17603,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *130 + - *131 responses: '200': description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -17540,12 +17633,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: - *41 - - *130 + - *131 requestBody: required: true content: application/json: - schema: &377 + schema: &382 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17609,9 +17702,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -17633,9 +17726,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *130 + - *131 responses: - '204': *132 + '204': *133 '403': *29 '404': *6 x-github: @@ -17675,7 +17768,7 @@ paths: - push - repository default: branch - enforcement: &139 + enforcement: &140 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17688,7 +17781,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &140 + items: &141 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17729,7 +17822,7 @@ paths: - pull_request - exempt default: always - conditions: &163 + conditions: &164 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17743,7 +17836,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &133 + - &134 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17769,7 +17862,7 @@ paths: type: string required: - organization_name - - &136 + - &137 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17798,7 +17891,7 @@ paths: is prevented. required: - repository_name - - &135 + - &136 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17826,8 +17919,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *133 - - &138 + - *134 + - &139 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17840,7 +17933,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &134 + items: &135 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -17871,16 +17964,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *134 + items: *135 required: - repository_property - - *135 + - *136 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &137 + - &138 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -17897,25 +17990,25 @@ paths: type: integer required: - organization_id + - *137 - *136 - - *135 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *137 - *138 - - *135 + - *139 + - *136 rules: type: array description: An array of rules within the ruleset. - items: &164 + items: &165 title: Repository Rule type: object description: A repository rule. oneOf: - - &141 + - &142 title: creation description: Only allow users with bypass permission to create matching refs. @@ -17927,7 +18020,7 @@ paths: type: string enum: - creation - - &142 + - &143 title: update description: Only allow users with bypass permission to update matching refs. @@ -17948,7 +18041,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &143 + - &144 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17960,7 +18053,7 @@ paths: type: string enum: - deletion - - &144 + - &145 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17972,7 +18065,7 @@ paths: type: string enum: - required_linear_history - - &145 + - &146 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17996,7 +18089,7 @@ paths: type: string required: - required_deployment_environments - - &146 + - &147 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18008,7 +18101,7 @@ paths: type: string enum: - required_signatures - - &147 + - &148 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. @@ -18068,7 +18161,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &148 + - &149 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18115,7 +18208,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &149 + - &150 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18127,7 +18220,7 @@ paths: type: string enum: - non_fast_forward - - &150 + - &151 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18163,7 +18256,7 @@ paths: required: - operator - pattern - - &151 + - &152 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18199,7 +18292,7 @@ paths: required: - operator - pattern - - &152 + - &153 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18235,7 +18328,7 @@ paths: required: - operator - pattern - - &153 + - &154 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18271,7 +18364,7 @@ paths: required: - operator - pattern - - &154 + - &155 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18307,7 +18400,7 @@ paths: required: - operator - pattern - - &155 + - &156 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18331,7 +18424,7 @@ paths: type: string required: - restricted_file_paths - - &156 + - &157 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18355,7 +18448,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &157 + - &158 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18378,7 +18471,7 @@ paths: type: string required: - restricted_file_extensions - - &158 + - &159 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18402,7 +18495,7 @@ paths: maximum: 100 required: - max_file_size - - &159 + - &160 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18451,7 +18544,7 @@ paths: - repository_id required: - workflows - - &160 + - &161 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18537,7 +18630,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &162 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18572,11 +18665,11 @@ paths: source: type: string description: The name of the source - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 + items: *141 current_user_can_bypass: type: string description: |- @@ -18608,8 +18701,8 @@ paths: conditions: nullable: true anyOf: - - *135 - - &384 + - *136 + - &389 title: Organization ruleset conditions type: object description: |- @@ -18623,14 +18716,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *135 - *136 + - *137 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *135 + - *136 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18652,20 +18745,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *135 - - *138 + - *136 + - *139 rules: type: array - items: &692 + items: &698 title: Repository Rule type: object description: A repository rule. oneOf: - - *141 - *142 - *143 - *144 - - &690 + - *145 + - &695 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18743,7 +18836,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *145 - *146 - *147 - *148 @@ -18759,6 +18851,30 @@ paths: - *158 - *159 - *160 + - *161 + - &696 + 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 @@ -18766,7 +18882,7 @@ paths: type: string format: date-time examples: - default: &162 + default: &163 value: id: 21 name: super cool ruleset @@ -18792,7 +18908,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18825,11 +18941,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18871,16 +18987,16 @@ paths: - tag - push - repository - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *163 + items: *141 + conditions: *164 rules: description: An array of rules within the ruleset. type: array - items: *164 + items: *165 examples: default: value: @@ -18904,11 +19020,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18935,7 +19051,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18968,7 +19084,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 title: Ruleset version type: object description: The historical version of a ruleset @@ -18992,7 +19108,7 @@ paths: type: string format: date-time examples: - default: &387 + default: &392 value: - version_id: 3 actor: @@ -19010,7 +19126,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19045,9 +19161,9 @@ paths: description: Response content: application/json: - schema: &388 + schema: &393 allOf: - - *165 + - *166 - type: object required: - state @@ -19080,7 +19196,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19100,7 +19216,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &389 + - &394 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19111,7 +19227,7 @@ paths: enum: - open - resolved - - &390 + - &395 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19121,7 +19237,7 @@ paths: required: false schema: type: string - - &391 + - &396 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19130,7 +19246,7 @@ paths: required: false schema: type: string - - &392 + - &397 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. @@ -19142,11 +19258,11 @@ paths: - created - updated default: created - - *100 + - *101 - *17 - - *98 - *99 - - &393 + - *100 + - &398 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19155,7 +19271,7 @@ paths: required: false schema: type: string - - &394 + - &399 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19164,7 +19280,7 @@ paths: schema: type: boolean default: false - - &395 + - &400 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19173,7 +19289,7 @@ paths: schema: type: boolean default: false - - &396 + - &401 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19189,11 +19305,11 @@ paths: application/json: schema: type: array - items: &397 + items: &402 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -19201,21 +19317,21 @@ paths: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &704 + state: &710 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: &705 + resolution: &711 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19249,7 +19365,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *109 + repository: *110 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19322,8 +19438,8 @@ paths: pull request. ' - oneOf: &706 - - &708 + oneOf: &712 + - &714 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19375,7 +19491,7 @@ paths: - blob_url - commit_sha - commit_url - - &709 + - &715 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. @@ -19430,7 +19546,7 @@ paths: - page_url - commit_sha - commit_url - - &710 + - &716 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19444,7 +19560,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &711 + - &717 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19458,7 +19574,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &712 + - &718 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19472,7 +19588,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &713 + - &719 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19486,7 +19602,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &714 + - &720 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19500,7 +19616,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &715 + - &721 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19514,7 +19630,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &716 + - &722 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. @@ -19528,7 +19644,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &717 + - &723 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. @@ -19542,7 +19658,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &718 + - &724 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. @@ -19556,7 +19672,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &719 + - &725 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. @@ -19570,7 +19686,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &720 + - &726 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19590,7 +19706,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &398 + default: &403 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19747,9 +19863,9 @@ paths: commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19780,13 +19896,13 @@ paths: description: Response content: application/json: - schema: &399 + schema: &404 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: &168 + pattern_config_version: &169 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19795,7 +19911,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &167 + items: &168 type: object properties: token_type: @@ -19861,9 +19977,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *167 + items: *168 examples: - default: &400 + default: &405 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -19918,7 +20034,7 @@ paths: schema: type: object properties: - pattern_config_version: *168 + pattern_config_version: *169 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -19944,7 +20060,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *168 + custom_pattern_version: *169 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -19980,7 +20096,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20007,7 +20123,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &408 type: object properties: total_minutes_used: @@ -20077,7 +20193,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &404 + default: &409 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20108,7 +20224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &405 + - &410 name: advanced_security_product in: query description: | @@ -20128,7 +20244,7 @@ paths: description: Success content: application/json: - schema: &406 + schema: &411 type: object properties: total_advanced_security_committers: @@ -20183,7 +20299,7 @@ paths: required: - repositories examples: - default: &407 + default: &412 value: total_advanced_security_committers: 2 total_count: 2 @@ -20292,8 +20408,8 @@ paths: name: Octocat '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20422,7 +20538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &171 + - &172 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20434,7 +20550,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &169 + schema: &170 type: object properties: id: @@ -20473,7 +20589,7 @@ paths: - name - resources examples: - default: &170 + default: &171 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20486,8 +20602,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20537,15 +20653,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 '400': *14 '403': *29 '404': *6 - '409': *108 - '500': *91 - '503': *166 + '409': *109 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20563,7 +20679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *171 + - *172 responses: '200': description: Response when deleting a cost center @@ -20601,8 +20717,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20623,7 +20739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *171 + - *172 requestBody: required: true content: @@ -20693,9 +20809,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *108 - '500': *91 - '503': *166 + '409': *109 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20715,7 +20831,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *171 + - *172 requestBody: required: true content: @@ -20761,8 +20877,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20793,7 +20909,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &413 type: object properties: total_gigabytes_bandwidth_used: @@ -20811,7 +20927,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &409 + default: &414 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20846,7 +20962,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &415 type: object properties: days_left_in_billing_cycle: @@ -20864,7 +20980,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &411 + default: &416 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -20889,7 +21005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &210 + - &218 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, @@ -20898,7 +21014,7 @@ paths: required: false schema: type: integer - - &211 + - &219 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -20907,7 +21023,7 @@ paths: required: false schema: type: integer - - &212 + - &220 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 @@ -20916,7 +21032,7 @@ paths: required: false schema: type: integer - - &213 + - &221 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 @@ -20937,7 +21053,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &214 + schema: &222 type: object properties: usageItems: @@ -20990,7 +21106,7 @@ paths: - netAmount - organizationName examples: - default: &215 + default: &223 value: usageItems: - date: '2023-08-01' @@ -21006,8 +21122,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21078,18 +21194,501 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 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: + - *41 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *176 + examples: + default: &177 + 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: *43 + '403': *29 + 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: + - *41 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *176 + examples: + default: *177 + 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: + - *41 + - &178 + 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: &179 + 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: *43 + 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: + - *41 + - *178 + 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: *179 + 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: + - *41 + - *178 + 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: *179 + 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: + - *41 + - *178 + - *180 + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &181 + 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: + - *41 + - *178 + - *180 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *181 + 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: + - *41 + - *178 + - *180 + responses: + '204': + description: Response + '403': *29 + 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: + - *41 + - &182 + 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: *176 + examples: + default: *177 + headers: + Link: *43 + '403': *29 + 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: + - *41 + - *182 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *176 + examples: + default: *177 + headers: + Link: *43 + '403': *29 + 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: + - *41 + - *182 + responses: + '204': + description: Response + '403': *29 + 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 @@ -21173,7 +21772,7 @@ paths: application/json: schema: type: array - items: &203 + items: &211 title: Event description: Event type: object @@ -21183,7 +21782,7 @@ paths: type: type: string nullable: true - actor: &175 + actor: &183 title: Actor description: Actor type: object @@ -21223,18 +21822,18 @@ paths: - id - name - url - org: *175 + org: *183 payload: type: object properties: action: type: string - issue: &191 + issue: &199 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &629 + properties: &634 id: type: integer format: int64 @@ -21346,7 +21945,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &370 + properties: &375 url: type: string format: uri @@ -21416,7 +22015,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &371 + required: &376 - closed_issues - creator - description @@ -21495,7 +22094,7 @@ paths: timeline_url: type: string format: uri - type: &330 + type: &337 title: Issue Type description: The type of issue. type: object @@ -21544,7 +22143,7 @@ paths: - node_id - name - description - repository: *67 + repository: *69 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21554,9 +22153,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - author_association: &178 + properties: *184 + required: *185 + author_association: &186 title: author_association type: string example: OWNER @@ -21570,7 +22169,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &179 + reactions: &187 title: Reaction Rollup type: object properties: @@ -21606,7 +22205,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &764 + sub_issues_summary: &770 title: Sub-issues Summary type: object properties: @@ -21626,7 +22225,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &765 + issue_dependencies_summary: &771 title: Issue Dependencies Summary type: object properties: @@ -21645,7 +22244,7 @@ paths: - total_blocking issue_field_values: type: array - items: &766 + items: &772 title: Issue Field Value description: A value assigned to an issue field type: object @@ -21705,7 +22304,7 @@ paths: - node_id - data_type - value - required: &630 + required: &635 - assignee - closed_at - comments @@ -21726,7 +22325,7 @@ paths: - user - created_at - updated_at - comment: &627 + comment: &632 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -21774,7 +22373,7 @@ paths: issue_url: type: string format: uri - author_association: *178 + author_association: *186 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21784,9 +22383,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - id - node_id @@ -21881,7 +22480,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21962,7 +22561,7 @@ paths: _links: type: object properties: - timeline: &180 + timeline: &188 title: Link With Type description: Hypermedia Link with Type type: object @@ -21974,17 +22573,17 @@ paths: required: - href - type - user: *180 - security_advisories: *180 - current_user: *180 - current_user_public: *180 - current_user_actor: *180 - current_user_organization: *180 + user: *188 + security_advisories: *188 + current_user: *188 + current_user_public: *188 + current_user_actor: *188 + current_user_organization: *188 current_user_organizations: type: array - items: *180 - repository_discussions: *180 - repository_discussions_category: *180 + items: *188 + repository_discussions: *188 + repository_discussions_category: *188 required: - timeline - user @@ -22046,7 +22645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22056,7 +22655,7 @@ paths: application/json: schema: type: array - items: &182 + items: &190 title: Base Gist description: Base Gist type: object @@ -22155,7 +22754,7 @@ paths: - created_at - updated_at examples: - default: &183 + default: &191 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22200,7 +22799,7 @@ paths: site_admin: false truncated: false headers: - Link: *40 + Link: *43 '304': *37 '403': *29 x-github: @@ -22276,7 +22875,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &192 title: Gist Simple description: Gist Simple type: object @@ -22293,7 +22892,7 @@ paths: url: type: string format: uri - user: &778 + user: &784 title: Public User description: Public User type: object @@ -22655,7 +23254,7 @@ paths: truncated: type: boolean examples: - default: &185 + default: &193 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -22759,7 +23358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22769,11 +23368,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '403': *29 @@ -22793,7 +23392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22803,11 +23402,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '401': *25 '304': *37 '403': *29 @@ -22833,7 +23432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &186 + - &194 name: gist_id description: The unique identifier of the gist. in: path @@ -22845,10 +23444,10 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - default: *185 - '403': &189 + default: *193 + '403': &197 description: Forbidden Gist content: application/json: @@ -22896,7 +23495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *186 + - *194 requestBody: required: true content: @@ -22956,9 +23555,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - updateGist: *185 + updateGist: *193 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23116,7 +23715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23145,7 +23744,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23155,7 +23754,7 @@ paths: application/json: schema: type: array - items: &187 + items: &195 title: Gist Comment description: A comment made to a gist. type: object @@ -23190,7 +23789,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *178 + author_association: *186 required: - url - id @@ -23230,7 +23829,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -23255,7 +23854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *186 + - *194 requestBody: required: true content: @@ -23280,9 +23879,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: &188 + default: &196 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23340,8 +23939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *186 - - &190 + - *194 + - &198 name: comment_id description: The unique identifier of the comment. in: path @@ -23354,12 +23953,12 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: *188 + default: *196 '304': *37 '404': *6 - '403': *189 + '403': *197 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23381,8 +23980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *186 - - *190 + - *194 + - *198 requestBody: required: true content: @@ -23407,9 +24006,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: *188 + default: *196 '404': *6 x-github: githubCloudOnly: false @@ -23426,8 +24025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *186 - - *190 + - *194 + - *198 responses: '204': description: Response @@ -23450,7 +24049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23551,7 +24150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23561,7 +24160,7 @@ paths: application/json: schema: type: array - items: *184 + items: *192 examples: default: value: @@ -23607,7 +24206,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '404': *6 '304': *37 '403': *29 @@ -23626,13 +24225,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *186 + - *194 responses: '201': description: Response content: application/json: - schema: *182 + schema: *190 examples: default: value: @@ -23703,7 +24302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *186 + - *194 responses: '204': description: Response if gist is starred @@ -23733,7 +24332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23755,7 +24354,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23784,7 +24383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *186 + - *194 - name: sha in: path required: true @@ -23795,9 +24394,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - default: *185 + default: *193 '422': *15 '404': *6 '403': *29 @@ -23956,7 +24555,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *69 repository_selection: type: string example: selected @@ -24079,7 +24678,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '403': *29 '304': *37 '401': *25 @@ -24163,7 +24762,7 @@ paths: - closed - all default: open - - &333 + - &340 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24181,8 +24780,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - name: collab in: query required: false @@ -24212,9 +24811,9 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: &334 + default: &341 value: - id: 1 node_id: MDU6SXNzdWUx @@ -24459,7 +25058,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '404': *6 @@ -24498,8 +25097,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 examples: default: value: @@ -24784,7 +25383,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &194 + X-CommonMarker-Version: &202 example: 0.17.4 schema: type: string @@ -24839,7 +25438,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *194 + X-CommonMarker-Version: *202 content: text/html: schema: @@ -24868,7 +25467,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: - - &197 + - &205 name: account_id description: account_id parameter in: path @@ -24880,7 +25479,7 @@ paths: description: Response content: application/json: - schema: &196 + schema: &204 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -24910,7 +25509,7 @@ paths: nullable: true id: type: integer - plan: &195 + plan: &203 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -24999,7 +25598,7 @@ paths: nullable: true updated_at: type: string - plan: *195 + plan: *203 required: - url - id @@ -25007,7 +25606,7 @@ paths: - login - marketplace_purchase examples: - default: &198 + default: &206 value: url: https://api.github.com/orgs/github type: Organization @@ -25092,9 +25691,9 @@ paths: application/json: schema: type: array - items: *195 + items: *203 examples: - default: &199 + default: &207 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25112,7 +25711,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '404': *6 '401': *25 x-github: @@ -25134,14 +25733,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &200 + - &208 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &201 + - &209 name: sort description: The property to sort the results by. in: query @@ -25171,9 +25770,9 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: - default: &202 + default: &210 value: - url: https://api.github.com/orgs/github type: Organization @@ -25224,7 +25823,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '404': *6 '422': *15 '401': *25 @@ -25247,15 +25846,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: - - *197 + - *205 responses: '200': description: Response content: application/json: - schema: *196 + schema: *204 examples: - default: *198 + default: *206 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25287,11 +25886,11 @@ paths: application/json: schema: type: array - items: *195 + items: *203 examples: - default: *199 + default: *207 headers: - Link: *40 + Link: *43 '401': *25 x-github: githubCloudOnly: false @@ -25312,8 +25911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *200 - - *201 + - *208 + - *209 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25333,11 +25932,11 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: - default: *202 + default: *210 headers: - Link: *40 + Link: *43 '401': *25 x-github: githubCloudOnly: false @@ -25599,14 +26198,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: - - &435 + - &440 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &436 + - &441 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -25623,7 +26222,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -25677,7 +26276,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &449 + '301': &454 description: Moved permanently content: application/json: @@ -25699,7 +26298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &659 + - &664 name: all description: If `true`, show notifications marked as read. in: query @@ -25707,7 +26306,7 @@ paths: schema: type: boolean default: false - - &660 + - &665 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -25716,8 +26315,8 @@ paths: schema: type: boolean default: false - - *181 - - &661 + - *189 + - &666 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: @@ -25742,18 +26341,18 @@ paths: application/json: schema: type: array - items: &204 + items: &212 title: Thread description: Thread type: object properties: id: type: string - repository: &241 + repository: &249 title: Minimal Repository description: Minimal Repository type: object - properties: &303 + properties: &310 id: type: integer format: int64 @@ -26029,7 +26628,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &381 + security_and_analysis: &386 nullable: true type: object properties: @@ -26111,7 +26710,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &304 + required: &311 - archive_url - assignees_url - blobs_url @@ -26199,7 +26798,7 @@ paths: - url - subscription_url examples: - default: &662 + default: &667 value: - id: '1' repository: @@ -26281,7 +26880,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -26365,7 +26964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &205 + - &213 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 @@ -26379,7 +26978,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *212 examples: default: value: @@ -26482,7 +27081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *205 + - *213 responses: '205': description: Reset Content @@ -26505,7 +27104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *205 + - *213 responses: '204': description: No content @@ -26528,13 +27127,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: - - *205 + - *213 responses: '200': description: Response content: application/json: - schema: &206 + schema: &214 title: Thread Subscription description: Thread Subscription type: object @@ -26571,7 +27170,7 @@ paths: - url - subscribed examples: - default: &207 + default: &215 value: subscribed: true ignored: false @@ -26602,7 +27201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *205 + - *213 requestBody: required: false content: @@ -26623,9 +27222,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *214 examples: - default: *207 + default: *215 '304': *37 '403': *29 '401': *25 @@ -26648,7 +27247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *205 + - *213 responses: '204': description: Response @@ -26743,9 +27342,9 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: &795 + default: &801 value: - login: github id: 1 @@ -26809,7 +27408,7 @@ paths: type: integer custom_roles: type: array - items: &285 + items: &292 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -26857,7 +27456,7 @@ paths: - created_at - updated_at examples: - default: &286 + default: &293 value: id: 8030 name: Security Engineer @@ -26904,7 +27503,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: - - *76 + - *78 - name: page in: query description: The page number of results to fetch. @@ -26948,8 +27547,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *208 - required: *209 + properties: *216 + required: *217 nullable: true additionalProperties: false examples: @@ -27055,7 +27654,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: - - *76 + - *78 requestBody: required: true content: @@ -27121,7 +27720,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: - - *76 + - *78 requestBody: required: true content: @@ -27168,23 +27767,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: - - *76 - - *210 - - *211 - - *212 - - *213 + - *78 + - *218 + - *219 + - *220 + - *221 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *214 + schema: *222 examples: - default: *215 + default: *223 '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27210,13 +27809,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &216 + schema: &224 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -27549,7 +28148,7 @@ paths: - updated_at - archived_at examples: - default-response: &217 + default-response: &225 value: login: github id: 1 @@ -27651,7 +28250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *76 + - *78 requestBody: required: false content: @@ -27874,18 +28473,18 @@ paths: description: Response content: application/json: - schema: *216 + schema: *224 examples: - default: *217 + default: *225 '422': description: Validation failed content: application/json: schema: oneOf: - - *218 - - *219 - '409': *108 + - *226 + - *227 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27908,7 +28507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *78 responses: '202': *39 '404': *6 @@ -27933,17 +28532,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *220 + schema: *228 examples: - default: *221 + default: *229 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27964,7 +28563,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: - - *76 + - *78 - *17 - *19 responses: @@ -27982,7 +28581,7 @@ paths: type: integer repository_cache_usages: type: array - items: &454 + items: &459 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28017,7 +28616,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28037,7 +28636,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: - - *76 + - *78 - *17 - *19 responses: @@ -28055,11 +28654,11 @@ paths: type: integer runners: type: array - items: *42 + items: *44 examples: - default: *222 + default: *230 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28077,7 +28676,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: - - *76 + - *78 requestBody: required: true content: @@ -28144,9 +28743,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28164,7 +28763,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: - - *76 + - *78 responses: '200': description: Response @@ -28180,9 +28779,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28200,7 +28799,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: - - *76 + - *78 responses: '200': description: Response @@ -28216,9 +28815,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28235,15 +28834,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *223 + schema: *231 examples: - default: *224 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28261,7 +28860,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: - - *76 + - *78 responses: '200': description: Response @@ -28277,9 +28876,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *47 examples: - default: *225 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28297,7 +28896,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: - - *76 + - *78 responses: '200': description: Response @@ -28341,18 +28940,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: - - *76 - - *47 + - *78 + - *49 responses: '200': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28370,8 +28969,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: - - *76 - - *47 + - *78 + - *49 requestBody: required: true content: @@ -28409,9 +29008,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28427,16 +29026,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: - - *76 - - *47 + - *78 + - *49 responses: '202': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28456,13 +29055,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: - - *76 + - *78 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &226 + schema: &234 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -28476,7 +29075,7 @@ paths: required: - include_claim_keys examples: - default: &227 + default: &235 value: include_claim_keys: - repo @@ -28498,20 +29097,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *226 + schema: *234 examples: - default: *227 + default: *235 responses: '201': description: Empty response content: application/json: - schema: &252 + schema: &260 title: Empty Object description: An object without any properties. type: object @@ -28541,7 +29140,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: - - *76 + - *78 responses: '200': description: Response @@ -28550,7 +29149,7 @@ paths: schema: type: object properties: - enabled_repositories: &229 + enabled_repositories: &237 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -28563,9 +29162,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: *49 - selected_actions_url: *228 - sha_pinning_required: *50 + allowed_actions: *51 + selected_actions_url: *236 + sha_pinning_required: *52 required: - enabled_repositories examples: @@ -28595,7 +29194,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: - - *76 + - *78 responses: '204': description: Response @@ -28606,9 +29205,9 @@ paths: schema: type: object properties: - enabled_repositories: *229 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_repositories: *237 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled_repositories examples: @@ -28636,13 +29235,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: response: summary: Example response @@ -28668,12 +29267,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *231 + schema: *239 examples: application/json: value: @@ -28683,7 +29282,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -28703,15 +29302,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *51 + schema: *53 examples: - default: *232 + default: *240 '404': *6 x-github: enabledForGitHubApps: true @@ -28730,7 +29329,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: - - *76 + - *78 responses: '204': description: Response @@ -28740,7 +29339,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -28762,15 +29361,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *233 + schema: *241 examples: - default: *52 + default: *54 '403': *29 '404': *6 x-github: @@ -28788,14 +29387,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *234 + schema: *242 examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -28825,7 +29424,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: - - *76 + - *78 - *17 - *19 responses: @@ -28843,9 +29442,9 @@ paths: type: number repositories: type: array - items: *67 + items: *69 examples: - default: &236 + default: &244 value: total_count: 1 repositories: @@ -28985,7 +29584,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: - - *76 + - *78 responses: '204': description: Response @@ -29029,8 +29628,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: - - *76 - - &235 + - *78 + - &243 name: repository_id description: The unique identifier of the repository. in: path @@ -29058,8 +29657,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: Response @@ -29082,15 +29681,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *54 + schema: *56 examples: - default: *55 + default: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29113,7 +29712,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: - - *76 + - *78 responses: '204': description: Response @@ -29121,9 +29720,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29143,7 +29742,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: - - *76 + - *78 responses: '200': description: Response @@ -29191,7 +29790,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: - - *76 + - *78 requestBody: required: true content: @@ -29218,7 +29817,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29238,7 +29837,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: - - *76 + - *78 - *17 - *19 responses: @@ -29253,9 +29852,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *69 examples: - default: *236 + default: *244 '403': *29 '404': *6 x-github: @@ -29275,7 +29874,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: - - *76 + - *78 requestBody: required: true content: @@ -29323,14 +29922,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29350,14 +29949,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29379,15 +29978,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *237 + schema: *245 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29408,7 +30007,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: - - *76 + - *78 responses: '204': description: Success response @@ -29419,9 +30018,9 @@ paths: required: false content: application/json: - schema: *238 + schema: *246 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29441,7 +30040,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: - - *76 + - *78 - *17 - *19 - name: visible_to_repository @@ -29466,7 +30065,7 @@ paths: type: number runner_groups: type: array - items: &239 + items: &247 type: object properties: id: @@ -29582,7 +30181,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: - - *76 + - *78 requestBody: required: true content: @@ -29654,9 +30253,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *247 examples: - default: &240 + default: &248 value: id: 2 name: octo-runner-group @@ -29691,14 +30290,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: - - *76 - - *61 + - *78 + - *63 responses: '200': description: Response content: application/json: - schema: *239 + schema: *247 examples: default: value: @@ -29734,8 +30333,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -29789,9 +30388,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *247 examples: - default: *240 + default: *248 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29810,8 +30409,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: - - *76 - - *61 + - *78 + - *63 responses: '204': description: Response @@ -29834,8 +30433,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: - - *76 - - *61 + - *78 + - *63 - *17 - *19 responses: @@ -29853,11 +30452,11 @@ paths: type: number runners: type: array - items: *42 + items: *44 examples: - default: *222 + default: *230 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29877,8 +30476,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: - - *76 - - *61 + - *78 + - *63 - *19 - *17 responses: @@ -29896,9 +30495,9 @@ paths: type: number repositories: type: array - items: *241 + items: *249 examples: - default: &781 + default: &787 value: total_count: 1 repositories: @@ -30150,8 +30749,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -30195,9 +30794,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: - - *76 - - *61 - - *235 + - *78 + - *63 + - *243 responses: '204': description: Response @@ -30219,9 +30818,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: - - *76 - - *61 - - *235 + - *78 + - *63 + - *243 responses: '204': description: Response @@ -30244,8 +30843,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: - - *76 - - *61 + - *78 + - *63 - *17 - *19 responses: @@ -30263,11 +30862,11 @@ paths: type: number runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30286,8 +30885,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -30331,9 +30930,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: - - *76 - - *61 - - *64 + - *78 + - *63 + - *66 responses: '204': description: Response @@ -30355,9 +30954,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: - - *76 - - *61 - - *64 + - *78 + - *63 + - *66 responses: '204': description: Response @@ -30387,7 +30986,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -30405,11 +31004,11 @@ paths: type: integer runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30431,7 +31030,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: - - *76 + - *78 responses: '200': description: Response @@ -30439,9 +31038,9 @@ paths: application/json: schema: type: array - items: *242 + items: *250 examples: - default: *243 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30463,7 +31062,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: - - *76 + - *78 requestBody: required: true content: @@ -30506,10 +31105,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *244 + '201': *252 '404': *6 '422': *7 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30537,15 +31136,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: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *245 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30573,15 +31172,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: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30603,16 +31202,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: - - *76 - - *64 + - *78 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: *247 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30633,8 +31232,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: - - *76 - - *64 + - *78 + - *66 responses: '204': description: Response @@ -30660,10 +31259,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: - - *76 - - *64 + - *78 + - *66 responses: - '200': *70 + '200': *72 '404': *6 x-github: githubCloudOnly: false @@ -30685,8 +31284,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: - - *76 - - *64 + - *78 + - *66 requestBody: required: true content: @@ -30710,7 +31309,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30734,8 +31333,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: - - *76 - - *64 + - *78 + - *66 requestBody: required: true content: @@ -30760,7 +31359,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30784,10 +31383,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: - - *76 - - *64 + - *78 + - *66 responses: - '200': *248 + '200': *256 '404': *6 x-github: githubCloudOnly: false @@ -30814,11 +31413,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: - - *76 - - *64 - - *249 + - *78 + - *66 + - *257 responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30843,7 +31442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -30861,7 +31460,7 @@ paths: type: integer secrets: type: array - items: &250 + items: &258 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -30911,7 +31510,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30934,13 +31533,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &474 + schema: &479 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30969,7 +31568,7 @@ paths: - key_id - key examples: - default: &475 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30994,8 +31593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &251 + - *78 + - &259 name: secret_name description: The name of the secret. in: path @@ -31007,7 +31606,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *258 examples: default: value: @@ -31037,8 +31636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -31095,7 +31694,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -31121,8 +31720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -31148,8 +31747,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -31167,9 +31766,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: &255 + default: &263 value: total_count: 1 repositories: @@ -31261,8 +31860,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -31314,8 +31913,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -31348,8 +31947,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -31381,8 +31980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *76 - - &459 + - *78 + - &464 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)." @@ -31406,7 +32005,7 @@ paths: type: integer variables: type: array - items: &253 + items: &261 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -31470,7 +32069,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31491,7 +32090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *78 requestBody: required: true content: @@ -31539,7 +32138,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -31564,8 +32163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &254 + - *78 + - &262 name: name description: The name of the variable. in: path @@ -31577,7 +32176,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *261 examples: default: value: @@ -31607,8 +32206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *254 + - *78 + - *262 requestBody: required: true content: @@ -31670,8 +32269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *254 + - *78 + - *262 responses: '204': description: Response @@ -31697,8 +32296,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: - - *76 - - *254 + - *78 + - *262 - *19 - *17 responses: @@ -31716,9 +32315,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 '409': description: Response when the visibility of the variable is not set to `selected` @@ -31744,8 +32343,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: - - *76 - - *254 + - *78 + - *262 requestBody: required: true content: @@ -31794,8 +32393,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: - - *76 - - *254 + - *78 + - *262 - name: repository_id in: path required: true @@ -31829,8 +32428,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: - - *76 - - *254 + - *78 + - *262 - name: repository_id in: path required: true @@ -31861,15 +32460,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31888,19 +32487,19 @@ paths: required: true content: application/json: - schema: *256 + schema: *264 examples: - default: *74 + default: *76 parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31916,7 +32515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -31939,7 +32538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -32027,10 +32626,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -32069,7 +32670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -32152,9 +32753,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *98 - *99 - - *76 + - *100 + - *78 requestBody: required: true content: @@ -32177,12 +32778,12 @@ paths: required: - subject_digests examples: - default: &814 + default: &820 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &815 + withPredicateType: &821 value: subject_digests: - sha256:abc123 @@ -32240,7 +32841,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &816 + default: &822 value: attestations_subject_digests: - sha256:abc: @@ -32349,7 +32950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *78 requestBody: required: true content: @@ -32414,7 +33015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *78 - name: subject_digest description: Subject Digest in: path @@ -32445,7 +33046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *78 - name: attestation_id description: Attestation ID in: path @@ -32481,9 +33082,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *98 - *99 - - *76 + - *100 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -32534,7 +33135,7 @@ paths: bundle_url: type: string examples: - default: &488 + default: &493 value: attestations: - bundle: @@ -32652,7 +33253,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: - - *76 + - *78 - 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). @@ -32660,10 +33261,10 @@ paths: required: false schema: type: string - - *257 - - *258 - - *259 - - *260 + - *265 + - *266 + - *267 + - *268 - *17 responses: '200': @@ -32672,9 +33273,9 @@ paths: application/json: schema: type: array - items: *261 + items: *269 examples: - default: *262 + default: *270 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32691,7 +33292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32703,26 +33304,7 @@ paths: type: array items: *4 examples: - default: &335 - 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: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32741,8 +33323,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: If the user is blocked @@ -32767,8 +33349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -32788,8 +33370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -32815,17 +33397,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *76 - - &266 + - *78 + - &273 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *93 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -32835,11 +33417,11 @@ paths: application/json: schema: type: array - items: *264 + items: *271 examples: - default: *265 + default: *272 '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -32860,12 +33442,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *76 - - *266 - - *93 + - *78 + - *273 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -32875,11 +33457,11 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -32896,15 +33478,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *78 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &270 + schema: &277 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -32930,7 +33512,7 @@ paths: application/json: schema: type: array - items: &271 + items: &278 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -32961,7 +33543,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *269 + items: *276 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32979,7 +33561,7 @@ paths: type: string format: date-time nullable: true - state: *270 + state: *277 contact_link: description: The contact link of the campaign. type: string @@ -33074,9 +33656,9 @@ paths: closed_at: state: open headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33100,7 +33682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -33194,9 +33776,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: &272 + default: &279 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33245,7 +33827,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33267,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33279,16 +33861,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33309,7 +33891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33358,7 +33940,7 @@ paths: type: string format: uri nullable: true - state: *270 + state: *277 examples: default: value: @@ -33368,9 +33950,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '400': description: Bad Request content: @@ -33382,7 +33964,7 @@ paths: content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33403,7 +33985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33414,7 +33996,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33436,20 +34018,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: - - *76 - - *273 - - *274 - - *98 + - *78 + - *280 + - *281 - *99 + - *100 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *275 + schema: *282 - name: sort description: The property by which to sort the results. in: query @@ -33465,7 +34047,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &520 type: string description: Severity of a code scanning alert. enum: @@ -33483,13 +34065,13 @@ paths: application/json: schema: type: array - items: *276 + items: *283 examples: - default: *277 + default: *284 headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33511,7 +34093,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: - - *76 + - *78 - name: target_type in: query description: The target type of the code security configuration @@ -33530,8 +34112,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 responses: '200': description: Response @@ -33539,7 +34121,7 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: default: value: @@ -33622,7 +34204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *78 requestBody: required: true content: @@ -33700,7 +34282,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *278 + code_scanning_options: *285 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -33709,7 +34291,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33841,9 +34423,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *104 + schema: *105 examples: - default: *279 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33865,15 +34447,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *280 + schema: *287 examples: - default: *281 + default: *288 '304': *37 '403': *29 '404': *6 @@ -33899,7 +34481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -33925,11 +34507,11 @@ paths: - 32 - 91 responses: - '204': *132 + '204': *133 '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33951,16 +34533,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 responses: '200': description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *279 + default: *286 '304': *37 '403': *29 '404': *6 @@ -33984,8 +34566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34064,7 +34646,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34182,7 +34764,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *104 + schema: *105 examples: default: value: @@ -34241,14 +34823,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 responses: - '204': *132 + '204': *133 '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34272,8 +34854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34336,8 +34918,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: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34377,12 +34959,12 @@ paths: - none - private_and_internal - public - configuration: *104 + configuration: *105 examples: default: value: default_for_new_repos: all - configuration: *279 + configuration: *286 '403': *29 '404': *6 x-github: @@ -34406,8 +34988,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: - - *76 - - *106 + - *78 + - *107 - 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)." @@ -34416,8 +34998,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -34435,13 +35017,13 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *283 + repository: *290 '403': *29 '404': *6 x-github: @@ -34465,7 +35047,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -34481,7 +35063,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &342 type: object title: Codespace description: A codespace. @@ -34506,12 +35088,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *241 + repository: *249 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &544 + properties: &549 name: type: string description: The name of the machine. @@ -34553,7 +35135,7 @@ paths: - ready - in_progress nullable: true - required: &545 + required: &550 - name - display_name - operating_system @@ -34758,7 +35340,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &343 value: total_count: 3 codespaces: @@ -35168,7 +35750,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -35190,7 +35772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -35234,7 +35816,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35257,7 +35839,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: - - *76 + - *78 deprecated: true requestBody: required: true @@ -35289,7 +35871,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35312,7 +35894,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *78 requestBody: required: true content: @@ -35343,7 +35925,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35364,7 +35946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -35382,7 +35964,7 @@ paths: type: integer secrets: type: array - items: &284 + items: &291 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35421,7 +36003,7 @@ paths: - updated_at - visibility examples: - default: &546 + default: &551 value: total_count: 2 secrets: @@ -35434,7 +36016,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35453,13 +36035,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &547 + schema: &552 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35488,7 +36070,7 @@ paths: - key_id - key examples: - default: &548 + default: &553 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35511,23 +36093,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '200': description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: &550 + default: &555 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35547,8 +36129,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -35603,7 +36185,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -35629,8 +36211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -35655,8 +36237,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -35674,9 +36256,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 '404': *6 x-github: githubCloudOnly: false @@ -35698,8 +36280,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -35749,8 +36331,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -35783,8 +36365,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -35823,7 +36405,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: - - *76 + - *78 responses: '200': description: OK @@ -35932,7 +36514,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -35964,7 +36546,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: - - *76 + - *78 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -35987,12 +36569,12 @@ paths: currently being billed. seats: type: array - items: *123 + items: *124 examples: - default: *124 + default: *125 headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36025,7 +36607,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: - - *76 + - *78 requestBody: content: application/json: @@ -36067,7 +36649,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36103,7 +36685,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: - - *76 + - *78 requestBody: content: application/json: @@ -36145,7 +36727,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36183,7 +36765,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: - - *76 + - *78 requestBody: content: application/json: @@ -36224,7 +36806,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36260,7 +36842,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: - - *76 + - *78 requestBody: content: application/json: @@ -36302,7 +36884,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36341,7 +36923,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: - - *76 + - *78 - 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`). @@ -36373,13 +36955,13 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36401,7 +36983,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -36545,7 +37127,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: - - *76 + - *78 - name: credential_id in: path required: true @@ -36576,7 +37158,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: - - *76 + - *78 responses: '200': description: Response - list of custom role names @@ -36591,7 +37173,7 @@ paths: type: integer custom_roles: type: array - items: *285 + items: *292 examples: default: value: @@ -36678,12 +37260,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &288 + schema: &295 type: object properties: name: @@ -36724,9 +37306,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36750,8 +37332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *76 - - &287 + - *78 + - &294 name: role_id description: The unique identifier of the role. in: path @@ -36763,9 +37345,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '404': *6 x-github: githubCloudOnly: true @@ -36787,13 +37369,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: application/json: - schema: &289 + schema: &296 type: object properties: name: @@ -36831,9 +37413,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36857,8 +37439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -36886,12 +37468,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *288 + schema: *295 examples: default: value: @@ -36905,9 +37487,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36937,16 +37519,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: - - *76 - - *287 + - *78 + - *294 responses: '200': description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '404': *6 x-github: githubCloudOnly: true @@ -36974,13 +37556,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: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: application/json: - schema: *289 + schema: *296 examples: default: value: @@ -36995,9 +37577,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -37027,8 +37609,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: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -37056,12 +37638,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *290 - - *291 - - *292 - - *293 - - *294 + - *78 + - *297 + - *298 + - *299 + - *300 + - *301 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37077,14 +37659,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *295 - - *296 - - *297 - - *100 - - *98 + - *302 + - *303 + - *304 + - *101 - *99 - - *298 - - *299 + - *100 + - *305 + - *306 - *17 responses: '200': @@ -37093,9 +37675,9 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: - default: *301 + default: *308 '304': *37 '400': *14 '403': *29 @@ -37121,7 +37703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -37139,7 +37721,7 @@ paths: type: integer secrets: type: array - items: &302 + items: &309 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37189,7 +37771,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37210,13 +37792,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &575 + schema: &580 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37233,7 +37815,7 @@ paths: - key_id - key examples: - default: &576 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37256,14 +37838,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '200': description: Response content: application/json: - schema: *302 + schema: *309 examples: default: value: @@ -37291,8 +37873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -37347,7 +37929,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -37371,8 +37953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -37396,8 +37978,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -37415,9 +37997,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37438,8 +38020,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -37489,8 +38071,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -37521,8 +38103,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -37558,8 +38140,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - &584 + - *78 + - &589 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -37567,7 +38149,7 @@ paths: required: false schema: type: string - - &585 + - &590 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -37575,7 +38157,7 @@ paths: required: false schema: type: string - - &586 + - &591 name: time_period description: |- The time period to filter by. @@ -37591,7 +38173,7 @@ paths: - week - month default: month - - &587 + - &592 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -37606,7 +38188,7 @@ paths: - denied - all default: all - - *266 + - *273 - *17 - *19 responses: @@ -37616,7 +38198,7 @@ paths: application/json: schema: type: array - items: &588 + items: &593 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -37772,7 +38354,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &589 + default: &594 value: - id: 21 number: 42 @@ -37837,7 +38419,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -37858,12 +38440,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - *266 - - *93 + - *78 + - *273 - *94 - *95 - - &590 + - *96 + - &595 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -37889,7 +38471,7 @@ paths: application/json: schema: type: array - items: &591 + items: &596 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -37999,7 +38581,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *97 + items: *98 url: type: string format: uri @@ -38010,7 +38592,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &592 + default: &597 value: - id: 21 number: 42 @@ -38075,7 +38657,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *91 + '500': *40 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -38090,7 +38672,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: - - *76 + - *78 responses: '200': description: Response @@ -38098,7 +38680,7 @@ paths: application/json: schema: type: array - items: &348 + items: &353 title: Package description: A software package type: object @@ -38148,8 +38730,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *303 - required: *304 + properties: *310 + required: *311 nullable: true created_at: type: string @@ -38168,7 +38750,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &354 value: - id: 197 name: hello_docker @@ -38246,7 +38828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38256,7 +38838,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: 200-response: value: @@ -38326,7 +38908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *76 + - *78 - name: group_id description: The unique identifier of the group. in: path @@ -38352,7 +38934,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &435 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -38433,7 +39015,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &431 + default: &436 value: group_id: '123' group_name: Octocat admins @@ -38471,7 +39053,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -38488,7 +39070,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &433 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -38525,7 +39107,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &429 + default: &434 value: groups: - group_id: '123' @@ -38559,7 +39141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38569,7 +39151,7 @@ paths: application/json: schema: type: array - items: &327 + items: &334 title: Organization Invitation description: Organization Invitation type: object @@ -38616,7 +39198,7 @@ paths: - invitation_teams_url - node_id examples: - default: &328 + default: &335 value: - id: 1 login: monalisa @@ -38649,7 +39231,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -38675,7 +39257,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: - - *76 + - *78 responses: '200': description: Response @@ -38683,7 +39265,7 @@ paths: application/json: schema: type: array - items: &382 + items: &387 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -38697,7 +39279,7 @@ paths: - name - description examples: - default: &383 + default: &388 value: - name: add_assignee description: Assign or remove a user @@ -38728,7 +39310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38738,7 +39320,7 @@ paths: application/json: schema: type: array - items: &305 + items: &312 title: Org Hook description: Org Hook type: object @@ -38826,7 +39408,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -38847,7 +39429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *78 requestBody: required: true content: @@ -38907,9 +39489,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: - default: &306 + default: &313 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38953,8 +39535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &307 + - *78 + - &314 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. @@ -38967,9 +39549,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: - default: *306 + default: *313 '404': *6 x-github: githubCloudOnly: false @@ -38990,8 +39572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 requestBody: required: false content: @@ -39036,7 +39618,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: default: value: @@ -39075,8 +39657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 responses: '204': description: Response @@ -39101,8 +39683,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: - - *76 - - *307 + - *78 + - *314 responses: '200': description: Response @@ -39130,8 +39712,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: - - *76 - - *307 + - *78 + - *314 requestBody: required: false content: @@ -39179,10 +39761,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 - *17 - - *308 + - *315 responses: '200': description: Response @@ -39190,9 +39772,9 @@ paths: application/json: schema: type: array - items: *309 + items: *316 examples: - default: *310 + default: *317 '400': *14 '422': *15 x-github: @@ -39215,17 +39797,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: - - *76 - - *307 + - *78 + - *314 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *318 examples: - default: *312 + default: *319 '400': *14 '422': *15 x-github: @@ -39248,8 +39830,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: - - *76 - - *307 + - *78 + - *314 - *16 responses: '202': *39 @@ -39275,8 +39857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 responses: '204': description: Response @@ -39298,8 +39880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &317 + - *78 + - &324 name: actor_type in: path description: The type of the actor @@ -39312,14 +39894,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &318 + - &325 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &313 + - &320 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`.' @@ -39327,7 +39909,7 @@ paths: required: true schema: type: string - - &314 + - &321 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) @@ -39338,7 +39920,7 @@ paths: type: string - *19 - *17 - - *100 + - *101 - name: sort description: The property to sort the results by. in: query @@ -39420,13 +40002,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *313 - - *314 + - *78 + - *320 + - *321 - *19 - *17 - - *100 - - &323 + - *101 + - &330 name: sort description: The property to sort the results by. in: query @@ -39504,15 +40086,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *313 - - *314 + - *78 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &315 + schema: &322 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39528,7 +40110,7 @@ paths: type: integer format: int64 examples: - default: &316 + default: &323 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39548,24 +40130,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &319 + - *78 + - &326 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *313 - - *314 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *315 + schema: *322 examples: - default: *316 + default: *323 x-github: enabledForGitHubApps: true category: orgs @@ -39583,19 +40165,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *313 - - *314 - - *317 - - *318 + - *78 + - *320 + - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *315 + schema: *322 examples: - default: *316 + default: *323 x-github: enabledForGitHubApps: true category: orgs @@ -39612,10 +40194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *313 - - *314 - - &320 + - *78 + - *320 + - *321 + - &327 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39628,7 +40210,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &328 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39644,7 +40226,7 @@ paths: type: integer format: int64 examples: - default: &322 + default: &329 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39680,19 +40262,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *319 - - *313 - - *314 + - *78 + - *326 - *320 + - *321 + - *327 responses: '200': description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -39709,20 +40291,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *317 - - *318 - - *313 - - *314 + - *78 + - *324 + - *325 - *320 + - *321 + - *327 responses: '200': description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -39739,14 +40321,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *319 - - *313 - - *314 + - *78 + - *326 + - *320 + - *321 - *19 - *17 - - *100 - - *323 + - *101 + - *330 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39819,7 +40401,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: - - *76 + - *78 responses: '200': description: Response @@ -39827,7 +40409,7 @@ paths: application/json: schema: *22 examples: - default: &623 + default: &628 value: id: 1 account: @@ -39896,7 +40478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -39966,7 +40548,7 @@ paths: suspended_at: suspended_by: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39985,7 +40567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -39993,12 +40575,12 @@ paths: application/json: schema: anyOf: - - &325 + - &332 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &324 + limit: &331 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40023,7 +40605,7 @@ paths: properties: {} additionalProperties: false examples: - default: &326 + default: &333 value: limit: collaborators_only origin: organization @@ -40047,18 +40629,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &624 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *324 + limit: *331 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40082,9 +40664,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: - default: *326 + default: *333 '422': *15 x-github: githubCloudOnly: false @@ -40102,7 +40684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -40128,7 +40710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *78 - *17 - *19 - name: role @@ -40162,11 +40744,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40188,7 +40770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *78 requestBody: required: false content: @@ -40242,7 +40824,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: default: value: @@ -40298,8 +40880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &329 + - *78 + - &336 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40332,8 +40914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *329 + - *78 + - *336 - *17 - *19 responses: @@ -40343,9 +40925,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: &347 + default: &352 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40361,7 +40943,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40380,7 +40962,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: - - *76 + - *78 responses: '200': description: Response @@ -40388,7 +40970,7 @@ paths: application/json: schema: type: array - items: *330 + items: *337 examples: default: value: @@ -40426,7 +41008,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: - - *76 + - *78 requestBody: required: true content: @@ -40473,9 +41055,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &331 + default: &338 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40507,8 +41089,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: - - *76 - - &332 + - *78 + - &339 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40561,9 +41143,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '422': *7 x-github: @@ -40587,8 +41169,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: - - *76 - - *332 + - *78 + - *339 responses: '204': description: Response @@ -40621,7 +41203,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: - - *76 + - *78 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -40651,7 +41233,7 @@ paths: - closed - all default: open - - *333 + - *340 - name: type description: Can be the name of an issue type. in: query @@ -40669,8 +41251,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -40680,11 +41262,11 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *334 + default: *341 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40704,7 +41286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *76 + - *78 - 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) @@ -40742,9 +41324,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -40762,8 +41344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response if requester is an organization member and user is @@ -40797,8 +41379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -40824,8 +41406,8 @@ paths: parameters: - *17 - *19 - - *76 - - *263 + - *78 + - *180 responses: '200': description: Response @@ -40841,11 +41423,11 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: - default: *337 + default: *343 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -40868,9 +41450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *263 - - &338 + - *78 + - *180 + - &344 name: codespace_name in: path required: true @@ -40880,7 +41462,7 @@ paths: responses: '202': *39 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -40903,17 +41485,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: - - *76 - - *263 - - *338 + - *78 + - *180 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: &543 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41055,7 +41637,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -41086,14 +41668,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: - - *76 - - *263 + - *78 + - *180 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *123 + schema: *124 examples: default: value: @@ -41137,7 +41719,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': *40 '401': *25 '403': *29 '404': *6 @@ -41162,14 +41744,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '200': description: Response content: application/json: - schema: &339 + schema: &345 title: Org Membership description: Org Membership type: object @@ -41213,7 +41795,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *62 + organization: *64 user: title: Simple User description: A GitHub user. @@ -41236,7 +41818,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &340 + response-if-user-has-an-active-admin-membership-with-organization: &346 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41304,8 +41886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 requestBody: required: false content: @@ -41333,9 +41915,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *346 '422': *15 '403': *29 x-github: @@ -41359,8 +41941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -41385,7 +41967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *78 - *17 - *19 - name: exclude @@ -41406,7 +41988,7 @@ paths: application/json: schema: type: array - items: &341 + items: &347 title: Migration description: A migration. type: object @@ -41447,7 +42029,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *69 url: type: string format: uri @@ -41643,7 +42225,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41659,7 +42241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *78 requestBody: required: true content: @@ -41735,7 +42317,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -41913,8 +42495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &342 + - *78 + - &348 name: migration_id description: The unique identifier of the migration. in: path @@ -41941,7 +42523,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -42110,8 +42692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *342 + - *78 + - *348 responses: '302': description: Response @@ -42132,8 +42714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *342 + - *78 + - *348 responses: '204': description: Response @@ -42156,9 +42738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *342 - - &794 + - *78 + - *348 + - &800 name: repo_name description: repo_name parameter in: path @@ -42185,8 +42767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *342 + - *78 + - *348 - *17 - *19 responses: @@ -42196,9 +42778,9 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: &354 + default: &359 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42309,7 +42891,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -42337,7 +42919,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: - - *76 + - *78 responses: '200': description: Response @@ -42391,7 +42973,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: - - *76 + - *78 responses: '200': description: Response - list of organization roles @@ -42407,7 +42989,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &349 title: Organization Role description: Organization roles type: object @@ -42567,7 +43149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *76 + - *78 requestBody: required: true content: @@ -42614,7 +43196,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42643,7 +43225,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42665,14 +43247,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: - - *76 - - &344 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *78 + - *182 responses: '204': description: Response @@ -42697,9 +43273,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: - - *76 - - *344 - - *287 + - *78 + - *182 + - *294 responses: '204': description: Response @@ -42728,9 +43304,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: - - *76 - - *344 - - *287 + - *78 + - *182 + - *294 responses: '204': description: Response @@ -42755,8 +43331,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -42781,9 +43357,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: - - *76 - - *263 - - *287 + - *78 + - *180 + - *294 responses: '204': description: Response @@ -42813,9 +43389,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: - - *76 - - *263 - - *287 + - *78 + - *180 + - *294 responses: '204': description: Response @@ -42843,14 +43419,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '200': description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42907,8 +43483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: @@ -42947,7 +43523,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42975,7 +43551,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *108 + '409': *109 '404': *6 x-github: githubCloudOnly: true @@ -43000,8 +43576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -43026,8 +43602,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: - - *76 - - *287 + - *78 + - *294 - *17 - *19 responses: @@ -43105,8 +43681,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 nullable: true required: - id @@ -43121,9 +43697,9 @@ paths: - slug - parent examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '404': description: Response if the organization or role does not exist. '422': @@ -43150,8 +43726,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: - - *76 - - *287 + - *78 + - *294 - *17 - *19 responses: @@ -43179,13 +43755,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &402 + items: &407 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 name: nullable: true type: string @@ -43280,9 +43856,9 @@ paths: - type - url examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': description: Response if the organization or role does not exist. '422': @@ -43304,7 +43880,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: - - *76 + - *78 - 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) @@ -43331,9 +43907,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43356,8 +43932,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: - - *76 - - *263 + - *78 + - *180 requestBody: required: false content: @@ -43414,8 +43990,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -43472,8 +44048,8 @@ paths: - docker - nuget - container - - *76 - - &796 + - *78 + - &802 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43509,12 +44085,12 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *349 + default: *354 '403': *29 '401': *25 - '400': &798 + '400': &804 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43536,7 +44112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &350 + - &355 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 @@ -43554,20 +44130,20 @@ paths: - docker - nuget - container - - &351 + - &356 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: default: value: @@ -43619,9 +44195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 responses: '204': description: Response @@ -43653,9 +44229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 - name: token description: package token schema: @@ -43687,9 +44263,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: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 - *19 - *17 - name: state @@ -43709,7 +44285,7 @@ paths: application/json: schema: type: array - items: &352 + items: &357 title: Package Version description: A version of a software package type: object @@ -43834,10 +44410,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: - - *350 - - *351 - - *76 - - &353 + - *355 + - *356 + - *78 + - &358 name: package_version_id description: Unique identifier of the package version. in: path @@ -43849,7 +44425,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -43885,10 +44461,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *350 - - *351 - - *76 - - *353 + - *355 + - *356 + - *78 + - *358 responses: '204': description: Response @@ -43920,10 +44496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *350 - - *351 - - *76 - - *353 + - *355 + - *356 + - *78 + - *358 responses: '204': description: Response @@ -43950,10 +44526,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: - - *76 + - *78 - *17 - *19 - - &355 + - &360 name: sort description: The property by which to sort the results. in: query @@ -43963,8 +44539,8 @@ paths: enum: - created_at default: created_at - - *100 - - &356 + - *101 + - &361 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43975,7 +44551,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &357 + - &362 name: repository description: The name of the repository to use to filter the results. in: query @@ -43983,7 +44559,7 @@ paths: schema: type: string example: Hello-World - - &358 + - &363 name: permission description: The permission to use to filter the results. in: query @@ -43991,7 +44567,7 @@ paths: schema: type: string example: issues_read - - &359 + - &364 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) @@ -44001,7 +44577,7 @@ paths: schema: type: string format: date-time - - &360 + - &365 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) @@ -44011,7 +44587,7 @@ paths: schema: type: string format: date-time - - &361 + - &366 name: token_id description: The ID of the token in: query @@ -44023,7 +44599,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44155,7 +44731,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,7 +44751,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: - - *76 + - *78 requestBody: required: true content: @@ -44216,7 +44792,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44241,7 +44817,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: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44277,11 +44853,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44302,7 +44878,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: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44313,7 +44889,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *40 '404': *6 '403': *29 '200': @@ -44322,11 +44898,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44347,19 +44923,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: - - *76 + - *78 - *17 - *19 - - *355 - - *100 - - *356 - - *357 - - *358 - - *359 - *360 + - *101 - *361 + - *362 + - *363 + - *364 + - *365 + - *366 responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44486,7 +45062,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44506,7 +45082,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: - - *76 + - *78 requestBody: required: true content: @@ -44541,7 +45117,7 @@ paths: - 1296269 - 1296280 responses: - '500': *91 + '500': *40 '404': *6 '202': *39 '403': *29 @@ -44566,7 +45142,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: - - *76 + - *78 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -44594,9 +45170,9 @@ paths: value: action: revoke responses: - '500': *91 + '500': *40 '404': *6 - '204': *132 + '204': *133 '403': *29 '422': *15 x-github: @@ -44618,7 +45194,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: - - *76 + - *78 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -44628,7 +45204,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *40 '404': *6 '403': *29 '200': @@ -44637,11 +45213,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44663,7 +45239,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: - - *76 + - *78 - *17 - *19 responses: @@ -44681,7 +45257,7 @@ paths: type: integer configurations: type: array - items: &362 + items: &367 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44747,7 +45323,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *40 + Link: *43 '400': *14 '404': *6 x-github: @@ -44769,7 +45345,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: - - *76 + - *78 requestBody: required: true content: @@ -44934,7 +45510,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &363 + org-private-registry-with-selected-visibility: &368 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44975,7 +45551,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: - - *76 + - *78 responses: '200': description: Response @@ -45001,7 +45577,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -45023,16 +45599,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: - - *76 - - *251 + - *78 + - *259 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *362 + schema: *367 examples: - default: *363 + default: *368 '404': *6 x-github: githubCloudOnly: false @@ -45053,8 +45629,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -45149,8 +45725,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: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -45175,7 +45751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *76 + - *78 - name: state description: Indicates the state of the projects to return. in: query @@ -45196,7 +45772,7 @@ paths: application/json: schema: type: array - items: &364 + items: &369 title: Project description: Projects are a way to organize columns and cards of work. @@ -45320,7 +45896,7 @@ paths: organization_permission: write private: true headers: - Link: *40 + Link: *43 '422': *7 x-github: githubCloudOnly: false @@ -45343,7 +45919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *76 + - *78 requestBody: required: true content: @@ -45369,7 +45945,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -45407,7 +45983,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &446 + '410': &451 description: Gone content: application/json: @@ -45433,15 +46009,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *78 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *98 - *99 + - *100 - *17 responses: '200': @@ -45450,7 +46026,7 @@ paths: application/json: schema: type: array - items: &365 + items: &370 title: Projects v2 Project description: A projects v2 project type: object @@ -45520,7 +46096,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &876 + properties: &882 id: type: number description: The unique identifier of the status update. @@ -45568,7 +46144,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &877 + required: &883 - id - node_id - created_at @@ -45593,7 +46169,7 @@ paths: - deleted_at - deleted_by examples: - default: &366 + default: &371 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45676,7 +46252,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45696,24 +46272,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &367 + - &372 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45733,11 +46309,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *367 - - *76 + - *372 + - *78 - *17 - - *98 - *99 + - *100 responses: '200': description: Response @@ -45745,7 +46321,7 @@ paths: application/json: schema: type: array - items: &368 + items: &373 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45892,7 +46468,7 @@ paths: - updated_at - project_url examples: - default: &369 + default: &374 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45915,7 +46491,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45935,25 +46511,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *367 - - &809 + - *372 + - &815 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45974,8 +46550,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: - - *367 - - *76 + - *372 + - *78 - 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. @@ -45994,8 +46570,8 @@ paths: items: type: string example: fields[]=123,fields[]=456,fields[]=789 - - *98 - *99 + - *100 - *17 responses: '200': @@ -46004,7 +46580,7 @@ paths: application/json: schema: type: array - items: &374 + items: &379 title: Projects v2 Item description: An item belonging to a project type: object @@ -46020,7 +46596,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &373 + content_type: &378 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46070,7 +46646,7 @@ paths: - updated_at - archived_at examples: - default: &375 + default: &380 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46744,7 +47320,7 @@ paths: type: sub_issues_progress value: headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -46764,8 +47340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *367 + - *78 + - *372 requestBody: required: true description: Details of the item to add to the project. @@ -46802,7 +47378,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &816 title: Projects v2 Item description: An item belonging to a project type: object @@ -46815,8 +47391,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *191 - - &558 + - *199 + - &563 title: Pull Request Simple description: Pull Request Simple type: object @@ -46922,8 +47498,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -46968,7 +47544,7 @@ paths: nullable: true requested_teams: type: array - items: *269 + items: *276 nullable: true head: type: object @@ -46977,7 +47553,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: @@ -47000,7 +47576,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: @@ -47019,7 +47595,7 @@ paths: _links: type: object properties: - comments: &372 + comments: &377 title: Link description: Hypermedia Link type: object @@ -47028,13 +47604,13 @@ paths: type: string required: - href - commits: *372 - statuses: *372 - html: *372 - issue: *372 - review_comments: *372 - review_comment: *372 - self: *372 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -47044,8 +47620,8 @@ paths: - review_comments - review_comment - self - author_association: *178 - auto_merge: &669 + author_association: *186 + auto_merge: &674 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47147,7 +47723,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *373 + content_type: *378 creator: *4 created_at: type: string @@ -47180,7 +47756,7 @@ paths: - updated_at - archived_at examples: - default: &811 + default: &817 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47254,9 +47830,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: - - *367 - - *76 - - &376 + - *372 + - *78 + - &381 name: item_id description: The unique identifier of the project item. in: path @@ -47279,11 +47855,11 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -47302,9 +47878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *367 - - *76 - - *376 + - *372 + - *78 + - *381 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47374,9 +47950,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 @@ -47396,9 +47972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *367 - - *76 - - *376 + - *372 + - *78 + - *381 responses: '204': description: Response @@ -47417,12 +47993,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: - - *76 + - *78 responses: '200': description: Response @@ -47430,9 +48006,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -47454,12 +48030,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: - - *76 + - *78 requestBody: required: true content: @@ -47470,7 +48046,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *128 + items: *129 minItems: 1 maxItems: 100 required: @@ -47500,9 +48076,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -47518,21 +48094,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: - - *76 - - *130 + - *78 + - *131 responses: '200': description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -47550,18 +48126,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: - - *76 - - *130 + - *78 + - *131 requestBody: required: true content: application/json: - schema: *377 + schema: *382 examples: default: value: @@ -47577,9 +48153,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -47597,15 +48173,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: - - *76 - - *130 + - *78 + - *131 responses: - '204': *132 + '204': *133 '403': *29 '404': *6 x-github: @@ -47626,7 +48202,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: - - *76 + - *78 - *17 - *19 - name: repository_query @@ -47664,7 +48240,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &378 + items: &383 title: Custom Property Value description: Custom property name and associated value type: object @@ -47703,7 +48279,7 @@ paths: - property_name: team value: octocat headers: - Link: *40 + Link: *43 '403': *29 '404': *6 x-github: @@ -47731,7 +48307,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: - - *76 + - *78 requestBody: required: true content: @@ -47751,7 +48327,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *378 + items: *383 required: - repository_names - properties @@ -47792,7 +48368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *76 + - *78 - *17 - *19 responses: @@ -47804,9 +48380,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47823,8 +48399,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response if user is a public member @@ -47848,8 +48424,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -47870,8 +48446,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -47895,7 +48471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *76 + - *78 - 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 @@ -47942,11 +48518,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47965,7 +48541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *78 requestBody: required: true content: @@ -48147,7 +48723,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &453 title: Full Repository description: Full Repository type: object @@ -48424,8 +49000,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *379 - required: *380 + properties: *384 + required: *385 nullable: true temp_clone_token: type: string @@ -48512,8 +49088,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true organization: title: Simple User @@ -48522,8 +49098,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *69 + source: *69 forks: type: integer master_branch: @@ -48540,7 +49116,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &563 + properties: &568 url: type: string format: uri @@ -48556,12 +49132,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &564 + required: &569 - url - key - name - html_url - security_and_analysis: *381 + security_and_analysis: *386 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48645,7 +49221,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &455 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49163,7 +49739,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: - - *76 + - *78 responses: '200': description: Response @@ -49171,9 +49747,9 @@ paths: application/json: schema: type: array - items: *382 + items: *387 examples: - default: *383 + default: *388 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49195,10 +49771,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - *17 - *19 - - &691 + - &697 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49216,7 +49792,7 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: default: value: @@ -49247,7 +49823,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -49263,7 +49839,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -49284,21 +49860,20 @@ paths: - push - repository default: branch - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *384 + items: *141 + conditions: *389 rules: type: array description: An array of rules within the ruleset. - items: &386 + items: &391 title: Repository Rule type: object description: A repository rule. oneOf: - - *141 - *142 - *143 - *144 @@ -49318,6 +49893,7 @@ paths: - *158 - *159 - *160 + - *161 required: - name - enforcement @@ -49355,9 +49931,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &385 + default: &390 value: id: 21 name: super cool ruleset @@ -49397,7 +49973,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -49411,8 +49987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &693 + - *78 + - &699 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 @@ -49422,16 +49998,16 @@ paths: schema: type: string x-multi-segment: true - - *266 - - *95 - - &694 + - *273 + - *96 + - &700 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 - - &695 + - &701 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -49451,7 +50027,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &702 title: Rule Suites description: Response type: array @@ -49506,7 +50082,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &697 + default: &703 value: - id: 21 actor_id: 12 @@ -49530,7 +50106,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49549,8 +50125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &698 + - *78 + - &704 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -49566,7 +50142,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &705 title: Rule Suite description: Response type: object @@ -49665,7 +50241,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &700 + default: &706 value: id: 21 actor_id: 12 @@ -49700,7 +50276,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49726,7 +50302,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49738,11 +50314,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *385 + default: *390 '404': *6 - '500': *91 + '500': *40 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -49758,7 +50334,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49784,16 +50360,16 @@ paths: - tag - push - repository - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *384 + items: *141 + conditions: *389 rules: description: An array of rules within the ruleset. type: array - items: *386 + items: *391 examples: default: value: @@ -49828,11 +50404,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *385 + default: *390 '404': *6 - '500': *91 + '500': *40 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -49848,7 +50424,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49859,7 +50435,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -49871,7 +50447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *78 - *17 - *19 - name: ruleset_id @@ -49887,11 +50463,11 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *387 + default: *392 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49908,7 +50484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49926,7 +50502,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *393 examples: default: value: @@ -49966,7 +50542,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49988,15 +50564,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: - - *76 - - *389 - - *390 - - *391 - - *392 - - *100 + - *78 + - *394 + - *395 + - *396 + - *397 + - *101 - *19 - *17 - - &702 + - &708 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 @@ -50006,7 +50582,7 @@ paths: required: false schema: type: string - - &703 + - &709 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 @@ -50016,10 +50592,10 @@ paths: required: false schema: type: string - - *393 - - *394 - - *395 - - *396 + - *398 + - *399 + - *400 + - *401 responses: '200': description: Response @@ -50027,13 +50603,13 @@ paths: application/json: schema: type: array - items: *397 + items: *402 examples: - default: *398 + default: *403 headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50058,15 +50634,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *399 + schema: *404 examples: - default: *400 + default: *405 '403': *29 '404': *6 patch: @@ -50087,7 +50663,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -50095,7 +50671,7 @@ paths: schema: type: object properties: - pattern_config_version: *168 + pattern_config_version: *169 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -50121,7 +50697,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *168 + custom_pattern_version: *169 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -50157,7 +50733,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 "/orgs/{org}/security-advisories": get: @@ -50175,8 +50751,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: - - *76 - - *100 + - *78 + - *101 - name: sort description: The property to sort the results by. in: query @@ -50188,8 +50764,8 @@ paths: - updated - published default: created - - *98 - *99 + - *100 - 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)." @@ -50219,7 +50795,7 @@ paths: application/json: schema: type: array - items: &724 + items: &730 description: A repository security advisory. type: object properties: @@ -50406,7 +50982,7 @@ paths: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array nullable: true @@ -50439,7 +51015,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 credits_detailed: type: array nullable: true @@ -50449,7 +51025,7 @@ paths: type: object properties: user: *4 - type: *401 + type: *406 state: type: string description: The state of the user's acceptance of the @@ -50473,14 +51049,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *269 + items: *276 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *109 + - *110 required: - ghsa_id - cve_id @@ -50510,7 +51086,7 @@ paths: - private_fork additionalProperties: false examples: - default: &725 + default: &731 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -50889,7 +51465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *78 responses: '200': description: Response @@ -50897,9 +51473,9 @@ paths: application/json: schema: type: array - items: *402 + items: *407 examples: - default: *347 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50922,8 +51498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -50948,8 +51524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -50978,15 +51554,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51010,8 +51586,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: - - *76 - - *405 + - *78 + - *410 - *17 - *19 responses: @@ -51019,9 +51595,9 @@ paths: description: Success content: application/json: - schema: *406 + schema: *411 examples: - default: *407 + default: *412 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51043,15 +51619,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51073,15 +51649,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: - default: *411 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51101,7 +51677,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: - - *76 + - *78 - *17 - *19 responses: @@ -51119,11 +51695,11 @@ paths: type: integer network_configurations: type: array - items: *125 + items: *126 examples: - default: *412 + default: *417 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51142,7 +51718,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: - - *76 + - *78 requestBody: required: true content: @@ -51184,9 +51760,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51206,18 +51782,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: - - *76 - - *127 + - *78 + - *128 responses: '200': description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51236,8 +51812,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: - - *76 - - *127 + - *78 + - *128 requestBody: required: true content: @@ -51276,9 +51852,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51297,8 +51873,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: - - *76 - - *127 + - *78 + - *128 responses: '204': description: Response @@ -51321,18 +51897,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: - - *76 - - *413 + - *78 + - *418 responses: '200': description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51349,7 +51925,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -51368,7 +51944,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &442 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -51414,7 +51990,7 @@ paths: type: string nullable: true examples: - default: &438 + default: &443 value: groups: - group_id: '123' @@ -51459,8 +52035,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: - - *76 - - *344 + - *78 + - *182 - 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`). @@ -51492,13 +52068,13 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51516,7 +52092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *76 + - *78 - *17 - *19 responses: @@ -51526,11 +52102,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '403': *29 x-github: githubCloudOnly: false @@ -51550,7 +52126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *76 + - *78 requestBody: required: true content: @@ -51622,7 +52198,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &421 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -51685,8 +52261,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 nullable: true members_count: type: integer @@ -51932,7 +52508,7 @@ paths: - repos_count - organization examples: - default: &417 + default: &422 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52002,16 +52578,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -52032,8 +52608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *76 - - *344 + - *78 + - *182 requestBody: required: false content: @@ -52095,16 +52671,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '201': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 '422': *15 '403': *29 @@ -52129,8 +52705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -52156,9 +52732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *76 - - *344 - - *100 + - *78 + - *182 + - *101 - *17 - *19 - name: pinned @@ -52174,7 +52750,7 @@ paths: application/json: schema: type: array - items: &418 + items: &423 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52253,7 +52829,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *179 + reactions: *187 required: - author - body @@ -52273,7 +52849,7 @@ paths: - updated_at - url examples: - default: &768 + default: &774 value: - author: login: octocat @@ -52323,7 +52899,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52347,8 +52923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -52382,9 +52958,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &419 + default: &424 value: author: login: octocat @@ -52456,9 +53032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *76 - - *344 - - &420 + - *78 + - *182 + - &425 name: discussion_number description: The number that identifies the discussion. in: path @@ -52470,9 +53046,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52494,9 +53070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: false content: @@ -52519,9 +53095,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &769 + default: &775 value: author: login: octocat @@ -52591,9 +53167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 responses: '204': description: Response @@ -52619,10 +53195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *76 - - *344 - - *420 - - *100 + - *78 + - *182 + - *425 + - *101 - *17 - *19 responses: @@ -52632,7 +53208,7 @@ paths: application/json: schema: type: array - items: &421 + items: &426 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -52689,7 +53265,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *179 + reactions: *187 required: - author - body @@ -52704,7 +53280,7 @@ paths: - updated_at - url examples: - default: &770 + default: &776 value: - author: login: octocat @@ -52748,7 +53324,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52772,9 +53348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: true content: @@ -52796,9 +53372,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: &422 + default: &427 value: author: login: octocat @@ -52864,10 +53440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - &423 + - *78 + - *182 + - *425 + - &428 name: comment_number description: The number that identifies the comment. in: path @@ -52879,9 +53455,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52903,10 +53479,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 requestBody: required: true content: @@ -52928,9 +53504,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: &771 + default: &777 value: author: login: octocat @@ -52994,10 +53570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 responses: '204': description: Response @@ -53023,10 +53599,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: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 - 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. @@ -53052,7 +53628,7 @@ paths: application/json: schema: type: array - items: &424 + items: &429 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53095,7 +53671,7 @@ paths: - content - created_at examples: - default: &426 + default: &431 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53121,7 +53697,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53145,10 +53721,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: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 requestBody: required: true content: @@ -53181,9 +53757,9 @@ paths: team discussion comment content: application/json: - schema: *424 + schema: *429 examples: - default: &425 + default: &430 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53212,9 +53788,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53237,11 +53813,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *76 - - *344 - - *420 - - *423 - - &427 + - *78 + - *182 + - *425 + - *428 + - &432 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53273,9 +53849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 - 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. @@ -53301,11 +53877,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53329,9 +53905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: true content: @@ -53363,16 +53939,16 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53395,10 +53971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *76 - - *344 - - *420 - - *427 + - *78 + - *182 + - *425 + - *432 responses: '204': description: Response @@ -53421,16 +53997,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: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *429 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53449,8 +54025,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: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -53473,9 +54049,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *435 examples: - default: *431 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -53494,8 +54070,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: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -53519,8 +54095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -53530,11 +54106,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53554,8 +54130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *76 - - *344 + - *78 + - *182 - name: role description: Filters members returned by their role in the team. in: query @@ -53578,9 +54154,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53608,15 +54184,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 responses: '200': description: Response content: application/json: - schema: &432 + schema: &437 title: Team Membership description: Team Membership type: object @@ -53643,7 +54219,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &778 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -53679,9 +54255,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: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 requestBody: required: false content: @@ -53706,9 +54282,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &779 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -53743,9 +54319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 responses: '204': description: Response @@ -53770,8 +54346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -53781,7 +54357,7 @@ paths: application/json: schema: type: array - items: &433 + items: &438 title: Team Project description: A team's access to a project. type: object @@ -53849,7 +54425,7 @@ paths: - updated_at - permissions examples: - default: &774 + default: &780 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53889,7 +54465,7 @@ paths: write: true admin: false headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53912,9 +54488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *76 - - *344 - - &434 + - *78 + - *182 + - &439 name: project_id description: The unique identifier of the project. in: path @@ -53926,9 +54502,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *438 examples: - default: &775 + default: &781 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53990,9 +54566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *76 - - *344 - - *434 + - *78 + - *182 + - *439 requestBody: required: false content: @@ -54058,9 +54634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *76 - - *344 - - *434 + - *78 + - *182 + - *439 responses: '204': description: Response @@ -54087,8 +54663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -54098,11 +54674,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54129,16 +54705,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &776 + schema: &782 title: Team Repository description: A team's access to a repository. type: object @@ -54161,8 +54737,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true forks: type: integer @@ -54707,10 +55283,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 requestBody: required: false content: @@ -54755,10 +55331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 responses: '204': description: Response @@ -54784,16 +55360,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: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *437 + schema: *442 examples: - default: *438 + default: *443 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54815,8 +55391,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: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -54859,7 +55435,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *442 examples: default: value: @@ -54891,8 +55467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -54902,9 +55478,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - response-if-child-teams-exist: &777 + response-if-child-teams-exist: &783 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54932,7 +55508,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54957,7 +55533,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: - - *76 + - *78 - name: security_product in: path description: The security feature to enable or disable. @@ -55031,7 +55607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &439 + - &444 name: card_id description: The unique identifier of the card. in: path @@ -55043,7 +55619,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &445 title: Project Card description: Project cards represent a scope of work. type: object @@ -55110,7 +55686,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &446 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55166,7 +55742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *439 + - *444 requestBody: required: false content: @@ -55193,9 +55769,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 '304': *37 '403': *29 '401': *25 @@ -55222,7 +55798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *439 + - *444 responses: '204': description: Response @@ -55266,7 +55842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *439 + - *444 requestBody: required: true content: @@ -55377,7 +55953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &442 + - &447 name: column_id description: The unique identifier of the column. in: path @@ -55389,7 +55965,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &448 title: Project Column description: Project columns contain cards of work. type: object @@ -55435,7 +56011,7 @@ paths: - created_at - updated_at examples: - default: &444 + default: &449 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -55470,7 +56046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *442 + - *447 requestBody: required: true content: @@ -55494,9 +56070,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *444 + default: *449 '304': *37 '403': *29 '401': *25 @@ -55521,7 +56097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *442 + - *447 responses: '204': description: Response @@ -55550,7 +56126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *442 + - *447 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -55571,7 +56147,7 @@ paths: application/json: schema: type: array - items: *440 + items: *445 examples: default: value: @@ -55605,7 +56181,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: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -55630,7 +56206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *442 + - *447 requestBody: required: true content: @@ -55670,9 +56246,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 '304': *37 '403': *29 '401': *25 @@ -55682,8 +56258,8 @@ paths: application/json: schema: oneOf: - - *218 - - *219 + - *226 + - *227 '503': description: Response content: @@ -55728,7 +56304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *442 + - *447 requestBody: required: true content: @@ -55788,15 +56364,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *434 + - *439 responses: '200': description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: &445 + default: &450 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -55853,7 +56429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *434 + - *439 requestBody: required: false content: @@ -55899,9 +56475,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: *445 + default: *450 '404': description: Not Found if the authenticated user does not have access to the project @@ -55922,7 +56498,7 @@ paths: items: type: string '401': *25 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -55945,7 +56521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *434 + - *439 responses: '204': description: Delete Success @@ -55966,7 +56542,7 @@ paths: items: type: string '401': *25 - '410': *446 + '410': *451 '404': *6 x-github: githubCloudOnly: false @@ -55990,7 +56566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *434 + - *439 - 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 @@ -56017,9 +56593,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 '422': *15 '304': *37 @@ -56047,8 +56623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *434 - - *263 + - *439 + - *180 requestBody: required: false content: @@ -56100,8 +56676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *434 - - *263 + - *439 + - *180 responses: '204': description: Response @@ -56132,8 +56708,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: - - *434 - - *263 + - *439 + - *180 responses: '200': description: Response @@ -56206,7 +56782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *434 + - *439 - *17 - *19 responses: @@ -56216,7 +56792,7 @@ paths: application/json: schema: type: array - items: *443 + items: *448 examples: default: value: @@ -56229,7 +56805,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -56254,7 +56830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *434 + - *439 requestBody: required: true content: @@ -56277,7 +56853,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: default: value: @@ -56342,7 +56918,7 @@ paths: resources: type: object properties: - core: &447 + core: &452 title: Rate Limit type: object properties: @@ -56359,21 +56935,21 @@ paths: - remaining - reset - used - graphql: *447 - search: *447 - code_search: *447 - source_import: *447 - integration_manifest: *447 - code_scanning_upload: *447 - actions_runner_registration: *447 - scim: *447 - dependency_snapshots: *447 - dependency_sbom: *447 - code_scanning_autofix: *447 + graphql: *452 + search: *452 + code_search: *452 + source_import: *452 + integration_manifest: *452 + code_scanning_upload: *452 + actions_runner_registration: *452 + scim: *452 + dependency_snapshots: *452 + dependency_sbom: *452 + code_scanning_autofix: *452 required: - core - search - rate: *447 + rate: *452 required: - rate - resources @@ -56478,14 +57054,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: default-response: summary: Default response @@ -56990,7 +57566,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *449 + '301': *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57008,8 +57584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -57266,10 +57842,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 - '307': &451 + default: *455 + '307': &456 description: Temporary Redirect content: application/json: @@ -57298,8 +57874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -57321,9 +57897,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': *451 + '307': *456 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57345,11 +57921,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - - &466 + - &471 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57372,7 +57948,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &457 title: Artifact description: An artifact type: object @@ -57450,7 +58026,7 @@ paths: - expires_at - updated_at examples: - default: &467 + default: &472 value: total_count: 2 artifacts: @@ -57489,7 +58065,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57511,9 +58087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *435 - - *436 - - &453 + - *440 + - *441 + - &458 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57525,7 +58101,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *457 examples: default: value: @@ -57563,9 +58139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *435 - - *436 - - *453 + - *440 + - *441 + - *458 responses: '204': description: Response @@ -57589,9 +58165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *435 - - *436 - - *453 + - *440 + - *441 + - *458 - name: archive_format in: path required: true @@ -57605,7 +58181,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': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57628,14 +58204,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *454 + schema: *459 examples: default: value: @@ -57661,11 +58237,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: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - - &455 + - &460 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 @@ -57693,13 +58269,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *100 + - *101 responses: '200': description: Response content: application/json: - schema: &456 + schema: &461 title: Repository actions caches description: Repository actions caches type: object @@ -57741,7 +58317,7 @@ paths: - total_count - actions_caches examples: - default: &457 + default: &462 value: total_count: 1 actions_caches: @@ -57753,7 +58329,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57773,23 +58349,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: - - *435 - - *436 + - *440 + - *441 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *455 + - *460 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *457 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57809,8 +58385,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: - - *435 - - *436 + - *440 + - *441 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57841,9 +58417,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: - - *435 - - *436 - - &458 + - *440 + - *441 + - &463 name: job_id description: The unique identifier of the job. in: path @@ -57855,7 +58431,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &475 title: Job description: Information of a job execution in a workflow run type: object @@ -58162,9 +58738,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: - - *435 - - *436 - - *458 + - *440 + - *441 + - *463 responses: '302': description: Response @@ -58192,9 +58768,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: - - *435 - - *436 - - *458 + - *440 + - *441 + - *463 requestBody: required: false content: @@ -58215,7 +58791,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -58239,8 +58815,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Status response @@ -58290,8 +58866,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -58325,7 +58901,7 @@ paths: description: Empty response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -58354,8 +58930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -58373,7 +58949,7 @@ paths: type: integer secrets: type: array - items: &472 + items: &477 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58393,7 +58969,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &478 value: total_count: 2 secrets: @@ -58404,7 +58980,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58426,9 +59002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *435 - - *436 - - *459 + - *440 + - *441 + - *464 - *19 responses: '200': @@ -58445,7 +59021,7 @@ paths: type: integer variables: type: array - items: &476 + items: &481 title: Actions Variable type: object properties: @@ -58475,7 +59051,7 @@ paths: - created_at - updated_at examples: - default: &477 + default: &482 value: total_count: 2 variables: @@ -58488,7 +59064,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58508,8 +59084,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -58518,12 +59094,12 @@ paths: schema: type: object properties: - enabled: &460 + enabled: &465 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *49 - selected_actions_url: *228 - sha_pinning_required: *50 + allowed_actions: *51 + selected_actions_url: *236 + sha_pinning_required: *52 required: - enabled examples: @@ -58553,8 +59129,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58565,9 +59141,9 @@ paths: schema: type: object properties: - enabled: *460 - allowed_actions: *49 - sha_pinning_required: *50 + enabled: *465 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled examples: @@ -58598,14 +59174,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &461 + schema: &466 type: object properties: access_level: @@ -58623,7 +59199,7 @@ paths: required: - access_level examples: - default: &462 + default: &467 value: access_level: organization x-github: @@ -58648,15 +59224,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *461 + schema: *466 examples: - default: *462 + default: *467 responses: '204': description: Response @@ -58680,14 +59256,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: default: value: @@ -58711,8 +59287,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Empty response for successful settings update @@ -58722,7 +59298,7 @@ paths: required: true content: application/json: - schema: *231 + schema: *239 examples: default: summary: Set retention days @@ -58746,16 +59322,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *51 + schema: *53 examples: - default: *232 + default: *240 '404': *6 x-github: enabledForGitHubApps: true @@ -58774,8 +59350,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58785,7 +59361,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -58809,16 +59385,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *233 + schema: *241 examples: - default: *52 + default: *54 '403': *29 '404': *6 x-github: @@ -58838,15 +59414,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *234 + schema: *242 examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -58870,16 +59446,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *54 + schema: *56 examples: - default: *55 + default: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58902,8 +59478,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58911,9 +59487,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58935,16 +59511,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *237 + schema: *245 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58965,8 +59541,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Success response @@ -58977,9 +59553,9 @@ paths: required: true content: application/json: - schema: *238 + schema: *246 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59006,8 +59582,8 @@ paths: in: query schema: type: string - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -59025,11 +59601,11 @@ paths: type: integer runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59051,8 +59627,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -59060,9 +59636,9 @@ paths: application/json: schema: type: array - items: *242 + items: *250 examples: - default: *243 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59084,8 +59660,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -59128,10 +59704,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *244 + '201': *252 '404': *6 '422': *7 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59159,16 +59735,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: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *245 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59196,16 +59772,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: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59227,17 +59803,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: *247 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59258,9 +59834,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: '204': description: Response @@ -59286,11 +59862,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: - '200': *70 + '200': *72 '404': *6 x-github: githubCloudOnly: false @@ -59312,9 +59888,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 requestBody: required: true content: @@ -59338,7 +59914,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59362,9 +59938,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 requestBody: required: true content: @@ -59389,7 +59965,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59413,11 +59989,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: - '200': *248 + '200': *256 '404': *6 x-github: githubCloudOnly: false @@ -59444,12 +60020,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: - - *435 - - *436 - - *64 - - *249 + - *440 + - *441 + - *66 + - *257 responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59475,9 +60051,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: - - *435 - - *436 - - &480 + - *440 + - *441 + - &485 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. @@ -59485,7 +60061,7 @@ paths: required: false schema: type: string - - &481 + - &486 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59493,7 +60069,7 @@ paths: required: false schema: type: string - - &482 + - &487 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59502,7 +60078,7 @@ paths: required: false schema: type: string - - &483 + - &488 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 @@ -59529,7 +60105,7 @@ paths: - pending - *17 - *19 - - &484 + - &489 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)." @@ -59538,7 +60114,7 @@ paths: schema: type: string format: date-time - - &463 + - &468 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59547,13 +60123,13 @@ paths: schema: type: boolean default: false - - &485 + - &490 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &486 + - &491 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59576,7 +60152,7 @@ paths: type: integer workflow_runs: type: array - items: &464 + items: &469 title: Workflow Run description: An invocation of a workflow type: object @@ -59671,7 +60247,7 @@ paths: that triggered the run. type: array nullable: true - items: &505 + items: &510 title: Pull Request Minimal type: object properties: @@ -59790,7 +60366,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &509 + properties: &514 id: type: string description: SHA for the commit @@ -59841,7 +60417,7 @@ paths: - name - email nullable: true - required: &510 + required: &515 - id - tree_id - message @@ -59849,8 +60425,8 @@ paths: - author - committer nullable: true - repository: *241 - head_repository: *241 + repository: *249 + head_repository: *249 head_repository_id: type: integer example: 5 @@ -59888,7 +60464,7 @@ paths: - workflow_url - pull_requests examples: - default: &487 + default: &492 value: total_count: 1 workflow_runs: @@ -60102,7 +60678,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60124,24 +60700,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *435 - - *436 - - &465 + - *440 + - *441 + - &470 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *463 + - *468 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: &468 + default: &473 value: id: 30433642 name: Build @@ -60382,9 +60958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '204': description: Response @@ -60407,9 +60983,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -60528,15 +61104,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -60563,12 +61139,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 - *17 - *19 - - *466 + - *471 responses: '200': description: Response @@ -60584,11 +61160,11 @@ paths: type: integer artifacts: type: array - items: *452 + items: *457 examples: - default: *467 + default: *472 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60610,25 +61186,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *435 - - *436 - - *465 - - &469 + - *440 + - *441 + - *470 + - &474 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *463 + - *468 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: *468 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60651,10 +61227,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: - - *435 - - *436 - - *465 - - *469 + - *440 + - *441 + - *470 + - *474 - *17 - *19 responses: @@ -60672,9 +61248,9 @@ paths: type: integer jobs: type: array - items: *470 + items: *475 examples: - default: &471 + default: &476 value: total_count: 1 jobs: @@ -60763,7 +61339,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -60787,10 +61363,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *435 - - *436 - - *465 - - *469 + - *440 + - *441 + - *470 + - *474 responses: '302': description: Response @@ -60818,19 +61394,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '202': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60853,9 +61429,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: true content: @@ -60922,19 +61498,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '202': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60957,9 +61533,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 - 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 @@ -60989,11 +61565,11 @@ paths: type: integer jobs: type: array - items: *470 + items: *475 examples: - default: *471 + default: *476 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61016,9 +61592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '302': description: Response @@ -61045,14 +61621,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '204': description: Response '403': *29 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61074,9 +61650,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -61136,7 +61712,7 @@ paths: items: type: object properties: - type: &593 + type: &598 type: string description: The type of reviewer. enum: @@ -61146,7 +61722,7 @@ paths: reviewer: anyOf: - *4 - - *269 + - *276 required: - environment - wait_timer @@ -61221,9 +61797,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: true content: @@ -61270,7 +61846,7 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -61358,8 +61934,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -61376,7 +61952,7 @@ paths: - created_at - updated_at examples: - default: &580 + default: &585 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61432,9 +62008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: false content: @@ -61455,7 +62031,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61478,9 +62054,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: false content: @@ -61501,7 +62077,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61534,9 +62110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -61673,8 +62249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -61692,11 +62268,11 @@ paths: type: integer secrets: type: array - items: *472 + items: *477 examples: - default: *473 + default: *478 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61719,16 +62295,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *474 + schema: *479 examples: - default: *475 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61750,17 +62326,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: &606 + default: &611 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61786,9 +62362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -61819,7 +62395,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61845,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -61872,9 +62448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *435 - - *436 - - *459 + - *440 + - *441 + - *464 - *19 responses: '200': @@ -61891,11 +62467,11 @@ paths: type: integer variables: type: array - items: *476 + items: *481 examples: - default: *477 + default: *482 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61916,8 +62492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -61944,7 +62520,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61969,17 +62545,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 responses: '200': description: Response content: application/json: - schema: *476 + schema: *481 examples: - default: &607 + default: &612 value: name: USERNAME value: octocat @@ -62005,9 +62581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 requestBody: required: true content: @@ -62049,9 +62625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 responses: '204': description: Response @@ -62076,8 +62652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -62095,7 +62671,7 @@ paths: type: integer workflows: type: array - items: &478 + items: &483 title: Workflow description: A GitHub Actions workflow type: object @@ -62179,7 +62755,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62202,9 +62778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *435 - - *436 - - &479 + - *440 + - *441 + - &484 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62219,7 +62795,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *483 examples: default: value: @@ -62252,9 +62828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62279,9 +62855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62332,9 +62908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62361,19 +62937,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: - - *435 - - *436 - - *479 - - *480 - - *481 - - *482 - - *483 - - *17 - - *19 + - *440 + - *441 - *484 - - *463 - *485 - *486 + - *487 + - *488 + - *17 + - *19 + - *489 + - *468 + - *490 + - *491 responses: '200': description: Response @@ -62389,11 +62965,11 @@ paths: type: integer workflow_runs: type: array - items: *464 + items: *469 examples: - default: *487 + default: *492 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62424,9 +63000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '200': description: Response @@ -62487,12 +63063,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *435 - - *436 - - *100 + - *440 + - *441 + - *101 - *17 - - *98 - *99 + - *100 - name: ref description: |- The Git reference for the activities you want to list. @@ -62633,7 +63209,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '422': *7 x-github: githubCloudOnly: false @@ -62652,8 +63228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -62665,9 +63241,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -62690,8 +63266,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: - - *435 - - *436 + - *440 + - *441 - name: assignee in: path required: true @@ -62727,8 +63303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -62840,11 +63416,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *435 - - *436 + - *440 + - *441 - *17 - - *98 - *99 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -62895,7 +63471,7 @@ paths: bundle_url: type: string examples: - default: *488 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62915,8 +63491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -62924,7 +63500,7 @@ paths: application/json: schema: type: array - items: &489 + items: &494 title: Autolink reference description: An autolink reference. type: object @@ -62978,8 +63554,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -63018,9 +63594,9 @@ paths: description: response content: application/json: - schema: *489 + schema: *494 examples: - default: &490 + default: &495 value: id: 1 key_prefix: TICKET- @@ -63051,9 +63627,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: - - *435 - - *436 - - &491 + - *440 + - *441 + - &496 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63065,9 +63641,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *494 examples: - default: *490 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -63087,9 +63663,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: - - *435 - - *436 - - *491 + - *440 + - *441 + - *496 responses: '204': description: Response @@ -63113,8 +63689,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response if Dependabot is enabled @@ -63162,8 +63738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -63184,8 +63760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -63205,8 +63781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *435 - - *436 + - *440 + - *441 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63244,7 +63820,7 @@ paths: - url protected: type: boolean - protection: &493 + protection: &498 title: Branch Protection description: Branch Protection type: object @@ -63286,7 +63862,7 @@ paths: required: - contexts - checks - enforce_admins: &496 + enforce_admins: &501 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63301,7 +63877,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &498 + required_pull_request_reviews: &503 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63322,7 +63898,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *269 + items: *276 apps: description: The list of apps with review dismissal access. @@ -63351,7 +63927,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *269 + items: *276 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63377,7 +63953,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &495 + restrictions: &500 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63440,7 +64016,7 @@ paths: type: string teams: type: array - items: *269 + items: *276 apps: type: array items: @@ -63636,7 +64212,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -63654,9 +64230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *435 - - *436 - - &494 + - *440 + - *441 + - &499 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). @@ -63670,14 +64246,14 @@ paths: description: Response content: application/json: - schema: &504 + schema: &509 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &554 + commit: &559 title: Commit description: Commit type: object @@ -63711,7 +64287,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &492 + properties: &497 name: type: string example: '"Chris Wanstrath"' @@ -63726,7 +64302,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true message: type: string @@ -63747,7 +64323,7 @@ paths: required: - sha - url - verification: &613 + verification: &618 title: Verification type: object properties: @@ -63781,12 +64357,12 @@ paths: nullable: true oneOf: - *4 - - *252 + - *260 committer: nullable: true oneOf: - *4 - - *252 + - *260 parents: type: array items: @@ -63817,7 +64393,7 @@ paths: type: integer files: type: array - items: &567 + items: &572 title: Diff Entry description: Diff Entry type: object @@ -63901,7 +64477,7 @@ paths: - self protected: type: boolean - protection: *493 + protection: *498 protection_url: type: string format: uri @@ -64008,7 +64584,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *454 '404': *6 x-github: githubCloudOnly: false @@ -64030,15 +64606,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *493 + schema: *498 examples: default: value: @@ -64232,9 +64808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -64489,7 +65065,7 @@ paths: url: type: string format: uri - required_status_checks: &501 + required_status_checks: &506 title: Status Check Policy description: Status Check Policy type: object @@ -64565,7 +65141,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 apps: type: array items: *5 @@ -64583,7 +65159,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 apps: type: array items: *5 @@ -64641,7 +65217,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *495 + restrictions: *500 required_conversation_resolution: type: object properties: @@ -64753,9 +65329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -64780,17 +65356,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &497 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64812,17 +65388,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *497 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64841,9 +65417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -64868,17 +65444,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: &499 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64974,9 +65550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65074,9 +65650,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: *499 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -65097,9 +65673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65126,17 +65702,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &500 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65159,17 +65735,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *500 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -65189,9 +65765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65216,17 +65792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *501 + schema: *506 examples: - default: &502 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65252,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65306,9 +65882,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *506 examples: - default: *502 + default: *507 '404': *6 '422': *15 x-github: @@ -65330,9 +65906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65356,9 +65932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65392,9 +65968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65461,9 +66037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65527,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: content: application/json: @@ -65595,15 +66171,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *495 + schema: *500 examples: default: value: @@ -65694,9 +66270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65719,9 +66295,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65731,7 +66307,7 @@ paths: type: array items: *5 examples: - default: &503 + default: &508 value: - id: 1 slug: octoapp @@ -65788,9 +66364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65824,7 +66400,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65845,9 +66421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65881,7 +66457,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65902,9 +66478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65938,7 +66514,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65960,9 +66536,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65970,9 +66546,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -65992,9 +66568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -66030,9 +66606,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66053,9 +66629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -66091,9 +66667,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66114,9 +66690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: content: application/json: @@ -66151,9 +66727,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66175,9 +66751,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -66187,7 +66763,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '404': *6 x-github: githubCloudOnly: false @@ -66211,9 +66787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66246,7 +66822,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66271,9 +66847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66306,7 +66882,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66331,9 +66907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66366,7 +66942,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66393,9 +66969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66417,7 +66993,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *509 examples: default: value: @@ -66531,12 +67107,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -66546,11 +67122,11 @@ paths: application/json: schema: type: array - items: *264 + items: *271 examples: - default: *265 + default: *272 '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -66568,8 +67144,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66583,7 +67159,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *271 examples: default: value: @@ -66621,7 +67197,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': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -66642,12 +67218,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -66657,12 +67233,12 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -66683,8 +67259,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66696,7 +67272,7 @@ paths: description: A single bypass request. content: application/json: - schema: *267 + schema: *274 examples: default: value: @@ -66734,7 +67310,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review a bypass request for secret scanning description: |- @@ -66754,8 +67330,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66805,7 +67381,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -66826,8 +67402,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_response_id in: path required: true @@ -66840,7 +67416,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -66860,8 +67436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -67140,7 +67716,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &511 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67251,16 +67827,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *505 - deployment: &834 + items: *510 + deployment: &840 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67327,8 +67903,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -67540,9 +68116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *435 - - *436 - - &507 + - *440 + - *441 + - &512 name: check_run_id description: The unique identifier of the check run. in: path @@ -67554,9 +68130,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: &508 + default: &513 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67656,9 +68232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 requestBody: required: true content: @@ -67898,9 +68474,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67920,9 +68496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 - *17 - *19 responses: @@ -67997,7 +68573,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68017,15 +68593,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -68063,8 +68639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -68086,7 +68662,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &516 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68150,7 +68726,7 @@ paths: nullable: true pull_requests: type: array - items: *505 + items: *510 nullable: true app: title: GitHub app @@ -68161,9 +68737,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - repository: *241 + properties: *184 + required: *185 + repository: *249 created_at: type: string format: date-time @@ -68172,12 +68748,12 @@ paths: type: string format: date-time nullable: true - head_commit: &860 + head_commit: &866 title: Simple Commit description: A commit. type: object - properties: *509 - required: *510 + properties: *514 + required: *515 latest_check_runs_count: type: integer check_runs_url: @@ -68205,7 +68781,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &517 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68496,9 +69072,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *516 examples: - default: *512 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68517,8 +69093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -68579,7 +69155,7 @@ paths: required: - app_id - setting - repository: *241 + repository: *249 examples: default: value: @@ -68827,9 +69403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *435 - - *436 - - &513 + - *440 + - *441 + - &518 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -68841,9 +69417,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: - default: *512 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68866,17 +69442,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: - - *435 - - *436 - - *513 - - &560 + - *440 + - *441 + - *518 + - &565 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &561 + - &566 name: status description: Returns check runs with the specified `status`. in: query @@ -68915,9 +69491,9 @@ paths: type: integer check_runs: type: array - items: *506 + items: *511 examples: - default: &562 + default: &567 value: total_count: 1 check_runs: @@ -68999,7 +69575,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69019,15 +69595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *435 - - *436 - - *513 + - *440 + - *441 + - *518 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -69054,30 +69630,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: - - *435 - - *436 - - *273 - - *274 + - *440 + - *441 + - *280 + - *281 - *19 - *17 - - &529 + - &534 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: *514 - - &530 + schema: *519 + - &535 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *100 - - *98 + - *101 - *99 + - *100 - name: sort description: The property by which to sort the results. in: query @@ -69093,13 +69669,13 @@ paths: be returned. in: query required: false - schema: *275 + schema: *282 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *515 + schema: *520 responses: '200': description: Response @@ -69110,14 +69686,14 @@ paths: items: type: object properties: - number: *112 - created_at: *119 - updated_at: *120 - url: *117 - html_url: *118 - instances_url: *516 - state: *103 - fixed_at: *122 + number: *113 + created_at: *120 + updated_at: *121 + url: *118 + html_url: *119 + instances_url: *521 + state: *104 + fixed_at: *123 dismissed_by: title: Simple User description: A GitHub user. @@ -69125,12 +69701,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *121 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_at: *122 + dismissed_reason: *522 + dismissed_comment: *523 + rule: *524 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69253,14 +69829,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &522 + '403': &527 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69280,9 +69856,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: - - *435 - - *436 - - &523 + - *440 + - *441 + - &528 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69290,23 +69866,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *112 + schema: *113 responses: '200': description: Response content: application/json: - schema: &524 + schema: &529 type: object properties: - number: *112 - created_at: *119 - updated_at: *120 - url: *117 - html_url: *118 - instances_url: *516 - state: *103 - fixed_at: *122 + number: *113 + created_at: *120 + updated_at: *121 + url: *118 + html_url: *119 + instances_url: *521 + state: *104 + fixed_at: *123 dismissed_by: title: Simple User description: A GitHub user. @@ -69314,9 +69890,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *121 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_at: *122 + dismissed_reason: *522 + dismissed_comment: *523 rule: type: object properties: @@ -69370,8 +69946,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69467,9 +70043,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69487,9 +70063,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: true content: @@ -69504,8 +70080,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *522 + dismissed_comment: *523 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69524,7 +70100,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *529 examples: default: value: @@ -69600,14 +70176,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &533 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': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -69627,15 +70203,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 responses: '200': description: Response content: application/json: - schema: &525 + schema: &530 type: object properties: status: @@ -69661,13 +70237,13 @@ paths: - description - started_at examples: - default: &526 + default: &531 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &532 description: Bad Request content: application/json: @@ -69678,9 +70254,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': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69703,29 +70279,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 responses: '200': description: OK content: application/json: - schema: *525 + schema: *530 examples: - default: *526 + default: *531 '202': description: Accepted content: application/json: - schema: *525 + schema: *530 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *532 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -69735,7 +70311,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69757,9 +70333,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: false content: @@ -69804,12 +70380,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *532 + '403': *533 '404': *6 '422': description: Unprocessable Entity - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69829,13 +70405,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 - *19 - *17 - - *529 - - *530 + - *534 + - *535 responses: '200': description: Response @@ -69843,7 +70419,7 @@ paths: application/json: schema: type: array - items: *521 + items: *526 examples: default: value: @@ -69882,9 +70458,9 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69916,29 +70492,29 @@ 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: - - *435 - - *436 - - *273 - - *274 + - *440 + - *441 + - *280 + - *281 - *19 - *17 - - *530 + - *535 - 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: *514 + schema: *519 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &533 + schema: &538 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *100 + - *101 - name: sort description: The property by which to sort the results. in: query @@ -69955,23 +70531,23 @@ paths: application/json: schema: type: array - items: &534 + items: &539 type: object properties: - ref: *514 - commit_sha: &542 + ref: *519 + commit_sha: &547 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: *531 + analysis_key: *536 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *532 + category: *537 error: type: string example: error reading field xyz @@ -69995,8 +70571,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *533 - tool: *520 + sarif_id: *538 + tool: *525 deletable: type: boolean warning: @@ -70057,9 +70633,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70093,8 +70669,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: - - *435 - - *436 + - *440 + - *441 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70107,7 +70683,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: response: summary: application/json response @@ -70161,14 +70737,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *527 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70248,8 +70824,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: - - *435 - - *436 + - *440 + - *441 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70302,9 +70878,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': *528 + '403': *533 '404': *6 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70324,8 +70900,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -70333,7 +70909,7 @@ paths: application/json: schema: type: array - items: &535 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -70444,9 +71020,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': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70473,8 +71049,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: - - *435 - - *436 + - *440 + - *441 - name: language in: path description: The language of the CodeQL database. @@ -70486,7 +71062,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *540 examples: default: value: @@ -70518,11 +71094,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': &569 + '302': &574 description: Found - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70542,8 +71118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *435 - - *436 + - *440 + - *441 - name: language in: path description: The language of the CodeQL database. @@ -70553,9 +71129,9 @@ paths: responses: '204': description: Response - '403': *528 + '403': *533 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70581,8 +71157,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -70591,7 +71167,7 @@ paths: type: object additionalProperties: false properties: - language: &536 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -70670,7 +71246,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &540 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -70678,9 +71254,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *109 + controller_repo: *110 actor: *4 - query_language: *536 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -70727,7 +71303,7 @@ paths: items: type: object properties: - repository: &537 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -70763,7 +71339,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &541 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -70795,7 +71371,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &538 + access_mismatch_repos: &543 type: object properties: repository_count: @@ -70809,7 +71385,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: *537 + items: *542 required: - repository_count - repositories @@ -70831,8 +71407,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *538 - over_limit_repos: *538 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -70848,7 +71424,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &539 + value: &544 summary: Default response value: id: 1 @@ -71000,17 +71576,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *539 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *539 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71031,8 +71607,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: - - *435 - - *436 + - *440 + - *441 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71044,11 +71620,11 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *539 + default: *544 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71069,7 +71645,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: - - *435 + - *440 - name: repo in: path description: The name of the controller repository. @@ -71103,8 +71679,8 @@ paths: schema: type: object properties: - repository: *109 - analysis_status: *541 + repository: *110 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71208,7 +71784,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71229,8 +71805,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71315,9 +71891,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71336,8 +71912,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -71404,7 +71980,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -71429,7 +72005,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *533 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71443,7 +72019,7 @@ paths: content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71500,8 +72076,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -71509,7 +72085,7 @@ paths: schema: type: object properties: - commit_sha: *542 + commit_sha: *547 ref: type: string description: |- @@ -71567,7 +72143,7 @@ paths: schema: type: object properties: - id: *533 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -71581,11 +72157,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': *528 + '403': *533 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71604,8 +72180,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: - - *435 - - *436 + - *440 + - *441 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -71651,10 +72227,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': *522 + '403': *527 '404': description: Not Found if the sarif id does not match any upload - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71676,8 +72252,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71701,7 +72277,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *104 + configuration: *105 examples: default: value: @@ -71733,7 +72309,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': *132 + '204': *133 '304': *37 '403': *29 '404': *6 @@ -71758,8 +72334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *435 - - *436 + - *440 + - *441 - 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 @@ -71879,8 +72455,8 @@ paths: parameters: - *17 - *19 - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71896,7 +72472,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: default: value: @@ -72172,7 +72748,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': *40 '401': *25 '403': *29 '404': *6 @@ -72194,8 +72770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -72258,22 +72834,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72297,8 +72873,8 @@ paths: parameters: - *17 - *19 - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -72338,7 +72914,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *91 + '500': *40 '400': *14 '401': *25 '403': *29 @@ -72362,8 +72938,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: - - *435 - - *436 + - *440 + - *441 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72398,14 +72974,14 @@ paths: type: integer machines: type: array - items: &784 + items: &790 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *544 - required: *545 + properties: *549 + required: *550 examples: - default: &785 + default: &791 value: total_count: 2 machines: @@ -72422,7 +72998,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -72445,8 +73021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *435 - - *436 + - *440 + - *441 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72530,8 +73106,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: - - *435 - - *436 + - *440 + - *441 - 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 @@ -72576,7 +73152,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72597,8 +73173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -72616,7 +73192,7 @@ paths: type: integer secrets: type: array - items: &549 + items: &554 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -72636,9 +73212,9 @@ paths: - created_at - updated_at examples: - default: *546 + default: *551 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72659,16 +73235,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *547 + schema: *552 examples: - default: *548 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72688,17 +73264,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *549 + schema: *554 examples: - default: *550 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72718,9 +73294,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: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -72748,7 +73324,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -72772,9 +73348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -72802,8 +73378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *435 - - *436 + - *440 + - *441 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -72845,7 +73421,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &551 + properties: &556 login: type: string example: octocat @@ -72938,7 +73514,7 @@ paths: user_view_type: type: string example: public - required: &552 + required: &557 - avatar_url - events_url - followers_url @@ -72987,7 +73563,7 @@ paths: admin: false role_name: write headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -73012,9 +73588,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: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '204': description: Response if user is a collaborator @@ -73060,9 +73636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 requestBody: required: false content: @@ -73088,7 +73664,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &626 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73099,7 +73675,7 @@ paths: example: 42 type: integer format: int64 - repository: *241 + repository: *249 invitee: title: Simple User description: A GitHub user. @@ -73277,7 +73853,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *218 + schema: *226 '403': *29 x-github: triggersNotification: true @@ -73317,9 +73893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '204': description: No Content when collaborator was removed from the repository. @@ -73350,9 +73926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '200': description: if user has admin permissions @@ -73372,8 +73948,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *551 - required: *552 + properties: *556 + required: *557 nullable: true required: - permission @@ -73428,8 +74004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -73439,7 +74015,7 @@ paths: application/json: schema: type: array - items: &553 + items: &558 title: Commit Comment description: Commit Comment type: object @@ -73480,8 +74056,8 @@ paths: updated_at: type: string format: date-time - author_association: *178 - reactions: *179 + author_association: *186 + reactions: *187 required: - url - html_url @@ -73497,7 +74073,7 @@ paths: - created_at - updated_at examples: - default: &556 + default: &561 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73531,7 +74107,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73556,17 +74132,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: &557 + default: &562 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73623,9 +74199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -73647,7 +74223,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: default: value: @@ -73698,9 +74274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -73721,9 +74297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -73749,11 +74325,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -73772,9 +74348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -73806,16 +74382,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -73837,10 +74413,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -73889,8 +74465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *435 - - *436 + - *440 + - *441 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73946,9 +74522,9 @@ paths: application/json: schema: type: array - items: *554 + items: *559 examples: - default: &676 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74018,11 +74594,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '400': *14 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74042,9 +74618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *435 - - *436 - - &555 + - *440 + - *441 + - &560 name: commit_sha description: The SHA of the commit. in: path @@ -74091,7 +74667,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74116,9 +74692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 - *17 - *19 responses: @@ -74128,11 +74704,11 @@ paths: application/json: schema: type: array - items: *553 + items: *558 examples: - default: *556 + default: *561 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74158,9 +74734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 requestBody: required: true content: @@ -74195,9 +74771,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: *557 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74225,9 +74801,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: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 - *17 - *19 responses: @@ -74237,9 +74813,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: &668 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74718,8 +75294,8 @@ paths: auto_merge: draft: false headers: - Link: *40 - '409': *108 + Link: *43 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74776,11 +75352,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 - - &559 + - &564 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)" @@ -74795,9 +75371,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *559 examples: - default: &655 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74883,9 +75459,9 @@ paths: ..... '422': *15 '404': *6 - '500': *91 - '503': *166 - '409': *108 + '500': *40 + '503': *167 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74910,11 +75486,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: - - *435 - - *436 - - *559 - - *560 - - *561 + - *440 + - *441 + - *564 + - *565 + - *566 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74948,11 +75524,11 @@ paths: type: integer check_runs: type: array - items: *506 + items: *511 examples: - default: *562 + default: *567 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74975,9 +75551,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: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74985,7 +75561,7 @@ paths: schema: type: integer example: 1 - - *560 + - *565 - *17 - *19 responses: @@ -75003,7 +75579,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *516 examples: default: value: @@ -75178,7 +75754,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75203,9 +75779,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: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - *17 - *19 responses: @@ -75272,7 +75848,7 @@ paths: type: string total_count: type: integer - repository: *241 + repository: *249 commit_url: type: string format: uri @@ -75403,9 +75979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - *17 - *19 responses: @@ -75415,7 +75991,7 @@ paths: application/json: schema: type: array - items: &729 + items: &735 title: Status description: The status of a commit. type: object @@ -75495,8 +76071,8 @@ paths: type: User site_admin: false headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75524,8 +76100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -75554,20 +76130,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *563 - required: *564 + properties: *568 + required: *569 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &565 + properties: &570 url: type: string format: uri html_url: type: string format: uri - required: &566 + required: &571 - url - html_url nullable: true @@ -75575,32 +76151,32 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true contributing: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true readme: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true issue_template: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true pull_request_template: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true required: - code_of_conduct @@ -75727,8 +76303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 - name: basehead @@ -75771,8 +76347,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *554 - merge_base_commit: *554 + base_commit: *559 + merge_base_commit: *559 status: type: string enum: @@ -75792,10 +76368,10 @@ paths: example: 6 commits: type: array - items: *554 + items: *559 files: type: array - items: *567 + items: *572 required: - url - html_url @@ -76038,8 +76614,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76081,8 +76657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -76225,7 +76801,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &568 + response-if-content-is-a-file: &573 summary: Response if content is a file value: type: file @@ -76357,7 +76933,7 @@ paths: - size - type - url - - &681 + - &686 title: Content File description: Content File type: object @@ -76558,7 +77134,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *568 + response-if-content-is-a-file: *573 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -76627,7 +77203,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *569 + '302': *574 '304': *37 x-github: githubCloudOnly: false @@ -76650,8 +77226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -76744,7 +77320,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &575 title: File Commit description: File Commit type: object @@ -76896,7 +77472,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *575 examples: example-for-creating-a-file: value: @@ -76950,7 +77526,7 @@ paths: schema: oneOf: - *3 - - &608 + - &613 description: Repository rule violation was detected type: object properties: @@ -76971,7 +77547,7 @@ paths: items: type: object properties: - placeholder_id: &721 + placeholder_id: &727 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77003,8 +77579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -77065,7 +77641,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *575 examples: default: value: @@ -77099,8 +77675,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *108 - '503': *166 + '409': *109 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77120,8 +77696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *435 - - *436 + - *440 + - *441 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77221,7 +77797,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *40 + Link: *43 '204': description: Response if repository is empty '403': *29 @@ -77244,23 +77820,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *435 - - *436 - - *290 - - *291 - - *292 - - *293 + - *440 + - *441 + - *297 + - *298 + - *299 + - *300 - 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 - - *294 - - *295 - - *296 - - *297 - - *100 + - *301 + - *302 + - *303 + - *304 + - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -77277,10 +77853,10 @@ paths: schema: type: integer default: 30 - - *98 - *99 - - *298 - - *299 + - *100 + - *305 + - *306 responses: '200': description: Response @@ -77288,11 +77864,11 @@ paths: application/json: schema: type: array - items: &573 + items: &578 type: object description: A Dependabot alert. properties: - number: *112 + number: *113 state: type: string description: The state of the Dependabot alert. @@ -77307,7 +77883,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *113 + package: *114 manifest_path: type: string description: The full path to the dependency manifest file, @@ -77334,13 +77910,13 @@ paths: - unknown - direct - transitive - security_advisory: *571 - security_vulnerability: *116 - url: *117 - html_url: *118 - created_at: *119 - updated_at: *120 - dismissed_at: *121 + security_advisory: *576 + security_vulnerability: *117 + url: *118 + html_url: *119 + created_at: *120 + updated_at: *121 + dismissed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -77364,8 +77940,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *122 - auto_dismissed_at: *572 + fixed_at: *123 + auto_dismissed_at: *577 required: - number - state @@ -77595,9 +78171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *435 - - *436 - - &574 + - *440 + - *441 + - &579 name: alert_number in: path description: |- @@ -77606,13 +78182,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *112 + schema: *113 responses: '200': description: Response content: application/json: - schema: *573 + schema: *578 examples: default: value: @@ -77725,9 +78301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *435 - - *436 - - *574 + - *440 + - *441 + - *579 requestBody: required: true content: @@ -77772,7 +78348,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: default: value: @@ -77878,7 +78454,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *7 x-github: githubCloudOnly: false @@ -77901,8 +78477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -77920,7 +78496,7 @@ paths: type: integer secrets: type: array - items: &577 + items: &582 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77951,7 +78527,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77973,16 +78549,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *575 + schema: *580 examples: - default: *576 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78002,15 +78578,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *577 + schema: *582 examples: default: value: @@ -78036,9 +78612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -78066,7 +78642,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -78090,9 +78666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -78114,8 +78690,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: - - *435 - - *436 + - *440 + - *441 - 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 @@ -78251,7 +78827,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *40 + Link: *43 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -78275,8 +78851,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -78492,7 +79068,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *40 + Link: *43 '404': *6 '403': *29 x-github: @@ -78515,8 +79091,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -78591,7 +79167,7 @@ paths: - version - url additionalProperties: false - metadata: &578 + metadata: &583 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78624,7 +79200,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *578 + metadata: *583 resolved: type: object description: A collection of resolved package dependencies. @@ -78637,7 +79213,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *578 + metadata: *583 relationship: type: string description: A notation of whether a dependency is requested @@ -78766,8 +79342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *435 - - *436 + - *440 + - *441 - name: sha description: The SHA recorded at creation time. in: query @@ -78807,11 +79383,11 @@ paths: application/json: schema: type: array - items: *579 + items: *584 examples: - default: *580 + default: *585 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78875,8 +79451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -78957,7 +79533,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: simple-example: summary: Simple example @@ -79030,9 +79606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *435 - - *436 - - &581 + - *440 + - *441 + - &586 name: deployment_id description: deployment_id parameter in: path @@ -79044,7 +79620,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -79109,9 +79685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 responses: '204': description: Response @@ -79133,9 +79709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 - *17 - *19 responses: @@ -79145,7 +79721,7 @@ paths: application/json: schema: type: array - items: &582 + items: &587 title: Deployment Status description: The status of a deployment. type: object @@ -79236,8 +79812,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -79286,7 +79862,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -79306,9 +79882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 requestBody: required: true content: @@ -79383,9 +79959,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *587 examples: - default: &583 + default: &588 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -79441,9 +80017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 - name: status_id in: path required: true @@ -79454,9 +80030,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *587 examples: - default: *583 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -79483,12 +80059,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 - - *584 - - *585 - - *586 - - *587 + - *440 + - *441 + - *589 + - *590 + - *591 + - *592 - *17 - *19 responses: @@ -79498,12 +80074,12 @@ paths: application/json: schema: type: array - items: *588 + items: *593 examples: - default: *589 + default: *594 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -79524,8 +80100,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79537,7 +80113,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *593 examples: default: value: @@ -79573,7 +80149,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -79593,8 +80169,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79632,7 +80208,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -79653,12 +80229,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - - *590 + - *96 + - *595 - *17 - *19 responses: @@ -79668,12 +80244,12 @@ paths: application/json: schema: type: array - items: *591 + items: *596 examples: - default: *592 + default: *597 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -79695,8 +80271,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79708,7 +80284,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -79745,7 +80321,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -79766,8 +80342,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79817,7 +80393,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -79836,8 +80412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -79894,8 +80470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -79912,7 +80488,7 @@ paths: type: integer environments: type: array - items: &594 + items: &599 title: Environment description: Details of a deployment environment type: object @@ -79964,7 +80540,7 @@ paths: type: type: string example: wait_timer - wait_timer: &596 + wait_timer: &601 type: integer example: 30 description: The amount of time to delay a job after @@ -80001,11 +80577,11 @@ paths: items: type: object properties: - type: *593 + type: *598 reviewer: anyOf: - *4 - - *269 + - *276 required: - id - node_id @@ -80025,7 +80601,7 @@ paths: - id - node_id - type - deployment_branch_policy: &597 + deployment_branch_policy: &602 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80141,9 +80717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *435 - - *436 - - &595 + - *440 + - *441 + - &600 name: environment_name in: path required: true @@ -80156,9 +80732,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: &598 + default: &603 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80242,9 +80818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: false content: @@ -80253,7 +80829,7 @@ paths: type: object nullable: true properties: - wait_timer: *596 + wait_timer: *601 prevent_self_review: type: boolean example: false @@ -80270,13 +80846,13 @@ paths: items: type: object properties: - type: *593 + type: *598 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *597 + deployment_branch_policy: *602 additionalProperties: false examples: default: @@ -80296,9 +80872,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: *598 + default: *603 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80322,9 +80898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 responses: '204': description: Default response @@ -80349,9 +80925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 - *17 - *19 responses: @@ -80369,7 +80945,7 @@ paths: example: 2 branch_policies: type: array - items: &599 + items: &604 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80426,9 +81002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: true content: @@ -80474,9 +81050,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - example-wildcard: &600 + example-wildcard: &605 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -80518,10 +81094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - &601 + - *440 + - *441 + - *600 + - &606 name: branch_policy_id in: path required: true @@ -80533,9 +81109,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - default: *600 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80554,10 +81130,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - *601 + - *440 + - *441 + - *600 + - *606 requestBody: required: true content: @@ -80585,9 +81161,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - default: *600 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80606,10 +81182,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - *601 + - *440 + - *441 + - *600 + - *606 responses: '204': description: Response @@ -80634,9 +81210,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 responses: '200': description: List of deployment protection rules @@ -80652,7 +81228,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &602 + items: &607 title: Deployment protection rule description: Deployment protection rule type: object @@ -80671,7 +81247,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &603 + app: &608 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -80770,9 +81346,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 requestBody: content: application/json: @@ -80793,9 +81369,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *602 + schema: *607 examples: - default: &604 + default: &609 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -80830,9 +81406,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 - *19 - *17 responses: @@ -80851,7 +81427,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *603 + items: *608 examples: default: value: @@ -80886,10 +81462,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: - - *435 - - *436 - - *595 - - &605 + - *440 + - *441 + - *600 + - &610 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -80901,9 +81477,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: - default: *604 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80924,10 +81500,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: - - *595 - - *436 - - *435 - - *605 + - *600 + - *441 + - *440 + - *610 responses: '204': description: Response @@ -80953,9 +81529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 - *17 - *19 responses: @@ -80973,11 +81549,11 @@ paths: type: integer secrets: type: array - items: *472 + items: *477 examples: - default: *473 + default: *478 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81000,17 +81576,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 responses: '200': description: Response content: application/json: - schema: *474 + schema: *479 examples: - default: *475 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81032,18 +81608,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 responses: '200': description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *606 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81065,10 +81641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 requestBody: required: true content: @@ -81099,7 +81675,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -81125,10 +81701,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 responses: '204': description: Default response @@ -81153,10 +81729,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *435 - - *436 - - *595 - - *459 + - *440 + - *441 + - *600 + - *464 - *19 responses: '200': @@ -81173,11 +81749,11 @@ paths: type: integer variables: type: array - items: *476 + items: *481 examples: - default: *477 + default: *482 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81198,9 +81774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: true content: @@ -81227,7 +81803,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -81252,18 +81828,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *435 - - *436 - - *595 - - *254 + - *440 + - *441 + - *600 + - *262 responses: '200': description: Response content: application/json: - schema: *476 + schema: *481 examples: - default: *607 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81284,10 +81860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *435 - - *436 - - *254 - - *595 + - *440 + - *441 + - *262 + - *600 requestBody: required: true content: @@ -81329,10 +81905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *435 - - *436 - - *254 - - *595 + - *440 + - *441 + - *262 + - *600 responses: '204': description: Response @@ -81354,8 +81930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -81365,7 +81941,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: 200-response: value: @@ -81432,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *435 - - *436 + - *440 + - *441 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -81455,7 +82031,7 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: default: value: @@ -81568,7 +82144,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *40 + Link: *43 '400': *14 x-github: githubCloudOnly: false @@ -81592,8 +82168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -81625,9 +82201,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 '400': *14 '422': *15 '403': *29 @@ -81648,8 +82224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -81700,7 +82276,7 @@ paths: schema: type: string '404': *6 - '409': *108 + '409': *109 '403': *29 '422': description: Validation failed @@ -81708,8 +82284,8 @@ paths: application/json: schema: oneOf: - - *218 - - *608 + - *226 + - *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81734,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *435 - - *436 + - *440 + - *441 - name: file_sha in: path required: true @@ -81786,7 +82362,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81834,8 +82410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -81944,7 +82520,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &614 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82108,7 +82684,7 @@ paths: type: string '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82158,15 +82734,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 responses: '200': description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -82197,7 +82773,7 @@ paths: payload: verified_at: '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82222,9 +82798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *435 - - *436 - - &610 + - *440 + - *441 + - &615 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. @@ -82241,7 +82817,7 @@ paths: application/json: schema: type: array - items: &611 + items: &616 title: Git Reference description: Git references within a repository type: object @@ -82294,8 +82870,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *40 - '409': *108 + Link: *43 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82316,17 +82892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 responses: '200': description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: &612 + default: &617 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82336,7 +82912,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82355,8 +82931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82385,16 +82961,16 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82413,9 +82989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 requestBody: required: true content: @@ -82444,11 +83020,11 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82464,16 +83040,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82521,8 +83097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82589,7 +83165,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &619 title: Git Tag description: Metadata for a Git tag type: object @@ -82640,7 +83216,7 @@ paths: - sha - type - url - verification: *613 + verification: *618 required: - sha - url @@ -82650,7 +83226,7 @@ paths: - tag - message examples: - default: &615 + default: &620 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -82677,7 +83253,7 @@ paths: schema: type: string '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82723,8 +83299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *435 - - *436 + - *440 + - *441 - name: tag_sha in: path required: true @@ -82735,11 +83311,11 @@ paths: description: Response content: application/json: - schema: *614 + schema: *619 examples: - default: *615 + default: *620 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82761,8 +83337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82835,7 +83411,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &621 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -82908,7 +83484,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82931,8 +83507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *435 - - *436 + - *440 + - *441 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -82955,7 +83531,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *621 examples: default-response: summary: Default response @@ -82996,7 +83572,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83014,8 +83590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -83025,7 +83601,7 @@ paths: application/json: schema: type: array - items: &617 + items: &622 title: Webhook description: Webhooks for repositories. type: object @@ -83079,7 +83655,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &868 + last_response: &874 title: Hook Response type: object properties: @@ -83134,7 +83710,7 @@ paths: status: unused message: headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -83153,8 +83729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -83206,9 +83782,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: &618 + default: &623 value: type: Repository id: 12345678 @@ -83256,17 +83832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '200': description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '404': *6 x-github: githubCloudOnly: false @@ -83286,9 +83862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 requestBody: required: true content: @@ -83333,9 +83909,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '422': *15 '404': *6 x-github: @@ -83356,9 +83932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83382,9 +83958,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '200': description: Response @@ -83411,9 +83987,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 requestBody: required: false content: @@ -83457,11 +84033,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *17 - - *308 + - *315 responses: '200': description: Response @@ -83469,9 +84045,9 @@ paths: application/json: schema: type: array - items: *309 + items: *316 examples: - default: *310 + default: *317 '400': *14 '422': *15 x-github: @@ -83490,18 +84066,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *318 examples: - default: *312 + default: *319 '400': *14 '422': *15 x-github: @@ -83520,9 +84096,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *16 responses: '202': *39 @@ -83545,9 +84121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83572,9 +84148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83632,14 +84208,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &619 + schema: &624 title: Import description: A repository import from an external source. type: object @@ -83738,7 +84314,7 @@ paths: - html_url - authors_url examples: - default: &622 + default: &627 value: vcs: subversion use_lfs: true @@ -83754,7 +84330,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': &620 + '503': &625 description: Unavailable due to service under maintenance. content: application/json: @@ -83783,8 +84359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -83832,7 +84408,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -83857,7 +84433,7 @@ paths: type: string '422': *15 '404': *6 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83885,8 +84461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -83935,7 +84511,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: example-1: summary: Example 1 @@ -83983,7 +84559,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': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84006,12 +84582,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84037,9 +84613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *435 - - *436 - - &807 + - *440 + - *441 + - &813 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84053,7 +84629,7 @@ paths: application/json: schema: type: array - items: &621 + items: &626 title: Porter Author description: Porter Author type: object @@ -84107,7 +84683,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': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84132,8 +84708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *435 - - *436 + - *440 + - *441 - name: author_id in: path required: true @@ -84163,7 +84739,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *626 examples: default: value: @@ -84176,7 +84752,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84200,8 +84776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84242,7 +84818,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84270,8 +84846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -84298,11 +84874,11 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 + default: *627 '422': *15 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84325,8 +84901,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84334,8 +84910,8 @@ paths: application/json: schema: *22 examples: - default: *623 - '301': *449 + default: *628 + '301': *454 '404': *6 x-github: githubCloudOnly: false @@ -84355,8 +84931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84364,12 +84940,12 @@ paths: application/json: schema: anyOf: - - *325 + - *332 - type: object properties: {} additionalProperties: false examples: - default: &625 + default: &630 value: limit: collaborators_only origin: repository @@ -84394,13 +84970,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *624 + schema: *629 examples: default: summary: Example request body @@ -84412,9 +84988,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: - default: *625 + default: *630 '409': description: Response x-github: @@ -84436,8 +85012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -84460,8 +85036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -84471,9 +85047,9 @@ paths: application/json: schema: type: array - items: *626 + items: *631 examples: - default: &800 + default: &806 value: - id: 1 repository: @@ -84587,7 +85163,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84604,9 +85180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *435 - - *436 - - *329 + - *440 + - *441 + - *336 requestBody: required: false content: @@ -84635,7 +85211,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *631 examples: default: value: @@ -84766,9 +85342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *435 - - *436 - - *329 + - *440 + - *441 + - *336 responses: '204': description: Response @@ -84799,8 +85375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *435 - - *436 + - *440 + - *441 - 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 @@ -84848,7 +85424,7 @@ paths: required: false schema: type: string - - *333 + - *340 - name: sort description: What to sort results by. in: query @@ -84860,8 +85436,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -84871,9 +85447,9 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: &635 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85020,8 +85596,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '422': *15 '404': *6 x-github: @@ -85050,8 +85626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -85133,9 +85709,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: &632 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -85289,9 +85865,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *166 + '503': *167 '404': *6 - '410': *446 + '410': *451 x-github: triggersNotification: true githubCloudOnly: false @@ -85319,9 +85895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *435 - - *436 - - *201 + - *440 + - *441 + - *209 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85331,7 +85907,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -85341,9 +85917,9 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: &634 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85374,7 +85950,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '422': *15 '404': *6 x-github: @@ -85401,17 +85977,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: &628 + default: &633 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85465,9 +86041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -85489,9 +86065,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '422': *15 x-github: githubCloudOnly: false @@ -85509,9 +86085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -85531,9 +86107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -85559,11 +86135,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -85582,9 +86158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -85616,16 +86192,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -85647,10 +86223,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -85670,8 +86246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -85681,7 +86257,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: Issue Event description: Issue Event type: object @@ -85724,8 +86300,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *629 - required: *630 + properties: *634 + required: *635 nullable: true label: title: Issue Event Label @@ -85769,7 +86345,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *269 + requested_team: *276 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85834,7 +86410,7 @@ paths: required: - from - to - author_association: *178 + author_association: *186 lock_reason: type: string nullable: true @@ -85847,8 +86423,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -86014,7 +86590,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -86032,8 +86608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *435 - - *436 + - *440 + - *441 - name: event_id in: path required: true @@ -86044,7 +86620,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: default: value: @@ -86237,7 +86813,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *446 + '410': *451 '403': *29 x-github: githubCloudOnly: false @@ -86271,9 +86847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *435 - - *436 - - &633 + - *440 + - *441 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -86285,12 +86861,12 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '404': *6 - '410': *446 + '410': *451 '304': *37 x-github: githubCloudOnly: false @@ -86315,9 +86891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -86421,15 +86997,15 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 '422': *15 - '503': *166 + '503': *167 '403': *29 - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86447,9 +87023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -86475,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86493,9 +87069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: content: application/json: @@ -86520,9 +87096,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86544,9 +87120,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: assignee in: path required: true @@ -86586,10 +87162,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *435 - - *436 - - *633 - - *181 + - *440 + - *441 + - *638 + - *189 - *17 - *19 responses: @@ -86599,13 +87175,13 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: *634 + default: *639 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86634,9 +87210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -86658,16 +87234,16 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -86695,9 +87271,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86707,14 +87283,14 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86742,9 +87318,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -86766,17 +87342,17 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *454 '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -86807,9 +87383,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86821,15 +87397,15 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 x-github: triggersNotification: true githubCloudOnly: false @@ -86855,9 +87431,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86867,14 +87443,14 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86891,9 +87467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86907,7 +87483,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &638 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -86938,8 +87514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 label: type: object properties: @@ -86961,7 +87537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &639 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86992,8 +87568,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 label: type: object properties: @@ -87081,8 +87657,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 assigner: *4 required: @@ -87097,7 +87673,7 @@ paths: - performed_via_github_app - assignee - assigner - - &640 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87128,8 +87704,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 milestone: type: object properties: @@ -87148,7 +87724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87179,8 +87755,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 milestone: type: object properties: @@ -87199,7 +87775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87230,8 +87806,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 rename: type: object properties: @@ -87253,7 +87829,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87284,10 +87860,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 review_requester: *4 - requested_team: *269 + requested_team: *276 requested_reviewer: *4 required: - review_requester @@ -87300,7 +87876,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87331,10 +87907,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 review_requester: *4 - requested_team: *269 + requested_team: *276 requested_reviewer: *4 required: - review_requester @@ -87347,7 +87923,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -87378,8 +87954,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 dismissed_review: type: object properties: @@ -87407,7 +87983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -87438,8 +88014,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 lock_reason: type: string example: '"off-topic"' @@ -87455,7 +88031,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -87486,8 +88062,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87521,7 +88097,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87552,8 +88128,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87587,7 +88163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87618,8 +88194,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87653,7 +88229,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87743,8 +88319,8 @@ paths: name: label color: red headers: - Link: *40 - '410': *446 + Link: *43 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87761,9 +88337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -87773,7 +88349,7 @@ paths: application/json: schema: type: array - items: &636 + items: &641 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -87820,7 +88396,7 @@ paths: - color - default examples: - default: &637 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87837,10 +88413,10 @@ paths: color: a2eeef default: false headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87857,9 +88433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -87918,12 +88494,12 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 - '301': *449 + default: *642 + '301': *454 '404': *6 - '410': *446 + '410': *451 '422': *15 x-github: githubCloudOnly: false @@ -87940,9 +88516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -88002,12 +88578,12 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 - '301': *449 + default: *642 + '301': *454 '404': *6 - '410': *446 + '410': *451 '422': *15 x-github: githubCloudOnly: false @@ -88024,15 +88600,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '204': description: Response - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88051,9 +88627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: name in: path required: true @@ -88066,7 +88642,7 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: default: value: @@ -88077,9 +88653,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88099,9 +88675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -88129,7 +88705,7 @@ paths: '204': description: Response '403': *29 - '410': *446 + '410': *451 '404': *6 '422': *15 x-github: @@ -88147,9 +88723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '204': description: Response @@ -88179,20 +88755,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '200': description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88209,9 +88785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - 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. @@ -88237,13 +88813,13 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88261,9 +88837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88295,16 +88871,16 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -88326,10 +88902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *435 - - *436 - - *633 - - *427 + - *440 + - *441 + - *638 + - *432 responses: '204': description: Response @@ -88358,9 +88934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88382,9 +88958,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88417,9 +88993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -88429,13 +89005,13 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88463,9 +89039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88492,16 +89068,16 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -88521,9 +89097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88554,13 +89130,13 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 '403': *29 '404': *6 '422': *7 - '503': *166 + '503': *167 x-github: triggersNotification: true githubCloudOnly: false @@ -88578,9 +89154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -88595,11 +89171,6 @@ paths: description: Timeline Event type: object anyOf: - - *638 - - *639 - - *640 - - *641 - - *642 - *643 - *644 - *645 @@ -88608,6 +89179,11 @@ paths: - *648 - *649 - *650 + - *651 + - *652 + - *653 + - *654 + - *655 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -88650,7 +89226,7 @@ paths: issue_url: type: string format: uri - author_association: *178 + author_association: *186 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -88660,9 +89236,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - event - actor @@ -88693,7 +89269,7 @@ paths: properties: type: type: string - issue: *191 + issue: *199 required: - event - created_at @@ -88893,7 +89469,7 @@ paths: type: string body_text: type: string - author_association: *178 + author_association: *186 required: - event - id @@ -88916,7 +89492,7 @@ paths: type: string comments: type: array - items: &670 + items: &675 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -89005,7 +89581,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *178 + author_association: *186 _links: type: object properties: @@ -89089,7 +89665,7 @@ paths: enum: - line - file - reactions: *179 + reactions: *187 body_html: type: string example: '"

comment body

"' @@ -89125,7 +89701,7 @@ paths: type: string comments: type: array - items: *553 + items: *558 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89156,8 +89732,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 required: - id @@ -89200,8 +89776,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 required: - id @@ -89244,8 +89820,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 state_reason: type: string nullable: true @@ -89412,9 +89988,9 @@ paths: type: User site_admin: true headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89431,8 +90007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -89442,7 +90018,7 @@ paths: application/json: schema: type: array - items: &651 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89492,7 +90068,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89508,8 +90084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -89545,9 +90121,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: &652 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -89581,9 +90157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *435 - - *436 - - &653 + - *440 + - *441 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -89595,9 +90171,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -89615,9 +90191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *435 - - *436 - - *653 + - *440 + - *441 + - *658 responses: '204': description: Response @@ -89637,8 +90213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -89648,11 +90224,11 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -89671,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -89708,9 +90284,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: - default: &654 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89742,8 +90318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89754,9 +90330,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: - default: *654 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -89773,8 +90349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89813,7 +90389,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: default: value: @@ -89839,8 +90415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89866,8 +90442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -89903,8 +90479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '202': *39 '403': @@ -89932,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -89959,9 +90535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *435 - - *436 - - *529 + - *440 + - *441 + - *534 responses: '200': description: Response @@ -90023,8 +90599,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true required: - _links @@ -90106,8 +90682,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90172,8 +90748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90207,9 +90783,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *554 + schema: *559 examples: - default: *655 + default: *660 '204': description: Response when already merged '404': @@ -90234,8 +90810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90276,12 +90852,12 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 examples: default: value: @@ -90320,7 +90896,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -90337,8 +90913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90378,9 +90954,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90439,9 +91015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *435 - - *436 - - &658 + - *440 + - *441 + - &663 name: milestone_number description: The number that identifies the milestone. in: path @@ -90453,9 +91029,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -90472,9 +91048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 requestBody: required: false content: @@ -90512,9 +91088,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +91106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 responses: '204': description: Response @@ -90553,9 +91129,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: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 - *17 - *19 responses: @@ -90565,11 +91141,11 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90586,12 +91162,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: - - *435 - - *436 - - *659 - - *660 - - *181 - - *661 + - *440 + - *441 + - *664 + - *665 + - *189 + - *666 - *17 - *19 responses: @@ -90601,11 +91177,11 @@ paths: application/json: schema: type: array - items: *204 + items: *212 examples: - default: *662 + default: *667 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90627,8 +91203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -90686,14 +91262,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &663 + schema: &668 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -90818,7 +91394,7 @@ paths: - custom_404 - public examples: - default: &664 + default: &669 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90859,8 +91435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90914,11 +91490,11 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *664 + default: *669 '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90939,8 +91515,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91026,7 +91602,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91047,14 +91623,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91074,8 +91650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -91085,7 +91661,7 @@ paths: application/json: schema: type: array - items: &665 + items: &670 title: Page Build description: Page Build type: object @@ -91160,7 +91736,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91179,8 +91755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response @@ -91225,16 +91801,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: &666 + default: &671 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91282,8 +91858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *435 - - *436 + - *440 + - *441 - name: build_id in: path required: true @@ -91294,9 +91870,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: *666 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91316,8 +91892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91422,9 +91998,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: - - *435 - - *436 - - &667 + - *440 + - *441 + - &672 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91482,11 +92058,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *435 - - *436 - - *667 + - *440 + - *441 + - *672 responses: - '204': *132 + '204': *133 '404': *6 x-github: githubCloudOnly: false @@ -91511,8 +92087,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -91743,7 +92319,7 @@ paths: description: Empty response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -91770,8 +92346,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Private vulnerability reporting status @@ -91808,10 +92384,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: - - *435 - - *436 + - *440 + - *441 responses: - '204': *132 + '204': *133 '422': *14 x-github: githubCloudOnly: false @@ -91830,10 +92406,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: - - *435 - - *436 + - *440 + - *441 responses: - '204': *132 + '204': *133 '422': *14 x-github: githubCloudOnly: false @@ -91854,8 +92430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: Indicates the state of the projects to return. in: query @@ -91876,7 +92452,7 @@ paths: application/json: schema: type: array - items: *364 + items: *369 examples: default: value: @@ -91912,11 +92488,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *40 + Link: *43 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -91939,8 +92515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91966,13 +92542,13 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: *445 + default: *450 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -91995,8 +92571,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -92004,7 +92580,7 @@ paths: application/json: schema: type: array - items: *378 + items: *383 examples: default: value: @@ -92035,8 +92611,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -92048,7 +92624,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *378 + items: *383 required: - properties examples: @@ -92098,8 +92674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92159,11 +92735,11 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *668 + default: *673 headers: - Link: *40 + Link: *43 '304': *37 '422': *15 x-github: @@ -92193,8 +92769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -92259,7 +92835,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &677 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -92370,8 +92946,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -92416,7 +92992,7 @@ paths: nullable: true requested_teams: type: array - items: *402 + items: *407 nullable: true head: type: object @@ -92425,7 +93001,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: *4 @@ -92442,7 +93018,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: *4 @@ -92455,14 +93031,14 @@ paths: _links: type: object properties: - comments: *372 - commits: *372 - statuses: *372 - html: *372 - issue: *372 - review_comments: *372 - review_comment: *372 - self: *372 + comments: *377 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -92472,8 +93048,8 @@ paths: - review_comments - review_comment - self - author_association: *178 - auto_merge: *669 + author_association: *186 + auto_merge: *674 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92565,7 +93141,7 @@ paths: - merged_by - review_comments examples: - default: &673 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93092,8 +93668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - name: sort in: query required: false @@ -93112,7 +93688,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -93122,9 +93698,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: &675 + default: &680 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93176,7 +93752,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93201,17 +93777,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: &671 + default: &676 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93286,9 +93862,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -93310,9 +93886,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: *671 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93328,9 +93904,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -93351,9 +93927,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -93379,11 +93955,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -93402,9 +93978,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -93436,16 +94012,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -93467,10 +94043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -93513,9 +94089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *435 - - *436 - - &674 + - *440 + - *441 + - &679 name: pull_number description: The number that identifies the pull request. in: path @@ -93528,9 +94104,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '304': *37 '404': *6 '406': @@ -93538,8 +94114,8 @@ paths: content: application/json: schema: *3 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93565,9 +94141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -93609,9 +94185,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '422': *15 '403': *29 x-github: @@ -93633,9 +94209,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -93695,21 +94271,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93735,10 +94311,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: - - *435 - - *436 - - *674 - - *201 + - *440 + - *441 + - *679 + - *209 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -93748,7 +94324,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -93758,11 +94334,11 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *675 + default: *680 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93793,9 +94369,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -93900,7 +94476,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: example-for-a-multi-line-comment: value: @@ -93988,10 +94564,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: - - *435 - - *436 - - *674 - - *190 + - *440 + - *441 + - *679 + - *198 requestBody: required: true content: @@ -94013,7 +94589,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: default: value: @@ -94099,9 +94675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -94111,11 +94687,11 @@ paths: application/json: schema: type: array - items: *554 + items: *559 examples: - default: *676 + default: *681 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94143,9 +94719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -94155,7 +94731,7 @@ paths: application/json: schema: type: array - items: *567 + items: *572 examples: default: value: @@ -94171,10 +94747,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *40 + Link: *43 '422': *15 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94193,9 +94769,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 responses: '204': description: Response if pull request has been merged @@ -94218,9 +94794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -94331,9 +94907,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 responses: '200': description: Response @@ -94349,7 +94925,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 required: - users - teams @@ -94390,7 +94966,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94408,9 +94984,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -94447,7 +95023,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -94983,9 +95559,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -95019,7 +95595,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -95524,9 +96100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -95536,7 +96112,7 @@ paths: application/json: schema: type: array - items: &677 + items: &682 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -95605,7 +96181,7 @@ paths: type: string body_text: type: string - author_association: *178 + author_association: *186 required: - id - node_id @@ -95654,7 +96230,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95687,9 +96263,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -95775,9 +96351,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: &679 + default: &684 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95840,10 +96416,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: - - *435 - - *436 - - *674 - - &678 + - *440 + - *441 + - *679 + - &683 name: review_id description: The unique identifier of the review. in: path @@ -95855,9 +96431,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: &680 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95916,10 +96492,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -95942,7 +96518,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: default: value: @@ -96004,18 +96580,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 responses: '200': description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: *679 + default: *684 '422': *7 '404': *6 x-github: @@ -96042,10 +96618,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 - *17 - *19 responses: @@ -96124,13 +96700,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *178 + author_association: *186 _links: type: object properties: - self: *372 - html: *372 - pull_request: *372 + self: *377 + html: *377 + pull_request: *377 required: - self - html @@ -96139,7 +96715,7 @@ paths: type: string body_html: type: string - reactions: *179 + reactions: *187 side: description: The side of the first line of the range for a multi-line comment. @@ -96251,7 +96827,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -96280,10 +96856,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -96311,7 +96887,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: default: value: @@ -96374,10 +96950,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -96412,9 +96988,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: *680 + default: *685 '404': *6 '422': *7 '403': *29 @@ -96436,9 +97012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -96501,8 +97077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *435 - - *436 + - *440 + - *441 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96515,9 +97091,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *686 examples: - default: &682 + default: &687 value: type: file encoding: base64 @@ -96559,8 +97135,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: - - *435 - - *436 + - *440 + - *441 - name: dir description: The alternate path to look for a README file in: path @@ -96580,9 +97156,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *686 examples: - default: *682 + default: *687 '404': *6 '422': *15 x-github: @@ -96604,8 +97180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -96615,7 +97191,7 @@ paths: application/json: schema: type: array - items: &683 + items: &688 title: Release description: A release. type: object @@ -96686,7 +97262,7 @@ paths: author: *4 assets: type: array - items: &684 + items: &689 title: Release Asset description: Data related to a release. type: object @@ -96761,7 +97337,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *179 + reactions: *187 required: - assets_url - upload_url @@ -96853,7 +97429,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -96873,8 +97449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -96950,9 +97526,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: &687 + default: &692 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97057,9 +97633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *435 - - *436 - - &685 + - *440 + - *441 + - &690 name: asset_id description: The unique identifier of the asset. in: path @@ -97071,9 +97647,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *689 examples: - default: &686 + default: &691 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 @@ -97108,7 +97684,7 @@ paths: type: User site_admin: false '404': *6 - '302': *569 + '302': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97124,9 +97700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *435 - - *436 - - *685 + - *440 + - *441 + - *690 requestBody: required: false content: @@ -97154,9 +97730,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *689 examples: - default: *686 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97172,9 +97748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *435 - - *436 - - *685 + - *440 + - *441 + - *690 responses: '204': description: Response @@ -97198,8 +97774,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -97284,16 +97860,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97310,8 +97886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *435 - - *436 + - *440 + - *441 - name: tag description: tag parameter in: path @@ -97324,9 +97900,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 '404': *6 x-github: githubCloudOnly: false @@ -97348,9 +97924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *435 - - *436 - - &688 + - *440 + - *441 + - &693 name: release_id description: The unique identifier of the release. in: path @@ -97364,9 +97940,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: *683 + schema: *688 examples: - default: *687 + default: *692 '401': description: Unauthorized x-github: @@ -97384,9 +97960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 requestBody: required: false content: @@ -97450,9 +98026,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 '404': description: Not Found if the discussion category name is invalid content: @@ -97473,9 +98049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 responses: '204': description: Response @@ -97495,9 +98071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - *17 - *19 responses: @@ -97507,7 +98083,7 @@ paths: application/json: schema: type: array - items: *684 + items: *689 examples: default: value: @@ -97544,7 +98120,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97589,9 +98165,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: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - name: name in: query required: true @@ -97617,7 +98193,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *689 examples: response-for-successful-upload: value: @@ -97672,9 +98248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - 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. @@ -97698,11 +98274,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -97721,9 +98297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 requestBody: required: true content: @@ -97753,16 +98329,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -97784,10 +98360,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *435 - - *436 - - *688 - - *427 + - *440 + - *441 + - *693 + - *432 responses: '204': description: Response @@ -97811,9 +98387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 - *17 - *19 responses: @@ -97829,8 +98405,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *141 - - &689 + - *142 + - &694 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97849,66 +98425,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *142 - - *689 - allOf: - *143 - - *689 + - *694 - allOf: - *144 - - *689 - - allOf: - - *690 - - *689 + - *694 - allOf: - *145 - - *689 + - *694 + - allOf: + - *695 + - *694 - allOf: - *146 - - *689 + - *694 - allOf: - *147 - - *689 + - *694 - allOf: - *148 - - *689 + - *694 - allOf: - *149 - - *689 + - *694 - allOf: - *150 - - *689 + - *694 - allOf: - *151 - - *689 + - *694 - allOf: - *152 - - *689 + - *694 - allOf: - *153 - - *689 + - *694 - allOf: - *154 - - *689 + - *694 - allOf: - *155 - - *689 + - *694 - allOf: - *156 - - *689 + - *694 - allOf: - *157 - - *689 + - *694 - allOf: - *158 - - *689 + - *694 - allOf: - *159 - - *689 + - *694 - allOf: - *160 - - *689 + - *694 + - allOf: + - *161 + - *694 + - allOf: + - *696 + - *694 examples: default: value: @@ -97947,8 +98526,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - name: includes_parents @@ -97959,7 +98538,7 @@ paths: schema: type: boolean default: true - - *691 + - *697 responses: '200': description: Response @@ -97967,7 +98546,7 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: default: value: @@ -97998,7 +98577,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -98014,8 +98593,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 requestBody: description: Request body required: true @@ -98035,16 +98614,16 @@ paths: - tag - push default: branch - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *135 + items: *141 + conditions: *136 rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *698 required: - name - enforcement @@ -98075,9 +98654,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &701 + default: &707 value: id: 42 name: super cool ruleset @@ -98110,7 +98689,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -98124,12 +98703,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *435 - - *436 - - *693 - - *95 - - *694 - - *695 + - *440 + - *441 + - *699 + - *96 + - *700 + - *701 - *17 - *19 responses: @@ -98137,11 +98716,11 @@ paths: description: Response content: application/json: - schema: *696 + schema: *702 examples: - default: *697 + default: *703 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98160,19 +98739,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *435 - - *436 - - *698 + - *440 + - *441 + - *704 responses: '200': description: Response content: application/json: - schema: *699 + schema: *705 examples: - default: *700 + default: *706 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98198,8 +98777,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98219,11 +98798,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *701 + default: *707 '404': *6 - '500': *91 + '500': *40 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -98239,8 +98818,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98265,16 +98844,16 @@ paths: - branch - tag - push - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *135 + items: *141 + conditions: *136 rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *698 examples: default: value: @@ -98302,11 +98881,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *701 + default: *707 '404': *6 - '500': *91 + '500': *40 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -98322,8 +98901,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98334,7 +98913,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -98346,8 +98925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - name: ruleset_id @@ -98363,11 +98942,11 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *387 + default: *392 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98384,8 +98963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98403,7 +98982,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *393 examples: default: value: @@ -98436,7 +99015,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98458,21 +99037,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: - - *435 - - *436 - - *389 - - *390 - - *391 - - *392 - - *100 - - *19 - - *17 - - *702 - - *703 - - *393 + - *440 + - *441 - *394 - *395 - *396 + - *397 + - *101 + - *19 + - *17 + - *708 + - *709 + - *398 + - *399 + - *400 + - *401 responses: '200': description: Response @@ -98480,11 +99059,11 @@ paths: application/json: schema: type: array - items: &707 + items: &713 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -98492,15 +99071,15 @@ paths: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *704 - resolution: *705 + state: *710 + resolution: *711 resolved_at: type: string format: date-time @@ -98596,7 +99175,7 @@ paths: pull request. ' - oneOf: *706 + oneOf: *712 nullable: true has_more_locations: type: boolean @@ -98697,7 +99276,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98719,16 +99298,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: - - *435 - - *436 - - *523 - - *396 + - *440 + - *441 + - *528 + - *401 responses: '200': description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -98759,7 +99338,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98780,9 +99359,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: true content: @@ -98790,8 +99369,8 @@ paths: schema: type: object properties: - state: *704 - resolution: *705 + state: *710 + resolution: *711 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -98809,7 +99388,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -98862,7 +99441,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -98884,9 +99463,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 - *19 - *17 responses: @@ -98897,7 +99476,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &890 + items: &896 type: object properties: type: @@ -98923,12 +99502,6 @@ paths: example: commit details: oneOf: - - *708 - - *709 - - *710 - - *711 - - *712 - - *713 - *714 - *715 - *716 @@ -98936,6 +99509,12 @@ paths: - *718 - *719 - *720 + - *721 + - *722 + - *723 + - *724 + - *725 + - *726 examples: default: value: @@ -98995,11 +99574,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *40 + Link: *43 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99021,8 +99600,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99030,14 +99609,14 @@ paths: schema: type: object properties: - reason: &722 + reason: &728 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *721 + placeholder_id: *727 required: - reason - placeholder_id @@ -99054,7 +99633,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *728 expire_at: type: string format: date-time @@ -99077,7 +99656,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -99097,13 +99676,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: - - *435 - - *436 + - *440 + - *441 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *166 + '503': *167 '200': description: Response content: @@ -99113,7 +99692,7 @@ paths: properties: incremental_scans: type: array - items: &723 + items: &729 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99139,15 +99718,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *723 + items: *729 backfill_scans: type: array - items: *723 + items: *729 custom_pattern_backfill_scans: type: array items: allOf: - - *723 + - *729 - type: object properties: pattern_name: @@ -99217,9 +99796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *435 - - *436 - - *100 + - *440 + - *441 + - *101 - name: sort description: The property to sort the results by. in: query @@ -99231,8 +99810,8 @@ paths: - updated - published default: created - - *98 - *99 + - *100 - 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)." @@ -99262,9 +99841,9 @@ paths: application/json: schema: type: array - items: *724 + items: *730 examples: - default: *725 + default: *731 '400': *14 '404': *6 x-github: @@ -99287,8 +99866,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99361,7 +99940,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 required: - login - type @@ -99448,9 +100027,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: &727 + default: &733 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -99683,8 +100262,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99788,7 +100367,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: default: value: @@ -99935,17 +100514,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '200': description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: *727 + default: *733 '403': *29 '404': *6 x-github: @@ -99969,9 +100548,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 requestBody: required: true content: @@ -100044,7 +100623,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 required: - login - type @@ -100130,17 +100709,17 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: *727 - add_credit: *727 + default: *733 + add_credit: *733 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *218 + schema: *226 examples: invalid_state_transition: value: @@ -100171,9 +100750,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '202': *39 '400': *14 @@ -100200,17 +100779,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '202': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 '400': *14 '422': *15 '403': *29 @@ -100236,8 +100815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -100314,7 +100893,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -100336,8 +100915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -100346,7 +100925,7 @@ paths: application/json: schema: type: array - items: &728 + items: &734 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -100359,7 +100938,7 @@ paths: - 1124 - -435 '202': *39 - '204': *132 + '204': *133 '422': description: Repository contains more than 10,000 commits x-github: @@ -100379,8 +100958,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -100429,7 +101008,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100456,8 +101035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -100531,7 +101110,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100553,8 +101132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -100708,8 +101287,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -100719,7 +101298,7 @@ paths: application/json: schema: type: array - items: *728 + items: *734 examples: default: value: @@ -100732,7 +101311,7 @@ paths: - - 0 - 2 - 21 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100752,8 +101331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *435 - - *436 + - *440 + - *441 - name: sha in: path required: true @@ -100807,7 +101386,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *735 examples: default: value: @@ -100861,8 +101440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -100874,9 +101453,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100894,14 +101473,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &730 + schema: &736 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -100969,8 +101548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -100996,7 +101575,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *736 examples: default: value: @@ -101023,8 +101602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -101044,8 +101623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -101101,7 +101680,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101124,8 +101703,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101133,7 +101712,7 @@ paths: application/json: schema: type: array - items: &731 + items: &737 title: Tag protection description: Tag protection type: object @@ -101185,8 +101764,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101209,7 +101788,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *737 examples: default: value: @@ -101240,8 +101819,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: - - *435 - - *436 + - *440 + - *441 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101278,8 +101857,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *435 - - *436 + - *440 + - *441 - name: ref in: path required: true @@ -101315,8 +101894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -101326,11 +101905,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -101348,8 +101927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 responses: @@ -101357,7 +101936,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &738 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -101369,7 +101948,7 @@ paths: required: - names examples: - default: &733 + default: &739 value: names: - octocat @@ -101392,8 +101971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101424,9 +102003,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *738 examples: - default: *733 + default: *739 '404': *6 '422': *7 x-github: @@ -101447,9 +102026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *435 - - *436 - - &734 + - *440 + - *441 + - &740 name: per description: The time frame to display results for. in: query @@ -101478,7 +102057,7 @@ paths: example: 128 clones: type: array - items: &735 + items: &741 title: Traffic type: object properties: @@ -101565,8 +102144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101656,8 +102235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101717,9 +102296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *435 - - *436 - - *734 + - *440 + - *441 + - *740 responses: '200': description: Response @@ -101738,7 +102317,7 @@ paths: example: 3782 views: type: array - items: *735 + items: *741 required: - uniques - count @@ -101815,8 +102394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101852,7 +102431,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *249 examples: default: value: @@ -102090,8 +102669,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102114,8 +102693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -102137,8 +102716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -102164,8 +102743,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *435 - - *436 + - *440 + - *441 - name: ref in: path required: true @@ -102257,9 +102836,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102300,7 +102879,7 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: default: value: @@ -102410,7 +102989,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &743 + - &749 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -102419,7 +102998,7 @@ paths: schema: type: string example: members - - &748 + - &754 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -102430,7 +103009,7 @@ paths: default: 1 format: int32 example: 1 - - &749 + - &755 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -102472,7 +103051,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &744 allOf: - type: object required: @@ -102547,7 +103126,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: &750 + meta: &756 type: object description: The metadata associated with the creation/updates to the user. @@ -102607,30 +103186,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &739 + '400': &745 description: Bad request content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '401': *737 - '403': &740 + schema: *742 + '401': *743 + '403': &746 description: Permission denied - '429': &741 + '429': &747 description: Too many requests content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '500': &742 + schema: *742 + '500': &748 description: Internal server error content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 + schema: *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102654,7 +103233,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &752 type: object required: - schemas @@ -102714,9 +103293,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *738 + schema: *744 examples: - group: &744 + group: &750 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -102735,13 +103314,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': *739 - '401': *737 - '403': *740 - '409': &747 + '400': *745 + '401': *743 + '403': *746 + '409': &753 description: Duplicate record detected - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102758,7 +103337,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: - - &745 + - &751 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -102766,22 +103345,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *743 + - *749 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *738 + schema: *744 examples: - default: *744 - '400': *739 - '401': *737 - '403': *740 + default: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102800,13 +103379,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: - - *745 + - *751 - *41 requestBody: required: true content: application/json: - schema: *746 + schema: *752 examples: group: summary: Group @@ -102832,17 +103411,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *738 + schema: *744 examples: - group: *744 - groupWithMembers: *744 - '400': *739 - '401': *737 - '403': *740 + group: *750 + groupWithMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102866,13 +103445,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: - - *745 + - *751 - *41 requestBody: required: true content: application/json: - schema: &757 + schema: &763 type: object required: - Operations @@ -102932,17 +103511,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *738 + schema: *744 examples: - updateGroup: *744 - addMembers: *744 - '400': *739 - '401': *737 - '403': *740 + updateGroup: *750 + addMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102958,17 +103537,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: - - *745 + - *751 - *41 responses: '204': description: Group was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103002,8 +103581,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - - *749 + - *754 + - *755 - *41 responses: '200': @@ -103036,7 +103615,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &758 allOf: - type: object required: @@ -103115,7 +103694,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &751 + roles: &757 type: array description: The roles assigned to the user. items: @@ -103171,7 +103750,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *750 + meta: *756 startIndex: type: integer description: A starting index for the returned page @@ -103208,11 +103787,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *739 - '401': *737 - '403': *740 - '429': *741 - '500': *742 + '400': *745 + '401': *743 + '403': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103236,7 +103815,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &761 type: object required: - schemas @@ -103318,9 +103897,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *751 + roles: *757 examples: - user: &756 + user: &762 summary: User value: schemas: @@ -103367,9 +103946,9 @@ paths: description: User has been created content: application/scim+json: - schema: *752 + schema: *758 examples: - user: &753 + user: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103395,13 +103974,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: *753 - '400': *739 - '401': *737 - '403': *740 - '409': *747 - '429': *741 - '500': *742 + enterpriseOwner: *759 + '400': *745 + '401': *743 + '403': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103418,7 +103997,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: - - &754 + - &760 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -103431,15 +104010,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *752 + schema: *758 examples: - default: *753 - '400': *739 - '401': *737 - '403': *740 + default: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103461,30 +104040,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: - - *754 + - *760 - *41 requestBody: required: true content: application/json: - schema: *755 + schema: *761 examples: - user: *756 + user: *762 responses: '200': description: User was updated content: application/scim+json: - schema: *752 + schema: *758 examples: - user: *753 - '400': *739 - '401': *737 - '403': *740 + user: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103519,13 +104098,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: - - *754 + - *760 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *763 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -103565,18 +104144,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *752 + schema: *758 examples: - userMultiValuedProperties: *753 - userSingleValuedProperties: *753 - disableUser: *753 - '400': *739 - '401': *737 - '403': *740 + userMultiValuedProperties: *759 + userSingleValuedProperties: *759 + disableUser: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103596,17 +104175,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: - - *754 + - *760 - *41 responses: '204': description: User was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103639,7 +104218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *76 + - *78 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -103693,7 +104272,7 @@ paths: example: 1 Resources: type: array - items: &758 + items: &764 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -103924,22 +104503,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &759 + '404': &765 description: Resource not found content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '403': &760 + schema: *742 + '403': &766 description: Forbidden content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '400': *739 - '429': *741 + schema: *742 + '400': *745 + '429': *747 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -103959,15 +104538,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *76 + - *78 responses: '201': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: &761 + default: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103990,17 +104569,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *759 - '403': *760 - '500': *742 + '404': *765 + '403': *766 + '500': *748 '409': description: Conflict content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '400': *739 + schema: *742 + '400': *745 requestBody: required: true content: @@ -104097,18 +104676,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: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 - '404': *759 - '403': *760 + default: *767 + '404': *765 + '403': *766 '304': *37 x-github: githubCloudOnly: true @@ -104131,19 +104710,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 + default: *767 '304': *37 - '404': *759 - '403': *760 + '404': *765 + '403': *766 requestBody: required: true content: @@ -104255,20 +104834,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: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 + default: *767 '304': *37 - '404': *759 - '403': *760 - '400': *739 + '404': *765 + '403': *766 + '400': *745 '429': description: Response content: @@ -104358,13 +104937,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: - - *76 - - *754 + - *78 + - *760 responses: '204': description: Response - '404': *759 - '403': *760 + '404': *765 + '403': *766 '304': *37 x-github: githubCloudOnly: true @@ -104479,7 +105058,7 @@ paths: html_url: type: string format: uri - repository: *241 + repository: *249 score: type: number file_size: @@ -104497,7 +105076,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &762 + text_matches: &768 title: Search Result Text Matches type: array items: @@ -104611,7 +105190,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *166 + '503': *167 '422': *15 '403': *29 x-github: @@ -104660,7 +105239,7 @@ paths: enum: - author-date - committer-date - - &763 + - &769 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 @@ -104731,7 +105310,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true comment_count: type: integer @@ -104751,7 +105330,7 @@ paths: url: type: string format: uri - verification: *613 + verification: *618 required: - author - committer @@ -104770,7 +105349,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true parents: type: array @@ -104783,12 +105362,12 @@ paths: type: string sha: type: string - repository: *241 + repository: *249 score: type: number node_id: type: string - text_matches: *762 + text_matches: *768 required: - sha - node_id @@ -104971,7 +105550,7 @@ paths: - interactions - created - updated - - *763 + - *769 - *17 - *19 - name: advanced_search @@ -105068,11 +105647,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: type: string state_reason: @@ -105089,8 +105668,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true comments: type: integer @@ -105104,7 +105683,7 @@ paths: type: string format: date-time nullable: true - text_matches: *762 + text_matches: *768 pull_request: type: object properties: @@ -105137,10 +105716,10 @@ paths: type: string score: type: number - author_association: *178 + author_association: *186 draft: type: boolean - repository: *67 + repository: *69 body_html: type: string body_text: @@ -105148,7 +105727,7 @@ paths: timeline_url: type: string format: uri - type: *330 + type: *337 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105158,9 +105737,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - assignee - closed_at @@ -105276,7 +105855,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *166 + '503': *167 '422': *15 '304': *37 '403': *29 @@ -105332,7 +105911,7 @@ paths: enum: - created - updated - - *763 + - *769 - *17 - *19 responses: @@ -105376,7 +105955,7 @@ paths: nullable: true score: type: number - text_matches: *762 + text_matches: *768 required: - id - node_id @@ -105462,7 +106041,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *769 - *17 - *19 responses: @@ -105681,8 +106260,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true permissions: type: object @@ -105701,7 +106280,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *768 temp_clone_token: type: string allow_merge_commit: @@ -105903,7 +106482,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *166 + '503': *167 '422': *15 '304': *37 x-github: @@ -106002,7 +106581,7 @@ paths: type: string format: uri nullable: true - text_matches: *762 + text_matches: *768 related: type: array nullable: true @@ -106195,7 +106774,7 @@ paths: - followers - repositories - joined - - *763 + - *769 - *17 - *19 responses: @@ -106299,7 +106878,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *762 + text_matches: *768 blog: type: string nullable: true @@ -106358,7 +106937,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *166 + '503': *167 '422': *15 x-github: githubCloudOnly: false @@ -106378,7 +106957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &767 + - &773 name: team_id description: The unique identifier of the team. in: path @@ -106390,9 +106969,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -106419,7 +106998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *767 + - *773 requestBody: required: true content: @@ -106482,16 +107061,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '201': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 '422': *15 '403': *29 @@ -106519,7 +107098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *767 + - *773 responses: '204': description: Response @@ -106550,8 +107129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *767 - - *100 + - *773 + - *101 - *17 - *19 responses: @@ -106561,11 +107140,11 @@ paths: application/json: schema: type: array - items: *418 + items: *423 examples: - default: *768 + default: *774 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106592,7 +107171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *767 + - *773 requestBody: required: true content: @@ -106626,9 +107205,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: triggersNotification: true githubCloudOnly: false @@ -106655,16 +107234,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 responses: '200': description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106689,8 +107268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 requestBody: required: false content: @@ -106713,9 +107292,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *769 + default: *775 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106740,8 +107319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 responses: '204': description: Response @@ -106770,9 +107349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *767 - - *420 - - *100 + - *773 + - *425 + - *101 - *17 - *19 responses: @@ -106782,11 +107361,11 @@ paths: application/json: schema: type: array - items: *421 + items: *426 examples: - default: *770 + default: *776 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,8 +107392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *767 - - *420 + - *773 + - *425 requestBody: required: true content: @@ -106836,9 +107415,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: triggersNotification: true githubCloudOnly: false @@ -106865,17 +107444,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106900,9 +107479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 requestBody: required: true content: @@ -106924,9 +107503,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *771 + default: *777 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106951,9 +107530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 responses: '204': description: Response @@ -106982,9 +107561,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: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 - 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. @@ -107010,11 +107589,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107041,9 +107620,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: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 requestBody: required: true content: @@ -107075,9 +107654,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107103,8 +107682,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: - - *767 - - *420 + - *773 + - *425 - 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. @@ -107130,11 +107709,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107161,8 +107740,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: - - *767 - - *420 + - *773 + - *425 requestBody: required: true content: @@ -107194,9 +107773,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107220,7 +107799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107230,11 +107809,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107258,7 +107837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *767 + - *773 - name: role description: Filters members returned by their role in the team. in: query @@ -107281,9 +107860,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107309,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: if user is a member @@ -107346,8 +107925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107386,8 +107965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107423,16 +108002,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: - - *767 - - *263 + - *773 + - *180 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *778 '404': *6 x-github: githubCloudOnly: false @@ -107465,8 +108044,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: - - *767 - - *263 + - *773 + - *180 requestBody: required: false content: @@ -107491,9 +108070,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *779 '403': description: Forbidden if team synchronization is set up '422': @@ -107527,8 +108106,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: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107556,7 +108135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107566,11 +108145,11 @@ paths: application/json: schema: type: array - items: *433 + items: *438 examples: - default: *774 + default: *780 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107594,16 +108173,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: - - *767 - - *434 + - *773 + - *439 responses: '200': description: Response content: application/json: - schema: *433 + schema: *438 examples: - default: *775 + default: *781 '404': description: Not Found if project is not managed by this team x-github: @@ -107627,8 +108206,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: - - *767 - - *434 + - *773 + - *439 requestBody: required: false content: @@ -107695,8 +108274,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: - - *767 - - *434 + - *773 + - *439 responses: '204': description: Response @@ -107723,7 +108302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107733,11 +108312,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107765,15 +108344,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *776 + schema: *782 examples: alternative-response-with-extra-repository-information: value: @@ -107924,9 +108503,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 requestBody: required: false content: @@ -107976,9 +108555,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 responses: '204': description: Response @@ -108007,15 +108586,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: - - *767 + - *773 responses: '200': description: Response content: application/json: - schema: *437 + schema: *442 examples: - default: *438 + default: *443 '403': *29 '404': *6 x-github: @@ -108042,7 +108621,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: - - *767 + - *773 requestBody: required: true content: @@ -108099,7 +108678,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *442 examples: default: value: @@ -108130,7 +108709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -108140,11 +108719,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - response-if-child-teams-exist: *777 + response-if-child-teams-exist: *783 headers: - Link: *40 + Link: *43 '404': *6 '403': *29 '422': *15 @@ -108175,7 +108754,7 @@ paths: application/json: schema: oneOf: - - &779 + - &785 title: Private User description: Private User type: object @@ -108378,7 +108957,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *778 + - *784 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108531,7 +109110,7 @@ paths: description: Response content: application/json: - schema: *779 + schema: *785 examples: default: value: @@ -108610,7 +109189,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '304': *37 '404': *6 '403': *29 @@ -108633,7 +109212,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: - - *263 + - *180 responses: '204': description: If the user is blocked @@ -108661,7 +109240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -108685,7 +109264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -108734,11 +109313,11 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: - default: *337 + default: *343 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -108875,21 +109454,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108929,7 +109508,7 @@ paths: type: integer secrets: type: array - items: &780 + items: &786 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108969,9 +109548,9 @@ paths: - visibility - selected_repositories_url examples: - default: *546 + default: *551 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109039,13 +109618,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: - - *251 + - *259 responses: '200': description: Response content: application/json: - schema: *780 + schema: *786 examples: default: value: @@ -109075,7 +109654,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: - - *251 + - *259 requestBody: required: true content: @@ -109120,7 +109699,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -109148,7 +109727,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: - - *251 + - *259 responses: '204': description: Response @@ -109173,7 +109752,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: - - *251 + - *259 responses: '200': description: Response @@ -109189,13 +109768,13 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *781 + default: *787 '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109216,7 +109795,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: - - *251 + - *259 requestBody: required: true content: @@ -109248,7 +109827,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109270,7 +109849,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: - - *251 + - *259 - name: repository_id in: path required: true @@ -109282,7 +109861,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109303,7 +109882,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: - - *251 + - *259 - name: repository_id in: path required: true @@ -109315,7 +109894,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109335,17 +109914,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109369,7 +109948,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: - - *338 + - *344 requestBody: required: false content: @@ -109399,9 +109978,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 @@ -109423,11 +110002,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: - - *338 + - *344 responses: '202': *39 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109452,13 +110031,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: - - *338 + - *344 responses: '202': description: Response content: application/json: - schema: &782 + schema: &788 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109499,7 +110078,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &783 + default: &789 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109507,7 +110086,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109531,7 +110110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *338 + - *344 - name: export_id in: path required: true @@ -109544,9 +110123,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *788 examples: - default: *783 + default: *789 '404': *6 x-github: githubCloudOnly: false @@ -109567,7 +110146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *338 + - *344 responses: '200': description: Response @@ -109583,11 +110162,11 @@ paths: type: integer machines: type: array - items: *784 + items: *790 examples: - default: *785 + default: *791 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109614,7 +110193,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: - - *338 + - *344 requestBody: required: true content: @@ -109664,13 +110243,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *448 + repository: *453 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *544 - required: *545 + properties: *549 + required: *550 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110444,17 +111023,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '304': *37 - '500': *91 + '500': *40 '400': *14 '401': *25 '402': @@ -110464,7 +111043,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110484,16 +111063,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 - '500': *91 + default: *548 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -110522,9 +111101,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: &797 + default: &803 value: - id: 197 name: hello_docker @@ -110625,7 +111204,7 @@ paths: application/json: schema: type: array - items: &786 + items: &792 title: Email description: Email type: object @@ -110690,16 +111269,16 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: - default: &799 + default: &805 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -110767,7 +111346,7 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: default: value: @@ -110877,9 +111456,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -110910,9 +111489,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -110932,7 +111511,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: - - *263 + - *180 responses: '204': description: if the person is followed by the authenticated user @@ -110962,7 +111541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -110987,7 +111566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -111023,7 +111602,7 @@ paths: application/json: schema: type: array - items: &787 + items: &793 title: GPG Key description: A unique encryption key type: object @@ -111154,7 +111733,7 @@ paths: - subkeys - revoked examples: - default: &817 + default: &823 value: - id: 3 name: Octocat's GPG Key @@ -111186,7 +111765,7 @@ paths: revoked: false raw_key: string headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -111239,9 +111818,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *793 examples: - default: &788 + default: &794 value: id: 3 name: Octocat's GPG Key @@ -111298,7 +111877,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: - - &789 + - &795 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111310,9 +111889,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *793 examples: - default: *788 + default: *794 '404': *6 '304': *37 '403': *29 @@ -111335,7 +111914,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: - - *789 + - *795 responses: '204': description: Response @@ -111478,7 +112057,7 @@ paths: suspended_at: suspended_by: headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -111524,11 +112103,11 @@ paths: type: string repositories: type: array - items: *67 + items: *69 examples: - default: *236 + default: *244 headers: - Link: *40 + Link: *43 '404': *6 '403': *29 '304': *37 @@ -111551,7 +112130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *235 + - *243 responses: '204': description: Response @@ -111577,7 +112156,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *235 + - *243 responses: '204': description: Response @@ -111611,12 +112190,12 @@ paths: application/json: schema: anyOf: - - *325 + - *332 - type: object properties: {} additionalProperties: false examples: - default: *326 + default: *333 '204': description: Response when there are no restrictions x-github: @@ -111640,7 +112219,7 @@ paths: required: true content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -111651,7 +112230,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -111732,7 +112311,7 @@ paths: - closed - all default: open - - *333 + - *340 - name: sort description: What to sort results by. in: query @@ -111744,8 +112323,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -111755,11 +112334,11 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *334 + default: *341 headers: - Link: *40 + Link: *43 '404': *6 '304': *37 x-github: @@ -111790,7 +112369,7 @@ paths: application/json: schema: type: array - items: &790 + items: &796 title: Key description: Key type: object @@ -111841,7 +112420,7 @@ paths: verified: false read_only: false headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -111891,9 +112470,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *796 examples: - default: &791 + default: &797 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111926,15 +112505,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: - - *653 + - *658 responses: '200': description: Response content: application/json: - schema: *790 + schema: *796 examples: - default: *791 + default: *797 '404': *6 '304': *37 '403': *29 @@ -111957,7 +112536,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: - - *653 + - *658 responses: '204': description: Response @@ -111990,7 +112569,7 @@ paths: application/json: schema: type: array - items: &792 + items: &798 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112047,7 +112626,7 @@ paths: - id - type - login - plan: *195 + plan: *203 required: - billing_cycle - next_billing_date @@ -112058,7 +112637,7 @@ paths: - account - plan examples: - default: &793 + default: &799 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112091,7 +112670,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '304': *37 '401': *25 '404': *6 @@ -112120,11 +112699,11 @@ paths: application/json: schema: type: array - items: *792 + items: *798 examples: - default: *793 + default: *799 headers: - Link: *40 + Link: *43 '304': *37 '401': *25 x-github: @@ -112162,7 +112741,7 @@ paths: application/json: schema: type: array - items: *339 + items: *345 examples: default: value: @@ -112239,7 +112818,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -112264,13 +112843,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: default: value: @@ -112328,7 +112907,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: - - *76 + - *78 requestBody: required: true content: @@ -112353,7 +112932,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: default: value: @@ -112421,7 +113000,7 @@ paths: application/json: schema: type: array - items: *341 + items: *347 examples: default: value: @@ -112574,7 +113153,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -112674,7 +113253,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -112854,7 +113433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *348 - name: exclude in: query required: false @@ -112867,7 +113446,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -113061,7 +113640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *348 responses: '302': description: Response @@ -113087,7 +113666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *348 responses: '204': description: Response @@ -113116,8 +113695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *794 + - *348 + - *800 responses: '204': description: Response @@ -113141,7 +113720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *342 + - *348 - *17 - *19 responses: @@ -113151,11 +113730,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -113188,11 +113767,11 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: *795 + default: *801 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -113232,7 +113811,7 @@ paths: - docker - nuget - container - - *796 + - *802 - *19 - *17 responses: @@ -113242,10 +113821,10 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 - '400': *798 + default: *803 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113265,16 +113844,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: - - *350 - - *351 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &818 + default: &824 value: id: 40201 name: octo-name @@ -113387,8 +113966,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: - - *350 - - *351 + - *355 + - *356 responses: '204': description: Response @@ -113418,8 +113997,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: - - *350 - - *351 + - *355 + - *356 - name: token description: package token schema: @@ -113451,8 +114030,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: - - *350 - - *351 + - *355 + - *356 - *19 - *17 - name: state @@ -113472,7 +114051,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -113521,15 +114100,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -113565,9 +114144,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '204': description: Response @@ -113597,9 +114176,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '204': description: Response @@ -113655,7 +114234,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -113727,11 +114306,11 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: - default: *799 + default: *805 headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -113840,9 +114419,9 @@ paths: application/json: schema: type: array - items: *67 + items: *69 examples: - default: &806 + default: &812 summary: Default response value: - id: 1296269 @@ -113963,7 +114542,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '403': *29 @@ -114146,9 +114725,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114186,11 +114765,11 @@ paths: application/json: schema: type: array - items: *626 + items: *631 examples: - default: *800 + default: *806 headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114211,12 +114790,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *329 + - *336 responses: '204': description: Response '403': *29 - '409': *108 + '409': *109 '404': *6 '304': *37 x-github: @@ -114234,11 +114813,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *329 + - *336 responses: '204': description: Response - '409': *108 + '409': *109 '304': *37 '404': *6 '403': *29 @@ -114267,7 +114846,7 @@ paths: application/json: schema: type: array - items: &801 + items: &807 title: Social account description: Social media account type: object @@ -114282,12 +114861,12 @@ paths: - provider - url examples: - default: &802 + default: &808 value: - provider: twitter url: https://twitter.com/github headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114344,9 +114923,9 @@ paths: application/json: schema: type: array - items: *801 + items: *807 examples: - default: *802 + default: *808 '422': *15 '304': *37 '404': *6 @@ -114433,7 +115012,7 @@ paths: application/json: schema: type: array - items: &803 + items: &809 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114453,7 +115032,7 @@ paths: - title - created_at examples: - default: &819 + default: &825 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114466,7 +115045,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114519,9 +115098,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *809 examples: - default: &804 + default: &810 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114552,7 +115131,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: - - &805 + - &811 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114564,9 +115143,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *809 examples: - default: *804 + default: *810 '404': *6 '304': *37 '403': *29 @@ -114589,7 +115168,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: - - *805 + - *811 responses: '204': description: Response @@ -114618,7 +115197,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: - - &820 + - &826 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 @@ -114631,7 +115210,7 @@ paths: - created - updated default: created - - *100 + - *101 - *17 - *19 responses: @@ -114641,13 +115220,13 @@ paths: application/json: schema: type: array - items: *67 + items: *69 examples: - default-response: *806 + default-response: *812 application/vnd.github.v3.star+json: schema: type: array - items: &821 + items: &827 title: Starred Repository description: Starred Repository type: object @@ -114655,7 +115234,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *69 required: - starred_at - repo @@ -114783,7 +115362,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -114803,8 +115382,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response if this repository is starred by you @@ -114832,8 +115411,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -114857,8 +115436,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -114891,11 +115470,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -114930,7 +115509,7 @@ paths: application/json: schema: type: array - items: *416 + items: *421 examples: default: value: @@ -114981,7 +115560,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -115008,7 +115587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *197 + - *205 responses: '200': description: Response @@ -115016,10 +115595,10 @@ paths: application/json: schema: oneOf: - - *779 - - *778 + - *785 + - *784 examples: - default-response: &812 + default-response: &818 summary: Default response value: login: octocat @@ -115054,7 +115633,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &813 + response-with-git-hub-plan-information: &819 summary: Response with GitHub plan information value: login: octocat @@ -115114,7 +115693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *807 + - *813 - *17 responses: '200': @@ -115125,7 +115704,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: Link: example: ; rel="next" @@ -115148,8 +115727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *367 - - &808 + - *372 + - &814 name: user_id description: The unique identifier of the user. in: path @@ -115161,11 +115740,11 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115185,11 +115764,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *367 - - *808 + - *372 + - *814 - *17 - - *98 - *99 + - *100 responses: '200': description: Response @@ -115197,11 +115776,11 @@ paths: application/json: schema: type: array - items: *368 + items: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115221,19 +115800,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *367 - - *809 - - *808 + - *372 + - *815 + - *814 responses: '200': description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115254,10 +115833,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: - - *367 - - *808 - - *98 + - *372 + - *814 - *99 + - *100 - *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) @@ -115284,11 +115863,11 @@ paths: application/json: schema: type: array - items: *374 + items: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115307,8 +115886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *808 - - *367 + - *814 + - *372 requestBody: required: true description: Details of the item to add to the project. @@ -115345,9 +115924,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *816 examples: - default: *811 + default: *817 '304': *37 '403': *29 '401': *25 @@ -115367,9 +115946,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: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -115386,11 +115965,11 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115409,9 +115988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -115481,9 +116060,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 @@ -115503,9 +116082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 responses: '204': description: Response @@ -115534,7 +116113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *263 + - *180 responses: '200': description: Response @@ -115542,11 +116121,11 @@ paths: application/json: schema: oneOf: - - *779 - - *778 + - *785 + - *784 examples: - default-response: *812 - response-with-git-hub-plan-information: *813 + default-response: *818 + response-with-git-hub-plan-information: *819 '404': *6 x-github: githubCloudOnly: false @@ -115570,9 +116149,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *98 - *99 - - *263 + - *100 + - *180 requestBody: required: true content: @@ -115595,8 +116174,8 @@ paths: required: - subject_digests examples: - default: *814 - withPredicateType: *815 + default: *820 + withPredicateType: *821 responses: '200': description: Response @@ -115649,7 +116228,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *816 + default: *822 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115667,7 +116246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *263 + - *180 requestBody: required: true content: @@ -115732,7 +116311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *263 + - *180 - name: subject_digest description: Subject Digest in: path @@ -115763,7 +116342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *263 + - *180 - name: attestation_id description: Attestation ID in: path @@ -115799,9 +116378,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *98 - *99 - - *263 + - *100 + - *180 - name: subject_digest description: Subject Digest in: path @@ -115851,12 +116430,12 @@ paths: bundle_url: type: string examples: - default: *488 + default: *493 '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -115882,7 +116461,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: - - *263 + - *180 responses: '200': description: Response @@ -115890,9 +116469,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 + default: *803 '403': *29 '401': *25 x-github: @@ -115915,7 +116494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -115925,7 +116504,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -115996,8 +116575,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: - - *263 - - *76 + - *180 + - *78 - *17 - *19 responses: @@ -116007,7 +116586,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -116086,7 +116665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116096,7 +116675,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -116163,7 +116742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116175,9 +116754,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116194,7 +116773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116206,9 +116785,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116225,7 +116804,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: - - *263 + - *180 - name: target_user in: path required: true @@ -116252,8 +116831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *263 - - *181 + - *180 + - *189 - *17 - *19 responses: @@ -116263,11 +116842,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -116286,7 +116865,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: - - *263 + - *180 - *17 - *19 responses: @@ -116296,11 +116875,11 @@ paths: application/json: schema: type: array - items: *787 + items: *793 examples: - default: *817 + default: *823 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116322,7 +116901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *263 + - *180 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116394,7 +116973,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: - - *263 + - *180 responses: '200': description: Response @@ -116402,7 +116981,7 @@ paths: application/json: schema: *22 examples: - default: *623 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116420,7 +116999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116455,7 +117034,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116475,7 +117054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116485,11 +117064,11 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: *795 + default: *801 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116526,8 +117105,8 @@ paths: - docker - nuget - container - - *796 - - *263 + - *802 + - *180 - *19 - *17 responses: @@ -116537,12 +117116,12 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 + default: *803 '403': *29 '401': *25 - '400': *798 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116562,17 +117141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *818 + default: *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116593,9 +117172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '204': description: Response @@ -116627,9 +117206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 - name: token description: package token schema: @@ -116661,9 +117240,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: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '200': description: Response @@ -116671,7 +117250,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -116729,16 +117308,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: - - *350 - - *351 - - *353 - - *263 + - *355 + - *356 + - *358 + - *180 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -116773,10 +117352,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *350 - - *351 - - *263 - - *353 + - *355 + - *356 + - *180 + - *358 responses: '204': description: Response @@ -116808,10 +117387,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *350 - - *351 - - *263 - - *353 + - *355 + - *356 + - *180 + - *358 responses: '204': description: Response @@ -116837,7 +117416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *263 + - *180 - name: state description: Indicates the state of the projects to return. in: query @@ -116858,7 +117437,7 @@ paths: application/json: schema: type: array - items: *364 + items: *369 examples: default: value: @@ -116894,7 +117473,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -116916,15 +117495,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *263 + - *180 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *98 - *99 + - *100 - *17 responses: '200': @@ -116933,11 +117512,11 @@ paths: application/json: schema: type: array - items: *365 + items: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -116962,7 +117541,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: - - *263 + - *180 - *17 - *19 responses: @@ -116972,7 +117551,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -117051,7 +117630,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: - - *263 + - *180 - *17 - *19 responses: @@ -117061,7 +117640,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -117138,7 +117717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *263 + - *180 - name: type description: Limit results to repositories of the specified type. in: query @@ -117181,11 +117760,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117207,15 +117786,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117237,15 +117816,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117267,15 +117846,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: - default: *411 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117295,11 +117874,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: - - *263 - - *210 - - *211 - - *212 - - *213 + - *180 + - *218 + - *219 + - *220 + - *221 responses: '200': description: Response when getting a billing usage report @@ -117369,8 +117948,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117388,7 +117967,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: - - *263 + - *180 - *17 - *19 responses: @@ -117398,11 +117977,11 @@ paths: application/json: schema: type: array - items: *801 + items: *807 examples: - default: *802 + default: *808 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117420,7 +117999,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: - - *263 + - *180 - *17 - *19 responses: @@ -117430,11 +118009,11 @@ paths: application/json: schema: type: array - items: *803 + items: *809 examples: - default: *819 + default: *825 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117456,9 +118035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *263 - - *820 - - *100 + - *180 + - *826 + - *101 - *17 - *19 responses: @@ -117469,13 +118048,13 @@ paths: schema: anyOf: - type: array - items: *821 + items: *827 - type: array - items: *67 + items: *69 examples: - default-response: *806 + default-response: *812 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117492,7 +118071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -117502,11 +118081,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117632,7 +118211,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &822 + enterprise: &828 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117690,7 +118269,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &823 + installation: &829 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117709,7 +118288,7 @@ x-webhooks: required: - id - node_id - organization: &824 + organization: &830 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117769,13 +118348,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &825 + repository: &831 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &862 + properties: &868 id: description: Unique identifier of the repository example: 42 @@ -117795,8 +118374,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true organization: title: Simple User @@ -118458,7 +119037,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &863 + required: &869 - archive_url - assignees_url - blobs_url @@ -118609,10 +119188,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -118688,11 +119267,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: &826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: &832 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) @@ -118915,11 +119494,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: *826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: *832 sender: *4 required: - action @@ -119102,11 +119681,11 @@ x-webhooks: - everyone required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: *826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: *832 sender: *4 required: - action @@ -119177,7 +119756,7 @@ x-webhooks: required: true content: application/json: - schema: &829 + schema: &835 title: Exemption request cancellation event type: object properties: @@ -119185,11 +119764,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: &827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: &833 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -119422,7 +120001,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &828 + items: &834 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -119530,7 +120109,7 @@ x-webhooks: required: true content: application/json: - schema: &830 + schema: &836 title: Exemption request completed event type: object properties: @@ -119538,11 +120117,11 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 sender: *4 required: - action @@ -119612,7 +120191,7 @@ x-webhooks: required: true content: application/json: - schema: &831 + schema: &837 title: Exemption request created event type: object properties: @@ -119620,11 +120199,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 sender: *4 required: - action @@ -119694,7 +120273,7 @@ x-webhooks: required: true content: application/json: - schema: &832 + schema: &838 title: Exemption response dismissed event type: object properties: @@ -119702,12 +120281,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 - exemption_response: *828 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 + exemption_response: *834 sender: *4 required: - action @@ -119779,7 +120358,7 @@ x-webhooks: required: true content: application/json: - schema: &833 + schema: &839 title: Exemption response submitted event type: object properties: @@ -119787,12 +120366,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 - exemption_response: *828 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 + exemption_response: *834 sender: *4 required: - action @@ -119865,7 +120444,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119932,7 +120511,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119999,7 +120578,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120066,7 +120645,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120134,7 +120713,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120212,7 +120791,7 @@ x-webhooks: type: string enum: - completed - check_run: &835 + check_run: &841 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120265,8 +120844,8 @@ x-webhooks: type: string pull_requests: type: array - items: *505 - repository: *241 + items: *510 + repository: *249 status: example: completed type: string @@ -120303,7 +120882,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *834 + deployment: *840 details_url: example: https://example.com type: string @@ -120353,7 +120932,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *505 + items: *510 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -120388,10 +120967,10 @@ x-webhooks: - output - app - pull_requests - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -120784,11 +121363,11 @@ x-webhooks: type: string enum: - created - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -121184,11 +121763,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 requested_action: description: The action requested by the user. type: object @@ -121593,11 +122172,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -122574,10 +123153,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -123247,10 +123826,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -123914,10 +124493,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -124080,7 +124659,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124225,20 +124804,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &836 + commit_oid: &842 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: *822 - installation: *823 - organization: *824 - ref: &837 + enterprise: *828 + installation: *829 + organization: *830 + ref: &843 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: *825 + repository: *831 sender: *4 required: - action @@ -124400,7 +124979,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124630,12 +125209,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -124730,7 +125309,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124898,12 +125477,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -125066,7 +125645,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125232,12 +125811,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -125334,7 +125913,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125502,16 +126081,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *825 + repository: *831 sender: *4 required: - action @@ -125605,7 +126184,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125745,12 +126324,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -126007,10 +126586,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -126090,18 +126669,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *824 - pusher_type: &838 + organization: *830 + pusher_type: &844 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &839 + ref: &845 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126111,7 +126690,7 @@ x-webhooks: enum: - tag - branch - repository: *825 + repository: *831 sender: *4 required: - ref @@ -126193,10 +126772,10 @@ x-webhooks: type: string enum: - created - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126281,9 +126860,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126360,10 +126939,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126440,10 +127019,10 @@ x-webhooks: type: string enum: - updated - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126520,19 +127099,19 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - repository: *825 - organization: *824 + enterprise: *828 + installation: *829 + repository: *831 + organization: *830 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *378 + items: *383 old_property_values: type: array description: The old custom property values for the repository. - items: *378 + items: *383 required: - action - repository @@ -126608,18 +127187,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - pusher_type: *838 - ref: *839 + enterprise: *828 + installation: *829 + organization: *830 + pusher_type: *844 + ref: *845 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *825 + repository: *831 sender: *4 required: - ref @@ -126703,11 +127282,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126791,11 +127370,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126879,11 +127458,11 @@ x-webhooks: type: string enum: - created - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126965,11 +127544,11 @@ x-webhooks: type: string enum: - dismissed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127051,11 +127630,11 @@ x-webhooks: type: string enum: - fixed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127138,11 +127717,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127224,11 +127803,11 @@ x-webhooks: type: string enum: - reopened - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127305,9 +127884,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - key: &840 + enterprise: *828 + installation: *829 + key: &846 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127343,8 +127922,8 @@ x-webhooks: - verified - created_at - read_only - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -127421,11 +128000,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - key: *840 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + key: *846 + organization: *830 + repository: *831 sender: *4 required: - action @@ -127986,12 +128565,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: &844 + workflow: &850 title: Workflow type: object nullable: true @@ -128717,13 +129296,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *579 + deployment: *584 pull_requests: type: array - items: *672 - repository: *825 - organization: *824 - installation: *823 + items: *677 + repository: *831 + organization: *830 + installation: *829 sender: *4 responses: '200': @@ -128794,7 +129373,7 @@ x-webhooks: type: string enum: - approved - approver: &841 + approver: &847 type: object properties: avatar_url: @@ -128837,11 +129416,11 @@ x-webhooks: type: string comment: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - reviewers: &842 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + reviewers: &848 type: array items: type: object @@ -128920,7 +129499,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &843 + workflow_job_run: &849 type: object properties: conclusion: @@ -129651,18 +130230,18 @@ x-webhooks: type: string enum: - rejected - approver: *841 + approver: *847 comment: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - reviewers: *842 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + reviewers: *848 sender: *4 since: type: string - workflow_job_run: *843 + workflow_job_run: *849 workflow_job_runs: type: array items: @@ -130366,13 +130945,13 @@ x-webhooks: type: string enum: - requested - enterprise: *822 + enterprise: *828 environment: type: string - installation: *823 - organization: *824 - repository: *825 - requestor: &849 + installation: *829 + organization: *830 + repository: *831 + requestor: &855 title: User type: object nullable: true @@ -132271,12 +132850,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Deployment Workflow Run type: object @@ -132956,7 +133535,7 @@ x-webhooks: type: string enum: - answered - answer: &847 + answer: &853 type: object properties: author_association: @@ -133113,7 +133692,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &845 + discussion: &851 title: Discussion description: A Discussion in a repository. type: object @@ -133399,7 +133978,7 @@ x-webhooks: - id labels: type: array - items: *636 + items: *641 required: - repository_url - category @@ -133421,10 +134000,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133551,11 +134130,11 @@ x-webhooks: - from required: - category - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133638,11 +134217,11 @@ x-webhooks: type: string enum: - closed - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133724,7 +134303,7 @@ x-webhooks: type: string enum: - created - comment: &846 + comment: &852 type: object properties: author_association: @@ -133881,11 +134460,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133968,12 +134547,12 @@ x-webhooks: type: string enum: - deleted - comment: *846 - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + comment: *852 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134068,12 +134647,12 @@ x-webhooks: - from required: - body - comment: *846 - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + comment: *852 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134157,11 +134736,11 @@ x-webhooks: type: string enum: - created - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134243,11 +134822,11 @@ x-webhooks: type: string enum: - deleted - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134347,11 +134926,11 @@ x-webhooks: type: string required: - from - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134433,10 +135012,10 @@ x-webhooks: type: string enum: - labeled - discussion: *845 - enterprise: *822 - installation: *823 - label: &848 + discussion: *851 + enterprise: *828 + installation: *829 + label: &854 title: Label type: object properties: @@ -134468,8 +135047,8 @@ x-webhooks: - color - default - description - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134552,11 +135131,11 @@ x-webhooks: type: string enum: - locked - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134638,11 +135217,11 @@ x-webhooks: type: string enum: - pinned - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134724,11 +135303,11 @@ x-webhooks: type: string enum: - reopened - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134813,16 +135392,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *845 - new_repository: *825 + new_discussion: *851 + new_repository: *831 required: - new_discussion - new_repository - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134905,10 +135484,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *845 - old_answer: *847 - organization: *824 - repository: *825 + discussion: *851 + old_answer: *853 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134990,12 +135569,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *845 - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135078,11 +135657,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135164,11 +135743,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135237,7 +135816,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135300,7 +135879,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135366,7 +135945,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135432,7 +136011,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135498,7 +136077,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135564,7 +136143,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135630,7 +136209,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135697,7 +136276,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *822 + enterprise: *828 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -136357,9 +136936,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *823 - organization: *824 - repository: *825 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - forkee @@ -136505,9 +137084,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pages: description: The pages that were updated. type: array @@ -136544,7 +137123,7 @@ x-webhooks: - action - sha - html_url - repository: *825 + repository: *831 sender: *4 required: - pages @@ -136620,10 +137199,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: &850 + organization: *830 + repositories: &856 description: An array of repository objects that the installation can access. type: array @@ -136649,8 +137228,8 @@ x-webhooks: - name - full_name - private - repository: *825 - requester: *849 + repository: *831 + requester: *855 sender: *4 required: - action @@ -136725,11 +137304,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -136805,11 +137384,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -136885,10 +137464,10 @@ x-webhooks: type: string enum: - added - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories_added: &851 + organization: *830 + repositories_added: &857 description: An array of repository objects, which were added to the installation. type: array @@ -136934,15 +137513,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *825 - repository_selection: &852 + repository: *831 + repository_selection: &858 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *849 + requester: *855 sender: *4 required: - action @@ -137021,10 +137600,10 @@ x-webhooks: type: string enum: - removed - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories_added: *851 + organization: *830 + repositories_added: *857 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137051,9 +137630,9 @@ x-webhooks: - name - full_name - private - repository: *825 - repository_selection: *852 - requester: *849 + repository: *831 + repository_selection: *858 + requester: *855 sender: *4 required: - action @@ -137132,11 +137711,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -137315,10 +137894,10 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 target_type: type: string @@ -137397,11 +137976,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -137525,8 +138104,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 reactions: title: Reactions type: object @@ -137653,8 +138232,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138448,8 +139027,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138465,7 +139044,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -138798,8 +139377,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -138879,7 +139458,7 @@ x-webhooks: type: string enum: - deleted - comment: &853 + comment: &859 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139044,8 +139623,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139835,8 +140414,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139852,7 +140431,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -140187,8 +140766,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -140268,7 +140847,7 @@ x-webhooks: type: string enum: - edited - changes: &882 + changes: &888 description: The changes to the comment. type: object properties: @@ -140280,9 +140859,9 @@ x-webhooks: type: string required: - from - comment: *853 - enterprise: *822 - installation: *823 + comment: *859 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141075,8 +141654,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141092,7 +141671,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -141425,8 +142004,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141510,15 +142089,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 + blocked_issue: *199 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - blocking_issue_repo: *67 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + blocking_issue_repo: *69 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141606,15 +142185,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 + blocked_issue: *199 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - blocking_issue_repo: *67 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + blocking_issue_repo: *69 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141701,15 +142280,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 - blocked_issue_repo: *67 + blocked_issue: *199 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141797,15 +142376,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 - blocked_issue_repo: *67 + blocked_issue: *199 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141890,10 +142469,10 @@ x-webhooks: type: string enum: - assigned - assignee: *849 - enterprise: *822 - installation: *823 - issue: &856 + assignee: *855 + enterprise: *828 + installation: *829 + issue: &862 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142682,11 +143261,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142702,7 +143281,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -142803,8 +143382,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -142884,8 +143463,8 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143679,11 +144258,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143699,7 +144278,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -143935,8 +144514,8 @@ x-webhooks: required: - state - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -144015,8 +144594,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144801,11 +145380,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144821,7 +145400,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -144921,8 +145500,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -145001,8 +145580,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145809,11 +146388,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145829,7 +146408,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -145908,7 +146487,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &854 + milestone: &860 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146046,8 +146625,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -146146,8 +146725,8 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146936,11 +147515,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146953,7 +147532,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -147057,9 +147636,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *848 - organization: *824 - repository: *825 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -147139,8 +147718,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147928,11 +148507,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147945,7 +148524,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -148049,9 +148628,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *848 - organization: *824 - repository: *825 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -148131,8 +148710,8 @@ x-webhooks: type: string enum: - locked - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148944,11 +149523,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148961,7 +149540,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -149042,8 +149621,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -149122,8 +149701,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149929,11 +150508,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149949,7 +150528,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -150027,9 +150606,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *854 - organization: *824 - repository: *825 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -150897,11 +151476,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150994,7 +151573,7 @@ x-webhooks: required: - login - id - type: *330 + type: *337 required: - id - number @@ -151463,8 +152042,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152253,11 +152832,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152273,7 +152852,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -152373,8 +152952,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -152454,9 +153033,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *822 - installation: *823 - issue: &855 + enterprise: *828 + installation: *829 + issue: &861 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153239,11 +153818,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153259,7 +153838,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -153359,8 +153938,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -153439,8 +154018,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154250,11 +154829,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154348,9 +154927,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *330 - organization: *824 - repository: *825 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155216,11 +155795,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155236,7 +155815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -155804,11 +156383,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *822 - installation: *823 - issue: *855 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *861 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155888,12 +156467,12 @@ x-webhooks: type: string enum: - typed - enterprise: *822 - installation: *823 - issue: *856 - type: *330 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155974,7 +156553,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &885 + assignee: &891 title: User type: object nullable: true @@ -156044,11 +156623,11 @@ x-webhooks: required: - login - id - enterprise: *822 - installation: *823 - issue: *856 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + organization: *830 + repository: *831 sender: *4 required: - action @@ -156127,12 +156706,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *822 - installation: *823 - issue: *856 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -156212,8 +156791,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157023,11 +157602,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157043,7 +157622,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -157121,8 +157700,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157202,11 +157781,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *822 - installation: *823 - issue: *855 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *861 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157285,12 +157864,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *822 - installation: *823 - issue: *856 - type: *330 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157370,11 +157949,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157452,11 +158031,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157566,11 +158145,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157652,9 +158231,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: &857 + enterprise: *828 + installation: *829 + marketplace_purchase: &863 title: Marketplace Purchase type: object required: @@ -157737,8 +158316,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *824 - previous_marketplace_purchase: &858 + organization: *830 + previous_marketplace_purchase: &864 title: Marketplace Purchase type: object properties: @@ -157818,7 +158397,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -157898,10 +158477,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157984,7 +158563,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -158066,10 +158645,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158151,7 +158730,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -158232,8 +158811,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 marketplace_purchase: title: Marketplace Purchase type: object @@ -158315,9 +158894,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *824 - previous_marketplace_purchase: *858 - repository: *825 + organization: *830 + previous_marketplace_purchase: *864 + repository: *831 sender: *4 required: - action @@ -158397,12 +158976,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 - previous_marketplace_purchase: *858 - repository: *825 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 + previous_marketplace_purchase: *864 + repository: *831 sender: *4 required: - action @@ -158504,11 +159083,11 @@ x-webhooks: type: string required: - to - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158608,11 +159187,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158691,11 +159270,11 @@ x-webhooks: type: string enum: - removed - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158773,11 +159352,11 @@ x-webhooks: type: string enum: - added - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158853,7 +159432,7 @@ x-webhooks: required: - login - id - team: &859 + team: &865 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159043,11 +159622,11 @@ x-webhooks: type: string enum: - removed - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159124,7 +159703,7 @@ x-webhooks: required: - login - id - team: *859 + team: *865 required: - action - scope @@ -159206,8 +159785,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *823 - merge_group: &861 + installation: *829 + merge_group: &867 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159226,15 +159805,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *860 + head_commit: *866 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159320,10 +159899,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *823 - merge_group: *861 - organization: *824 - repository: *825 + installation: *829 + merge_group: *867 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159396,7 +159975,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 + enterprise: *828 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -159505,16 +160084,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *823 - organization: *824 + installation: *829 + organization: *830 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -159595,11 +160174,11 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159678,9 +160257,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - milestone: &864 + enterprise: *828 + installation: *829 + milestone: &870 title: Milestone description: A collection of related issues and pull requests. type: object @@ -159817,8 +160396,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159897,11 +160476,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160011,11 +160590,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160095,11 +160674,11 @@ x-webhooks: type: string enum: - opened - enterprise: *822 - installation: *823 - milestone: *864 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *870 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160178,11 +160757,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *849 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + blocked_user: *855 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160261,11 +160840,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *849 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + blocked_user: *855 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160344,9 +160923,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - membership: &865 + enterprise: *828 + installation: *829 + membership: &871 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160453,8 +161032,8 @@ x-webhooks: - role - organization_url - user - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160532,11 +161111,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160615,8 +161194,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -160732,10 +161311,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 - user: *849 + user: *855 required: - action - invitation @@ -160813,11 +161392,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160904,11 +161483,11 @@ x-webhooks: properties: from: type: string - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160984,9 +161563,9 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 package: description: Information about the package. type: object @@ -161485,7 +162064,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &866 + items: &872 title: Ruby Gems metadata type: object properties: @@ -161580,7 +162159,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -161656,9 +162235,9 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 package: description: Information about the package. type: object @@ -162011,7 +162590,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *872 source_url: type: string format: uri @@ -162081,7 +162660,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -162258,12 +162837,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *822 + enterprise: *828 id: type: integer - installation: *823 - organization: *824 - repository: *825 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - id @@ -162340,7 +162919,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &867 + personal_access_token_request: &873 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -162486,10 +163065,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *822 - organization: *824 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162566,11 +163145,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *867 - enterprise: *822 - organization: *824 + personal_access_token_request: *873 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162646,11 +163225,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *867 - enterprise: *822 - organization: *824 + personal_access_token_request: *873 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162725,11 +163304,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *867 - organization: *824 - enterprise: *822 + personal_access_token_request: *873 + organization: *830 + enterprise: *828 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162834,7 +163413,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *868 + last_response: *874 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162866,8 +163445,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 zen: description: Random string of GitHub zen. @@ -163112,10 +163691,10 @@ x-webhooks: - from required: - note - enterprise: *822 - installation: *823 - organization: *824 - project_card: &869 + enterprise: *828 + installation: *829 + organization: *830 + project_card: &875 title: Project Card type: object properties: @@ -163234,7 +163813,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -163315,11 +163894,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project_card: *869 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_card: *875 + repository: *831 sender: *4 required: - action @@ -163399,9 +163978,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 project_card: title: Project Card type: object @@ -163529,8 +164108,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -163624,11 +164203,11 @@ x-webhooks: - from required: - note - enterprise: *822 - installation: *823 - organization: *824 - project_card: *869 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_card: *875 + repository: *831 sender: *4 required: - action @@ -163722,9 +164301,9 @@ x-webhooks: - from required: - column_id - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 project_card: allOf: - title: Project Card @@ -163914,7 +164493,7 @@ x-webhooks: type: string required: - after_id - repository: *825 + repository: *831 sender: *4 required: - action @@ -163994,10 +164573,10 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - organization: *824 - project: &871 + enterprise: *828 + installation: *829 + organization: *830 + project: &877 title: Project type: object properties: @@ -164121,7 +164700,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -164201,10 +164780,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project_column: &870 + enterprise: *828 + installation: *829 + organization: *830 + project_column: &876 title: Project Column type: object properties: @@ -164243,7 +164822,7 @@ x-webhooks: - name - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -164322,18 +164901,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -164423,11 +165002,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 + repository: *831 sender: *4 required: - action @@ -164507,11 +165086,11 @@ x-webhooks: type: string enum: - moved - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 + repository: *831 sender: *4 required: - action @@ -164591,11 +165170,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164675,18 +165254,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - project: *871 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -164788,11 +165367,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164871,11 +165450,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164956,9 +165535,9 @@ x-webhooks: type: string enum: - closed - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165039,9 +165618,9 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165122,9 +165701,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165241,9 +165820,9 @@ x-webhooks: type: string to: type: string - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165326,7 +165905,7 @@ x-webhooks: type: string enum: - archived - changes: &875 + changes: &881 type: object properties: archived_at: @@ -165340,9 +165919,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *823 - organization: *824 - projects_v2_item: &872 + installation: *829 + organization: *830 + projects_v2_item: &878 title: Projects v2 Item description: An item belonging to a project type: object @@ -165360,7 +165939,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *373 + content_type: *378 creator: *4 created_at: type: string @@ -165477,9 +166056,9 @@ x-webhooks: nullable: true to: type: string - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165561,9 +166140,9 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165644,9 +166223,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165752,7 +166331,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &873 + - &879 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -165774,7 +166353,7 @@ x-webhooks: required: - id - name - - &874 + - &880 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -165808,8 +166387,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *873 - - *874 + - *879 + - *880 required: - field_value - type: object @@ -165825,9 +166404,9 @@ x-webhooks: nullable: true required: - body - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165922,9 +166501,9 @@ x-webhooks: to: type: string nullable: true - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -166007,10 +166586,10 @@ x-webhooks: type: string enum: - restored - changes: *875 - installation: *823 - organization: *824 - projects_v2_item: *872 + changes: *881 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -166092,9 +166671,9 @@ x-webhooks: type: string enum: - reopened - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -166175,14 +166754,14 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2_status_update: &878 + installation: *829 + organization: *830 + projects_v2_status_update: &884 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *876 - required: *877 + properties: *882 + required: *883 sender: *4 required: - action @@ -166263,9 +166842,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2_status_update: *878 + installation: *829 + organization: *830 + projects_v2_status_update: *884 sender: *4 required: - action @@ -166401,9 +166980,9 @@ x-webhooks: type: string format: date nullable: true - installation: *823 - organization: *824 - projects_v2_status_update: *878 + installation: *829 + organization: *830 + projects_v2_status_update: *884 sender: *4 required: - action @@ -166474,10 +167053,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - repository @@ -166554,13 +167133,13 @@ x-webhooks: type: string enum: - assigned - assignee: *849 - enterprise: *822 - installation: *823 - number: &879 + assignee: *855 + enterprise: *828 + installation: *829 + number: &885 description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -168843,7 +169422,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -168925,11 +169504,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -171207,7 +171786,7 @@ x-webhooks: - draft reason: type: string - repository: *825 + repository: *831 sender: *4 required: - action @@ -171289,11 +171868,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -173571,7 +174150,7 @@ x-webhooks: - draft reason: type: string - repository: *825 + repository: *831 sender: *4 required: - action @@ -173653,13 +174232,13 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: &880 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: &886 allOf: - - *672 + - *677 - type: object properties: allow_auto_merge: @@ -173721,7 +174300,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *825 + repository: *831 sender: *4 required: - action @@ -173802,12 +174381,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -173887,11 +174466,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *822 - milestone: *656 - number: *879 - organization: *824 - pull_request: &881 + enterprise: *828 + milestone: *661 + number: *885 + organization: *830 + pull_request: &887 title: Pull Request type: object properties: @@ -176154,7 +176733,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -176233,11 +176812,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -178519,7 +179098,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *825 + repository: *831 sender: *4 required: - action @@ -178643,12 +179222,12 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -178728,11 +179307,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -180999,7 +181578,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -181079,11 +181658,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *822 - installation: *823 - label: *848 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + label: *854 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -183365,7 +183944,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -183446,10 +184025,10 @@ x-webhooks: type: string enum: - locked - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -185729,7 +186308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -185809,12 +186388,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *822 - milestone: *656 - number: *879 - organization: *824 - pull_request: *881 - repository: *825 + enterprise: *828 + milestone: *661 + number: *885 + organization: *830 + pull_request: *887 + repository: *831 sender: *4 required: - action @@ -185893,12 +186472,12 @@ x-webhooks: type: string enum: - opened - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -185979,12 +186558,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -186064,12 +186643,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -186435,9 +187014,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -188607,7 +189186,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -188687,7 +189266,7 @@ x-webhooks: type: string enum: - deleted - comment: &883 + comment: &889 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. @@ -188972,9 +189551,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -191132,7 +191711,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -191212,11 +191791,11 @@ x-webhooks: type: string enum: - edited - changes: *882 - comment: *883 - enterprise: *822 - installation: *823 - organization: *824 + changes: *888 + comment: *889 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -193377,7 +193956,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -193458,9 +194037,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -195633,7 +196212,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 review: description: The review that was affected. type: object @@ -195880,9 +196459,9 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -197936,8 +198515,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 - review: &884 + repository: *831 + review: &890 description: The review that was affected. type: object properties: @@ -198170,12 +198749,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -200458,7 +201037,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_reviewer: title: User type: object @@ -200542,12 +201121,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -202837,7 +203416,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203029,12 +203608,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -205319,7 +205898,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_reviewer: title: User type: object @@ -205404,12 +205983,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -207685,7 +208264,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207866,9 +208445,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -210043,8 +210622,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 - review: *884 + repository: *831 + review: *890 sender: *4 required: - action @@ -210124,9 +210703,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -212196,7 +212775,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 sender: *4 thread: type: object @@ -212583,9 +213162,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -214641,7 +215220,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 sender: *4 thread: type: object @@ -215031,10 +215610,10 @@ x-webhooks: type: string before: type: string - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -217305,7 +217884,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -217387,11 +217966,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *885 - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + assignee: *891 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -219674,7 +220253,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -219753,11 +220332,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *822 - installation: *823 - label: *848 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + label: *854 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -222030,7 +222609,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -222111,10 +222690,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -224379,7 +224958,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -224579,7 +225158,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *822 + enterprise: *828 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224671,8 +225250,8 @@ x-webhooks: - url - author - committer - installation: *823 - organization: *824 + installation: *829 + organization: *830 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225247,9 +225826,9 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 registry_package: type: object properties: @@ -225695,7 +226274,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *866 + items: *872 summary: type: string tag_name: @@ -225749,7 +226328,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -225827,9 +226406,9 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 registry_package: type: object properties: @@ -226137,7 +226716,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *872 summary: type: string tag_name: @@ -226186,7 +226765,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -226263,10 +226842,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - release: &886 + enterprise: *828 + installation: *829 + organization: *830 + release: &892 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226584,7 +227163,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *825 + repository: *831 sender: *4 required: - action @@ -226661,11 +227240,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -226782,11 +227361,11 @@ x-webhooks: type: boolean required: - to - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -226864,9 +227443,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227188,7 +227767,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *825 + repository: *831 sender: *4 required: - action @@ -227264,10 +227843,10 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - release: &887 + enterprise: *828 + installation: *829 + organization: *830 + release: &893 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227586,7 +228165,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *825 + repository: *831 sender: *4 required: - action @@ -227662,11 +228241,11 @@ x-webhooks: type: string enum: - released - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -227742,11 +228321,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *822 - installation: *823 - organization: *824 - release: *887 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *893 + repository: *831 sender: *4 required: - action @@ -227822,11 +228401,11 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_advisory: *724 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_advisory: *730 sender: *4 required: - action @@ -227902,11 +228481,11 @@ x-webhooks: type: string enum: - reported - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_advisory: *724 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_advisory: *730 sender: *4 required: - action @@ -227982,10 +228561,10 @@ x-webhooks: type: string enum: - archived - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228062,10 +228641,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228143,10 +228722,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228230,10 +228809,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228345,10 +228924,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228420,10 +228999,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 status: type: string @@ -228504,10 +229083,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228584,10 +229163,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228681,10 +229260,10 @@ x-webhooks: - name required: - repository - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228764,11 +229343,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 sender: *4 required: - action @@ -228846,11 +229425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 sender: *4 required: - action @@ -228928,11 +229507,11 @@ x-webhooks: type: string enum: - edited - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 changes: type: object properties: @@ -228951,16 +229530,16 @@ x-webhooks: properties: added: type: array - items: *135 + items: *136 deleted: type: array - items: *135 + items: *136 updated: type: array items: type: object properties: - condition: *135 + condition: *136 changes: type: object properties: @@ -228993,16 +229572,16 @@ x-webhooks: properties: added: type: array - items: *692 + items: *698 deleted: type: array - items: *692 + items: *698 updated: type: array items: type: object properties: - rule: *692 + rule: *698 changes: type: object properties: @@ -229236,10 +229815,10 @@ x-webhooks: - from required: - owner - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229317,10 +229896,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229398,7 +229977,7 @@ x-webhooks: type: string enum: - create - alert: &888 + alert: &894 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229519,10 +230098,10 @@ x-webhooks: type: string enum: - open - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229728,10 +230307,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229809,11 +230388,11 @@ x-webhooks: type: string enum: - reopen - alert: *888 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *894 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230012,10 +230591,10 @@ x-webhooks: enum: - fixed - open - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230093,11 +230672,11 @@ x-webhooks: type: string enum: - created - alert: &889 + alert: &895 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -230105,8 +230684,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri @@ -230204,10 +230783,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230288,11 +230867,11 @@ x-webhooks: type: string enum: - created - alert: *889 - installation: *823 - location: *890 - organization: *824 - repository: *825 + alert: *895 + installation: *829 + location: *896 + organization: *830 + repository: *831 sender: *4 required: - location @@ -230530,11 +231109,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230612,11 +231191,11 @@ x-webhooks: type: string enum: - reopened - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230694,11 +231273,11 @@ x-webhooks: type: string enum: - resolved - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230776,11 +231355,11 @@ x-webhooks: type: string enum: - validated - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230906,10 +231485,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *825 - enterprise: *822 - installation: *823 - organization: *824 + repository: *831 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -230987,11 +231566,11 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - security_advisory: &891 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + security_advisory: &897 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231007,7 +231586,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array items: @@ -231174,11 +231753,11 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - security_advisory: *891 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + security_advisory: *897 sender: *4 required: - action @@ -231251,10 +231830,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231271,7 +231850,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array items: @@ -231438,11 +232017,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *381 - enterprise: *822 - installation: *823 - organization: *824 - repository: *448 + security_and_analysis: *386 + enterprise: *828 + installation: *829 + organization: *830 + repository: *453 sender: *4 required: - changes @@ -231520,12 +232099,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: &892 + sponsorship: &898 type: object properties: created_at: @@ -231826,12 +232405,12 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - sponsorship @@ -231919,12 +232498,12 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232001,17 +232580,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &893 + effective_date: &899 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: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - sponsorship @@ -232085,7 +232664,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &894 + changes: &900 type: object properties: tier: @@ -232129,13 +232708,13 @@ x-webhooks: - from required: - tier - effective_date: *893 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + effective_date: *899 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232212,13 +232791,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *894 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + changes: *900 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232292,10 +232871,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232378,10 +232957,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232801,15 +233380,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *822 + enterprise: *828 id: description: The unique identifier of the status. type: integer - installation: *823 + installation: *829 name: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 sha: description: The Commit SHA. @@ -232918,15 +233497,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - parent_issue_repo: *67 + parent_issue: *199 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - installation: *823 - organization: *824 - repository: *825 + sub_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233010,15 +233589,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - parent_issue_repo: *67 + parent_issue: *199 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - installation: *823 - organization: *824 - repository: *825 + sub_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233102,15 +233681,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - sub_issue_repo: *67 + sub_issue: *199 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - installation: *823 - organization: *824 - repository: *825 + parent_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233194,15 +233773,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - sub_issue_repo: *67 + sub_issue: *199 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - installation: *823 - organization: *824 - repository: *825 + parent_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233279,12 +233858,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - team: &895 + team: &901 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233474,9 +234053,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -233934,7 +234513,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -234010,9 +234589,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -234470,7 +235049,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -234547,9 +235126,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -235007,7 +235586,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -235151,9 +235730,9 @@ x-webhooks: - from required: - permissions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -235611,7 +236190,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - changes @@ -235689,9 +236268,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -236149,7 +236728,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -236225,10 +236804,10 @@ x-webhooks: type: string enum: - started - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -236301,16 +236880,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *822 + enterprise: *828 inputs: type: object nullable: true additionalProperties: true - installation: *823 - organization: *824 + installation: *829 + organization: *830 ref: type: string - repository: *825 + repository: *831 sender: *4 workflow: type: string @@ -236392,10 +236971,10 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: allOf: @@ -236632,7 +237211,7 @@ x-webhooks: type: string required: - conclusion - deployment: *579 + deployment: *584 required: - action - repository @@ -236711,10 +237290,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: allOf: @@ -236974,7 +237553,7 @@ x-webhooks: required: - status - steps - deployment: *579 + deployment: *584 required: - action - repository @@ -237053,10 +237632,10 @@ x-webhooks: type: string enum: - queued - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: type: object @@ -237191,7 +237770,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *579 + deployment: *584 required: - action - repository @@ -237270,10 +237849,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: type: object @@ -237409,7 +237988,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *579 + deployment: *584 required: - action - repository @@ -237489,12 +238068,12 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -238493,12 +239072,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -239482,12 +240061,12 @@ x-webhooks: type: string enum: - requested - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 76006f0932..6b886aefa0 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/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." @@ -16861,6 +16865,310 @@ } } }, + "/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.", + "example": "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.", + "example": "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", @@ -38816,11 +39124,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -38830,6 +39139,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -38857,7 +39167,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -42899,11 +43210,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -42913,6 +43225,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -42940,7 +43253,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -47867,6 +48181,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." + } + } + } + } } ] } @@ -49250,6 +49593,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." + } + } + } + } } ] } @@ -51964,6 +52336,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." + } + } + } + } } ] } @@ -57938,34 +58339,1991 @@ } } }, - "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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": { @@ -57989,9 +60347,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": { @@ -58018,10 +60419,10 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-metrics" + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" } } }, @@ -104254,13 +106655,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -120240,11 +122643,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -120254,6 +122658,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -120281,7 +122686,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -148932,11 +151338,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -148946,6 +151353,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -148973,7 +151381,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] } ], @@ -179480,7 +181889,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" @@ -179690,7 +182099,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" @@ -180036,7 +182445,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" @@ -180236,7 +182645,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" @@ -180522,7 +182931,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" @@ -187718,6 +190127,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." + } + } + } + } } ] } @@ -190217,6 +192655,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." + } + } + } + } } ] } @@ -192150,6 +194617,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." + } + } + } + } } ] } @@ -194670,6 +197166,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." + } + } + } + } } ] } @@ -492995,6 +495520,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." + } + } + } + ] } ] } @@ -494348,6 +496928,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." + } + } + } + } } ] } @@ -495422,6 +498031,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." + } + } + } + } } ] } @@ -496704,6 +499342,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." + } + } + } + } } ] } @@ -498656,6 +501323,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." + } + } + } + } } ] } @@ -499745,6 +502441,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." + } + } + } + } } ] } @@ -501023,6 +503748,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." + } + } + } + } } ] } @@ -1226958,6 +1229712,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." + } + } + } + } } ] } @@ -1229810,6 +1232593,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." + } + } + } + } } ] } @@ -1232662,6 +1235474,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." + } + } + } + } } ] } @@ -1233662,6 +1236503,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." + } + } + } + } } ] } @@ -1234490,6 +1237360,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." + } + } + } + } } ] } @@ -1235321,6 +1238220,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 888507d9e1..19af013771 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/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 - - &98 + - &99 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 - - &99 + - &100 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 - - &100 + - &101 name: direction description: The direction to sort the results by. in: query @@ -683,7 +685,7 @@ paths: required: - vector_string - score - cvss_severities: &114 + cvss_severities: &115 type: object nullable: true properties: @@ -723,7 +725,7 @@ paths: required: - vector_string - score - epss: &115 + epss: &116 type: object nullable: true readOnly: true @@ -861,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &401 + type: &406 type: string description: The type of credit the user is receiving. enum: @@ -994,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &219 + schema: &227 title: Validation Error Simple description: Validation Error Simple type: object @@ -1027,7 +1029,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: - - &726 + - &732 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1145,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &176 + properties: &184 id: description: Unique identifier of the GitHub app example: 37 @@ -1278,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &177 + required: &185 - id - node_id - owner @@ -1583,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &308 + - &315 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 @@ -1599,7 +1601,7 @@ paths: application/json: schema: type: array - items: &309 + items: &316 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1679,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &310 + default: &317 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1711,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &736 + schema: &742 title: Scim Error description: Scim Error type: object @@ -1738,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &218 + schema: &226 title: Validation Error description: Validation Error type: object @@ -1807,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &318 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1921,7 +1923,7 @@ paths: - request - response examples: - default: &312 + default: &319 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2122,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &181 + - &189 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) @@ -2675,7 +2677,7 @@ paths: suspended_at: suspended_by: headers: - Link: &40 + Link: &43 example: ; rel="next", ; rel="last" schema: @@ -2716,7 +2718,7 @@ paths: application/json: schema: *22 examples: - default: &77 + default: &79 value: id: 1 account: @@ -2866,11 +2868,11 @@ paths: - selected repositories: type: array - items: &67 + items: &69 title: Repository description: A repository on GitHub. type: object - properties: &379 + properties: &384 id: description: Unique identifier of the repository example: 42 @@ -2890,7 +2892,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &200 key: type: string example: mit @@ -2912,7 +2914,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &201 - key - name - url @@ -3308,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &380 + required: &385 - archive_url - assignees_url - blobs_url @@ -5095,7 +5097,7 @@ paths: responses: '202': *39 '422': *7 - '500': &91 + '500': &40 description: Internal Error content: application/json: @@ -7353,6 +7355,97 @@ 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: + - &41 + 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: &42 + 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. + example: 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': *29 + '404': *6 + '500': *40 + 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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: *42 + examples: + default: + value: + message: Enterprise access restrictions successfully enabled. + header_name: sec-GitHub-allowed-enterprise + header_value: '12345' + '400': *29 + '404': *6 + '500': *40 + 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 @@ -7368,19 +7461,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: - - &41 - name: enterprise - description: The slug version of the enterprise name. - in: path - required: true - schema: - type: string + - *41 responses: '200': description: Response content: application/json: - schema: &220 + schema: &228 type: object properties: total_active_caches_count: @@ -7395,12 +7482,12 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &221 + default: &229 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7438,7 +7525,7 @@ paths: type: integer runners: type: array - items: &42 + items: &44 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7487,7 +7574,7 @@ paths: - display_name - source nullable: true - machine_size_details: &45 + machine_size_details: &47 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7579,7 +7666,7 @@ paths: - public_ip_enabled - platform examples: - default: &222 + default: &230 value: total_count: 2 runners: @@ -7621,7 +7708,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7707,9 +7794,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: &46 + default: &48 value: id: 5 name: My hosted ubuntu runner @@ -7764,7 +7851,7 @@ paths: type: integer images: type: array - items: &43 + items: &45 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -7800,7 +7887,7 @@ paths: - display_name - source examples: - default: &44 + default: &46 value: id: ubuntu-20.04 platform: linux-x64 @@ -7840,9 +7927,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7865,7 +7952,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &231 type: object properties: public_ips: @@ -7890,7 +7977,7 @@ paths: required: - public_ips examples: - default: &224 + default: &232 value: public_ips: current_usage: 17 @@ -7928,9 +8015,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *47 examples: - default: &225 + default: &233 value: id: 4-core cpu_cores: 4 @@ -7998,7 +8085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - &47 + - &49 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8010,11 +8097,11 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8033,7 +8120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *47 + - *49 requestBody: required: true content: @@ -8071,9 +8158,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8090,15 +8177,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *47 + - *49 responses: '202': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8166,7 +8253,7 @@ paths: schema: type: object properties: - enabled_organizations: &48 + enabled_organizations: &50 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8179,7 +8266,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: &49 + allowed_actions: &51 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8187,12 +8274,12 @@ paths: - all - local_only - selected - selected_actions_url: &228 + selected_actions_url: &236 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: &50 + sha_pinning_required: &52 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8234,9 +8321,9 @@ paths: schema: type: object properties: - enabled_organizations: *48 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_organizations: *50 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled_organizations examples: @@ -8267,7 +8354,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &230 + schema: &238 type: object properties: days: @@ -8285,7 +8372,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &737 + '401': &743 description: Authorization failure '404': *6 x-github: @@ -8313,7 +8400,7 @@ paths: required: true content: application/json: - schema: &231 + schema: &239 type: object properties: days: @@ -8348,7 +8435,7 @@ paths: description: Response content: application/json: - schema: &51 + schema: &53 type: object properties: approval_policy: @@ -8362,7 +8449,7 @@ paths: required: - approval_policy examples: - default: &232 + default: &240 value: approval_policy: first_time_contributors '404': *6 @@ -8391,7 +8478,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -8420,7 +8507,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &241 type: object required: - run_workflows_from_fork_pull_requests @@ -8446,7 +8533,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &52 + default: &54 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8474,7 +8561,7 @@ paths: required: true content: application/json: - schema: &234 + schema: &242 type: object required: - run_workflows_from_fork_pull_requests @@ -8497,7 +8584,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -8537,11 +8624,11 @@ paths: type: number organizations: type: array - items: &62 + items: &64 title: Organization Simple description: A GitHub organization. type: object - properties: &110 + properties: &111 login: type: string example: github @@ -8582,7 +8669,7 @@ paths: type: string example: A great organization nullable: true - required: &111 + required: &112 - login - url - id @@ -8599,7 +8686,7 @@ paths: - total_count - organizations examples: - default: &63 + default: &65 value: total_count: 1 organizations: @@ -8678,7 +8765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - &53 + - &55 name: org_id description: The unique identifier of the organization. in: path @@ -8707,7 +8794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - *53 + - *55 responses: '204': description: Response @@ -8736,7 +8823,7 @@ paths: description: Response content: application/json: - schema: &54 + schema: &56 type: object properties: github_owned_allowed: @@ -8757,7 +8844,7 @@ paths: items: type: string examples: - default: &55 + default: &57 value: github_owned_allowed: true verified_allowed: false @@ -8790,9 +8877,9 @@ paths: required: true content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8897,17 +8984,17 @@ paths: description: Success response content: application/json: - schema: &237 + schema: &245 type: object properties: - default_workflow_permissions: &56 + default_workflow_permissions: &58 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &57 + can_approve_pull_request_reviews: &59 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -8915,7 +9002,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &58 + default: &60 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -8945,13 +9032,13 @@ paths: required: true content: application/json: - schema: &238 + schema: &246 type: object properties: - default_workflow_permissions: *56 - can_approve_pull_request_reviews: *57 + default_workflow_permissions: *58 + can_approve_pull_request_reviews: *59 examples: - default: *58 + default: *60 responses: '204': description: Success response @@ -8996,7 +9083,7 @@ paths: type: number runner_groups: type: array - items: &59 + items: &61 type: object properties: id: @@ -9175,9 +9262,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: &60 + default: &62 value: id: 2 name: octo-runner-group @@ -9212,7 +9299,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: - *41 - - &61 + - &63 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9224,9 +9311,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: - default: *60 + default: *62 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9246,7 +9333,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: - *41 - - *61 + - *63 requestBody: required: false content: @@ -9298,7 +9385,7 @@ paths: description: Response content: application/json: - schema: *59 + schema: *61 examples: default: value: @@ -9334,7 +9421,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: - *41 - - *61 + - *63 responses: '204': description: Response @@ -9358,7 +9445,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: - *41 - - *61 + - *63 - *17 - *19 responses: @@ -9373,12 +9460,12 @@ paths: type: number organizations: type: array - items: *62 + items: *64 required: - total_count - organizations examples: - default: *63 + default: *65 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9398,7 +9485,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: - *41 - - *61 + - *63 requestBody: required: true content: @@ -9444,8 +9531,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: - *41 - - *61 - - *53 + - *63 + - *55 responses: '204': description: Response @@ -9468,8 +9555,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: - *41 - - *61 - - *53 + - *63 + - *55 responses: '204': description: Response @@ -9493,7 +9580,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: - *41 - - *61 + - *63 - *17 - *19 responses: @@ -9508,7 +9595,7 @@ paths: type: number runners: type: array - items: &65 + items: &67 title: Self hosted runners description: A self hosted runner type: object @@ -9537,7 +9624,7 @@ paths: type: boolean labels: type: array - items: &69 + items: &71 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9570,7 +9657,7 @@ paths: - total_count - runners examples: - default: &66 + default: &68 value: total_count: 2 runners: @@ -9610,7 +9697,7 @@ paths: name: no-gpu type: custom headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9630,7 +9717,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: - *41 - - *61 + - *63 requestBody: required: true content: @@ -9675,8 +9762,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: - *41 - - *61 - - &64 + - *63 + - &66 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9705,8 +9792,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: - *41 - - *61 - - *64 + - *63 + - *66 responses: '204': description: Response @@ -9749,11 +9836,11 @@ paths: type: number runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9781,7 +9868,7 @@ paths: application/json: schema: type: array - items: &242 + items: &250 title: Runner Application description: Runner Application type: object @@ -9806,7 +9893,7 @@ paths: - download_url - filename examples: - default: &243 + default: &251 value: - os: osx architecture: x64 @@ -9890,7 +9977,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &244 + '201': &252 description: Response content: application/json: @@ -9900,7 +9987,7 @@ paths: - runner - encoded_jit_config properties: - runner: *65 + runner: *67 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -9929,7 +10016,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &108 + '409': &109 description: Conflict content: application/json: @@ -9967,7 +10054,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &70 title: Authentication Token description: Authentication Token type: object @@ -9989,7 +10076,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *69 single_file: type: string example: config.yaml @@ -10005,7 +10092,7 @@ paths: - token - expires_at examples: - default: &245 + default: &253 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10043,9 +10130,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: &246 + default: &254 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10069,15 +10156,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *41 - - *64 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: &247 + default: &255 value: id: 23 name: MBP @@ -10117,7 +10204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *41 - - *64 + - *66 responses: '204': description: Response @@ -10142,9 +10229,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: - *41 - - *64 + - *66 responses: - '200': &70 + '200': &72 description: Response content: application/json: @@ -10158,7 +10245,7 @@ paths: type: integer labels: type: array - items: *69 + items: *71 examples: default: value: @@ -10196,7 +10283,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: - *41 - - *64 + - *66 requestBody: required: true content: @@ -10220,7 +10307,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10243,7 +10330,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: - *41 - - *64 + - *66 requestBody: required: true content: @@ -10268,7 +10355,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10291,9 +10378,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: - *41 - - *64 + - *66 responses: - '200': &248 + '200': &256 description: Response content: application/json: @@ -10307,7 +10394,7 @@ paths: type: integer labels: type: array - items: *69 + items: *71 examples: default: value: @@ -10348,8 +10435,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: - *41 - - *64 - - &249 + - *66 + - &257 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10357,7 +10444,7 @@ paths: schema: type: string responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -10382,20 +10469,20 @@ paths: description: Response content: application/json: - schema: &75 + schema: &77 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &71 + announcement: &73 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic 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)." example: Very **important** announcement about _something_. nullable: true - expires_at: &72 + expires_at: &74 type: string format: date-time description: 'The time at which the announcement expires. This @@ -10405,7 +10492,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &73 + user_dismissible: &75 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -10416,7 +10503,7 @@ paths: - expires_at - user_dismissible examples: - default: &74 + default: &76 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10440,18 +10527,18 @@ paths: required: true content: application/json: - schema: &256 + schema: &264 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *71 - expires_at: *72 - user_dismissible: *73 + announcement: *73 + expires_at: *74 + user_dismissible: *75 required: - announcement examples: - default: *74 + default: *76 parameters: - *41 responses: @@ -10459,9 +10546,9 @@ paths: description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10557,7 +10644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *41 - - &76 + - &78 name: org description: The organization name. The name is not case sensitive. in: path @@ -10574,7 +10661,7 @@ paths: application/json: schema: type: array - items: &78 + items: &80 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -10625,7 +10712,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: - *41 - - *76 + - *78 - *17 - *19 responses: @@ -10720,7 +10807,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: - *41 - - *76 + - *78 responses: '200': description: A GitHub App installation that was installed previously. @@ -10728,14 +10815,14 @@ paths: application/json: schema: *22 examples: - default: *77 + default: *79 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *77 + default: *79 requestBody: required: true content: @@ -10803,7 +10890,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: - *41 - - *76 + - *78 - *23 responses: '204': @@ -10831,7 +10918,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: - *41 - - *76 + - *78 - *23 - *17 - *19 @@ -10843,7 +10930,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -10872,7 +10959,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: - *41 - - *76 + - *78 - *23 requestBody: required: true @@ -10912,7 +10999,7 @@ paths: application/json: schema: *22 examples: - default: *77 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10933,7 +11020,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *41 - - *76 + - *78 - *23 responses: '200': @@ -10943,7 +11030,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -10994,7 +11081,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *41 - - *76 + - *78 - *23 responses: '200': @@ -11004,7 +11091,7 @@ paths: application/json: schema: type: array - items: *78 + items: *80 examples: default: value: @@ -11081,7 +11168,7 @@ paths: required: false schema: type: string - - &257 + - &265 name: include description: |- The event types to include: @@ -11099,7 +11186,7 @@ paths: - web - git - all - - &258 + - &266 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. @@ -11107,7 +11194,7 @@ paths: required: false schema: type: string - - &259 + - &267 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. @@ -11115,7 +11202,7 @@ paths: required: false schema: type: string - - &260 + - &268 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11137,7 +11224,7 @@ paths: application/json: schema: type: array - items: &261 + items: &269 type: object properties: "@timestamp": @@ -11259,7 +11346,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &262 + default: &270 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11438,7 +11525,7 @@ paths: vendor_specific: type: object oneOf: - - &82 + - &84 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11457,7 +11544,7 @@ paths: - key_id - encrypted_sas_url - container - - &83 + - &85 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11476,7 +11563,7 @@ paths: - name - encrypted_connstring - key_id - - &84 + - &86 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11504,7 +11591,7 @@ paths: - bucket - key_id - region - - &85 + - &87 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11538,7 +11625,7 @@ paths: - encrypted_secret_key - key_id - region - - &86 + - &88 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11566,7 +11653,7 @@ paths: - key_id - port - ssl_verify - - &87 + - &89 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11598,7 +11685,7 @@ paths: - key_id - port - ssl_verify - - &88 + - &90 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -11616,7 +11703,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &89 + - &91 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11647,7 +11734,7 @@ paths: - stream_type - vendor_specific examples: - default: &90 + default: &92 value: enabled: false stream_type: Azure Event Hubs @@ -11661,7 +11748,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &79 + schema: &81 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11692,7 +11779,7 @@ paths: - created_at - updated_at examples: - default: &80 + default: &82 value: id: 1 stream_type: Splunk @@ -11721,7 +11808,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: - *41 - - &81 + - &83 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11733,9 +11820,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *79 + schema: *81 examples: - default: *80 + default: *82 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11755,7 +11842,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *81 + - *83 requestBody: required: true content: @@ -11781,28 +11868,28 @@ paths: vendor_specific: type: object oneOf: - - *82 - - *83 - *84 - *85 - *86 - *87 - *88 - *89 + - *90 + - *91 required: - enabled - stream_type - vendor_specific examples: - default: *90 + default: *92 responses: '200': description: Successful update content: application/json: - schema: *79 + schema: *81 examples: - default: *80 + default: *82 '422': description: Validation error content: @@ -11833,7 +11920,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: - *41 - - *81 + - *83 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11860,13 +11947,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - &92 + - &93 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &93 + - &94 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11874,7 +11961,7 @@ paths: required: false schema: type: string - - &94 + - &95 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11882,7 +11969,7 @@ paths: required: false schema: type: string - - &95 + - &96 name: time_period description: |- The time period to filter by. @@ -11898,7 +11985,7 @@ paths: - week - month default: day - - &96 + - &97 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11925,7 +12012,7 @@ paths: application/json: schema: type: array - items: &264 + items: &271 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12042,7 +12129,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &97 + items: &98 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12086,7 +12173,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &265 + default: &272 value: - id: 21 number: 42 @@ -12155,7 +12242,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': *91 + '500': *40 "/enterprises/{enterprise}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an enterprise @@ -12177,11 +12264,11 @@ paths: subcategory: delegated-bypass parameters: - *41 - - *92 - *93 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -12191,7 +12278,7 @@ paths: application/json: schema: type: array - items: &267 + items: &274 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12305,7 +12392,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *97 + items: *98 url: type: string format: uri @@ -12316,7 +12403,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &268 + default: &275 value: - id: 21 number: 42 @@ -12383,7 +12470,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': *91 + '500': *40 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -12401,17 +12488,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &273 + - &280 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: &101 + schema: &102 type: string description: The name of the tool used to generate the code scanning analysis. - - &274 + - &281 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 @@ -12419,22 +12506,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &102 + schema: &103 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *98 - *99 + - *100 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &275 + schema: &282 type: string description: State of a code scanning alert. enum: @@ -12459,42 +12546,42 @@ paths: application/json: schema: type: array - items: &276 + items: &283 type: object properties: - number: &112 + number: &113 type: integer description: The security alert number. readOnly: true - created_at: &119 + created_at: &120 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: &120 + updated_at: &121 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: &117 + url: &118 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &118 + html_url: &119 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &516 + instances_url: &521 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &103 + state: &104 type: string description: State of a code scanning alert. nullable: true @@ -12502,7 +12589,7 @@ paths: - open - dismissed - fixed - fixed_at: &122 + fixed_at: &123 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12516,14 +12603,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &121 + dismissed_at: &122 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &517 + dismissed_reason: &522 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12532,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &518 + dismissed_comment: &523 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &519 + rule: &524 type: object properties: id: @@ -12591,25 +12678,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &520 + tool: &525 type: object properties: - name: *101 + name: *102 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *102 - most_recent_instance: &521 + guid: *103 + most_recent_instance: &526 type: object properties: - ref: &514 + ref: &519 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &536 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12620,13 +12707,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &532 + category: &537 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: *103 + state: *104 commit_sha: type: string message: @@ -12665,11 +12752,11 @@ paths: - generated - test - library - repository: &109 + repository: &110 title: Simple Repository description: A GitHub repository. type: object - properties: &208 + properties: &216 id: type: integer format: int64 @@ -12896,7 +12983,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &209 + required: &217 - archive_url - assignees_url - blobs_url @@ -12965,7 +13052,7 @@ paths: - most_recent_instance - repository examples: - default: &277 + default: &284 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13194,9 +13281,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: *40 + Link: *43 '404': *6 - '503': &166 + '503': &167 description: Service unavailable content: application/json: @@ -13240,8 +13327,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 responses: '200': description: Response @@ -13249,7 +13336,7 @@ paths: application/json: schema: type: array - items: &104 + items: &105 type: object description: A code security configuration properties: @@ -13618,7 +13705,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &278 + code_scanning_options: &285 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13635,7 +13722,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &107 + code_scanning_default_setup_options: &108 type: object description: Feature options for code scanning default setup nullable: true @@ -13752,9 +13839,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *104 + schema: *105 examples: - default: &105 + default: &106 value: id: 1325 target_type: enterprise @@ -13812,7 +13899,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &287 type: array description: A list of default code security configurations items: @@ -13826,9 +13913,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *104 + configuration: *105 examples: - default: &281 + default: &288 value: - default_for_new_repos: public configuration: @@ -13917,7 +14004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &106 + - &107 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13929,9 +14016,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *105 + default: *106 '304': *37 '403': *29 '404': *6 @@ -13956,7 +14043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14035,7 +14122,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14123,13 +14210,13 @@ paths: description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *105 + default: *106 '304': *37 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14153,14 +14240,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *106 + - *107 responses: - '204': &132 + '204': &133 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14185,7 +14272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14212,7 +14299,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14237,7 +14324,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: - *41 - - *106 + - *107 requestBody: required: true content: @@ -14277,12 +14364,12 @@ paths: - none - private_and_internal - public - configuration: *104 + configuration: *105 examples: default: value: default_for_new_repos: all - configuration: &279 + configuration: &286 value: id: 1325 target_type: organization @@ -14339,7 +14426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *106 + - *107 - 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)." @@ -14348,8 +14435,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14367,7 +14454,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 type: object description: Repositories associated with a code security configuration and attachment status @@ -14385,13 +14472,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *109 + repository: *110 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &283 + repository: &290 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14799,7 +14886,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14856,7 +14943,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &123 + items: &124 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14873,14 +14960,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *110 - required: *111 + properties: *111 + required: *112 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &269 + - &276 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14939,7 +15026,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &345 + properties: &350 id: description: Unique identifier of the team type: integer @@ -14995,7 +15082,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &346 + required: &351 - id - node_id - url @@ -15019,7 +15106,8 @@ paths: - repositories_url - slug - parent - - title: Enterprise Team + - &176 + title: Enterprise Team description: Group of enterprise owners and/or members type: object properties: @@ -15037,10 +15125,12 @@ paths: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' example: disabled | all organization_selection_type: type: string - example: disabled | all + example: disabled | selected | all group_id: nullable: true type: string @@ -15048,6 +15138,8 @@ paths: group_name: nullable: true type: string + description: 'Retired: this field will not be returned + with GHEC enterprise teams.' example: Justice League html_url: type: string @@ -15070,6 +15162,7 @@ paths: - slug - created_at - updated_at + - group_id nullable: true pending_cancellation_date: type: string @@ -15123,7 +15216,7 @@ paths: - created_at additionalProperties: false examples: - default: &124 + default: &125 value: total_seats: 2 seats: @@ -15193,8 +15286,8 @@ paths: type: User site_admin: false headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15266,7 +15359,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15355,7 +15448,7 @@ paths: response: value: message: Status for delete command - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15431,7 +15524,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15508,7 +15601,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -15575,7 +15668,7 @@ paths: application/json: schema: type: array - items: &172 + items: &173 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -15882,7 +15975,7 @@ paths: - date additionalProperties: true examples: - default: &173 + default: &174 value: - date: '2024-06-24' total_active_users: 24 @@ -15981,10 +16074,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *91 + '500': *40 '403': *29 '404': *6 - '422': &174 + '422': &175 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16014,7 +16107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &290 + - &297 name: state in: query description: |- @@ -16023,7 +16116,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &291 + - &298 name: severity in: query description: |- @@ -16032,7 +16125,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &292 + - &299 name: ecosystem in: query description: |- @@ -16041,14 +16134,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &293 + - &300 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 - - &294 + - &301 name: epss_percentage in: query description: |- @@ -16060,7 +16153,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 - - &295 + - &302 name: has in: query description: |- @@ -16074,7 +16167,7 @@ paths: type: string enum: - patch - - &296 + - &303 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16084,7 +16177,7 @@ paths: enum: - development - runtime - - &297 + - &304 name: sort in: query description: |- @@ -16099,10 +16192,10 @@ paths: - updated - epss_percentage default: created - - *100 - - *98 + - *101 - *99 - - &298 + - *100 + - &305 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16115,7 +16208,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &299 + - &306 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16135,11 +16228,11 @@ paths: application/json: schema: type: array - items: &300 + items: &307 type: object description: A Dependabot alert. properties: - number: *112 + number: *113 state: type: string description: The state of the Dependabot alert. @@ -16154,7 +16247,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &113 + package: &114 type: object description: Details for the vulnerable package. readOnly: true @@ -16198,7 +16291,7 @@ paths: - unknown - direct - transitive - security_advisory: &571 + security_advisory: &576 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16228,13 +16321,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &116 + items: &117 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *113 + package: *114 severity: type: string description: The severity of the vulnerability. @@ -16300,8 +16393,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *114 - epss: *115 + cvss_severities: *115 + epss: *116 cwes: type: array description: Details for the advisory pertaining to Common @@ -16400,12 +16493,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *116 - url: *117 - html_url: *118 - created_at: *119 - updated_at: *120 - dismissed_at: *121 + security_vulnerability: *117 + url: *118 + html_url: *119 + created_at: *120 + updated_at: *121 + dismissed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -16429,15 +16522,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *122 - auto_dismissed_at: &572 + fixed_at: *123 + auto_dismissed_at: &577 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *109 + repository: *110 required: - number - state @@ -16456,7 +16549,7 @@ paths: - repository additionalProperties: false examples: - default: &301 + default: &308 value: - number: 2 state: dismissed @@ -16873,7 +16966,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: - *41 - - &263 + - &180 name: username description: The handle for the GitHub user account. in: path @@ -16895,10 +16988,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *123 + items: *124 examples: - default: *124 - '500': *91 + default: *125 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -16940,7 +17033,7 @@ paths: type: integer network_configurations: type: array - items: &125 + items: &126 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -16980,7 +17073,7 @@ paths: - name - created_on examples: - default: &412 + default: &417 value: total_count: 2 network_configurations: @@ -16999,7 +17092,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17058,9 +17151,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: &126 + default: &127 value: id: 123456789ABCDEF name: My network configuration @@ -17087,7 +17180,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: - *41 - - &127 + - &128 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17099,11 +17192,11 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17121,7 +17214,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: - *41 - - *127 + - *128 requestBody: required: true content: @@ -17160,9 +17253,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17180,7 +17273,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: - *41 - - *127 + - *128 responses: '204': description: Response @@ -17203,7 +17296,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: - *41 - - &413 + - &418 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17215,7 +17308,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &419 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17249,7 +17342,7 @@ paths: - subnet_id - region examples: - default: &415 + default: &420 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17257,7 +17350,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: *40 + Link: *43 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17284,7 +17377,7 @@ paths: application/json: schema: type: array - items: &128 + items: &129 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17350,7 +17443,7 @@ paths: - property_name - value_type examples: - default: &129 + default: &130 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17407,7 +17500,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *128 + items: *129 minItems: 1 maxItems: 100 required: @@ -17437,9 +17530,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -17462,8 +17555,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - *76 - - &130 + - *78 + - &131 name: custom_property_name description: The custom property name in: path @@ -17475,9 +17568,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: &131 + default: &132 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17510,15 +17603,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *130 + - *131 responses: '200': description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -17540,12 +17633,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: - *41 - - *130 + - *131 requestBody: required: true content: application/json: - schema: &377 + schema: &382 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17609,9 +17702,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -17633,9 +17726,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *130 + - *131 responses: - '204': *132 + '204': *133 '403': *29 '404': *6 x-github: @@ -17675,7 +17768,7 @@ paths: - push - repository default: branch - enforcement: &139 + enforcement: &140 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17688,7 +17781,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &140 + items: &141 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17729,7 +17822,7 @@ paths: - pull_request - exempt default: always - conditions: &163 + conditions: &164 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17743,7 +17836,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &133 + - &134 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17769,7 +17862,7 @@ paths: type: string required: - organization_name - - &136 + - &137 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17798,7 +17891,7 @@ paths: is prevented. required: - repository_name - - &135 + - &136 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17826,8 +17919,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *133 - - &138 + - *134 + - &139 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17840,7 +17933,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &134 + items: &135 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -17871,16 +17964,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *134 + items: *135 required: - repository_property - - *135 + - *136 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &137 + - &138 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -17897,25 +17990,25 @@ paths: type: integer required: - organization_id + - *137 - *136 - - *135 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *137 - *138 - - *135 + - *139 + - *136 rules: type: array description: An array of rules within the ruleset. - items: &164 + items: &165 title: Repository Rule type: object description: A repository rule. oneOf: - - &141 + - &142 title: creation description: Only allow users with bypass permission to create matching refs. @@ -17927,7 +18020,7 @@ paths: type: string enum: - creation - - &142 + - &143 title: update description: Only allow users with bypass permission to update matching refs. @@ -17948,7 +18041,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &143 + - &144 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17960,7 +18053,7 @@ paths: type: string enum: - deletion - - &144 + - &145 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17972,7 +18065,7 @@ paths: type: string enum: - required_linear_history - - &145 + - &146 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17996,7 +18089,7 @@ paths: type: string required: - required_deployment_environments - - &146 + - &147 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18008,7 +18101,7 @@ paths: type: string enum: - required_signatures - - &147 + - &148 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. @@ -18068,7 +18161,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &148 + - &149 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18115,7 +18208,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &149 + - &150 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18127,7 +18220,7 @@ paths: type: string enum: - non_fast_forward - - &150 + - &151 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18163,7 +18256,7 @@ paths: required: - operator - pattern - - &151 + - &152 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18199,7 +18292,7 @@ paths: required: - operator - pattern - - &152 + - &153 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18235,7 +18328,7 @@ paths: required: - operator - pattern - - &153 + - &154 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18271,7 +18364,7 @@ paths: required: - operator - pattern - - &154 + - &155 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18307,7 +18400,7 @@ paths: required: - operator - pattern - - &155 + - &156 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18331,7 +18424,7 @@ paths: type: string required: - restricted_file_paths - - &156 + - &157 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18355,7 +18448,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &157 + - &158 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18378,7 +18471,7 @@ paths: type: string required: - restricted_file_extensions - - &158 + - &159 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18402,7 +18495,7 @@ paths: maximum: 100 required: - max_file_size - - &159 + - &160 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18451,7 +18544,7 @@ paths: - repository_id required: - workflows - - &160 + - &161 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18537,7 +18630,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &162 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18572,11 +18665,11 @@ paths: source: type: string description: The name of the source - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 + items: *141 current_user_can_bypass: type: string description: |- @@ -18608,8 +18701,8 @@ paths: conditions: nullable: true anyOf: - - *135 - - &384 + - *136 + - &389 title: Organization ruleset conditions type: object description: |- @@ -18623,14 +18716,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *135 - *136 + - *137 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *135 + - *136 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18652,20 +18745,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *135 - - *138 + - *136 + - *139 rules: type: array - items: &692 + items: &698 title: Repository Rule type: object description: A repository rule. oneOf: - - *141 - *142 - *143 - *144 - - &690 + - *145 + - &695 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18743,7 +18836,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *145 - *146 - *147 - *148 @@ -18759,6 +18851,30 @@ paths: - *158 - *159 - *160 + - *161 + - &696 + 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 @@ -18766,7 +18882,7 @@ paths: type: string format: date-time examples: - default: &162 + default: &163 value: id: 21 name: super cool ruleset @@ -18792,7 +18908,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18825,11 +18941,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18871,16 +18987,16 @@ paths: - tag - push - repository - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *163 + items: *141 + conditions: *164 rules: description: An array of rules within the ruleset. type: array - items: *164 + items: *165 examples: default: value: @@ -18904,11 +19020,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18935,7 +19051,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -18968,7 +19084,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 title: Ruleset version type: object description: The historical version of a ruleset @@ -18992,7 +19108,7 @@ paths: type: string format: date-time examples: - default: &387 + default: &392 value: - version_id: 3 actor: @@ -19010,7 +19126,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19045,9 +19161,9 @@ paths: description: Response content: application/json: - schema: &388 + schema: &393 allOf: - - *165 + - *166 - type: object required: - state @@ -19080,7 +19196,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19100,7 +19216,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &389 + - &394 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19111,7 +19227,7 @@ paths: enum: - open - resolved - - &390 + - &395 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19121,7 +19237,7 @@ paths: required: false schema: type: string - - &391 + - &396 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19130,7 +19246,7 @@ paths: required: false schema: type: string - - &392 + - &397 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. @@ -19142,11 +19258,11 @@ paths: - created - updated default: created - - *100 + - *101 - *17 - - *98 - *99 - - &393 + - *100 + - &398 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19155,7 +19271,7 @@ paths: required: false schema: type: string - - &394 + - &399 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19164,7 +19280,7 @@ paths: schema: type: boolean default: false - - &395 + - &400 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19173,7 +19289,7 @@ paths: schema: type: boolean default: false - - &396 + - &401 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19189,11 +19305,11 @@ paths: application/json: schema: type: array - items: &397 + items: &402 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -19201,21 +19317,21 @@ paths: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &704 + state: &710 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: &705 + resolution: &711 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19249,7 +19365,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *109 + repository: *110 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19322,8 +19438,8 @@ paths: pull request. ' - oneOf: &706 - - &708 + oneOf: &712 + - &714 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19375,7 +19491,7 @@ paths: - blob_url - commit_sha - commit_url - - &709 + - &715 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. @@ -19430,7 +19546,7 @@ paths: - page_url - commit_sha - commit_url - - &710 + - &716 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19444,7 +19560,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &711 + - &717 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19458,7 +19574,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &712 + - &718 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19472,7 +19588,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &713 + - &719 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19486,7 +19602,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &714 + - &720 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19500,7 +19616,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &715 + - &721 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19514,7 +19630,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &716 + - &722 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. @@ -19528,7 +19644,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &717 + - &723 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. @@ -19542,7 +19658,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &718 + - &724 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. @@ -19556,7 +19672,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &719 + - &725 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. @@ -19570,7 +19686,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &720 + - &726 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19590,7 +19706,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &398 + default: &403 value: number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19747,9 +19863,9 @@ paths: commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19780,13 +19896,13 @@ paths: description: Response content: application/json: - schema: &399 + schema: &404 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: &168 + pattern_config_version: &169 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19795,7 +19911,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &167 + items: &168 type: object properties: token_type: @@ -19861,9 +19977,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *167 + items: *168 examples: - default: &400 + default: &405 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -19918,7 +20034,7 @@ paths: schema: type: object properties: - pattern_config_version: *168 + pattern_config_version: *169 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -19944,7 +20060,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *168 + custom_pattern_version: *169 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -19980,7 +20096,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20007,7 +20123,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &408 type: object properties: total_minutes_used: @@ -20077,7 +20193,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &404 + default: &409 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20108,7 +20224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &405 + - &410 name: advanced_security_product in: query description: | @@ -20128,7 +20244,7 @@ paths: description: Success content: application/json: - schema: &406 + schema: &411 type: object properties: total_advanced_security_committers: @@ -20183,7 +20299,7 @@ paths: required: - repositories examples: - default: &407 + default: &412 value: total_advanced_security_committers: 2 total_count: 2 @@ -20292,8 +20408,8 @@ paths: name: Octocat '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20422,7 +20538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &171 + - &172 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20434,7 +20550,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &169 + schema: &170 type: object properties: id: @@ -20473,7 +20589,7 @@ paths: - name - resources examples: - default: &170 + default: &171 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20486,8 +20602,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20537,15 +20653,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 '400': *14 '403': *29 '404': *6 - '409': *108 - '500': *91 - '503': *166 + '409': *109 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20563,7 +20679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *171 + - *172 responses: '200': description: Response when deleting a cost center @@ -20601,8 +20717,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20623,7 +20739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *171 + - *172 requestBody: required: true content: @@ -20693,9 +20809,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *108 - '500': *91 - '503': *166 + '409': *109 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20715,7 +20831,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *171 + - *172 requestBody: required: true content: @@ -20761,8 +20877,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20793,7 +20909,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &413 type: object properties: total_gigabytes_bandwidth_used: @@ -20811,7 +20927,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &409 + default: &414 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20846,7 +20962,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &415 type: object properties: days_left_in_billing_cycle: @@ -20864,7 +20980,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &411 + default: &416 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -20889,7 +21005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &210 + - &218 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, @@ -20898,7 +21014,7 @@ paths: required: false schema: type: integer - - &211 + - &219 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -20907,7 +21023,7 @@ paths: required: false schema: type: integer - - &212 + - &220 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 @@ -20916,7 +21032,7 @@ paths: required: false schema: type: integer - - &213 + - &221 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 @@ -20937,7 +21053,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &214 + schema: &222 type: object properties: usageItems: @@ -20990,7 +21106,7 @@ paths: - netAmount - organizationName examples: - default: &215 + default: &223 value: usageItems: - date: '2023-08-01' @@ -21006,8 +21122,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21078,18 +21194,501 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 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: + - *41 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *176 + examples: + default: &177 + 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: *43 + '403': *29 + 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: + - *41 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *176 + examples: + default: *177 + 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: + - *41 + - &178 + 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: &179 + 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: *43 + 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: + - *41 + - *178 + 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: *179 + 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: + - *41 + - *178 + 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: *179 + 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: + - *41 + - *178 + - *180 + responses: + '200': + description: User is a member of the enterprise team. + content: + application/json: + schema: *4 + examples: + exampleKey1: &181 + 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: + - *41 + - *178 + - *180 + responses: + '201': + description: Successfully added team member + content: + application/json: + schema: *4 + examples: + exampleKey1: *181 + 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: + - *41 + - *178 + - *180 + responses: + '204': + description: Response + '403': *29 + 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: + - *41 + - &182 + 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: *176 + examples: + default: *177 + headers: + Link: *43 + '403': *29 + 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: + - *41 + - *182 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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: *176 + examples: + default: *177 + headers: + Link: *43 + '403': *29 + 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: + - *41 + - *182 + responses: + '204': + description: Response + '403': *29 + 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 @@ -21173,7 +21772,7 @@ paths: application/json: schema: type: array - items: &203 + items: &211 title: Event description: Event type: object @@ -21183,7 +21782,7 @@ paths: type: type: string nullable: true - actor: &175 + actor: &183 title: Actor description: Actor type: object @@ -21223,18 +21822,18 @@ paths: - id - name - url - org: *175 + org: *183 payload: type: object properties: action: type: string - issue: &191 + issue: &199 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &629 + properties: &634 id: type: integer format: int64 @@ -21346,7 +21945,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &370 + properties: &375 url: type: string format: uri @@ -21416,7 +22015,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &371 + required: &376 - closed_issues - creator - description @@ -21495,7 +22094,7 @@ paths: timeline_url: type: string format: uri - type: &330 + type: &337 title: Issue Type description: The type of issue. type: object @@ -21544,7 +22143,7 @@ paths: - node_id - name - description - repository: *67 + repository: *69 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21554,9 +22153,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - author_association: &178 + properties: *184 + required: *185 + author_association: &186 title: author_association type: string example: OWNER @@ -21570,7 +22169,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &179 + reactions: &187 title: Reaction Rollup type: object properties: @@ -21606,7 +22205,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &764 + sub_issues_summary: &770 title: Sub-issues Summary type: object properties: @@ -21626,7 +22225,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &765 + issue_dependencies_summary: &771 title: Issue Dependencies Summary type: object properties: @@ -21645,7 +22244,7 @@ paths: - total_blocking issue_field_values: type: array - items: &766 + items: &772 title: Issue Field Value description: A value assigned to an issue field type: object @@ -21705,7 +22304,7 @@ paths: - node_id - data_type - value - required: &630 + required: &635 - assignee - closed_at - comments @@ -21726,7 +22325,7 @@ paths: - user - created_at - updated_at - comment: &627 + comment: &632 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -21774,7 +22373,7 @@ paths: issue_url: type: string format: uri - author_association: *178 + author_association: *186 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -21784,9 +22383,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - id - node_id @@ -21881,7 +22480,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21962,7 +22561,7 @@ paths: _links: type: object properties: - timeline: &180 + timeline: &188 title: Link With Type description: Hypermedia Link with Type type: object @@ -21974,17 +22573,17 @@ paths: required: - href - type - user: *180 - security_advisories: *180 - current_user: *180 - current_user_public: *180 - current_user_actor: *180 - current_user_organization: *180 + user: *188 + security_advisories: *188 + current_user: *188 + current_user_public: *188 + current_user_actor: *188 + current_user_organization: *188 current_user_organizations: type: array - items: *180 - repository_discussions: *180 - repository_discussions_category: *180 + items: *188 + repository_discussions: *188 + repository_discussions_category: *188 required: - timeline - user @@ -22046,7 +22645,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22056,7 +22655,7 @@ paths: application/json: schema: type: array - items: &182 + items: &190 title: Base Gist description: Base Gist type: object @@ -22155,7 +22754,7 @@ paths: - created_at - updated_at examples: - default: &183 + default: &191 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22200,7 +22799,7 @@ paths: site_admin: false truncated: false headers: - Link: *40 + Link: *43 '304': *37 '403': *29 x-github: @@ -22276,7 +22875,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &192 title: Gist Simple description: Gist Simple type: object @@ -22293,7 +22892,7 @@ paths: url: type: string format: uri - user: &778 + user: &784 title: Public User description: Public User type: object @@ -22655,7 +23254,7 @@ paths: truncated: type: boolean examples: - default: &185 + default: &193 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -22759,7 +23358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22769,11 +23368,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '403': *29 @@ -22793,7 +23392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *181 + - *189 - *17 - *19 responses: @@ -22803,11 +23402,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '401': *25 '304': *37 '403': *29 @@ -22833,7 +23432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &186 + - &194 name: gist_id description: The unique identifier of the gist. in: path @@ -22845,10 +23444,10 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - default: *185 - '403': &189 + default: *193 + '403': &197 description: Forbidden Gist content: application/json: @@ -22896,7 +23495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *186 + - *194 requestBody: required: true content: @@ -22956,9 +23555,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - updateGist: *185 + updateGist: *193 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23116,7 +23715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23145,7 +23744,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23155,7 +23754,7 @@ paths: application/json: schema: type: array - items: &187 + items: &195 title: Gist Comment description: A comment made to a gist. type: object @@ -23190,7 +23789,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *178 + author_association: *186 required: - url - id @@ -23230,7 +23829,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -23255,7 +23854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *186 + - *194 requestBody: required: true content: @@ -23280,9 +23879,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: &188 + default: &196 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23340,8 +23939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *186 - - &190 + - *194 + - &198 name: comment_id description: The unique identifier of the comment. in: path @@ -23354,12 +23953,12 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: *188 + default: *196 '304': *37 '404': *6 - '403': *189 + '403': *197 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23381,8 +23980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *186 - - *190 + - *194 + - *198 requestBody: required: true content: @@ -23407,9 +24006,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *195 examples: - default: *188 + default: *196 '404': *6 x-github: githubCloudOnly: false @@ -23426,8 +24025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *186 - - *190 + - *194 + - *198 responses: '204': description: Response @@ -23450,7 +24049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23551,7 +24150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *186 + - *194 - *17 - *19 responses: @@ -23561,7 +24160,7 @@ paths: application/json: schema: type: array - items: *184 + items: *192 examples: default: value: @@ -23607,7 +24206,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '404': *6 '304': *37 '403': *29 @@ -23626,13 +24225,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *186 + - *194 responses: '201': description: Response content: application/json: - schema: *182 + schema: *190 examples: default: value: @@ -23703,7 +24302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *186 + - *194 responses: '204': description: Response if gist is starred @@ -23733,7 +24332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23755,7 +24354,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *186 + - *194 responses: '204': description: Response @@ -23784,7 +24383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *186 + - *194 - name: sha in: path required: true @@ -23795,9 +24394,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *192 examples: - default: *185 + default: *193 '422': *15 '404': *6 '403': *29 @@ -23956,7 +24555,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *69 repository_selection: type: string example: selected @@ -24079,7 +24678,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '403': *29 '304': *37 '401': *25 @@ -24163,7 +24762,7 @@ paths: - closed - all default: open - - &333 + - &340 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24181,8 +24780,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - name: collab in: query required: false @@ -24212,9 +24811,9 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: &334 + default: &341 value: - id: 1 node_id: MDU6SXNzdWUx @@ -24459,7 +25058,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '404': *6 @@ -24498,8 +25097,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 examples: default: value: @@ -24784,7 +25383,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &194 + X-CommonMarker-Version: &202 example: 0.17.4 schema: type: string @@ -24839,7 +25438,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *194 + X-CommonMarker-Version: *202 content: text/html: schema: @@ -24868,7 +25467,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: - - &197 + - &205 name: account_id description: account_id parameter in: path @@ -24880,7 +25479,7 @@ paths: description: Response content: application/json: - schema: &196 + schema: &204 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -24910,7 +25509,7 @@ paths: nullable: true id: type: integer - plan: &195 + plan: &203 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -24999,7 +25598,7 @@ paths: nullable: true updated_at: type: string - plan: *195 + plan: *203 required: - url - id @@ -25007,7 +25606,7 @@ paths: - login - marketplace_purchase examples: - default: &198 + default: &206 value: url: https://api.github.com/orgs/github type: Organization @@ -25092,9 +25691,9 @@ paths: application/json: schema: type: array - items: *195 + items: *203 examples: - default: &199 + default: &207 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25112,7 +25711,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '404': *6 '401': *25 x-github: @@ -25134,14 +25733,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &200 + - &208 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &201 + - &209 name: sort description: The property to sort the results by. in: query @@ -25171,9 +25770,9 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: - default: &202 + default: &210 value: - url: https://api.github.com/orgs/github type: Organization @@ -25224,7 +25823,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '404': *6 '422': *15 '401': *25 @@ -25247,15 +25846,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: - - *197 + - *205 responses: '200': description: Response content: application/json: - schema: *196 + schema: *204 examples: - default: *198 + default: *206 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25287,11 +25886,11 @@ paths: application/json: schema: type: array - items: *195 + items: *203 examples: - default: *199 + default: *207 headers: - Link: *40 + Link: *43 '401': *25 x-github: githubCloudOnly: false @@ -25312,8 +25911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *200 - - *201 + - *208 + - *209 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25333,11 +25932,11 @@ paths: application/json: schema: type: array - items: *196 + items: *204 examples: - default: *202 + default: *210 headers: - Link: *40 + Link: *43 '401': *25 x-github: githubCloudOnly: false @@ -25599,14 +26198,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: - - &435 + - &440 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &436 + - &441 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -25623,7 +26222,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -25677,7 +26276,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &449 + '301': &454 description: Moved permanently content: application/json: @@ -25699,7 +26298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &659 + - &664 name: all description: If `true`, show notifications marked as read. in: query @@ -25707,7 +26306,7 @@ paths: schema: type: boolean default: false - - &660 + - &665 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -25716,8 +26315,8 @@ paths: schema: type: boolean default: false - - *181 - - &661 + - *189 + - &666 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: @@ -25742,18 +26341,18 @@ paths: application/json: schema: type: array - items: &204 + items: &212 title: Thread description: Thread type: object properties: id: type: string - repository: &241 + repository: &249 title: Minimal Repository description: Minimal Repository type: object - properties: &303 + properties: &310 id: type: integer format: int64 @@ -26029,7 +26628,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &381 + security_and_analysis: &386 nullable: true type: object properties: @@ -26111,7 +26710,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &304 + required: &311 - archive_url - assignees_url - blobs_url @@ -26199,7 +26798,7 @@ paths: - url - subscription_url examples: - default: &662 + default: &667 value: - id: '1' repository: @@ -26281,7 +26880,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -26365,7 +26964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &205 + - &213 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 @@ -26379,7 +26978,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *212 examples: default: value: @@ -26482,7 +27081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *205 + - *213 responses: '205': description: Reset Content @@ -26505,7 +27104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *205 + - *213 responses: '204': description: No content @@ -26528,13 +27127,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: - - *205 + - *213 responses: '200': description: Response content: application/json: - schema: &206 + schema: &214 title: Thread Subscription description: Thread Subscription type: object @@ -26571,7 +27170,7 @@ paths: - url - subscribed examples: - default: &207 + default: &215 value: subscribed: true ignored: false @@ -26602,7 +27201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *205 + - *213 requestBody: required: false content: @@ -26623,9 +27222,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *214 examples: - default: *207 + default: *215 '304': *37 '403': *29 '401': *25 @@ -26648,7 +27247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *205 + - *213 responses: '204': description: Response @@ -26743,9 +27342,9 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: &795 + default: &801 value: - login: github id: 1 @@ -26809,7 +27408,7 @@ paths: type: integer custom_roles: type: array - items: &285 + items: &292 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -26857,7 +27456,7 @@ paths: - created_at - updated_at examples: - default: &286 + default: &293 value: id: 8030 name: Security Engineer @@ -26904,7 +27503,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: - - *76 + - *78 - name: page in: query description: The page number of results to fetch. @@ -26948,8 +27547,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *208 - required: *209 + properties: *216 + required: *217 nullable: true additionalProperties: false examples: @@ -27055,7 +27654,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: - - *76 + - *78 requestBody: required: true content: @@ -27121,7 +27720,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: - - *76 + - *78 requestBody: required: true content: @@ -27168,23 +27767,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: - - *76 - - *210 - - *211 - - *212 - - *213 + - *78 + - *218 + - *219 + - *220 + - *221 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *214 + schema: *222 examples: - default: *215 + default: *223 '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27210,13 +27809,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &216 + schema: &224 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -27549,7 +28148,7 @@ paths: - updated_at - archived_at examples: - default-response: &217 + default-response: &225 value: login: github id: 1 @@ -27651,7 +28250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *76 + - *78 requestBody: required: false content: @@ -27874,18 +28473,18 @@ paths: description: Response content: application/json: - schema: *216 + schema: *224 examples: - default: *217 + default: *225 '422': description: Validation failed content: application/json: schema: oneOf: - - *218 - - *219 - '409': *108 + - *226 + - *227 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27908,7 +28507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *78 responses: '202': *39 '404': *6 @@ -27933,17 +28532,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *220 + schema: *228 examples: - default: *221 + default: *229 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27964,7 +28563,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: - - *76 + - *78 - *17 - *19 responses: @@ -27982,7 +28581,7 @@ paths: type: integer repository_cache_usages: type: array - items: &454 + items: &459 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28017,7 +28616,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28037,7 +28636,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: - - *76 + - *78 - *17 - *19 responses: @@ -28055,11 +28654,11 @@ paths: type: integer runners: type: array - items: *42 + items: *44 examples: - default: *222 + default: *230 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28077,7 +28676,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: - - *76 + - *78 requestBody: required: true content: @@ -28144,9 +28743,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28164,7 +28763,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: - - *76 + - *78 responses: '200': description: Response @@ -28180,9 +28779,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28200,7 +28799,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: - - *76 + - *78 responses: '200': description: Response @@ -28216,9 +28815,9 @@ paths: type: integer images: type: array - items: *43 + items: *45 examples: - default: *44 + default: *46 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28235,15 +28834,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *223 + schema: *231 examples: - default: *224 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28261,7 +28860,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: - - *76 + - *78 responses: '200': description: Response @@ -28277,9 +28876,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *47 examples: - default: *225 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28297,7 +28896,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: - - *76 + - *78 responses: '200': description: Response @@ -28341,18 +28940,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: - - *76 - - *47 + - *78 + - *49 responses: '200': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28370,8 +28969,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: - - *76 - - *47 + - *78 + - *49 requestBody: required: true content: @@ -28409,9 +29008,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28427,16 +29026,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: - - *76 - - *47 + - *78 + - *49 responses: '202': description: Response content: application/json: - schema: *42 + schema: *44 examples: - default: *46 + default: *48 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28456,13 +29055,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: - - *76 + - *78 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &226 + schema: &234 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -28476,7 +29075,7 @@ paths: required: - include_claim_keys examples: - default: &227 + default: &235 value: include_claim_keys: - repo @@ -28498,20 +29097,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *226 + schema: *234 examples: - default: *227 + default: *235 responses: '201': description: Empty response content: application/json: - schema: &252 + schema: &260 title: Empty Object description: An object without any properties. type: object @@ -28541,7 +29140,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: - - *76 + - *78 responses: '200': description: Response @@ -28550,7 +29149,7 @@ paths: schema: type: object properties: - enabled_repositories: &229 + enabled_repositories: &237 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -28563,9 +29162,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: *49 - selected_actions_url: *228 - sha_pinning_required: *50 + allowed_actions: *51 + selected_actions_url: *236 + sha_pinning_required: *52 required: - enabled_repositories examples: @@ -28595,7 +29194,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: - - *76 + - *78 responses: '204': description: Response @@ -28606,9 +29205,9 @@ paths: schema: type: object properties: - enabled_repositories: *229 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_repositories: *237 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled_repositories examples: @@ -28636,13 +29235,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: response: summary: Example response @@ -28668,12 +29267,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *231 + schema: *239 examples: application/json: value: @@ -28683,7 +29282,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -28703,15 +29302,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *51 + schema: *53 examples: - default: *232 + default: *240 '404': *6 x-github: enabledForGitHubApps: true @@ -28730,7 +29329,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: - - *76 + - *78 responses: '204': description: Response @@ -28740,7 +29339,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -28762,15 +29361,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *233 + schema: *241 examples: - default: *52 + default: *54 '403': *29 '404': *6 x-github: @@ -28788,14 +29387,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *234 + schema: *242 examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -28825,7 +29424,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: - - *76 + - *78 - *17 - *19 responses: @@ -28843,9 +29442,9 @@ paths: type: number repositories: type: array - items: *67 + items: *69 examples: - default: &236 + default: &244 value: total_count: 1 repositories: @@ -28985,7 +29584,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: - - *76 + - *78 responses: '204': description: Response @@ -29029,8 +29628,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: - - *76 - - &235 + - *78 + - &243 name: repository_id description: The unique identifier of the repository. in: path @@ -29058,8 +29657,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: Response @@ -29082,15 +29681,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *54 + schema: *56 examples: - default: *55 + default: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29113,7 +29712,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: - - *76 + - *78 responses: '204': description: Response @@ -29121,9 +29720,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29143,7 +29742,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: - - *76 + - *78 responses: '200': description: Response @@ -29191,7 +29790,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: - - *76 + - *78 requestBody: required: true content: @@ -29218,7 +29817,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29238,7 +29837,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: - - *76 + - *78 - *17 - *19 responses: @@ -29253,9 +29852,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *69 examples: - default: *236 + default: *244 '403': *29 '404': *6 x-github: @@ -29275,7 +29874,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: - - *76 + - *78 requestBody: required: true content: @@ -29323,14 +29922,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29350,14 +29949,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: - - *76 - - *235 + - *78 + - *243 responses: '204': description: No content '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 x-github: enabledForGitHubApps: true @@ -29379,15 +29978,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *237 + schema: *245 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29408,7 +30007,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: - - *76 + - *78 responses: '204': description: Success response @@ -29419,9 +30018,9 @@ paths: required: false content: application/json: - schema: *238 + schema: *246 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29441,7 +30040,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: - - *76 + - *78 - *17 - *19 - name: visible_to_repository @@ -29466,7 +30065,7 @@ paths: type: number runner_groups: type: array - items: &239 + items: &247 type: object properties: id: @@ -29582,7 +30181,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: - - *76 + - *78 requestBody: required: true content: @@ -29654,9 +30253,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *247 examples: - default: &240 + default: &248 value: id: 2 name: octo-runner-group @@ -29691,14 +30290,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: - - *76 - - *61 + - *78 + - *63 responses: '200': description: Response content: application/json: - schema: *239 + schema: *247 examples: default: value: @@ -29734,8 +30333,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -29789,9 +30388,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *247 examples: - default: *240 + default: *248 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29810,8 +30409,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: - - *76 - - *61 + - *78 + - *63 responses: '204': description: Response @@ -29834,8 +30433,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: - - *76 - - *61 + - *78 + - *63 - *17 - *19 responses: @@ -29853,11 +30452,11 @@ paths: type: number runners: type: array - items: *42 + items: *44 examples: - default: *222 + default: *230 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -29877,8 +30476,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: - - *76 - - *61 + - *78 + - *63 - *19 - *17 responses: @@ -29896,9 +30495,9 @@ paths: type: number repositories: type: array - items: *241 + items: *249 examples: - default: &781 + default: &787 value: total_count: 1 repositories: @@ -30150,8 +30749,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -30195,9 +30794,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: - - *76 - - *61 - - *235 + - *78 + - *63 + - *243 responses: '204': description: Response @@ -30219,9 +30818,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: - - *76 - - *61 - - *235 + - *78 + - *63 + - *243 responses: '204': description: Response @@ -30244,8 +30843,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: - - *76 - - *61 + - *78 + - *63 - *17 - *19 responses: @@ -30263,11 +30862,11 @@ paths: type: number runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30286,8 +30885,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: - - *76 - - *61 + - *78 + - *63 requestBody: required: true content: @@ -30331,9 +30930,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: - - *76 - - *61 - - *64 + - *78 + - *63 + - *66 responses: '204': description: Response @@ -30355,9 +30954,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: - - *76 - - *61 - - *64 + - *78 + - *63 + - *66 responses: '204': description: Response @@ -30387,7 +30986,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -30405,11 +31004,11 @@ paths: type: integer runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30431,7 +31030,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: - - *76 + - *78 responses: '200': description: Response @@ -30439,9 +31038,9 @@ paths: application/json: schema: type: array - items: *242 + items: *250 examples: - default: *243 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30463,7 +31062,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: - - *76 + - *78 requestBody: required: true content: @@ -30506,10 +31105,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *244 + '201': *252 '404': *6 '422': *7 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30537,15 +31136,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: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *245 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30573,15 +31172,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: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30603,16 +31202,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: - - *76 - - *64 + - *78 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: *247 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30633,8 +31232,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: - - *76 - - *64 + - *78 + - *66 responses: '204': description: Response @@ -30660,10 +31259,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: - - *76 - - *64 + - *78 + - *66 responses: - '200': *70 + '200': *72 '404': *6 x-github: githubCloudOnly: false @@ -30685,8 +31284,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: - - *76 - - *64 + - *78 + - *66 requestBody: required: true content: @@ -30710,7 +31309,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30734,8 +31333,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: - - *76 - - *64 + - *78 + - *66 requestBody: required: true content: @@ -30760,7 +31359,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30784,10 +31383,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: - - *76 - - *64 + - *78 + - *66 responses: - '200': *248 + '200': *256 '404': *6 x-github: githubCloudOnly: false @@ -30814,11 +31413,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: - - *76 - - *64 - - *249 + - *78 + - *66 + - *257 responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -30843,7 +31442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -30861,7 +31460,7 @@ paths: type: integer secrets: type: array - items: &250 + items: &258 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -30911,7 +31510,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30934,13 +31533,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &474 + schema: &479 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30969,7 +31568,7 @@ paths: - key_id - key examples: - default: &475 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30994,8 +31593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &251 + - *78 + - &259 name: secret_name description: The name of the secret. in: path @@ -31007,7 +31606,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *258 examples: default: value: @@ -31037,8 +31636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -31095,7 +31694,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -31121,8 +31720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -31148,8 +31747,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -31167,9 +31766,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: &255 + default: &263 value: total_count: 1 repositories: @@ -31261,8 +31860,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -31314,8 +31913,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -31348,8 +31947,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -31381,8 +31980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *76 - - &459 + - *78 + - &464 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)." @@ -31406,7 +32005,7 @@ paths: type: integer variables: type: array - items: &253 + items: &261 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -31470,7 +32069,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31491,7 +32090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *78 requestBody: required: true content: @@ -31539,7 +32138,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -31564,8 +32163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &254 + - *78 + - &262 name: name description: The name of the variable. in: path @@ -31577,7 +32176,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *261 examples: default: value: @@ -31607,8 +32206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *254 + - *78 + - *262 requestBody: required: true content: @@ -31670,8 +32269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *254 + - *78 + - *262 responses: '204': description: Response @@ -31697,8 +32296,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: - - *76 - - *254 + - *78 + - *262 - *19 - *17 responses: @@ -31716,9 +32315,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 '409': description: Response when the visibility of the variable is not set to `selected` @@ -31744,8 +32343,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: - - *76 - - *254 + - *78 + - *262 requestBody: required: true content: @@ -31794,8 +32393,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: - - *76 - - *254 + - *78 + - *262 - name: repository_id in: path required: true @@ -31829,8 +32428,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: - - *76 - - *254 + - *78 + - *262 - name: repository_id in: path required: true @@ -31861,15 +32460,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31888,19 +32487,19 @@ paths: required: true content: application/json: - schema: *256 + schema: *264 examples: - default: *74 + default: *76 parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *75 + schema: *77 examples: - default: *74 + default: *76 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -31916,7 +32515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -31939,7 +32538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -32027,10 +32626,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -32069,7 +32670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -32152,9 +32753,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *98 - *99 - - *76 + - *100 + - *78 requestBody: required: true content: @@ -32177,12 +32778,12 @@ paths: required: - subject_digests examples: - default: &814 + default: &820 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &815 + withPredicateType: &821 value: subject_digests: - sha256:abc123 @@ -32240,7 +32841,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &816 + default: &822 value: attestations_subject_digests: - sha256:abc: @@ -32349,7 +32950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *78 requestBody: required: true content: @@ -32414,7 +33015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *78 - name: subject_digest description: Subject Digest in: path @@ -32445,7 +33046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *78 - name: attestation_id description: Attestation ID in: path @@ -32481,9 +33082,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *98 - *99 - - *76 + - *100 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -32534,7 +33135,7 @@ paths: bundle_url: type: string examples: - default: &488 + default: &493 value: attestations: - bundle: @@ -32652,7 +33253,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: - - *76 + - *78 - 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). @@ -32660,10 +33261,10 @@ paths: required: false schema: type: string - - *257 - - *258 - - *259 - - *260 + - *265 + - *266 + - *267 + - *268 - *17 responses: '200': @@ -32672,9 +33273,9 @@ paths: application/json: schema: type: array - items: *261 + items: *269 examples: - default: *262 + default: *270 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32691,7 +33292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32703,26 +33304,7 @@ paths: type: array items: *4 examples: - default: &335 - 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: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32741,8 +33323,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: If the user is blocked @@ -32767,8 +33349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -32788,8 +33370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -32815,17 +33397,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *76 - - &266 + - *78 + - &273 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *93 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -32835,11 +33417,11 @@ paths: application/json: schema: type: array - items: *264 + items: *271 examples: - default: *265 + default: *272 '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -32860,12 +33442,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *76 - - *266 - - *93 + - *78 + - *273 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -32875,11 +33457,11 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -32896,15 +33478,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *78 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &270 + schema: &277 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -32930,7 +33512,7 @@ paths: application/json: schema: type: array - items: &271 + items: &278 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -32961,7 +33543,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *269 + items: *276 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32979,7 +33561,7 @@ paths: type: string format: date-time nullable: true - state: *270 + state: *277 contact_link: description: The contact link of the campaign. type: string @@ -33074,9 +33656,9 @@ paths: closed_at: state: open headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33100,7 +33682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -33194,9 +33776,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: &272 + default: &279 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33245,7 +33827,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33267,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33279,16 +33861,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33309,7 +33891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33358,7 +33940,7 @@ paths: type: string format: uri nullable: true - state: *270 + state: *277 examples: default: value: @@ -33368,9 +33950,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: - default: *272 + default: *279 '400': description: Bad Request content: @@ -33382,7 +33964,7 @@ paths: content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33403,7 +33985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -33414,7 +33996,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33436,20 +34018,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: - - *76 - - *273 - - *274 - - *98 + - *78 + - *280 + - *281 - *99 + - *100 - *19 - *17 - - *100 + - *101 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *275 + schema: *282 - name: sort description: The property by which to sort the results. in: query @@ -33465,7 +34047,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &520 type: string description: Severity of a code scanning alert. enum: @@ -33483,13 +34065,13 @@ paths: application/json: schema: type: array - items: *276 + items: *283 examples: - default: *277 + default: *284 headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33511,7 +34093,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: - - *76 + - *78 - name: target_type in: query description: The target type of the code security configuration @@ -33530,8 +34112,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 responses: '200': description: Response @@ -33539,7 +34121,7 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: default: value: @@ -33622,7 +34204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *78 requestBody: required: true content: @@ -33700,7 +34282,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *278 + code_scanning_options: *285 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -33709,7 +34291,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33841,9 +34423,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *104 + schema: *105 examples: - default: *279 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33865,15 +34447,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *280 + schema: *287 examples: - default: *281 + default: *288 '304': *37 '403': *29 '404': *6 @@ -33899,7 +34481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -33925,11 +34507,11 @@ paths: - 32 - 91 responses: - '204': *132 + '204': *133 '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33951,16 +34533,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 responses: '200': description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *279 + default: *286 '304': *37 '403': *29 '404': *6 @@ -33984,8 +34566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34064,7 +34646,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *107 + code_scanning_default_setup_options: *108 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -34182,7 +34764,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *104 + schema: *105 examples: default: value: @@ -34241,14 +34823,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 - - *106 + - *78 + - *107 responses: - '204': *132 + '204': *133 '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34272,8 +34854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34336,8 +34918,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: - - *76 - - *106 + - *78 + - *107 requestBody: required: true content: @@ -34377,12 +34959,12 @@ paths: - none - private_and_internal - public - configuration: *104 + configuration: *105 examples: default: value: default_for_new_repos: all - configuration: *279 + configuration: *286 '403': *29 '404': *6 x-github: @@ -34406,8 +34988,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: - - *76 - - *106 + - *78 + - *107 - 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)." @@ -34416,8 +34998,8 @@ paths: schema: type: integer default: 30 - - *98 - *99 + - *100 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -34435,13 +35017,13 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *283 + repository: *290 '403': *29 '404': *6 x-github: @@ -34465,7 +35047,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -34481,7 +35063,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &342 type: object title: Codespace description: A codespace. @@ -34506,12 +35088,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *241 + repository: *249 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &544 + properties: &549 name: type: string description: The name of the machine. @@ -34553,7 +35135,7 @@ paths: - ready - in_progress nullable: true - required: &545 + required: &550 - name - display_name - operating_system @@ -34758,7 +35340,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &343 value: total_count: 3 codespaces: @@ -35168,7 +35750,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -35190,7 +35772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -35234,7 +35816,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35257,7 +35839,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: - - *76 + - *78 deprecated: true requestBody: required: true @@ -35289,7 +35871,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35312,7 +35894,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *78 requestBody: required: true content: @@ -35343,7 +35925,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35364,7 +35946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -35382,7 +35964,7 @@ paths: type: integer secrets: type: array - items: &284 + items: &291 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35421,7 +36003,7 @@ paths: - updated_at - visibility examples: - default: &546 + default: &551 value: total_count: 2 secrets: @@ -35434,7 +36016,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35453,13 +36035,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &547 + schema: &552 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35488,7 +36070,7 @@ paths: - key_id - key examples: - default: &548 + default: &553 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35511,23 +36093,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '200': description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: &550 + default: &555 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35547,8 +36129,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -35603,7 +36185,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -35629,8 +36211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -35655,8 +36237,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -35674,9 +36256,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 '404': *6 x-github: githubCloudOnly: false @@ -35698,8 +36280,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -35749,8 +36331,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -35783,8 +36365,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -35823,7 +36405,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: - - *76 + - *78 responses: '200': description: OK @@ -35932,7 +36514,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -35964,7 +36546,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: - - *76 + - *78 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -35987,12 +36569,12 @@ paths: currently being billed. seats: type: array - items: *123 + items: *124 examples: - default: *124 + default: *125 headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36025,7 +36607,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: - - *76 + - *78 requestBody: content: application/json: @@ -36067,7 +36649,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36103,7 +36685,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: - - *76 + - *78 requestBody: content: application/json: @@ -36145,7 +36727,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36183,7 +36765,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: - - *76 + - *78 requestBody: content: application/json: @@ -36224,7 +36806,7 @@ paths: default: value: seats_created: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36260,7 +36842,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: - - *76 + - *78 requestBody: content: application/json: @@ -36302,7 +36884,7 @@ paths: default: value: seats_cancelled: 5 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -36341,7 +36923,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: - - *76 + - *78 - 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`). @@ -36373,13 +36955,13 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36401,7 +36983,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -36545,7 +37127,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: - - *76 + - *78 - name: credential_id in: path required: true @@ -36576,7 +37158,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: - - *76 + - *78 responses: '200': description: Response - list of custom role names @@ -36591,7 +37173,7 @@ paths: type: integer custom_roles: type: array - items: *285 + items: *292 examples: default: value: @@ -36678,12 +37260,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &288 + schema: &295 type: object properties: name: @@ -36724,9 +37306,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36750,8 +37332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *76 - - &287 + - *78 + - &294 name: role_id description: The unique identifier of the role. in: path @@ -36763,9 +37345,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '404': *6 x-github: githubCloudOnly: true @@ -36787,13 +37369,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: application/json: - schema: &289 + schema: &296 type: object properties: name: @@ -36831,9 +37413,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36857,8 +37439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -36886,12 +37468,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: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *288 + schema: *295 examples: default: value: @@ -36905,9 +37487,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -36937,16 +37519,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: - - *76 - - *287 + - *78 + - *294 responses: '200': description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '404': *6 x-github: githubCloudOnly: true @@ -36974,13 +37556,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: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: application/json: - schema: *289 + schema: *296 examples: default: value: @@ -36995,9 +37577,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *292 examples: - default: *286 + default: *293 '422': *15 '404': *6 x-github: @@ -37027,8 +37609,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: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -37056,12 +37638,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *290 - - *291 - - *292 - - *293 - - *294 + - *78 + - *297 + - *298 + - *299 + - *300 + - *301 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37077,14 +37659,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *295 - - *296 - - *297 - - *100 - - *98 + - *302 + - *303 + - *304 + - *101 - *99 - - *298 - - *299 + - *100 + - *305 + - *306 - *17 responses: '200': @@ -37093,9 +37675,9 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: - default: *301 + default: *308 '304': *37 '400': *14 '403': *29 @@ -37121,7 +37703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -37139,7 +37721,7 @@ paths: type: integer secrets: type: array - items: &302 + items: &309 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37189,7 +37771,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37210,13 +37792,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &575 + schema: &580 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37233,7 +37815,7 @@ paths: - key_id - key examples: - default: &576 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37256,14 +37838,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '200': description: Response content: application/json: - schema: *302 + schema: *309 examples: default: value: @@ -37291,8 +37873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -37347,7 +37929,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -37371,8 +37953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -37396,8 +37978,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: - - *76 - - *251 + - *78 + - *259 - *19 - *17 responses: @@ -37415,9 +37997,9 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *255 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37438,8 +38020,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -37489,8 +38071,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -37521,8 +38103,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: - - *76 - - *251 + - *78 + - *259 - name: repository_id in: path required: true @@ -37558,8 +38140,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - &584 + - *78 + - &589 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -37567,7 +38149,7 @@ paths: required: false schema: type: string - - &585 + - &590 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -37575,7 +38157,7 @@ paths: required: false schema: type: string - - &586 + - &591 name: time_period description: |- The time period to filter by. @@ -37591,7 +38173,7 @@ paths: - week - month default: month - - &587 + - &592 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -37606,7 +38188,7 @@ paths: - denied - all default: all - - *266 + - *273 - *17 - *19 responses: @@ -37616,7 +38198,7 @@ paths: application/json: schema: type: array - items: &588 + items: &593 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -37772,7 +38354,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &589 + default: &594 value: - id: 21 number: 42 @@ -37837,7 +38419,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -37858,12 +38440,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - *266 - - *93 + - *78 + - *273 - *94 - *95 - - &590 + - *96 + - &595 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -37889,7 +38471,7 @@ paths: application/json: schema: type: array - items: &591 + items: &596 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -37999,7 +38581,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *97 + items: *98 url: type: string format: uri @@ -38010,7 +38592,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &592 + default: &597 value: - id: 21 number: 42 @@ -38075,7 +38657,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *91 + '500': *40 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -38090,7 +38672,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: - - *76 + - *78 responses: '200': description: Response @@ -38098,7 +38680,7 @@ paths: application/json: schema: type: array - items: &348 + items: &353 title: Package description: A software package type: object @@ -38148,8 +38730,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *303 - required: *304 + properties: *310 + required: *311 nullable: true created_at: type: string @@ -38168,7 +38750,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &354 value: - id: 197 name: hello_docker @@ -38246,7 +38828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38256,7 +38838,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: 200-response: value: @@ -38326,7 +38908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *76 + - *78 - name: group_id description: The unique identifier of the group. in: path @@ -38352,7 +38934,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &435 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -38433,7 +39015,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &431 + default: &436 value: group_id: '123' group_name: Octocat admins @@ -38471,7 +39053,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -38488,7 +39070,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &433 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -38525,7 +39107,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &429 + default: &434 value: groups: - group_id: '123' @@ -38559,7 +39141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38569,7 +39151,7 @@ paths: application/json: schema: type: array - items: &327 + items: &334 title: Organization Invitation description: Organization Invitation type: object @@ -38616,7 +39198,7 @@ paths: - invitation_teams_url - node_id examples: - default: &328 + default: &335 value: - id: 1 login: monalisa @@ -38649,7 +39231,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -38675,7 +39257,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: - - *76 + - *78 responses: '200': description: Response @@ -38683,7 +39265,7 @@ paths: application/json: schema: type: array - items: &382 + items: &387 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -38697,7 +39279,7 @@ paths: - name - description examples: - default: &383 + default: &388 value: - name: add_assignee description: Assign or remove a user @@ -38728,7 +39310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38738,7 +39320,7 @@ paths: application/json: schema: type: array - items: &305 + items: &312 title: Org Hook description: Org Hook type: object @@ -38826,7 +39408,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -38847,7 +39429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *78 requestBody: required: true content: @@ -38907,9 +39489,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: - default: &306 + default: &313 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38953,8 +39535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &307 + - *78 + - &314 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. @@ -38967,9 +39549,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: - default: *306 + default: *313 '404': *6 x-github: githubCloudOnly: false @@ -38990,8 +39572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 requestBody: required: false content: @@ -39036,7 +39618,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *312 examples: default: value: @@ -39075,8 +39657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 responses: '204': description: Response @@ -39101,8 +39683,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: - - *76 - - *307 + - *78 + - *314 responses: '200': description: Response @@ -39130,8 +39712,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: - - *76 - - *307 + - *78 + - *314 requestBody: required: false content: @@ -39179,10 +39761,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 - *17 - - *308 + - *315 responses: '200': description: Response @@ -39190,9 +39772,9 @@ paths: application/json: schema: type: array - items: *309 + items: *316 examples: - default: *310 + default: *317 '400': *14 '422': *15 x-github: @@ -39215,17 +39797,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: - - *76 - - *307 + - *78 + - *314 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *318 examples: - default: *312 + default: *319 '400': *14 '422': *15 x-github: @@ -39248,8 +39830,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: - - *76 - - *307 + - *78 + - *314 - *16 responses: '202': *39 @@ -39275,8 +39857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *307 + - *78 + - *314 responses: '204': description: Response @@ -39298,8 +39880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &317 + - *78 + - &324 name: actor_type in: path description: The type of the actor @@ -39312,14 +39894,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &318 + - &325 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &313 + - &320 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`.' @@ -39327,7 +39909,7 @@ paths: required: true schema: type: string - - &314 + - &321 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) @@ -39338,7 +39920,7 @@ paths: type: string - *19 - *17 - - *100 + - *101 - name: sort description: The property to sort the results by. in: query @@ -39420,13 +40002,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *313 - - *314 + - *78 + - *320 + - *321 - *19 - *17 - - *100 - - &323 + - *101 + - &330 name: sort description: The property to sort the results by. in: query @@ -39504,15 +40086,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *313 - - *314 + - *78 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &315 + schema: &322 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39528,7 +40110,7 @@ paths: type: integer format: int64 examples: - default: &316 + default: &323 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39548,24 +40130,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &319 + - *78 + - &326 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *313 - - *314 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *315 + schema: *322 examples: - default: *316 + default: *323 x-github: enabledForGitHubApps: true category: orgs @@ -39583,19 +40165,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *313 - - *314 - - *317 - - *318 + - *78 + - *320 + - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *315 + schema: *322 examples: - default: *316 + default: *323 x-github: enabledForGitHubApps: true category: orgs @@ -39612,10 +40194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *313 - - *314 - - &320 + - *78 + - *320 + - *321 + - &327 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39628,7 +40210,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &328 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39644,7 +40226,7 @@ paths: type: integer format: int64 examples: - default: &322 + default: &329 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39680,19 +40262,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *319 - - *313 - - *314 + - *78 + - *326 - *320 + - *321 + - *327 responses: '200': description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -39709,20 +40291,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *317 - - *318 - - *313 - - *314 + - *78 + - *324 + - *325 - *320 + - *321 + - *327 responses: '200': description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -39739,14 +40321,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *319 - - *313 - - *314 + - *78 + - *326 + - *320 + - *321 - *19 - *17 - - *100 - - *323 + - *101 + - *330 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39819,7 +40401,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: - - *76 + - *78 responses: '200': description: Response @@ -39827,7 +40409,7 @@ paths: application/json: schema: *22 examples: - default: &623 + default: &628 value: id: 1 account: @@ -39896,7 +40478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -39966,7 +40548,7 @@ paths: suspended_at: suspended_by: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39985,7 +40567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -39993,12 +40575,12 @@ paths: application/json: schema: anyOf: - - &325 + - &332 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &324 + limit: &331 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40023,7 +40605,7 @@ paths: properties: {} additionalProperties: false examples: - default: &326 + default: &333 value: limit: collaborators_only origin: organization @@ -40047,18 +40629,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &624 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *324 + limit: *331 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40082,9 +40664,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: - default: *326 + default: *333 '422': *15 x-github: githubCloudOnly: false @@ -40102,7 +40684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -40128,7 +40710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *78 - *17 - *19 - name: role @@ -40162,11 +40744,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40188,7 +40770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *78 requestBody: required: false content: @@ -40242,7 +40824,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: default: value: @@ -40298,8 +40880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &329 + - *78 + - &336 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40332,8 +40914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *329 + - *78 + - *336 - *17 - *19 responses: @@ -40343,9 +40925,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: &347 + default: &352 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40361,7 +40943,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40380,7 +40962,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: - - *76 + - *78 responses: '200': description: Response @@ -40388,7 +40970,7 @@ paths: application/json: schema: type: array - items: *330 + items: *337 examples: default: value: @@ -40426,7 +41008,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: - - *76 + - *78 requestBody: required: true content: @@ -40473,9 +41055,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &331 + default: &338 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40507,8 +41089,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: - - *76 - - &332 + - *78 + - &339 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40561,9 +41143,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '422': *7 x-github: @@ -40587,8 +41169,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: - - *76 - - *332 + - *78 + - *339 responses: '204': description: Response @@ -40621,7 +41203,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: - - *76 + - *78 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -40651,7 +41233,7 @@ paths: - closed - all default: open - - *333 + - *340 - name: type description: Can be the name of an issue type. in: query @@ -40669,8 +41251,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -40680,11 +41262,11 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *334 + default: *341 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -40704,7 +41286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *76 + - *78 - 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) @@ -40742,9 +41324,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -40762,8 +41344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response if requester is an organization member and user is @@ -40797,8 +41379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -40824,8 +41406,8 @@ paths: parameters: - *17 - *19 - - *76 - - *263 + - *78 + - *180 responses: '200': description: Response @@ -40841,11 +41423,11 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: - default: *337 + default: *343 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -40868,9 +41450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *263 - - &338 + - *78 + - *180 + - &344 name: codespace_name in: path required: true @@ -40880,7 +41462,7 @@ paths: responses: '202': *39 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -40903,17 +41485,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: - - *76 - - *263 - - *338 + - *78 + - *180 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: &543 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41055,7 +41637,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -41086,14 +41668,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: - - *76 - - *263 + - *78 + - *180 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *123 + schema: *124 examples: default: value: @@ -41137,7 +41719,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': *40 '401': *25 '403': *29 '404': *6 @@ -41162,14 +41744,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '200': description: Response content: application/json: - schema: &339 + schema: &345 title: Org Membership description: Org Membership type: object @@ -41213,7 +41795,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *62 + organization: *64 user: title: Simple User description: A GitHub user. @@ -41236,7 +41818,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &340 + response-if-user-has-an-active-admin-membership-with-organization: &346 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41304,8 +41886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 requestBody: required: false content: @@ -41333,9 +41915,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *346 '422': *15 '403': *29 x-github: @@ -41359,8 +41941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -41385,7 +41967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *78 - *17 - *19 - name: exclude @@ -41406,7 +41988,7 @@ paths: application/json: schema: type: array - items: &341 + items: &347 title: Migration description: A migration. type: object @@ -41447,7 +42029,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *69 url: type: string format: uri @@ -41643,7 +42225,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41659,7 +42241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *78 requestBody: required: true content: @@ -41735,7 +42317,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -41913,8 +42495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &342 + - *78 + - &348 name: migration_id description: The unique identifier of the migration. in: path @@ -41941,7 +42523,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -42110,8 +42692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *342 + - *78 + - *348 responses: '302': description: Response @@ -42132,8 +42714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *342 + - *78 + - *348 responses: '204': description: Response @@ -42156,9 +42738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *342 - - &794 + - *78 + - *348 + - &800 name: repo_name description: repo_name parameter in: path @@ -42185,8 +42767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *342 + - *78 + - *348 - *17 - *19 responses: @@ -42196,9 +42778,9 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: &354 + default: &359 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42309,7 +42891,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -42337,7 +42919,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: - - *76 + - *78 responses: '200': description: Response @@ -42391,7 +42973,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: - - *76 + - *78 responses: '200': description: Response - list of organization roles @@ -42407,7 +42989,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &349 title: Organization Role description: Organization roles type: object @@ -42567,7 +43149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *76 + - *78 requestBody: required: true content: @@ -42614,7 +43196,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42643,7 +43225,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42665,14 +43247,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: - - *76 - - &344 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string + - *78 + - *182 responses: '204': description: Response @@ -42697,9 +43273,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: - - *76 - - *344 - - *287 + - *78 + - *182 + - *294 responses: '204': description: Response @@ -42728,9 +43304,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: - - *76 - - *344 - - *287 + - *78 + - *182 + - *294 responses: '204': description: Response @@ -42755,8 +43331,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -42781,9 +43357,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: - - *76 - - *263 - - *287 + - *78 + - *180 + - *294 responses: '204': description: Response @@ -42813,9 +43389,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: - - *76 - - *263 - - *287 + - *78 + - *180 + - *294 responses: '204': description: Response @@ -42843,14 +43419,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '200': description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42907,8 +43483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *76 - - *287 + - *78 + - *294 requestBody: required: true content: @@ -42947,7 +43523,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *349 examples: default: value: @@ -42975,7 +43551,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *108 + '409': *109 '404': *6 x-github: githubCloudOnly: true @@ -43000,8 +43576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *76 - - *287 + - *78 + - *294 responses: '204': description: Response @@ -43026,8 +43602,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: - - *76 - - *287 + - *78 + - *294 - *17 - *19 responses: @@ -43105,8 +43681,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 nullable: true required: - id @@ -43121,9 +43697,9 @@ paths: - slug - parent examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '404': description: Response if the organization or role does not exist. '422': @@ -43150,8 +43726,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: - - *76 - - *287 + - *78 + - *294 - *17 - *19 responses: @@ -43179,13 +43755,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &402 + items: &407 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 name: nullable: true type: string @@ -43280,9 +43856,9 @@ paths: - type - url examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': description: Response if the organization or role does not exist. '422': @@ -43304,7 +43880,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: - - *76 + - *78 - 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) @@ -43331,9 +43907,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43356,8 +43932,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: - - *76 - - *263 + - *78 + - *180 requestBody: required: false content: @@ -43414,8 +43990,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -43472,8 +44048,8 @@ paths: - docker - nuget - container - - *76 - - &796 + - *78 + - &802 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43509,12 +44085,12 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *349 + default: *354 '403': *29 '401': *25 - '400': &798 + '400': &804 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43536,7 +44112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &350 + - &355 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 @@ -43554,20 +44130,20 @@ paths: - docker - nuget - container - - &351 + - &356 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: default: value: @@ -43619,9 +44195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 responses: '204': description: Response @@ -43653,9 +44229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 - name: token description: package token schema: @@ -43687,9 +44263,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: - - *350 - - *351 - - *76 + - *355 + - *356 + - *78 - *19 - *17 - name: state @@ -43709,7 +44285,7 @@ paths: application/json: schema: type: array - items: &352 + items: &357 title: Package Version description: A version of a software package type: object @@ -43834,10 +44410,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: - - *350 - - *351 - - *76 - - &353 + - *355 + - *356 + - *78 + - &358 name: package_version_id description: Unique identifier of the package version. in: path @@ -43849,7 +44425,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -43885,10 +44461,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *350 - - *351 - - *76 - - *353 + - *355 + - *356 + - *78 + - *358 responses: '204': description: Response @@ -43920,10 +44496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *350 - - *351 - - *76 - - *353 + - *355 + - *356 + - *78 + - *358 responses: '204': description: Response @@ -43950,10 +44526,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: - - *76 + - *78 - *17 - *19 - - &355 + - &360 name: sort description: The property by which to sort the results. in: query @@ -43963,8 +44539,8 @@ paths: enum: - created_at default: created_at - - *100 - - &356 + - *101 + - &361 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43975,7 +44551,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &357 + - &362 name: repository description: The name of the repository to use to filter the results. in: query @@ -43983,7 +44559,7 @@ paths: schema: type: string example: Hello-World - - &358 + - &363 name: permission description: The permission to use to filter the results. in: query @@ -43991,7 +44567,7 @@ paths: schema: type: string example: issues_read - - &359 + - &364 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) @@ -44001,7 +44577,7 @@ paths: schema: type: string format: date-time - - &360 + - &365 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) @@ -44011,7 +44587,7 @@ paths: schema: type: string format: date-time - - &361 + - &366 name: token_id description: The ID of the token in: query @@ -44023,7 +44599,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44155,7 +44731,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,7 +44751,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: - - *76 + - *78 requestBody: required: true content: @@ -44216,7 +44792,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44241,7 +44817,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: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44277,11 +44853,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44302,7 +44878,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: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44313,7 +44889,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *40 '404': *6 '403': *29 '200': @@ -44322,11 +44898,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44347,19 +44923,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: - - *76 + - *78 - *17 - *19 - - *355 - - *100 - - *356 - - *357 - - *358 - - *359 - *360 + - *101 - *361 + - *362 + - *363 + - *364 + - *365 + - *366 responses: - '500': *91 + '500': *40 '422': *15 '404': *6 '403': *29 @@ -44486,7 +45062,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44506,7 +45082,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: - - *76 + - *78 requestBody: required: true content: @@ -44541,7 +45117,7 @@ paths: - 1296269 - 1296280 responses: - '500': *91 + '500': *40 '404': *6 '202': *39 '403': *29 @@ -44566,7 +45142,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: - - *76 + - *78 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -44594,9 +45170,9 @@ paths: value: action: revoke responses: - '500': *91 + '500': *40 '404': *6 - '204': *132 + '204': *133 '403': *29 '422': *15 x-github: @@ -44618,7 +45194,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: - - *76 + - *78 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -44628,7 +45204,7 @@ paths: - *17 - *19 responses: - '500': *91 + '500': *40 '404': *6 '403': *29 '200': @@ -44637,11 +45213,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44663,7 +45239,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: - - *76 + - *78 - *17 - *19 responses: @@ -44681,7 +45257,7 @@ paths: type: integer configurations: type: array - items: &362 + items: &367 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44747,7 +45323,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *40 + Link: *43 '400': *14 '404': *6 x-github: @@ -44769,7 +45345,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: - - *76 + - *78 requestBody: required: true content: @@ -44934,7 +45510,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &363 + org-private-registry-with-selected-visibility: &368 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44975,7 +45551,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: - - *76 + - *78 responses: '200': description: Response @@ -45001,7 +45577,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -45023,16 +45599,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: - - *76 - - *251 + - *78 + - *259 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *362 + schema: *367 examples: - default: *363 + default: *368 '404': *6 x-github: githubCloudOnly: false @@ -45053,8 +45629,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: - - *76 - - *251 + - *78 + - *259 requestBody: required: true content: @@ -45149,8 +45725,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: - - *76 - - *251 + - *78 + - *259 responses: '204': description: Response @@ -45175,7 +45751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *76 + - *78 - name: state description: Indicates the state of the projects to return. in: query @@ -45196,7 +45772,7 @@ paths: application/json: schema: type: array - items: &364 + items: &369 title: Project description: Projects are a way to organize columns and cards of work. @@ -45320,7 +45896,7 @@ paths: organization_permission: write private: true headers: - Link: *40 + Link: *43 '422': *7 x-github: githubCloudOnly: false @@ -45343,7 +45919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *76 + - *78 requestBody: required: true content: @@ -45369,7 +45945,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -45407,7 +45983,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &446 + '410': &451 description: Gone content: application/json: @@ -45433,15 +46009,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *78 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *98 - *99 + - *100 - *17 responses: '200': @@ -45450,7 +46026,7 @@ paths: application/json: schema: type: array - items: &365 + items: &370 title: Projects v2 Project description: A projects v2 project type: object @@ -45520,7 +46096,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &876 + properties: &882 id: type: number description: The unique identifier of the status update. @@ -45568,7 +46144,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &877 + required: &883 - id - node_id - created_at @@ -45593,7 +46169,7 @@ paths: - deleted_at - deleted_by examples: - default: &366 + default: &371 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45676,7 +46252,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45696,24 +46272,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &367 + - &372 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45733,11 +46309,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *367 - - *76 + - *372 + - *78 - *17 - - *98 - *99 + - *100 responses: '200': description: Response @@ -45745,7 +46321,7 @@ paths: application/json: schema: type: array - items: &368 + items: &373 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45892,7 +46468,7 @@ paths: - updated_at - project_url examples: - default: &369 + default: &374 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45915,7 +46491,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45935,25 +46511,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *367 - - &809 + - *372 + - &815 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -45974,8 +46550,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: - - *367 - - *76 + - *372 + - *78 - 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. @@ -45994,8 +46570,8 @@ paths: items: type: string example: fields[]=123,fields[]=456,fields[]=789 - - *98 - *99 + - *100 - *17 responses: '200': @@ -46004,7 +46580,7 @@ paths: application/json: schema: type: array - items: &374 + items: &379 title: Projects v2 Item description: An item belonging to a project type: object @@ -46020,7 +46596,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &373 + content_type: &378 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46070,7 +46646,7 @@ paths: - updated_at - archived_at examples: - default: &375 + default: &380 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46744,7 +47320,7 @@ paths: type: sub_issues_progress value: headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -46764,8 +47340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *367 + - *78 + - *372 requestBody: required: true description: Details of the item to add to the project. @@ -46802,7 +47378,7 @@ paths: description: Response content: application/json: - schema: &810 + schema: &816 title: Projects v2 Item description: An item belonging to a project type: object @@ -46815,8 +47391,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *191 - - &558 + - *199 + - &563 title: Pull Request Simple description: Pull Request Simple type: object @@ -46922,8 +47498,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -46968,7 +47544,7 @@ paths: nullable: true requested_teams: type: array - items: *269 + items: *276 nullable: true head: type: object @@ -46977,7 +47553,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: @@ -47000,7 +47576,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: @@ -47019,7 +47595,7 @@ paths: _links: type: object properties: - comments: &372 + comments: &377 title: Link description: Hypermedia Link type: object @@ -47028,13 +47604,13 @@ paths: type: string required: - href - commits: *372 - statuses: *372 - html: *372 - issue: *372 - review_comments: *372 - review_comment: *372 - self: *372 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -47044,8 +47620,8 @@ paths: - review_comments - review_comment - self - author_association: *178 - auto_merge: &669 + author_association: *186 + auto_merge: &674 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47147,7 +47723,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *373 + content_type: *378 creator: *4 created_at: type: string @@ -47180,7 +47756,7 @@ paths: - updated_at - archived_at examples: - default: &811 + default: &817 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47254,9 +47830,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: - - *367 - - *76 - - &376 + - *372 + - *78 + - &381 name: item_id description: The unique identifier of the project item. in: path @@ -47279,11 +47855,11 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -47302,9 +47878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *367 - - *76 - - *376 + - *372 + - *78 + - *381 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47374,9 +47950,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 @@ -47396,9 +47972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *367 - - *76 - - *376 + - *372 + - *78 + - *381 responses: '204': description: Response @@ -47417,12 +47993,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: - - *76 + - *78 responses: '200': description: Response @@ -47430,9 +48006,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -47454,12 +48030,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: - - *76 + - *78 requestBody: required: true content: @@ -47470,7 +48046,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *128 + items: *129 minItems: 1 maxItems: 100 required: @@ -47500,9 +48076,9 @@ paths: application/json: schema: type: array - items: *128 + items: *129 examples: - default: *129 + default: *130 '403': *29 '404': *6 x-github: @@ -47518,21 +48094,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: - - *76 - - *130 + - *78 + - *131 responses: '200': description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -47550,18 +48126,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: - - *76 - - *130 + - *78 + - *131 requestBody: required: true content: application/json: - schema: *377 + schema: *382 examples: default: value: @@ -47577,9 +48153,9 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: - default: *131 + default: *132 '403': *29 '404': *6 x-github: @@ -47597,15 +48173,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: - - *76 - - *130 + - *78 + - *131 responses: - '204': *132 + '204': *133 '403': *29 '404': *6 x-github: @@ -47626,7 +48202,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: - - *76 + - *78 - *17 - *19 - name: repository_query @@ -47664,7 +48240,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &378 + items: &383 title: Custom Property Value description: Custom property name and associated value type: object @@ -47703,7 +48279,7 @@ paths: - property_name: team value: octocat headers: - Link: *40 + Link: *43 '403': *29 '404': *6 x-github: @@ -47731,7 +48307,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: - - *76 + - *78 requestBody: required: true content: @@ -47751,7 +48327,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *378 + items: *383 required: - repository_names - properties @@ -47792,7 +48368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *76 + - *78 - *17 - *19 responses: @@ -47804,9 +48380,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47823,8 +48399,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response if user is a public member @@ -47848,8 +48424,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -47870,8 +48446,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: - - *76 - - *263 + - *78 + - *180 responses: '204': description: Response @@ -47895,7 +48471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *76 + - *78 - 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 @@ -47942,11 +48518,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47965,7 +48541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *78 requestBody: required: true content: @@ -48147,7 +48723,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &453 title: Full Repository description: Full Repository type: object @@ -48424,8 +49000,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *379 - required: *380 + properties: *384 + required: *385 nullable: true temp_clone_token: type: string @@ -48512,8 +49088,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true organization: title: Simple User @@ -48522,8 +49098,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *69 + source: *69 forks: type: integer master_branch: @@ -48540,7 +49116,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &563 + properties: &568 url: type: string format: uri @@ -48556,12 +49132,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &564 + required: &569 - url - key - name - html_url - security_and_analysis: *381 + security_and_analysis: *386 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48645,7 +49221,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &455 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49163,7 +49739,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: - - *76 + - *78 responses: '200': description: Response @@ -49171,9 +49747,9 @@ paths: application/json: schema: type: array - items: *382 + items: *387 examples: - default: *383 + default: *388 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49195,10 +49771,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - *17 - *19 - - &691 + - &697 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49216,7 +49792,7 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: default: value: @@ -49247,7 +49823,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -49263,7 +49839,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -49284,21 +49860,20 @@ paths: - push - repository default: branch - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *384 + items: *141 + conditions: *389 rules: type: array description: An array of rules within the ruleset. - items: &386 + items: &391 title: Repository Rule type: object description: A repository rule. oneOf: - - *141 - *142 - *143 - *144 @@ -49318,6 +49893,7 @@ paths: - *158 - *159 - *160 + - *161 required: - name - enforcement @@ -49355,9 +49931,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &385 + default: &390 value: id: 21 name: super cool ruleset @@ -49397,7 +49973,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -49411,8 +49987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &693 + - *78 + - &699 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 @@ -49422,16 +49998,16 @@ paths: schema: type: string x-multi-segment: true - - *266 - - *95 - - &694 + - *273 + - *96 + - &700 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 - - &695 + - &701 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -49451,7 +50027,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &702 title: Rule Suites description: Response type: array @@ -49506,7 +50082,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &697 + default: &703 value: - id: 21 actor_id: 12 @@ -49530,7 +50106,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49549,8 +50125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &698 + - *78 + - &704 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -49566,7 +50142,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &705 title: Rule Suite description: Response type: object @@ -49665,7 +50241,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &700 + default: &706 value: id: 21 actor_id: 12 @@ -49700,7 +50276,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49726,7 +50302,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49738,11 +50314,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *385 + default: *390 '404': *6 - '500': *91 + '500': *40 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -49758,7 +50334,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49784,16 +50360,16 @@ paths: - tag - push - repository - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *384 + items: *141 + conditions: *389 rules: description: An array of rules within the ruleset. type: array - items: *386 + items: *391 examples: default: value: @@ -49828,11 +50404,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *385 + default: *390 '404': *6 - '500': *91 + '500': *40 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -49848,7 +50424,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49859,7 +50435,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -49871,7 +50447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *78 - *17 - *19 - name: ruleset_id @@ -49887,11 +50463,11 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *387 + default: *392 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49908,7 +50484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -49926,7 +50502,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *393 examples: default: value: @@ -49966,7 +50542,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49988,15 +50564,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: - - *76 - - *389 - - *390 - - *391 - - *392 - - *100 + - *78 + - *394 + - *395 + - *396 + - *397 + - *101 - *19 - *17 - - &702 + - &708 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 @@ -50006,7 +50582,7 @@ paths: required: false schema: type: string - - &703 + - &709 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 @@ -50016,10 +50592,10 @@ paths: required: false schema: type: string - - *393 - - *394 - - *395 - - *396 + - *398 + - *399 + - *400 + - *401 responses: '200': description: Response @@ -50027,13 +50603,13 @@ paths: application/json: schema: type: array - items: *397 + items: *402 examples: - default: *398 + default: *403 headers: - Link: *40 + Link: *43 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50058,15 +50634,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *399 + schema: *404 examples: - default: *400 + default: *405 '403': *29 '404': *6 patch: @@ -50087,7 +50663,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -50095,7 +50671,7 @@ paths: schema: type: object properties: - pattern_config_version: *168 + pattern_config_version: *169 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -50121,7 +50697,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *168 + custom_pattern_version: *169 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -50157,7 +50733,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *15 "/orgs/{org}/security-advisories": get: @@ -50175,8 +50751,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: - - *76 - - *100 + - *78 + - *101 - name: sort description: The property to sort the results by. in: query @@ -50188,8 +50764,8 @@ paths: - updated - published default: created - - *98 - *99 + - *100 - 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)." @@ -50219,7 +50795,7 @@ paths: application/json: schema: type: array - items: &724 + items: &730 description: A repository security advisory. type: object properties: @@ -50406,7 +50982,7 @@ paths: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array nullable: true @@ -50439,7 +51015,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 credits_detailed: type: array nullable: true @@ -50449,7 +51025,7 @@ paths: type: object properties: user: *4 - type: *401 + type: *406 state: type: string description: The state of the user's acceptance of the @@ -50473,14 +51049,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *269 + items: *276 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *109 + - *110 required: - ghsa_id - cve_id @@ -50510,7 +51086,7 @@ paths: - private_fork additionalProperties: false examples: - default: &725 + default: &731 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -50889,7 +51465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *78 responses: '200': description: Response @@ -50897,9 +51473,9 @@ paths: application/json: schema: type: array - items: *402 + items: *407 examples: - default: *347 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50922,8 +51498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -50948,8 +51524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -50978,15 +51554,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51010,8 +51586,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: - - *76 - - *405 + - *78 + - *410 - *17 - *19 responses: @@ -51019,9 +51595,9 @@ paths: description: Success content: application/json: - schema: *406 + schema: *411 examples: - default: *407 + default: *412 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51043,15 +51619,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51073,15 +51649,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: - default: *411 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51101,7 +51677,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: - - *76 + - *78 - *17 - *19 responses: @@ -51119,11 +51695,11 @@ paths: type: integer network_configurations: type: array - items: *125 + items: *126 examples: - default: *412 + default: *417 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51142,7 +51718,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: - - *76 + - *78 requestBody: required: true content: @@ -51184,9 +51760,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51206,18 +51782,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: - - *76 - - *127 + - *78 + - *128 responses: '200': description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51236,8 +51812,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: - - *76 - - *127 + - *78 + - *128 requestBody: required: true content: @@ -51276,9 +51852,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51297,8 +51873,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: - - *76 - - *127 + - *78 + - *128 responses: '204': description: Response @@ -51321,18 +51897,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: - - *76 - - *413 + - *78 + - *418 responses: '200': description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51349,7 +51925,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: - - *76 + - *78 - *17 - name: page description: Page token @@ -51368,7 +51944,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &442 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -51414,7 +51990,7 @@ paths: type: string nullable: true examples: - default: &438 + default: &443 value: groups: - group_id: '123' @@ -51459,8 +52035,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: - - *76 - - *344 + - *78 + - *182 - 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`). @@ -51492,13 +52068,13 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *173 - '500': *91 + default: *174 + '500': *40 '403': *29 '404': *6 - '422': *174 + '422': *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51516,7 +52092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *76 + - *78 - *17 - *19 responses: @@ -51526,11 +52102,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '403': *29 x-github: githubCloudOnly: false @@ -51550,7 +52126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *76 + - *78 requestBody: required: true content: @@ -51622,7 +52198,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &421 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -51685,8 +52261,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *345 - required: *346 + properties: *350 + required: *351 nullable: true members_count: type: integer @@ -51932,7 +52508,7 @@ paths: - repos_count - organization examples: - default: &417 + default: &422 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52002,16 +52578,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -52032,8 +52608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *76 - - *344 + - *78 + - *182 requestBody: required: false content: @@ -52095,16 +52671,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '201': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 '422': *15 '403': *29 @@ -52129,8 +52705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -52156,9 +52732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *76 - - *344 - - *100 + - *78 + - *182 + - *101 - *17 - *19 - name: pinned @@ -52174,7 +52750,7 @@ paths: application/json: schema: type: array - items: &418 + items: &423 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52253,7 +52829,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *179 + reactions: *187 required: - author - body @@ -52273,7 +52849,7 @@ paths: - updated_at - url examples: - default: &768 + default: &774 value: - author: login: octocat @@ -52323,7 +52899,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52347,8 +52923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -52382,9 +52958,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &419 + default: &424 value: author: login: octocat @@ -52456,9 +53032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *76 - - *344 - - &420 + - *78 + - *182 + - &425 name: discussion_number description: The number that identifies the discussion. in: path @@ -52470,9 +53046,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52494,9 +53070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: false content: @@ -52519,9 +53095,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: &769 + default: &775 value: author: login: octocat @@ -52591,9 +53167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 responses: '204': description: Response @@ -52619,10 +53195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *76 - - *344 - - *420 - - *100 + - *78 + - *182 + - *425 + - *101 - *17 - *19 responses: @@ -52632,7 +53208,7 @@ paths: application/json: schema: type: array - items: &421 + items: &426 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -52689,7 +53265,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *179 + reactions: *187 required: - author - body @@ -52704,7 +53280,7 @@ paths: - updated_at - url examples: - default: &770 + default: &776 value: - author: login: octocat @@ -52748,7 +53324,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52772,9 +53348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: true content: @@ -52796,9 +53372,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: &422 + default: &427 value: author: login: octocat @@ -52864,10 +53440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - &423 + - *78 + - *182 + - *425 + - &428 name: comment_number description: The number that identifies the comment. in: path @@ -52879,9 +53455,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52903,10 +53479,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 requestBody: required: true content: @@ -52928,9 +53504,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: &771 + default: &777 value: author: login: octocat @@ -52994,10 +53570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 responses: '204': description: Response @@ -53023,10 +53599,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: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 - 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. @@ -53052,7 +53628,7 @@ paths: application/json: schema: type: array - items: &424 + items: &429 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53095,7 +53671,7 @@ paths: - content - created_at examples: - default: &426 + default: &431 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53121,7 +53697,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53145,10 +53721,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: - - *76 - - *344 - - *420 - - *423 + - *78 + - *182 + - *425 + - *428 requestBody: required: true content: @@ -53181,9 +53757,9 @@ paths: team discussion comment content: application/json: - schema: *424 + schema: *429 examples: - default: &425 + default: &430 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53212,9 +53788,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53237,11 +53813,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *76 - - *344 - - *420 - - *423 - - &427 + - *78 + - *182 + - *425 + - *428 + - &432 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53273,9 +53849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 - 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. @@ -53301,11 +53877,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53329,9 +53905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *76 - - *344 - - *420 + - *78 + - *182 + - *425 requestBody: required: true content: @@ -53363,16 +53939,16 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53395,10 +53971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *76 - - *344 - - *420 - - *427 + - *78 + - *182 + - *425 + - *432 responses: '204': description: Response @@ -53421,16 +53997,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: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *429 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53449,8 +54025,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: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -53473,9 +54049,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *435 examples: - default: *431 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -53494,8 +54070,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: - - *76 - - *344 + - *78 + - *182 responses: '204': description: Response @@ -53519,8 +54095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -53530,11 +54106,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53554,8 +54130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *76 - - *344 + - *78 + - *182 - name: role description: Filters members returned by their role in the team. in: query @@ -53578,9 +54154,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53608,15 +54184,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 responses: '200': description: Response content: application/json: - schema: &432 + schema: &437 title: Team Membership description: Team Membership type: object @@ -53643,7 +54219,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &778 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -53679,9 +54255,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: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 requestBody: required: false content: @@ -53706,9 +54282,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &779 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -53743,9 +54319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - - *344 - - *263 + - *78 + - *182 + - *180 responses: '204': description: Response @@ -53770,8 +54346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -53781,7 +54357,7 @@ paths: application/json: schema: type: array - items: &433 + items: &438 title: Team Project description: A team's access to a project. type: object @@ -53849,7 +54425,7 @@ paths: - updated_at - permissions examples: - default: &774 + default: &780 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53889,7 +54465,7 @@ paths: write: true admin: false headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53912,9 +54488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *76 - - *344 - - &434 + - *78 + - *182 + - &439 name: project_id description: The unique identifier of the project. in: path @@ -53926,9 +54502,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *438 examples: - default: &775 + default: &781 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -53990,9 +54566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *76 - - *344 - - *434 + - *78 + - *182 + - *439 requestBody: required: false content: @@ -54058,9 +54634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *76 - - *344 - - *434 + - *78 + - *182 + - *439 responses: '204': description: Response @@ -54087,8 +54663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -54098,11 +54674,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54129,16 +54705,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &776 + schema: &782 title: Team Repository description: A team's access to a repository. type: object @@ -54161,8 +54737,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true forks: type: integer @@ -54707,10 +55283,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 requestBody: required: false content: @@ -54755,10 +55331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - - *344 - - *435 - - *436 + - *78 + - *182 + - *440 + - *441 responses: '204': description: Response @@ -54784,16 +55360,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: - - *76 - - *344 + - *78 + - *182 responses: '200': description: Response content: application/json: - schema: *437 + schema: *442 examples: - default: *438 + default: *443 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54815,8 +55391,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: - - *76 - - *344 + - *78 + - *182 requestBody: required: true content: @@ -54859,7 +55435,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *442 examples: default: value: @@ -54891,8 +55467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *76 - - *344 + - *78 + - *182 - *17 - *19 responses: @@ -54902,9 +55478,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - response-if-child-teams-exist: &777 + response-if-child-teams-exist: &783 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54932,7 +55508,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54957,7 +55533,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: - - *76 + - *78 - name: security_product in: path description: The security feature to enable or disable. @@ -55031,7 +55607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &439 + - &444 name: card_id description: The unique identifier of the card. in: path @@ -55043,7 +55619,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &445 title: Project Card description: Project cards represent a scope of work. type: object @@ -55110,7 +55686,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &446 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55166,7 +55742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *439 + - *444 requestBody: required: false content: @@ -55193,9 +55769,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 '304': *37 '403': *29 '401': *25 @@ -55222,7 +55798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *439 + - *444 responses: '204': description: Response @@ -55266,7 +55842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *439 + - *444 requestBody: required: true content: @@ -55377,7 +55953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &442 + - &447 name: column_id description: The unique identifier of the column. in: path @@ -55389,7 +55965,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &448 title: Project Column description: Project columns contain cards of work. type: object @@ -55435,7 +56011,7 @@ paths: - created_at - updated_at examples: - default: &444 + default: &449 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -55470,7 +56046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *442 + - *447 requestBody: required: true content: @@ -55494,9 +56070,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *444 + default: *449 '304': *37 '403': *29 '401': *25 @@ -55521,7 +56097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *442 + - *447 responses: '204': description: Response @@ -55550,7 +56126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *442 + - *447 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -55571,7 +56147,7 @@ paths: application/json: schema: type: array - items: *440 + items: *445 examples: default: value: @@ -55605,7 +56181,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: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -55630,7 +56206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *442 + - *447 requestBody: required: true content: @@ -55670,9 +56246,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *445 examples: - default: *441 + default: *446 '304': *37 '403': *29 '401': *25 @@ -55682,8 +56258,8 @@ paths: application/json: schema: oneOf: - - *218 - - *219 + - *226 + - *227 '503': description: Response content: @@ -55728,7 +56304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *442 + - *447 requestBody: required: true content: @@ -55788,15 +56364,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *434 + - *439 responses: '200': description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: &445 + default: &450 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -55853,7 +56429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *434 + - *439 requestBody: required: false content: @@ -55899,9 +56475,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: *445 + default: *450 '404': description: Not Found if the authenticated user does not have access to the project @@ -55922,7 +56498,7 @@ paths: items: type: string '401': *25 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -55945,7 +56521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *434 + - *439 responses: '204': description: Delete Success @@ -55966,7 +56542,7 @@ paths: items: type: string '401': *25 - '410': *446 + '410': *451 '404': *6 x-github: githubCloudOnly: false @@ -55990,7 +56566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *434 + - *439 - 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 @@ -56017,9 +56593,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 '422': *15 '304': *37 @@ -56047,8 +56623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *434 - - *263 + - *439 + - *180 requestBody: required: false content: @@ -56100,8 +56676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *434 - - *263 + - *439 + - *180 responses: '204': description: Response @@ -56132,8 +56708,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: - - *434 - - *263 + - *439 + - *180 responses: '200': description: Response @@ -56206,7 +56782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *434 + - *439 - *17 - *19 responses: @@ -56216,7 +56792,7 @@ paths: application/json: schema: type: array - items: *443 + items: *448 examples: default: value: @@ -56229,7 +56805,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -56254,7 +56830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *434 + - *439 requestBody: required: true content: @@ -56277,7 +56853,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: default: value: @@ -56342,7 +56918,7 @@ paths: resources: type: object properties: - core: &447 + core: &452 title: Rate Limit type: object properties: @@ -56359,21 +56935,21 @@ paths: - remaining - reset - used - graphql: *447 - search: *447 - code_search: *447 - source_import: *447 - integration_manifest: *447 - code_scanning_upload: *447 - actions_runner_registration: *447 - scim: *447 - dependency_snapshots: *447 - dependency_sbom: *447 - code_scanning_autofix: *447 + graphql: *452 + search: *452 + code_search: *452 + source_import: *452 + integration_manifest: *452 + code_scanning_upload: *452 + actions_runner_registration: *452 + scim: *452 + dependency_snapshots: *452 + dependency_sbom: *452 + code_scanning_autofix: *452 required: - core - search - rate: *447 + rate: *452 required: - rate - resources @@ -56478,14 +57054,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: default-response: summary: Default response @@ -56990,7 +57566,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *449 + '301': *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57008,8 +57584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -57266,10 +57842,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 - '307': &451 + default: *455 + '307': &456 description: Temporary Redirect content: application/json: @@ -57298,8 +57874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -57321,9 +57897,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': *451 + '307': *456 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57345,11 +57921,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - - &466 + - &471 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57372,7 +57948,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &457 title: Artifact description: An artifact type: object @@ -57450,7 +58026,7 @@ paths: - expires_at - updated_at examples: - default: &467 + default: &472 value: total_count: 2 artifacts: @@ -57489,7 +58065,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57511,9 +58087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *435 - - *436 - - &453 + - *440 + - *441 + - &458 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57525,7 +58101,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *457 examples: default: value: @@ -57563,9 +58139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *435 - - *436 - - *453 + - *440 + - *441 + - *458 responses: '204': description: Response @@ -57589,9 +58165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *435 - - *436 - - *453 + - *440 + - *441 + - *458 - name: archive_format in: path required: true @@ -57605,7 +58181,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': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57628,14 +58204,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *454 + schema: *459 examples: default: value: @@ -57661,11 +58237,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: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - - &455 + - &460 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 @@ -57693,13 +58269,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *100 + - *101 responses: '200': description: Response content: application/json: - schema: &456 + schema: &461 title: Repository actions caches description: Repository actions caches type: object @@ -57741,7 +58317,7 @@ paths: - total_count - actions_caches examples: - default: &457 + default: &462 value: total_count: 1 actions_caches: @@ -57753,7 +58329,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57773,23 +58349,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: - - *435 - - *436 + - *440 + - *441 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *455 + - *460 responses: '200': description: Response content: application/json: - schema: *456 + schema: *461 examples: - default: *457 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57809,8 +58385,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: - - *435 - - *436 + - *440 + - *441 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57841,9 +58417,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: - - *435 - - *436 - - &458 + - *440 + - *441 + - &463 name: job_id description: The unique identifier of the job. in: path @@ -57855,7 +58431,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &475 title: Job description: Information of a job execution in a workflow run type: object @@ -58162,9 +58738,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: - - *435 - - *436 - - *458 + - *440 + - *441 + - *463 responses: '302': description: Response @@ -58192,9 +58768,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: - - *435 - - *436 - - *458 + - *440 + - *441 + - *463 requestBody: required: false content: @@ -58215,7 +58791,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -58239,8 +58815,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Status response @@ -58290,8 +58866,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -58325,7 +58901,7 @@ paths: description: Empty response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -58354,8 +58930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -58373,7 +58949,7 @@ paths: type: integer secrets: type: array - items: &472 + items: &477 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58393,7 +58969,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &478 value: total_count: 2 secrets: @@ -58404,7 +58980,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58426,9 +59002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *435 - - *436 - - *459 + - *440 + - *441 + - *464 - *19 responses: '200': @@ -58445,7 +59021,7 @@ paths: type: integer variables: type: array - items: &476 + items: &481 title: Actions Variable type: object properties: @@ -58475,7 +59051,7 @@ paths: - created_at - updated_at examples: - default: &477 + default: &482 value: total_count: 2 variables: @@ -58488,7 +59064,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58508,8 +59084,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -58518,12 +59094,12 @@ paths: schema: type: object properties: - enabled: &460 + enabled: &465 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *49 - selected_actions_url: *228 - sha_pinning_required: *50 + allowed_actions: *51 + selected_actions_url: *236 + sha_pinning_required: *52 required: - enabled examples: @@ -58553,8 +59129,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58565,9 +59141,9 @@ paths: schema: type: object properties: - enabled: *460 - allowed_actions: *49 - sha_pinning_required: *50 + enabled: *465 + allowed_actions: *51 + sha_pinning_required: *52 required: - enabled examples: @@ -58598,14 +59174,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &461 + schema: &466 type: object properties: access_level: @@ -58623,7 +59199,7 @@ paths: required: - access_level examples: - default: &462 + default: &467 value: access_level: organization x-github: @@ -58648,15 +59224,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *461 + schema: *466 examples: - default: *462 + default: *467 responses: '204': description: Response @@ -58680,14 +59256,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *230 + schema: *238 examples: default: value: @@ -58711,8 +59287,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Empty response for successful settings update @@ -58722,7 +59298,7 @@ paths: required: true content: application/json: - schema: *231 + schema: *239 examples: default: summary: Set retention days @@ -58746,16 +59322,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *51 + schema: *53 examples: - default: *232 + default: *240 '404': *6 x-github: enabledForGitHubApps: true @@ -58774,8 +59350,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58785,7 +59361,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *53 examples: default: summary: Set approval policy to first time contributors @@ -58809,16 +59385,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *233 + schema: *241 examples: - default: *52 + default: *54 '403': *29 '404': *6 x-github: @@ -58838,15 +59414,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *234 + schema: *242 examples: - default: *52 + default: *54 responses: '204': description: Empty response for successful settings update @@ -58870,16 +59446,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *54 + schema: *56 examples: - default: *55 + default: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58902,8 +59478,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -58911,9 +59487,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *56 examples: - selected_actions: *55 + selected_actions: *57 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58935,16 +59511,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *237 + schema: *245 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58965,8 +59541,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Success response @@ -58977,9 +59553,9 @@ paths: required: true content: application/json: - schema: *238 + schema: *246 examples: - default: *58 + default: *60 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59006,8 +59582,8 @@ paths: in: query schema: type: string - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -59025,11 +59601,11 @@ paths: type: integer runners: type: array - items: *65 + items: *67 examples: - default: *66 + default: *68 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59051,8 +59627,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -59060,9 +59636,9 @@ paths: application/json: schema: type: array - items: *242 + items: *250 examples: - default: *243 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59084,8 +59660,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -59128,10 +59704,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *244 + '201': *252 '404': *6 '422': *7 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59159,16 +59735,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: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *245 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59196,16 +59772,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: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response content: application/json: - schema: *68 + schema: *70 examples: - default: *246 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59227,17 +59803,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: '200': description: Response content: application/json: - schema: *65 + schema: *67 examples: - default: *247 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59258,9 +59834,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: '204': description: Response @@ -59286,11 +59862,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: - '200': *70 + '200': *72 '404': *6 x-github: githubCloudOnly: false @@ -59312,9 +59888,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 requestBody: required: true content: @@ -59338,7 +59914,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59362,9 +59938,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 requestBody: required: true content: @@ -59389,7 +59965,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59413,11 +59989,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: - - *435 - - *436 - - *64 + - *440 + - *441 + - *66 responses: - '200': *248 + '200': *256 '404': *6 x-github: githubCloudOnly: false @@ -59444,12 +60020,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: - - *435 - - *436 - - *64 - - *249 + - *440 + - *441 + - *66 + - *257 responses: - '200': *70 + '200': *72 '404': *6 '422': *7 x-github: @@ -59475,9 +60051,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: - - *435 - - *436 - - &480 + - *440 + - *441 + - &485 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. @@ -59485,7 +60061,7 @@ paths: required: false schema: type: string - - &481 + - &486 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59493,7 +60069,7 @@ paths: required: false schema: type: string - - &482 + - &487 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59502,7 +60078,7 @@ paths: required: false schema: type: string - - &483 + - &488 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 @@ -59529,7 +60105,7 @@ paths: - pending - *17 - *19 - - &484 + - &489 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)." @@ -59538,7 +60114,7 @@ paths: schema: type: string format: date-time - - &463 + - &468 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59547,13 +60123,13 @@ paths: schema: type: boolean default: false - - &485 + - &490 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &486 + - &491 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59576,7 +60152,7 @@ paths: type: integer workflow_runs: type: array - items: &464 + items: &469 title: Workflow Run description: An invocation of a workflow type: object @@ -59671,7 +60247,7 @@ paths: that triggered the run. type: array nullable: true - items: &505 + items: &510 title: Pull Request Minimal type: object properties: @@ -59790,7 +60366,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &509 + properties: &514 id: type: string description: SHA for the commit @@ -59841,7 +60417,7 @@ paths: - name - email nullable: true - required: &510 + required: &515 - id - tree_id - message @@ -59849,8 +60425,8 @@ paths: - author - committer nullable: true - repository: *241 - head_repository: *241 + repository: *249 + head_repository: *249 head_repository_id: type: integer example: 5 @@ -59888,7 +60464,7 @@ paths: - workflow_url - pull_requests examples: - default: &487 + default: &492 value: total_count: 1 workflow_runs: @@ -60102,7 +60678,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60124,24 +60700,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *435 - - *436 - - &465 + - *440 + - *441 + - &470 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *463 + - *468 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: &468 + default: &473 value: id: 30433642 name: Build @@ -60382,9 +60958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '204': description: Response @@ -60407,9 +60983,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -60528,15 +61104,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -60563,12 +61139,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 - *17 - *19 - - *466 + - *471 responses: '200': description: Response @@ -60584,11 +61160,11 @@ paths: type: integer artifacts: type: array - items: *452 + items: *457 examples: - default: *467 + default: *472 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60610,25 +61186,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *435 - - *436 - - *465 - - &469 + - *440 + - *441 + - *470 + - &474 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *463 + - *468 responses: '200': description: Response content: application/json: - schema: *464 + schema: *469 examples: - default: *468 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60651,10 +61227,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: - - *435 - - *436 - - *465 - - *469 + - *440 + - *441 + - *470 + - *474 - *17 - *19 responses: @@ -60672,9 +61248,9 @@ paths: type: integer jobs: type: array - items: *470 + items: *475 examples: - default: &471 + default: &476 value: total_count: 1 jobs: @@ -60763,7 +61339,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -60787,10 +61363,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *435 - - *436 - - *465 - - *469 + - *440 + - *441 + - *470 + - *474 responses: '302': description: Response @@ -60818,19 +61394,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '202': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60853,9 +61429,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: true content: @@ -60922,19 +61498,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '202': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60957,9 +61533,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 - 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 @@ -60989,11 +61565,11 @@ paths: type: integer jobs: type: array - items: *470 + items: *475 examples: - default: *471 + default: *476 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61016,9 +61592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '302': description: Response @@ -61045,14 +61621,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '204': description: Response '403': *29 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61074,9 +61650,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -61136,7 +61712,7 @@ paths: items: type: object properties: - type: &593 + type: &598 type: string description: The type of reviewer. enum: @@ -61146,7 +61722,7 @@ paths: reviewer: anyOf: - *4 - - *269 + - *276 required: - environment - wait_timer @@ -61221,9 +61797,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: true content: @@ -61270,7 +61846,7 @@ paths: application/json: schema: type: array - items: &579 + items: &584 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -61358,8 +61934,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -61376,7 +61952,7 @@ paths: - created_at - updated_at examples: - default: &580 + default: &585 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61432,9 +62008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: false content: @@ -61455,7 +62031,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61478,9 +62054,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: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 requestBody: required: false content: @@ -61501,7 +62077,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61534,9 +62110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *435 - - *436 - - *465 + - *440 + - *441 + - *470 responses: '200': description: Response @@ -61673,8 +62249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -61692,11 +62268,11 @@ paths: type: integer secrets: type: array - items: *472 + items: *477 examples: - default: *473 + default: *478 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61719,16 +62295,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *474 + schema: *479 examples: - default: *475 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61750,17 +62326,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: &606 + default: &611 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61786,9 +62362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -61819,7 +62395,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61845,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -61872,9 +62448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *435 - - *436 - - *459 + - *440 + - *441 + - *464 - *19 responses: '200': @@ -61891,11 +62467,11 @@ paths: type: integer variables: type: array - items: *476 + items: *481 examples: - default: *477 + default: *482 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61916,8 +62492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -61944,7 +62520,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -61969,17 +62545,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 responses: '200': description: Response content: application/json: - schema: *476 + schema: *481 examples: - default: &607 + default: &612 value: name: USERNAME value: octocat @@ -62005,9 +62581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 requestBody: required: true content: @@ -62049,9 +62625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *435 - - *436 - - *254 + - *440 + - *441 + - *262 responses: '204': description: Response @@ -62076,8 +62652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -62095,7 +62671,7 @@ paths: type: integer workflows: type: array - items: &478 + items: &483 title: Workflow description: A GitHub Actions workflow type: object @@ -62179,7 +62755,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62202,9 +62778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *435 - - *436 - - &479 + - *440 + - *441 + - &484 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62219,7 +62795,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *483 examples: default: value: @@ -62252,9 +62828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62279,9 +62855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62332,9 +62908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '204': description: Response @@ -62361,19 +62937,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: - - *435 - - *436 - - *479 - - *480 - - *481 - - *482 - - *483 - - *17 - - *19 + - *440 + - *441 - *484 - - *463 - *485 - *486 + - *487 + - *488 + - *17 + - *19 + - *489 + - *468 + - *490 + - *491 responses: '200': description: Response @@ -62389,11 +62965,11 @@ paths: type: integer workflow_runs: type: array - items: *464 + items: *469 examples: - default: *487 + default: *492 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62424,9 +63000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *435 - - *436 - - *479 + - *440 + - *441 + - *484 responses: '200': description: Response @@ -62487,12 +63063,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *435 - - *436 - - *100 + - *440 + - *441 + - *101 - *17 - - *98 - *99 + - *100 - name: ref description: |- The Git reference for the activities you want to list. @@ -62633,7 +63209,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '422': *7 x-github: githubCloudOnly: false @@ -62652,8 +63228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -62665,9 +63241,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -62690,8 +63266,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: - - *435 - - *436 + - *440 + - *441 - name: assignee in: path required: true @@ -62727,8 +63303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -62840,11 +63416,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *435 - - *436 + - *440 + - *441 - *17 - - *98 - *99 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -62895,7 +63471,7 @@ paths: bundle_url: type: string examples: - default: *488 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62915,8 +63491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -62924,7 +63500,7 @@ paths: application/json: schema: type: array - items: &489 + items: &494 title: Autolink reference description: An autolink reference. type: object @@ -62978,8 +63554,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -63018,9 +63594,9 @@ paths: description: response content: application/json: - schema: *489 + schema: *494 examples: - default: &490 + default: &495 value: id: 1 key_prefix: TICKET- @@ -63051,9 +63627,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: - - *435 - - *436 - - &491 + - *440 + - *441 + - &496 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63065,9 +63641,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *494 examples: - default: *490 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -63087,9 +63663,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: - - *435 - - *436 - - *491 + - *440 + - *441 + - *496 responses: '204': description: Response @@ -63113,8 +63689,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response if Dependabot is enabled @@ -63162,8 +63738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -63184,8 +63760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -63205,8 +63781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *435 - - *436 + - *440 + - *441 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63244,7 +63820,7 @@ paths: - url protected: type: boolean - protection: &493 + protection: &498 title: Branch Protection description: Branch Protection type: object @@ -63286,7 +63862,7 @@ paths: required: - contexts - checks - enforce_admins: &496 + enforce_admins: &501 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63301,7 +63877,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &498 + required_pull_request_reviews: &503 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63322,7 +63898,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *269 + items: *276 apps: description: The list of apps with review dismissal access. @@ -63351,7 +63927,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *269 + items: *276 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63377,7 +63953,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &495 + restrictions: &500 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63440,7 +64016,7 @@ paths: type: string teams: type: array - items: *269 + items: *276 apps: type: array items: @@ -63636,7 +64212,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -63654,9 +64230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *435 - - *436 - - &494 + - *440 + - *441 + - &499 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). @@ -63670,14 +64246,14 @@ paths: description: Response content: application/json: - schema: &504 + schema: &509 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &554 + commit: &559 title: Commit description: Commit type: object @@ -63711,7 +64287,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &492 + properties: &497 name: type: string example: '"Chris Wanstrath"' @@ -63726,7 +64302,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true message: type: string @@ -63747,7 +64323,7 @@ paths: required: - sha - url - verification: &613 + verification: &618 title: Verification type: object properties: @@ -63781,12 +64357,12 @@ paths: nullable: true oneOf: - *4 - - *252 + - *260 committer: nullable: true oneOf: - *4 - - *252 + - *260 parents: type: array items: @@ -63817,7 +64393,7 @@ paths: type: integer files: type: array - items: &567 + items: &572 title: Diff Entry description: Diff Entry type: object @@ -63901,7 +64477,7 @@ paths: - self protected: type: boolean - protection: *493 + protection: *498 protection_url: type: string format: uri @@ -64008,7 +64584,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *454 '404': *6 x-github: githubCloudOnly: false @@ -64030,15 +64606,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *493 + schema: *498 examples: default: value: @@ -64232,9 +64808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -64489,7 +65065,7 @@ paths: url: type: string format: uri - required_status_checks: &501 + required_status_checks: &506 title: Status Check Policy description: Status Check Policy type: object @@ -64565,7 +65141,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 apps: type: array items: *5 @@ -64583,7 +65159,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 apps: type: array items: *5 @@ -64641,7 +65217,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *495 + restrictions: *500 required_conversation_resolution: type: object properties: @@ -64753,9 +65329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -64780,17 +65356,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &497 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64812,17 +65388,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *497 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64841,9 +65417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -64868,17 +65444,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: &499 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64974,9 +65550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65074,9 +65650,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *503 examples: - default: *499 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -65097,9 +65673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65126,17 +65702,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &500 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65159,17 +65735,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *500 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -65189,9 +65765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65216,17 +65792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *501 + schema: *506 examples: - default: &502 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65252,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65306,9 +65882,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *506 examples: - default: *502 + default: *507 '404': *6 '422': *15 x-github: @@ -65330,9 +65906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65356,9 +65932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65392,9 +65968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65461,9 +66037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -65527,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: content: application/json: @@ -65595,15 +66171,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response content: application/json: - schema: *495 + schema: *500 examples: default: value: @@ -65694,9 +66270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '204': description: Response @@ -65719,9 +66295,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65731,7 +66307,7 @@ paths: type: array items: *5 examples: - default: &503 + default: &508 value: - id: 1 slug: octoapp @@ -65788,9 +66364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65824,7 +66400,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65845,9 +66421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65881,7 +66457,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65902,9 +66478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -65938,7 +66514,7 @@ paths: type: array items: *5 examples: - default: *503 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -65960,9 +66536,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -65970,9 +66546,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -65992,9 +66568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -66030,9 +66606,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66053,9 +66629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: false content: @@ -66091,9 +66667,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66114,9 +66690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: content: application/json: @@ -66151,9 +66727,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -66175,9 +66751,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: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 responses: '200': description: Response @@ -66187,7 +66763,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '404': *6 x-github: githubCloudOnly: false @@ -66211,9 +66787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66246,7 +66822,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66271,9 +66847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66306,7 +66882,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66331,9 +66907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66366,7 +66942,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '422': *15 x-github: githubCloudOnly: false @@ -66393,9 +66969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 requestBody: required: true content: @@ -66417,7 +66993,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *509 examples: default: value: @@ -66531,12 +67107,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -66546,11 +67122,11 @@ paths: application/json: schema: type: array - items: *264 + items: *271 examples: - default: *265 + default: *272 '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -66568,8 +67144,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66583,7 +67159,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *271 examples: default: value: @@ -66621,7 +67197,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': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -66642,12 +67218,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - *96 + - *97 - *17 - *19 responses: @@ -66657,12 +67233,12 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -66683,8 +67259,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66696,7 +67272,7 @@ paths: description: A single bypass request. content: application/json: - schema: *267 + schema: *274 examples: default: value: @@ -66734,7 +67310,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review a bypass request for secret scanning description: |- @@ -66754,8 +67330,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_request_number in: path required: true @@ -66805,7 +67381,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -66826,8 +67402,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *435 - - *436 + - *440 + - *441 - name: bypass_response_id in: path required: true @@ -66840,7 +67416,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -66860,8 +67436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -67140,7 +67716,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &511 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67251,16 +67827,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *505 - deployment: &834 + items: *510 + deployment: &840 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67327,8 +67903,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -67540,9 +68116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *435 - - *436 - - &507 + - *440 + - *441 + - &512 name: check_run_id description: The unique identifier of the check run. in: path @@ -67554,9 +68130,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: &508 + default: &513 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67656,9 +68232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 requestBody: required: true content: @@ -67898,9 +68474,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *511 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67920,9 +68496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 - *17 - *19 responses: @@ -67997,7 +68573,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68017,15 +68593,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *435 - - *436 - - *507 + - *440 + - *441 + - *512 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -68063,8 +68639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -68086,7 +68662,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &516 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68150,7 +68726,7 @@ paths: nullable: true pull_requests: type: array - items: *505 + items: *510 nullable: true app: title: GitHub app @@ -68161,9 +68737,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - repository: *241 + properties: *184 + required: *185 + repository: *249 created_at: type: string format: date-time @@ -68172,12 +68748,12 @@ paths: type: string format: date-time nullable: true - head_commit: &860 + head_commit: &866 title: Simple Commit description: A commit. type: object - properties: *509 - required: *510 + properties: *514 + required: *515 latest_check_runs_count: type: integer check_runs_url: @@ -68205,7 +68781,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &517 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68496,9 +69072,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *516 examples: - default: *512 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68517,8 +69093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -68579,7 +69155,7 @@ paths: required: - app_id - setting - repository: *241 + repository: *249 examples: default: value: @@ -68827,9 +69403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *435 - - *436 - - &513 + - *440 + - *441 + - &518 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -68841,9 +69417,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *516 examples: - default: *512 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68866,17 +69442,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: - - *435 - - *436 - - *513 - - &560 + - *440 + - *441 + - *518 + - &565 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &561 + - &566 name: status description: Returns check runs with the specified `status`. in: query @@ -68915,9 +69491,9 @@ paths: type: integer check_runs: type: array - items: *506 + items: *511 examples: - default: &562 + default: &567 value: total_count: 1 check_runs: @@ -68999,7 +69575,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69019,15 +69595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *435 - - *436 - - *513 + - *440 + - *441 + - *518 responses: '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -69054,30 +69630,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: - - *435 - - *436 - - *273 - - *274 + - *440 + - *441 + - *280 + - *281 - *19 - *17 - - &529 + - &534 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: *514 - - &530 + schema: *519 + - &535 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *100 - - *98 + - *101 - *99 + - *100 - name: sort description: The property by which to sort the results. in: query @@ -69093,13 +69669,13 @@ paths: be returned. in: query required: false - schema: *275 + schema: *282 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *515 + schema: *520 responses: '200': description: Response @@ -69110,14 +69686,14 @@ paths: items: type: object properties: - number: *112 - created_at: *119 - updated_at: *120 - url: *117 - html_url: *118 - instances_url: *516 - state: *103 - fixed_at: *122 + number: *113 + created_at: *120 + updated_at: *121 + url: *118 + html_url: *119 + instances_url: *521 + state: *104 + fixed_at: *123 dismissed_by: title: Simple User description: A GitHub user. @@ -69125,12 +69701,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *121 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_at: *122 + dismissed_reason: *522 + dismissed_comment: *523 + rule: *524 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69253,14 +69829,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &522 + '403': &527 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69280,9 +69856,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: - - *435 - - *436 - - &523 + - *440 + - *441 + - &528 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69290,23 +69866,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *112 + schema: *113 responses: '200': description: Response content: application/json: - schema: &524 + schema: &529 type: object properties: - number: *112 - created_at: *119 - updated_at: *120 - url: *117 - html_url: *118 - instances_url: *516 - state: *103 - fixed_at: *122 + number: *113 + created_at: *120 + updated_at: *121 + url: *118 + html_url: *119 + instances_url: *521 + state: *104 + fixed_at: *123 dismissed_by: title: Simple User description: A GitHub user. @@ -69314,9 +69890,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *121 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_at: *122 + dismissed_reason: *522 + dismissed_comment: *523 rule: type: object properties: @@ -69370,8 +69946,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69467,9 +70043,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69487,9 +70063,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: true content: @@ -69504,8 +70080,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *522 + dismissed_comment: *523 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69524,7 +70100,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *529 examples: default: value: @@ -69600,14 +70176,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &533 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': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -69627,15 +70203,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 responses: '200': description: Response content: application/json: - schema: &525 + schema: &530 type: object properties: status: @@ -69661,13 +70237,13 @@ paths: - description - started_at examples: - default: &526 + default: &531 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &532 description: Bad Request content: application/json: @@ -69678,9 +70254,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': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69703,29 +70279,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 responses: '200': description: OK content: application/json: - schema: *525 + schema: *530 examples: - default: *526 + default: *531 '202': description: Accepted content: application/json: - schema: *525 + schema: *530 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *532 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -69735,7 +70311,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69757,9 +70333,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: false content: @@ -69804,12 +70380,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *532 + '403': *533 '404': *6 '422': description: Unprocessable Entity - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69829,13 +70405,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 - *19 - *17 - - *529 - - *530 + - *534 + - *535 responses: '200': description: Response @@ -69843,7 +70419,7 @@ paths: application/json: schema: type: array - items: *521 + items: *526 examples: default: value: @@ -69882,9 +70458,9 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69916,29 +70492,29 @@ 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: - - *435 - - *436 - - *273 - - *274 + - *440 + - *441 + - *280 + - *281 - *19 - *17 - - *530 + - *535 - 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: *514 + schema: *519 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &533 + schema: &538 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *100 + - *101 - name: sort description: The property by which to sort the results. in: query @@ -69955,23 +70531,23 @@ paths: application/json: schema: type: array - items: &534 + items: &539 type: object properties: - ref: *514 - commit_sha: &542 + ref: *519 + commit_sha: &547 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: *531 + analysis_key: *536 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *532 + category: *537 error: type: string example: error reading field xyz @@ -69995,8 +70571,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *533 - tool: *520 + sarif_id: *538 + tool: *525 deletable: type: boolean warning: @@ -70057,9 +70633,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70093,8 +70669,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: - - *435 - - *436 + - *440 + - *441 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70107,7 +70683,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: response: summary: application/json response @@ -70161,14 +70737,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *527 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70248,8 +70824,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: - - *435 - - *436 + - *440 + - *441 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70302,9 +70878,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': *528 + '403': *533 '404': *6 - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -70324,8 +70900,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -70333,7 +70909,7 @@ paths: application/json: schema: type: array - items: &535 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -70444,9 +71020,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': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70473,8 +71049,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: - - *435 - - *436 + - *440 + - *441 - name: language in: path description: The language of the CodeQL database. @@ -70486,7 +71062,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *540 examples: default: value: @@ -70518,11 +71094,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': &569 + '302': &574 description: Found - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70542,8 +71118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *435 - - *436 + - *440 + - *441 - name: language in: path description: The language of the CodeQL database. @@ -70553,9 +71129,9 @@ paths: responses: '204': description: Response - '403': *528 + '403': *533 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70581,8 +71157,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -70591,7 +71167,7 @@ paths: type: object additionalProperties: false properties: - language: &536 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -70670,7 +71246,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &540 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -70678,9 +71254,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *109 + controller_repo: *110 actor: *4 - query_language: *536 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -70727,7 +71303,7 @@ paths: items: type: object properties: - repository: &537 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -70763,7 +71339,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &541 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -70795,7 +71371,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &538 + access_mismatch_repos: &543 type: object properties: repository_count: @@ -70809,7 +71385,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: *537 + items: *542 required: - repository_count - repositories @@ -70831,8 +71407,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *538 - over_limit_repos: *538 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -70848,7 +71424,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &539 + value: &544 summary: Default response value: id: 1 @@ -71000,17 +71576,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *539 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *539 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71031,8 +71607,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: - - *435 - - *436 + - *440 + - *441 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71044,11 +71620,11 @@ paths: description: Response content: application/json: - schema: *540 + schema: *545 examples: - default: *539 + default: *544 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71069,7 +71645,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: - - *435 + - *440 - name: repo in: path description: The name of the controller repository. @@ -71103,8 +71679,8 @@ paths: schema: type: object properties: - repository: *109 - analysis_status: *541 + repository: *110 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71208,7 +71784,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71229,8 +71805,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71315,9 +71891,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *527 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71336,8 +71912,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -71404,7 +71980,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -71429,7 +72005,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *533 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71443,7 +72019,7 @@ paths: content: application/json: schema: *3 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71500,8 +72076,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -71509,7 +72085,7 @@ paths: schema: type: object properties: - commit_sha: *542 + commit_sha: *547 ref: type: string description: |- @@ -71567,7 +72143,7 @@ paths: schema: type: object properties: - id: *533 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -71581,11 +72157,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': *528 + '403': *533 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71604,8 +72180,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: - - *435 - - *436 + - *440 + - *441 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -71651,10 +72227,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': *522 + '403': *527 '404': description: Not Found if the sarif id does not match any upload - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -71676,8 +72252,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71701,7 +72277,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *104 + configuration: *105 examples: default: value: @@ -71733,7 +72309,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': *132 + '204': *133 '304': *37 '403': *29 '404': *6 @@ -71758,8 +72334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *435 - - *436 + - *440 + - *441 - 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 @@ -71879,8 +72455,8 @@ paths: parameters: - *17 - *19 - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -71896,7 +72472,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: default: value: @@ -72172,7 +72748,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': *40 '401': *25 '403': *29 '404': *6 @@ -72194,8 +72770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -72258,22 +72834,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72297,8 +72873,8 @@ paths: parameters: - *17 - *19 - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -72338,7 +72914,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *91 + '500': *40 '400': *14 '401': *25 '403': *29 @@ -72362,8 +72938,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: - - *435 - - *436 + - *440 + - *441 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72398,14 +72974,14 @@ paths: type: integer machines: type: array - items: &784 + items: &790 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *544 - required: *545 + properties: *549 + required: *550 examples: - default: &785 + default: &791 value: total_count: 2 machines: @@ -72422,7 +72998,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -72445,8 +73021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *435 - - *436 + - *440 + - *441 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72530,8 +73106,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: - - *435 - - *436 + - *440 + - *441 - 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 @@ -72576,7 +73152,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72597,8 +73173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -72616,7 +73192,7 @@ paths: type: integer secrets: type: array - items: &549 + items: &554 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -72636,9 +73212,9 @@ paths: - created_at - updated_at examples: - default: *546 + default: *551 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72659,16 +73235,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *547 + schema: *552 examples: - default: *548 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72688,17 +73264,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *549 + schema: *554 examples: - default: *550 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72718,9 +73294,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: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -72748,7 +73324,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -72772,9 +73348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -72802,8 +73378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *435 - - *436 + - *440 + - *441 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -72845,7 +73421,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &551 + properties: &556 login: type: string example: octocat @@ -72938,7 +73514,7 @@ paths: user_view_type: type: string example: public - required: &552 + required: &557 - avatar_url - events_url - followers_url @@ -72987,7 +73563,7 @@ paths: admin: false role_name: write headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -73012,9 +73588,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: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '204': description: Response if user is a collaborator @@ -73060,9 +73636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 requestBody: required: false content: @@ -73088,7 +73664,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &626 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73099,7 +73675,7 @@ paths: example: 42 type: integer format: int64 - repository: *241 + repository: *249 invitee: title: Simple User description: A GitHub user. @@ -73277,7 +73853,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *218 + schema: *226 '403': *29 x-github: triggersNotification: true @@ -73317,9 +73893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '204': description: No Content when collaborator was removed from the repository. @@ -73350,9 +73926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *435 - - *436 - - *263 + - *440 + - *441 + - *180 responses: '200': description: if user has admin permissions @@ -73372,8 +73948,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *551 - required: *552 + properties: *556 + required: *557 nullable: true required: - permission @@ -73428,8 +74004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -73439,7 +74015,7 @@ paths: application/json: schema: type: array - items: &553 + items: &558 title: Commit Comment description: Commit Comment type: object @@ -73480,8 +74056,8 @@ paths: updated_at: type: string format: date-time - author_association: *178 - reactions: *179 + author_association: *186 + reactions: *187 required: - url - html_url @@ -73497,7 +74073,7 @@ paths: - created_at - updated_at examples: - default: &556 + default: &561 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73531,7 +74107,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73556,17 +74132,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: &557 + default: &562 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73623,9 +74199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -73647,7 +74223,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: default: value: @@ -73698,9 +74274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -73721,9 +74297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -73749,11 +74325,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -73772,9 +74348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -73806,16 +74382,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -73837,10 +74413,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -73889,8 +74465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *435 - - *436 + - *440 + - *441 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73946,9 +74522,9 @@ paths: application/json: schema: type: array - items: *554 + items: *559 examples: - default: &676 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74018,11 +74594,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *40 - '500': *91 + Link: *43 + '500': *40 '400': *14 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74042,9 +74618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *435 - - *436 - - &555 + - *440 + - *441 + - &560 name: commit_sha description: The SHA of the commit. in: path @@ -74091,7 +74667,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74116,9 +74692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 - *17 - *19 responses: @@ -74128,11 +74704,11 @@ paths: application/json: schema: type: array - items: *553 + items: *558 examples: - default: *556 + default: *561 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74158,9 +74734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 requestBody: required: true content: @@ -74195,9 +74771,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *558 examples: - default: *557 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74225,9 +74801,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: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 - *17 - *19 responses: @@ -74237,9 +74813,9 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: &668 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74718,8 +75294,8 @@ paths: auto_merge: draft: false headers: - Link: *40 - '409': *108 + Link: *43 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74776,11 +75352,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 - - &559 + - &564 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)" @@ -74795,9 +75371,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *559 examples: - default: &655 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74883,9 +75459,9 @@ paths: ..... '422': *15 '404': *6 - '500': *91 - '503': *166 - '409': *108 + '500': *40 + '503': *167 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74910,11 +75486,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: - - *435 - - *436 - - *559 - - *560 - - *561 + - *440 + - *441 + - *564 + - *565 + - *566 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74948,11 +75524,11 @@ paths: type: integer check_runs: type: array - items: *506 + items: *511 examples: - default: *562 + default: *567 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74975,9 +75551,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: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74985,7 +75561,7 @@ paths: schema: type: integer example: 1 - - *560 + - *565 - *17 - *19 responses: @@ -75003,7 +75579,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *516 examples: default: value: @@ -75178,7 +75754,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: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75203,9 +75779,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: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - *17 - *19 responses: @@ -75272,7 +75848,7 @@ paths: type: string total_count: type: integer - repository: *241 + repository: *249 commit_url: type: string format: uri @@ -75403,9 +75979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *435 - - *436 - - *559 + - *440 + - *441 + - *564 - *17 - *19 responses: @@ -75415,7 +75991,7 @@ paths: application/json: schema: type: array - items: &729 + items: &735 title: Status description: The status of a commit. type: object @@ -75495,8 +76071,8 @@ paths: type: User site_admin: false headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75524,8 +76100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -75554,20 +76130,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *563 - required: *564 + properties: *568 + required: *569 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &565 + properties: &570 url: type: string format: uri html_url: type: string format: uri - required: &566 + required: &571 - url - html_url nullable: true @@ -75575,32 +76151,32 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true contributing: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true readme: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true issue_template: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true pull_request_template: title: Community Health File type: object - properties: *565 - required: *566 + properties: *570 + required: *571 nullable: true required: - code_of_conduct @@ -75727,8 +76303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 - name: basehead @@ -75771,8 +76347,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *554 - merge_base_commit: *554 + base_commit: *559 + merge_base_commit: *559 status: type: string enum: @@ -75792,10 +76368,10 @@ paths: example: 6 commits: type: array - items: *554 + items: *559 files: type: array - items: *567 + items: *572 required: - url - html_url @@ -76038,8 +76614,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76081,8 +76657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -76225,7 +76801,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &568 + response-if-content-is-a-file: &573 summary: Response if content is a file value: type: file @@ -76357,7 +76933,7 @@ paths: - size - type - url - - &681 + - &686 title: Content File description: Content File type: object @@ -76558,7 +77134,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *568 + response-if-content-is-a-file: *573 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -76627,7 +77203,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *569 + '302': *574 '304': *37 x-github: githubCloudOnly: false @@ -76650,8 +77226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -76744,7 +77320,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &575 title: File Commit description: File Commit type: object @@ -76896,7 +77472,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *575 examples: example-for-creating-a-file: value: @@ -76950,7 +77526,7 @@ paths: schema: oneOf: - *3 - - &608 + - &613 description: Repository rule violation was detected type: object properties: @@ -76971,7 +77547,7 @@ paths: items: type: object properties: - placeholder_id: &721 + placeholder_id: &727 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77003,8 +77579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *435 - - *436 + - *440 + - *441 - name: path description: path parameter in: path @@ -77065,7 +77641,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *575 examples: default: value: @@ -77099,8 +77675,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *108 - '503': *166 + '409': *109 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77120,8 +77696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *435 - - *436 + - *440 + - *441 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77221,7 +77797,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *40 + Link: *43 '204': description: Response if repository is empty '403': *29 @@ -77244,23 +77820,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *435 - - *436 - - *290 - - *291 - - *292 - - *293 + - *440 + - *441 + - *297 + - *298 + - *299 + - *300 - 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 - - *294 - - *295 - - *296 - - *297 - - *100 + - *301 + - *302 + - *303 + - *304 + - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -77277,10 +77853,10 @@ paths: schema: type: integer default: 30 - - *98 - *99 - - *298 - - *299 + - *100 + - *305 + - *306 responses: '200': description: Response @@ -77288,11 +77864,11 @@ paths: application/json: schema: type: array - items: &573 + items: &578 type: object description: A Dependabot alert. properties: - number: *112 + number: *113 state: type: string description: The state of the Dependabot alert. @@ -77307,7 +77883,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *113 + package: *114 manifest_path: type: string description: The full path to the dependency manifest file, @@ -77334,13 +77910,13 @@ paths: - unknown - direct - transitive - security_advisory: *571 - security_vulnerability: *116 - url: *117 - html_url: *118 - created_at: *119 - updated_at: *120 - dismissed_at: *121 + security_advisory: *576 + security_vulnerability: *117 + url: *118 + html_url: *119 + created_at: *120 + updated_at: *121 + dismissed_at: *122 dismissed_by: title: Simple User description: A GitHub user. @@ -77364,8 +77940,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *122 - auto_dismissed_at: *572 + fixed_at: *123 + auto_dismissed_at: *577 required: - number - state @@ -77595,9 +78171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *435 - - *436 - - &574 + - *440 + - *441 + - &579 name: alert_number in: path description: |- @@ -77606,13 +78182,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *112 + schema: *113 responses: '200': description: Response content: application/json: - schema: *573 + schema: *578 examples: default: value: @@ -77725,9 +78301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *435 - - *436 - - *574 + - *440 + - *441 + - *579 requestBody: required: true content: @@ -77772,7 +78348,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *578 examples: default: value: @@ -77878,7 +78454,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *108 + '409': *109 '422': *7 x-github: githubCloudOnly: false @@ -77901,8 +78477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -77920,7 +78496,7 @@ paths: type: integer secrets: type: array - items: &577 + items: &582 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77951,7 +78527,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77973,16 +78549,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *575 + schema: *580 examples: - default: *576 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78002,15 +78578,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '200': description: Response content: application/json: - schema: *577 + schema: *582 examples: default: value: @@ -78036,9 +78612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 requestBody: required: true content: @@ -78066,7 +78642,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -78090,9 +78666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *435 - - *436 - - *251 + - *440 + - *441 + - *259 responses: '204': description: Response @@ -78114,8 +78690,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: - - *435 - - *436 + - *440 + - *441 - 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 @@ -78251,7 +78827,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *40 + Link: *43 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -78275,8 +78851,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -78492,7 +79068,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *40 + Link: *43 '404': *6 '403': *29 x-github: @@ -78515,8 +79091,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -78591,7 +79167,7 @@ paths: - version - url additionalProperties: false - metadata: &578 + metadata: &583 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78624,7 +79200,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *578 + metadata: *583 resolved: type: object description: A collection of resolved package dependencies. @@ -78637,7 +79213,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *578 + metadata: *583 relationship: type: string description: A notation of whether a dependency is requested @@ -78766,8 +79342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *435 - - *436 + - *440 + - *441 - name: sha description: The SHA recorded at creation time. in: query @@ -78807,11 +79383,11 @@ paths: application/json: schema: type: array - items: *579 + items: *584 examples: - default: *580 + default: *585 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78875,8 +79451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -78957,7 +79533,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: simple-example: summary: Simple example @@ -79030,9 +79606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *435 - - *436 - - &581 + - *440 + - *441 + - &586 name: deployment_id description: deployment_id parameter in: path @@ -79044,7 +79620,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *584 examples: default: value: @@ -79109,9 +79685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 responses: '204': description: Response @@ -79133,9 +79709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 - *17 - *19 responses: @@ -79145,7 +79721,7 @@ paths: application/json: schema: type: array - items: &582 + items: &587 title: Deployment Status description: The status of a deployment. type: object @@ -79236,8 +79812,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -79286,7 +79862,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -79306,9 +79882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 requestBody: required: true content: @@ -79383,9 +79959,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *587 examples: - default: &583 + default: &588 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -79441,9 +80017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *435 - - *436 - - *581 + - *440 + - *441 + - *586 - name: status_id in: path required: true @@ -79454,9 +80030,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *587 examples: - default: *583 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -79483,12 +80059,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 - - *584 - - *585 - - *586 - - *587 + - *440 + - *441 + - *589 + - *590 + - *591 + - *592 - *17 - *19 responses: @@ -79498,12 +80074,12 @@ paths: application/json: schema: type: array - items: *588 + items: *593 examples: - default: *589 + default: *594 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -79524,8 +80100,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79537,7 +80113,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *593 examples: default: value: @@ -79573,7 +80149,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -79593,8 +80169,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79632,7 +80208,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -79653,12 +80229,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 - - *93 + - *440 + - *441 - *94 - *95 - - *590 + - *96 + - *595 - *17 - *19 responses: @@ -79668,12 +80244,12 @@ paths: application/json: schema: type: array - items: *591 + items: *596 examples: - default: *592 + default: *597 '404': *6 '403': *29 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -79695,8 +80271,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79708,7 +80284,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *596 examples: default: value: @@ -79745,7 +80321,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *91 + '500': *40 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -79766,8 +80342,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: alert_number in: path required: true @@ -79817,7 +80393,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -79836,8 +80412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -79894,8 +80470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -79912,7 +80488,7 @@ paths: type: integer environments: type: array - items: &594 + items: &599 title: Environment description: Details of a deployment environment type: object @@ -79964,7 +80540,7 @@ paths: type: type: string example: wait_timer - wait_timer: &596 + wait_timer: &601 type: integer example: 30 description: The amount of time to delay a job after @@ -80001,11 +80577,11 @@ paths: items: type: object properties: - type: *593 + type: *598 reviewer: anyOf: - *4 - - *269 + - *276 required: - id - node_id @@ -80025,7 +80601,7 @@ paths: - id - node_id - type - deployment_branch_policy: &597 + deployment_branch_policy: &602 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80141,9 +80717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *435 - - *436 - - &595 + - *440 + - *441 + - &600 name: environment_name in: path required: true @@ -80156,9 +80732,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: &598 + default: &603 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80242,9 +80818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: false content: @@ -80253,7 +80829,7 @@ paths: type: object nullable: true properties: - wait_timer: *596 + wait_timer: *601 prevent_self_review: type: boolean example: false @@ -80270,13 +80846,13 @@ paths: items: type: object properties: - type: *593 + type: *598 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *597 + deployment_branch_policy: *602 additionalProperties: false examples: default: @@ -80296,9 +80872,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *599 examples: - default: *598 + default: *603 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80322,9 +80898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 responses: '204': description: Default response @@ -80349,9 +80925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 - *17 - *19 responses: @@ -80369,7 +80945,7 @@ paths: example: 2 branch_policies: type: array - items: &599 + items: &604 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80426,9 +81002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: true content: @@ -80474,9 +81050,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - example-wildcard: &600 + example-wildcard: &605 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -80518,10 +81094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - &601 + - *440 + - *441 + - *600 + - &606 name: branch_policy_id in: path required: true @@ -80533,9 +81109,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - default: *600 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80554,10 +81130,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - *601 + - *440 + - *441 + - *600 + - *606 requestBody: required: true content: @@ -80585,9 +81161,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *604 examples: - default: *600 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80606,10 +81182,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *435 - - *436 - - *595 - - *601 + - *440 + - *441 + - *600 + - *606 responses: '204': description: Response @@ -80634,9 +81210,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 responses: '200': description: List of deployment protection rules @@ -80652,7 +81228,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &602 + items: &607 title: Deployment protection rule description: Deployment protection rule type: object @@ -80671,7 +81247,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &603 + app: &608 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -80770,9 +81346,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 requestBody: content: application/json: @@ -80793,9 +81369,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *602 + schema: *607 examples: - default: &604 + default: &609 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -80830,9 +81406,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: - - *595 - - *436 - - *435 + - *600 + - *441 + - *440 - *19 - *17 responses: @@ -80851,7 +81427,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *603 + items: *608 examples: default: value: @@ -80886,10 +81462,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: - - *435 - - *436 - - *595 - - &605 + - *440 + - *441 + - *600 + - &610 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -80901,9 +81477,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *607 examples: - default: *604 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80924,10 +81500,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: - - *595 - - *436 - - *435 - - *605 + - *600 + - *441 + - *440 + - *610 responses: '204': description: Response @@ -80953,9 +81529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 - *17 - *19 responses: @@ -80973,11 +81549,11 @@ paths: type: integer secrets: type: array - items: *472 + items: *477 examples: - default: *473 + default: *478 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81000,17 +81576,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 responses: '200': description: Response content: application/json: - schema: *474 + schema: *479 examples: - default: *475 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81032,18 +81608,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 responses: '200': description: Response content: application/json: - schema: *472 + schema: *477 examples: - default: *606 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81065,10 +81641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 requestBody: required: true content: @@ -81099,7 +81675,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -81125,10 +81701,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *435 - - *436 - - *595 - - *251 + - *440 + - *441 + - *600 + - *259 responses: '204': description: Default response @@ -81153,10 +81729,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *435 - - *436 - - *595 - - *459 + - *440 + - *441 + - *600 + - *464 - *19 responses: '200': @@ -81173,11 +81749,11 @@ paths: type: integer variables: type: array - items: *476 + items: *481 examples: - default: *477 + default: *482 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81198,9 +81774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *435 - - *436 - - *595 + - *440 + - *441 + - *600 requestBody: required: true content: @@ -81227,7 +81803,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -81252,18 +81828,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *435 - - *436 - - *595 - - *254 + - *440 + - *441 + - *600 + - *262 responses: '200': description: Response content: application/json: - schema: *476 + schema: *481 examples: - default: *607 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81284,10 +81860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *435 - - *436 - - *254 - - *595 + - *440 + - *441 + - *262 + - *600 requestBody: required: true content: @@ -81329,10 +81905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *435 - - *436 - - *254 - - *595 + - *440 + - *441 + - *262 + - *600 responses: '204': description: Response @@ -81354,8 +81930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -81365,7 +81941,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: 200-response: value: @@ -81432,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *435 - - *436 + - *440 + - *441 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -81455,7 +82031,7 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: default: value: @@ -81568,7 +82144,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *40 + Link: *43 '400': *14 x-github: githubCloudOnly: false @@ -81592,8 +82168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -81625,9 +82201,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 '400': *14 '422': *15 '403': *29 @@ -81648,8 +82224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -81700,7 +82276,7 @@ paths: schema: type: string '404': *6 - '409': *108 + '409': *109 '403': *29 '422': description: Validation failed @@ -81708,8 +82284,8 @@ paths: application/json: schema: oneOf: - - *218 - - *608 + - *226 + - *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81734,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *435 - - *436 + - *440 + - *441 - name: file_sha in: path required: true @@ -81786,7 +82362,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81834,8 +82410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -81944,7 +82520,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &614 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82108,7 +82684,7 @@ paths: type: string '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82158,15 +82734,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *435 - - *436 - - *555 + - *440 + - *441 + - *560 responses: '200': description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -82197,7 +82773,7 @@ paths: payload: verified_at: '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82222,9 +82798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *435 - - *436 - - &610 + - *440 + - *441 + - &615 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. @@ -82241,7 +82817,7 @@ paths: application/json: schema: type: array - items: &611 + items: &616 title: Git Reference description: Git references within a repository type: object @@ -82294,8 +82870,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *40 - '409': *108 + Link: *43 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82316,17 +82892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 responses: '200': description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: &612 + default: &617 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82336,7 +82912,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82355,8 +82931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82385,16 +82961,16 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82413,9 +82989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 requestBody: required: true content: @@ -82444,11 +83020,11 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82464,16 +83040,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *435 - - *436 - - *610 + - *440 + - *441 + - *615 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82521,8 +83097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82589,7 +83165,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &619 title: Git Tag description: Metadata for a Git tag type: object @@ -82640,7 +83216,7 @@ paths: - sha - type - url - verification: *613 + verification: *618 required: - sha - url @@ -82650,7 +83226,7 @@ paths: - tag - message examples: - default: &615 + default: &620 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -82677,7 +83253,7 @@ paths: schema: type: string '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82723,8 +83299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *435 - - *436 + - *440 + - *441 - name: tag_sha in: path required: true @@ -82735,11 +83311,11 @@ paths: description: Response content: application/json: - schema: *614 + schema: *619 examples: - default: *615 + default: *620 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82761,8 +83337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -82835,7 +83411,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &621 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -82908,7 +83484,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82931,8 +83507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *435 - - *436 + - *440 + - *441 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -82955,7 +83531,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *621 examples: default-response: summary: Default response @@ -82996,7 +83572,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83014,8 +83590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -83025,7 +83601,7 @@ paths: application/json: schema: type: array - items: &617 + items: &622 title: Webhook description: Webhooks for repositories. type: object @@ -83079,7 +83655,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &868 + last_response: &874 title: Hook Response type: object properties: @@ -83134,7 +83710,7 @@ paths: status: unused message: headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -83153,8 +83729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -83206,9 +83782,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: &618 + default: &623 value: type: Repository id: 12345678 @@ -83256,17 +83832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '200': description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '404': *6 x-github: githubCloudOnly: false @@ -83286,9 +83862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 requestBody: required: true content: @@ -83333,9 +83909,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '422': *15 '404': *6 x-github: @@ -83356,9 +83932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83382,9 +83958,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '200': description: Response @@ -83411,9 +83987,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 requestBody: required: false content: @@ -83457,11 +84033,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *17 - - *308 + - *315 responses: '200': description: Response @@ -83469,9 +84045,9 @@ paths: application/json: schema: type: array - items: *309 + items: *316 examples: - default: *310 + default: *317 '400': *14 '422': *15 x-github: @@ -83490,18 +84066,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *318 examples: - default: *312 + default: *319 '400': *14 '422': *15 x-github: @@ -83520,9 +84096,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: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 - *16 responses: '202': *39 @@ -83545,9 +84121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83572,9 +84148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *435 - - *436 - - *307 + - *440 + - *441 + - *314 responses: '204': description: Response @@ -83632,14 +84208,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &619 + schema: &624 title: Import description: A repository import from an external source. type: object @@ -83738,7 +84314,7 @@ paths: - html_url - authors_url examples: - default: &622 + default: &627 value: vcs: subversion use_lfs: true @@ -83754,7 +84330,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': &620 + '503': &625 description: Unavailable due to service under maintenance. content: application/json: @@ -83783,8 +84359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -83832,7 +84408,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -83857,7 +84433,7 @@ paths: type: string '422': *15 '404': *6 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83885,8 +84461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -83935,7 +84511,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: example-1: summary: Example 1 @@ -83983,7 +84559,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': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84006,12 +84582,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84037,9 +84613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *435 - - *436 - - &807 + - *440 + - *441 + - &813 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84053,7 +84629,7 @@ paths: application/json: schema: type: array - items: &621 + items: &626 title: Porter Author description: Porter Author type: object @@ -84107,7 +84683,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': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84132,8 +84708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *435 - - *436 + - *440 + - *441 - name: author_id in: path required: true @@ -84163,7 +84739,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *626 examples: default: value: @@ -84176,7 +84752,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84200,8 +84776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84242,7 +84818,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84270,8 +84846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -84298,11 +84874,11 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: - default: *622 + default: *627 '422': *15 - '503': *620 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84325,8 +84901,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84334,8 +84910,8 @@ paths: application/json: schema: *22 examples: - default: *623 - '301': *449 + default: *628 + '301': *454 '404': *6 x-github: githubCloudOnly: false @@ -84355,8 +84931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -84364,12 +84940,12 @@ paths: application/json: schema: anyOf: - - *325 + - *332 - type: object properties: {} additionalProperties: false examples: - default: &625 + default: &630 value: limit: collaborators_only origin: repository @@ -84394,13 +84970,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: application/json: - schema: *624 + schema: *629 examples: default: summary: Example request body @@ -84412,9 +84988,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: - default: *625 + default: *630 '409': description: Response x-github: @@ -84436,8 +85012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -84460,8 +85036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -84471,9 +85047,9 @@ paths: application/json: schema: type: array - items: *626 + items: *631 examples: - default: &800 + default: &806 value: - id: 1 repository: @@ -84587,7 +85163,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84604,9 +85180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *435 - - *436 - - *329 + - *440 + - *441 + - *336 requestBody: required: false content: @@ -84635,7 +85211,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *631 examples: default: value: @@ -84766,9 +85342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *435 - - *436 - - *329 + - *440 + - *441 + - *336 responses: '204': description: Response @@ -84799,8 +85375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *435 - - *436 + - *440 + - *441 - 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 @@ -84848,7 +85424,7 @@ paths: required: false schema: type: string - - *333 + - *340 - name: sort description: What to sort results by. in: query @@ -84860,8 +85436,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -84871,9 +85447,9 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: &635 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85020,8 +85596,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '422': *15 '404': *6 x-github: @@ -85050,8 +85626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -85133,9 +85709,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: &632 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -85289,9 +85865,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *166 + '503': *167 '404': *6 - '410': *446 + '410': *451 x-github: triggersNotification: true githubCloudOnly: false @@ -85319,9 +85895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *435 - - *436 - - *201 + - *440 + - *441 + - *209 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85331,7 +85907,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -85341,9 +85917,9 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: &634 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85374,7 +85950,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 '422': *15 '404': *6 x-github: @@ -85401,17 +85977,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: &628 + default: &633 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85465,9 +86041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -85489,9 +86065,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 '422': *15 x-github: githubCloudOnly: false @@ -85509,9 +86085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -85531,9 +86107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -85559,11 +86135,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -85582,9 +86158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -85616,16 +86192,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -85647,10 +86223,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -85670,8 +86246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -85681,7 +86257,7 @@ paths: application/json: schema: type: array - items: &631 + items: &636 title: Issue Event description: Issue Event type: object @@ -85724,8 +86300,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *629 - required: *630 + properties: *634 + required: *635 nullable: true label: title: Issue Event Label @@ -85769,7 +86345,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *269 + requested_team: *276 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85834,7 +86410,7 @@ paths: required: - from - to - author_association: *178 + author_association: *186 lock_reason: type: string nullable: true @@ -85847,8 +86423,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 required: - id - node_id @@ -86014,7 +86590,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -86032,8 +86608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *435 - - *436 + - *440 + - *441 - name: event_id in: path required: true @@ -86044,7 +86620,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *636 examples: default: value: @@ -86237,7 +86813,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *446 + '410': *451 '403': *29 x-github: githubCloudOnly: false @@ -86271,9 +86847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *435 - - *436 - - &633 + - *440 + - *441 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -86285,12 +86861,12 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '404': *6 - '410': *446 + '410': *451 '304': *37 x-github: githubCloudOnly: false @@ -86315,9 +86891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -86421,15 +86997,15 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 '422': *15 - '503': *166 + '503': *167 '403': *29 - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86447,9 +87023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -86475,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86493,9 +87069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: content: application/json: @@ -86520,9 +87096,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86544,9 +87120,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: assignee in: path required: true @@ -86586,10 +87162,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *435 - - *436 - - *633 - - *181 + - *440 + - *441 + - *638 + - *189 - *17 - *19 responses: @@ -86599,13 +87175,13 @@ paths: application/json: schema: type: array - items: *627 + items: *632 examples: - default: *634 + default: *639 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86634,9 +87210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -86658,16 +87234,16 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: - default: *628 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -86695,9 +87271,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86707,14 +87283,14 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86742,9 +87318,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -86766,17 +87342,17 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *454 '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -86807,9 +87383,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86821,15 +87397,15 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 x-github: triggersNotification: true githubCloudOnly: false @@ -86855,9 +87431,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: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86867,14 +87443,14 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86891,9 +87467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -86907,7 +87483,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &638 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -86938,8 +87514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 label: type: object properties: @@ -86961,7 +87537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &639 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86992,8 +87568,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 label: type: object properties: @@ -87081,8 +87657,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 assigner: *4 required: @@ -87097,7 +87673,7 @@ paths: - performed_via_github_app - assignee - assigner - - &640 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87128,8 +87704,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 milestone: type: object properties: @@ -87148,7 +87724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87179,8 +87755,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 milestone: type: object properties: @@ -87199,7 +87775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87230,8 +87806,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 rename: type: object properties: @@ -87253,7 +87829,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87284,10 +87860,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 review_requester: *4 - requested_team: *269 + requested_team: *276 requested_reviewer: *4 required: - review_requester @@ -87300,7 +87876,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87331,10 +87907,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 review_requester: *4 - requested_team: *269 + requested_team: *276 requested_reviewer: *4 required: - review_requester @@ -87347,7 +87923,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -87378,8 +87954,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 dismissed_review: type: object properties: @@ -87407,7 +87983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -87438,8 +88014,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 lock_reason: type: string example: '"off-topic"' @@ -87455,7 +88031,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -87486,8 +88062,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87521,7 +88097,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87552,8 +88128,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87587,7 +88163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87618,8 +88194,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 project_card: type: object properties: @@ -87653,7 +88229,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87743,8 +88319,8 @@ paths: name: label color: red headers: - Link: *40 - '410': *446 + Link: *43 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87761,9 +88337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -87773,7 +88349,7 @@ paths: application/json: schema: type: array - items: &636 + items: &641 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -87820,7 +88396,7 @@ paths: - color - default examples: - default: &637 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87837,10 +88413,10 @@ paths: color: a2eeef default: false headers: - Link: *40 - '301': *449 + Link: *43 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87857,9 +88433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -87918,12 +88494,12 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 - '301': *449 + default: *642 + '301': *454 '404': *6 - '410': *446 + '410': *451 '422': *15 x-github: githubCloudOnly: false @@ -87940,9 +88516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -88002,12 +88578,12 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 - '301': *449 + default: *642 + '301': *454 '404': *6 - '410': *446 + '410': *451 '422': *15 x-github: githubCloudOnly: false @@ -88024,15 +88600,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '204': description: Response - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88051,9 +88627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - name: name in: path required: true @@ -88066,7 +88642,7 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: default: value: @@ -88077,9 +88653,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88099,9 +88675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: false content: @@ -88129,7 +88705,7 @@ paths: '204': description: Response '403': *29 - '410': *446 + '410': *451 '404': *6 '422': *15 x-github: @@ -88147,9 +88723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '204': description: Response @@ -88179,20 +88755,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 responses: '200': description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 - '301': *449 + default: *637 + '301': *454 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88209,9 +88785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - 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. @@ -88237,13 +88813,13 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88261,9 +88837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88295,16 +88871,16 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -88326,10 +88902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *435 - - *436 - - *633 - - *427 + - *440 + - *441 + - *638 + - *432 responses: '204': description: Response @@ -88358,9 +88934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88382,9 +88958,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88417,9 +88993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -88429,13 +89005,13 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *635 + default: *640 headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88463,9 +89039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88492,16 +89068,16 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *446 + '410': *451 '422': *15 '404': *6 x-github: @@ -88521,9 +89097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 requestBody: required: true content: @@ -88554,13 +89130,13 @@ paths: description: Response content: application/json: - schema: *191 + schema: *199 examples: - default: *632 + default: *637 '403': *29 '404': *6 '422': *7 - '503': *166 + '503': *167 x-github: triggersNotification: true githubCloudOnly: false @@ -88578,9 +89154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *435 - - *436 - - *633 + - *440 + - *441 + - *638 - *17 - *19 responses: @@ -88595,11 +89171,6 @@ paths: description: Timeline Event type: object anyOf: - - *638 - - *639 - - *640 - - *641 - - *642 - *643 - *644 - *645 @@ -88608,6 +89179,11 @@ paths: - *648 - *649 - *650 + - *651 + - *652 + - *653 + - *654 + - *655 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -88650,7 +89226,7 @@ paths: issue_url: type: string format: uri - author_association: *178 + author_association: *186 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -88660,9 +89236,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - event - actor @@ -88693,7 +89269,7 @@ paths: properties: type: type: string - issue: *191 + issue: *199 required: - event - created_at @@ -88893,7 +89469,7 @@ paths: type: string body_text: type: string - author_association: *178 + author_association: *186 required: - event - id @@ -88916,7 +89492,7 @@ paths: type: string comments: type: array - items: &670 + items: &675 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -89005,7 +89581,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *178 + author_association: *186 _links: type: object properties: @@ -89089,7 +89665,7 @@ paths: enum: - line - file - reactions: *179 + reactions: *187 body_html: type: string example: '"

comment body

"' @@ -89125,7 +89701,7 @@ paths: type: string comments: type: array - items: *553 + items: *558 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89156,8 +89732,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 required: - id @@ -89200,8 +89776,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 assignee: *4 required: - id @@ -89244,8 +89820,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 state_reason: type: string nullable: true @@ -89412,9 +89988,9 @@ paths: type: User site_admin: true headers: - Link: *40 + Link: *43 '404': *6 - '410': *446 + '410': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89431,8 +90007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -89442,7 +90018,7 @@ paths: application/json: schema: type: array - items: &651 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89492,7 +90068,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89508,8 +90084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -89545,9 +90121,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: &652 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -89581,9 +90157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *435 - - *436 - - &653 + - *440 + - *441 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -89595,9 +90171,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -89615,9 +90191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *435 - - *436 - - *653 + - *440 + - *441 + - *658 responses: '204': description: Response @@ -89637,8 +90213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -89648,11 +90224,11 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -89671,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -89708,9 +90284,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: - default: &654 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89742,8 +90318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89754,9 +90330,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: - default: *654 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -89773,8 +90349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89813,7 +90389,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *641 examples: default: value: @@ -89839,8 +90415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *435 - - *436 + - *440 + - *441 - name: name in: path required: true @@ -89866,8 +90442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -89903,8 +90479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '202': *39 '403': @@ -89932,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -89959,9 +90535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *435 - - *436 - - *529 + - *440 + - *441 + - *534 responses: '200': description: Response @@ -90023,8 +90599,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true required: - _links @@ -90106,8 +90682,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90172,8 +90748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90207,9 +90783,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *554 + schema: *559 examples: - default: *655 + default: *660 '204': description: Response when already merged '404': @@ -90234,8 +90810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90276,12 +90852,12 @@ paths: application/json: schema: type: array - items: &656 + items: &661 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 examples: default: value: @@ -90320,7 +90896,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -90337,8 +90913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90378,9 +90954,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90439,9 +91015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *435 - - *436 - - &658 + - *440 + - *441 + - &663 name: milestone_number description: The number that identifies the milestone. in: path @@ -90453,9 +91029,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -90472,9 +91048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 requestBody: required: false content: @@ -90512,9 +91088,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +91106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 responses: '204': description: Response @@ -90553,9 +91129,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: - - *435 - - *436 - - *658 + - *440 + - *441 + - *663 - *17 - *19 responses: @@ -90565,11 +91141,11 @@ paths: application/json: schema: type: array - items: *636 + items: *641 examples: - default: *637 + default: *642 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90586,12 +91162,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: - - *435 - - *436 - - *659 - - *660 - - *181 - - *661 + - *440 + - *441 + - *664 + - *665 + - *189 + - *666 - *17 - *19 responses: @@ -90601,11 +91177,11 @@ paths: application/json: schema: type: array - items: *204 + items: *212 examples: - default: *662 + default: *667 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90627,8 +91203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -90686,14 +91262,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: &663 + schema: &668 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -90818,7 +91394,7 @@ paths: - custom_404 - public examples: - default: &664 + default: &669 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90859,8 +91435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -90914,11 +91490,11 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *664 + default: *669 '422': *15 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90939,8 +91515,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91026,7 +91602,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91047,14 +91623,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response '422': *15 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91074,8 +91650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -91085,7 +91661,7 @@ paths: application/json: schema: type: array - items: &665 + items: &670 title: Page Build description: Page Build type: object @@ -91160,7 +91736,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91179,8 +91755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *435 - - *436 + - *440 + - *441 responses: '201': description: Response @@ -91225,16 +91801,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: &666 + default: &671 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91282,8 +91858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *435 - - *436 + - *440 + - *441 - name: build_id in: path required: true @@ -91294,9 +91870,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *670 examples: - default: *666 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91316,8 +91892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91422,9 +91998,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: - - *435 - - *436 - - &667 + - *440 + - *441 + - &672 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91482,11 +92058,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *435 - - *436 - - *667 + - *440 + - *441 + - *672 responses: - '204': *132 + '204': *133 '404': *6 x-github: githubCloudOnly: false @@ -91511,8 +92087,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -91743,7 +92319,7 @@ paths: description: Empty response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -91770,8 +92346,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Private vulnerability reporting status @@ -91808,10 +92384,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: - - *435 - - *436 + - *440 + - *441 responses: - '204': *132 + '204': *133 '422': *14 x-github: githubCloudOnly: false @@ -91830,10 +92406,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: - - *435 - - *436 + - *440 + - *441 responses: - '204': *132 + '204': *133 '422': *14 x-github: githubCloudOnly: false @@ -91854,8 +92430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: Indicates the state of the projects to return. in: query @@ -91876,7 +92452,7 @@ paths: application/json: schema: type: array - items: *364 + items: *369 examples: default: value: @@ -91912,11 +92488,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *40 + Link: *43 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -91939,8 +92515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -91966,13 +92542,13 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: - default: *445 + default: *450 '401': *25 '403': *29 '404': *6 - '410': *446 + '410': *451 '422': *7 x-github: githubCloudOnly: false @@ -91995,8 +92571,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -92004,7 +92580,7 @@ paths: application/json: schema: type: array - items: *378 + items: *383 examples: default: value: @@ -92035,8 +92611,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -92048,7 +92624,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *378 + items: *383 required: - properties examples: @@ -92098,8 +92674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *435 - - *436 + - *440 + - *441 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92159,11 +92735,11 @@ paths: application/json: schema: type: array - items: *558 + items: *563 examples: - default: *668 + default: *673 headers: - Link: *40 + Link: *43 '304': *37 '422': *15 x-github: @@ -92193,8 +92769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -92259,7 +92835,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &677 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -92370,8 +92946,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true active_lock_reason: type: string @@ -92416,7 +92992,7 @@ paths: nullable: true requested_teams: type: array - items: *402 + items: *407 nullable: true head: type: object @@ -92425,7 +93001,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: *4 @@ -92442,7 +93018,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *69 sha: type: string user: *4 @@ -92455,14 +93031,14 @@ paths: _links: type: object properties: - comments: *372 - commits: *372 - statuses: *372 - html: *372 - issue: *372 - review_comments: *372 - review_comment: *372 - self: *372 + comments: *377 + commits: *377 + statuses: *377 + html: *377 + issue: *377 + review_comments: *377 + review_comment: *377 + self: *377 required: - comments - commits @@ -92472,8 +93048,8 @@ paths: - review_comments - review_comment - self - author_association: *178 - auto_merge: *669 + author_association: *186 + auto_merge: *674 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92565,7 +93141,7 @@ paths: - merged_by - review_comments examples: - default: &673 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93092,8 +93668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *435 - - *436 + - *440 + - *441 - name: sort in: query required: false @@ -93112,7 +93688,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -93122,9 +93698,9 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: &675 + default: &680 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93176,7 +93752,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93201,17 +93777,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '200': description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: &671 + default: &676 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93286,9 +93862,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -93310,9 +93886,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: *671 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93328,9 +93904,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 responses: '204': description: Response @@ -93351,9 +93927,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 - 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. @@ -93379,11 +93955,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -93402,9 +93978,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: - - *435 - - *436 - - *190 + - *440 + - *441 + - *198 requestBody: required: true content: @@ -93436,16 +94012,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -93467,10 +94043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *435 - - *436 - - *190 - - *427 + - *440 + - *441 + - *198 + - *432 responses: '204': description: Response @@ -93513,9 +94089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *435 - - *436 - - &674 + - *440 + - *441 + - &679 name: pull_number description: The number that identifies the pull request. in: path @@ -93528,9 +94104,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '304': *37 '404': *6 '406': @@ -93538,8 +94114,8 @@ paths: content: application/json: schema: *3 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93565,9 +94141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -93609,9 +94185,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *677 examples: - default: *673 + default: *678 '422': *15 '403': *29 x-github: @@ -93633,9 +94209,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -93695,21 +94271,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93735,10 +94311,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: - - *435 - - *436 - - *674 - - *201 + - *440 + - *441 + - *679 + - *209 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -93748,7 +94324,7 @@ paths: enum: - asc - desc - - *181 + - *189 - *17 - *19 responses: @@ -93758,11 +94334,11 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: - default: *675 + default: *680 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93793,9 +94369,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -93900,7 +94476,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: example-for-a-multi-line-comment: value: @@ -93988,10 +94564,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: - - *435 - - *436 - - *674 - - *190 + - *440 + - *441 + - *679 + - *198 requestBody: required: true content: @@ -94013,7 +94589,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: default: value: @@ -94099,9 +94675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -94111,11 +94687,11 @@ paths: application/json: schema: type: array - items: *554 + items: *559 examples: - default: *676 + default: *681 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94143,9 +94719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -94155,7 +94731,7 @@ paths: application/json: schema: type: array - items: *567 + items: *572 examples: default: value: @@ -94171,10 +94747,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *40 + Link: *43 '422': *15 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94193,9 +94769,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 responses: '204': description: Response if pull request has been merged @@ -94218,9 +94794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -94331,9 +94907,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 responses: '200': description: Response @@ -94349,7 +94925,7 @@ paths: items: *4 teams: type: array - items: *269 + items: *276 required: - users - teams @@ -94390,7 +94966,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94408,9 +94984,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -94447,7 +95023,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -94983,9 +95559,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: true content: @@ -95019,7 +95595,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *563 examples: default: value: @@ -95524,9 +96100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 - *17 - *19 responses: @@ -95536,7 +96112,7 @@ paths: application/json: schema: type: array - items: &677 + items: &682 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -95605,7 +96181,7 @@ paths: type: string body_text: type: string - author_association: *178 + author_association: *186 required: - id - node_id @@ -95654,7 +96230,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95687,9 +96263,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: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -95775,9 +96351,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: &679 + default: &684 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95840,10 +96416,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: - - *435 - - *436 - - *674 - - &678 + - *440 + - *441 + - *679 + - &683 name: review_id description: The unique identifier of the review. in: path @@ -95855,9 +96431,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: &680 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95916,10 +96492,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -95942,7 +96518,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: default: value: @@ -96004,18 +96580,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 responses: '200': description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: *679 + default: *684 '422': *7 '404': *6 x-github: @@ -96042,10 +96618,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 - *17 - *19 responses: @@ -96124,13 +96700,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *178 + author_association: *186 _links: type: object properties: - self: *372 - html: *372 - pull_request: *372 + self: *377 + html: *377 + pull_request: *377 required: - self - html @@ -96139,7 +96715,7 @@ paths: type: string body_html: type: string - reactions: *179 + reactions: *187 side: description: The side of the first line of the range for a multi-line comment. @@ -96251,7 +96827,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -96280,10 +96856,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -96311,7 +96887,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: default: value: @@ -96374,10 +96950,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: - - *435 - - *436 - - *674 - - *678 + - *440 + - *441 + - *679 + - *683 requestBody: required: true content: @@ -96412,9 +96988,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *682 examples: - default: *680 + default: *685 '404': *6 '422': *7 '403': *29 @@ -96436,9 +97012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *435 - - *436 - - *674 + - *440 + - *441 + - *679 requestBody: required: false content: @@ -96501,8 +97077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *435 - - *436 + - *440 + - *441 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96515,9 +97091,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *686 examples: - default: &682 + default: &687 value: type: file encoding: base64 @@ -96559,8 +97135,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: - - *435 - - *436 + - *440 + - *441 - name: dir description: The alternate path to look for a README file in: path @@ -96580,9 +97156,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *686 examples: - default: *682 + default: *687 '404': *6 '422': *15 x-github: @@ -96604,8 +97180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -96615,7 +97191,7 @@ paths: application/json: schema: type: array - items: &683 + items: &688 title: Release description: A release. type: object @@ -96686,7 +97262,7 @@ paths: author: *4 assets: type: array - items: &684 + items: &689 title: Release Asset description: Data related to a release. type: object @@ -96761,7 +97337,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *179 + reactions: *187 required: - assets_url - upload_url @@ -96853,7 +97429,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -96873,8 +97449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -96950,9 +97526,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: &687 + default: &692 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97057,9 +97633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *435 - - *436 - - &685 + - *440 + - *441 + - &690 name: asset_id description: The unique identifier of the asset. in: path @@ -97071,9 +97647,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *689 examples: - default: &686 + default: &691 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 @@ -97108,7 +97684,7 @@ paths: type: User site_admin: false '404': *6 - '302': *569 + '302': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97124,9 +97700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *435 - - *436 - - *685 + - *440 + - *441 + - *690 requestBody: required: false content: @@ -97154,9 +97730,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *689 examples: - default: *686 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97172,9 +97748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *435 - - *436 - - *685 + - *440 + - *441 + - *690 responses: '204': description: Response @@ -97198,8 +97774,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -97284,16 +97860,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97310,8 +97886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *435 - - *436 + - *440 + - *441 - name: tag description: tag parameter in: path @@ -97324,9 +97900,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 '404': *6 x-github: githubCloudOnly: false @@ -97348,9 +97924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *435 - - *436 - - &688 + - *440 + - *441 + - &693 name: release_id description: The unique identifier of the release. in: path @@ -97364,9 +97940,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: *683 + schema: *688 examples: - default: *687 + default: *692 '401': description: Unauthorized x-github: @@ -97384,9 +97960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 requestBody: required: false content: @@ -97450,9 +98026,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *687 + default: *692 '404': description: Not Found if the discussion category name is invalid content: @@ -97473,9 +98049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 responses: '204': description: Response @@ -97495,9 +98071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - *17 - *19 responses: @@ -97507,7 +98083,7 @@ paths: application/json: schema: type: array - items: *684 + items: *689 examples: default: value: @@ -97544,7 +98120,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97589,9 +98165,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: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - name: name in: query required: true @@ -97617,7 +98193,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *689 examples: response-for-successful-upload: value: @@ -97672,9 +98248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 - 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. @@ -97698,11 +98274,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -97721,9 +98297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *435 - - *436 - - *688 + - *440 + - *441 + - *693 requestBody: required: true content: @@ -97753,16 +98329,16 @@ paths: description: Reaction exists content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '201': description: Reaction created content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -97784,10 +98360,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *435 - - *436 - - *688 - - *427 + - *440 + - *441 + - *693 + - *432 responses: '204': description: Response @@ -97811,9 +98387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *435 - - *436 - - *494 + - *440 + - *441 + - *499 - *17 - *19 responses: @@ -97829,8 +98405,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *141 - - &689 + - *142 + - &694 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97849,66 +98425,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *142 - - *689 - allOf: - *143 - - *689 + - *694 - allOf: - *144 - - *689 - - allOf: - - *690 - - *689 + - *694 - allOf: - *145 - - *689 + - *694 + - allOf: + - *695 + - *694 - allOf: - *146 - - *689 + - *694 - allOf: - *147 - - *689 + - *694 - allOf: - *148 - - *689 + - *694 - allOf: - *149 - - *689 + - *694 - allOf: - *150 - - *689 + - *694 - allOf: - *151 - - *689 + - *694 - allOf: - *152 - - *689 + - *694 - allOf: - *153 - - *689 + - *694 - allOf: - *154 - - *689 + - *694 - allOf: - *155 - - *689 + - *694 - allOf: - *156 - - *689 + - *694 - allOf: - *157 - - *689 + - *694 - allOf: - *158 - - *689 + - *694 - allOf: - *159 - - *689 + - *694 - allOf: - *160 - - *689 + - *694 + - allOf: + - *161 + - *694 + - allOf: + - *696 + - *694 examples: default: value: @@ -97947,8 +98526,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - name: includes_parents @@ -97959,7 +98538,7 @@ paths: schema: type: boolean default: true - - *691 + - *697 responses: '200': description: Response @@ -97967,7 +98546,7 @@ paths: application/json: schema: type: array - items: *161 + items: *162 examples: default: value: @@ -97998,7 +98577,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -98014,8 +98593,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 requestBody: description: Request body required: true @@ -98035,16 +98614,16 @@ paths: - tag - push default: branch - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *135 + items: *141 + conditions: *136 rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *698 required: - name - enforcement @@ -98075,9 +98654,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &701 + default: &707 value: id: 42 name: super cool ruleset @@ -98110,7 +98689,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -98124,12 +98703,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *435 - - *436 - - *693 - - *95 - - *694 - - *695 + - *440 + - *441 + - *699 + - *96 + - *700 + - *701 - *17 - *19 responses: @@ -98137,11 +98716,11 @@ paths: description: Response content: application/json: - schema: *696 + schema: *702 examples: - default: *697 + default: *703 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98160,19 +98739,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *435 - - *436 - - *698 + - *440 + - *441 + - *704 responses: '200': description: Response content: application/json: - schema: *699 + schema: *705 examples: - default: *700 + default: *706 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98198,8 +98777,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98219,11 +98798,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *701 + default: *707 '404': *6 - '500': *91 + '500': *40 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -98239,8 +98818,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98265,16 +98844,16 @@ paths: - branch - tag - push - enforcement: *139 + enforcement: *140 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *140 - conditions: *135 + items: *141 + conditions: *136 rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *698 examples: default: value: @@ -98302,11 +98881,11 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *701 + default: *707 '404': *6 - '500': *91 + '500': *40 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -98322,8 +98901,8 @@ paths: category: repos subcategory: rules parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98334,7 +98913,7 @@ paths: '204': description: Response '404': *6 - '500': *91 + '500': *40 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -98346,8 +98925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 - name: ruleset_id @@ -98363,11 +98942,11 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *387 + default: *392 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98384,8 +98963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *435 - - *436 + - *440 + - *441 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98403,7 +98982,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *393 examples: default: value: @@ -98436,7 +99015,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98458,21 +99037,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: - - *435 - - *436 - - *389 - - *390 - - *391 - - *392 - - *100 - - *19 - - *17 - - *702 - - *703 - - *393 + - *440 + - *441 - *394 - *395 - *396 + - *397 + - *101 + - *19 + - *17 + - *708 + - *709 + - *398 + - *399 + - *400 + - *401 responses: '200': description: Response @@ -98480,11 +99059,11 @@ paths: application/json: schema: type: array - items: &707 + items: &713 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -98492,15 +99071,15 @@ paths: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *704 - resolution: *705 + state: *710 + resolution: *711 resolved_at: type: string format: date-time @@ -98596,7 +99175,7 @@ paths: pull request. ' - oneOf: *706 + oneOf: *712 nullable: true has_more_locations: type: boolean @@ -98697,7 +99276,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98719,16 +99298,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: - - *435 - - *436 - - *523 - - *396 + - *440 + - *441 + - *528 + - *401 responses: '200': description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -98759,7 +99338,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98780,9 +99359,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 requestBody: required: true content: @@ -98790,8 +99369,8 @@ paths: schema: type: object properties: - state: *704 - resolution: *705 + state: *710 + resolution: *711 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -98809,7 +99388,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *713 examples: default: value: @@ -98862,7 +99441,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -98884,9 +99463,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: - - *435 - - *436 - - *523 + - *440 + - *441 + - *528 - *19 - *17 responses: @@ -98897,7 +99476,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &890 + items: &896 type: object properties: type: @@ -98923,12 +99502,6 @@ paths: example: commit details: oneOf: - - *708 - - *709 - - *710 - - *711 - - *712 - - *713 - *714 - *715 - *716 @@ -98936,6 +99509,12 @@ paths: - *718 - *719 - *720 + - *721 + - *722 + - *723 + - *724 + - *725 + - *726 examples: default: value: @@ -98995,11 +99574,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *40 + Link: *43 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99021,8 +99600,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99030,14 +99609,14 @@ paths: schema: type: object properties: - reason: &722 + reason: &728 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *721 + placeholder_id: *727 required: - reason - placeholder_id @@ -99054,7 +99633,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *728 expire_at: type: string format: date-time @@ -99077,7 +99656,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *166 + '503': *167 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -99097,13 +99676,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: - - *435 - - *436 + - *440 + - *441 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *166 + '503': *167 '200': description: Response content: @@ -99113,7 +99692,7 @@ paths: properties: incremental_scans: type: array - items: &723 + items: &729 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99139,15 +99718,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *723 + items: *729 backfill_scans: type: array - items: *723 + items: *729 custom_pattern_backfill_scans: type: array items: allOf: - - *723 + - *729 - type: object properties: pattern_name: @@ -99217,9 +99796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *435 - - *436 - - *100 + - *440 + - *441 + - *101 - name: sort description: The property to sort the results by. in: query @@ -99231,8 +99810,8 @@ paths: - updated - published default: created - - *98 - *99 + - *100 - 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)." @@ -99262,9 +99841,9 @@ paths: application/json: schema: type: array - items: *724 + items: *730 examples: - default: *725 + default: *731 '400': *14 '404': *6 x-github: @@ -99287,8 +99866,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99361,7 +99940,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 required: - login - type @@ -99448,9 +100027,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: &727 + default: &733 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -99683,8 +100262,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -99788,7 +100367,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: default: value: @@ -99935,17 +100514,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '200': description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: *727 + default: *733 '403': *29 '404': *6 x-github: @@ -99969,9 +100548,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 requestBody: required: true content: @@ -100044,7 +100623,7 @@ paths: login: type: string description: The username of the user credited. - type: *401 + type: *406 required: - login - type @@ -100130,17 +100709,17 @@ paths: description: Response content: application/json: - schema: *724 + schema: *730 examples: - default: *727 - add_credit: *727 + default: *733 + add_credit: *733 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *218 + schema: *226 examples: invalid_state_transition: value: @@ -100171,9 +100750,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '202': *39 '400': *14 @@ -100200,17 +100779,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: - - *435 - - *436 - - *726 + - *440 + - *441 + - *732 responses: '202': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 '400': *14 '422': *15 '403': *29 @@ -100236,8 +100815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -100314,7 +100893,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -100336,8 +100915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -100346,7 +100925,7 @@ paths: application/json: schema: type: array - items: &728 + items: &734 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -100359,7 +100938,7 @@ paths: - 1124 - -435 '202': *39 - '204': *132 + '204': *133 '422': description: Repository contains more than 10,000 commits x-github: @@ -100379,8 +100958,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -100429,7 +101008,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100456,8 +101035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -100531,7 +101110,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100553,8 +101132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -100708,8 +101287,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -100719,7 +101298,7 @@ paths: application/json: schema: type: array - items: *728 + items: *734 examples: default: value: @@ -100732,7 +101311,7 @@ paths: - - 0 - 2 - 21 - '204': *132 + '204': *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100752,8 +101331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *435 - - *436 + - *440 + - *441 - name: sha in: path required: true @@ -100807,7 +101386,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *735 examples: default: value: @@ -100861,8 +101440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -100874,9 +101453,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100894,14 +101473,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &730 + schema: &736 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -100969,8 +101548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: false content: @@ -100996,7 +101575,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *736 examples: default: value: @@ -101023,8 +101602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -101044,8 +101623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -101101,7 +101680,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101124,8 +101703,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: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101133,7 +101712,7 @@ paths: application/json: schema: type: array - items: &731 + items: &737 title: Tag protection description: Tag protection type: object @@ -101185,8 +101764,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: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101209,7 +101788,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *737 examples: default: value: @@ -101240,8 +101819,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: - - *435 - - *436 + - *440 + - *441 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101278,8 +101857,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *435 - - *436 + - *440 + - *441 - name: ref in: path required: true @@ -101315,8 +101894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *435 - - *436 + - *440 + - *441 - *17 - *19 responses: @@ -101326,11 +101905,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *347 + default: *352 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -101348,8 +101927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *435 - - *436 + - *440 + - *441 - *19 - *17 responses: @@ -101357,7 +101936,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &738 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -101369,7 +101948,7 @@ paths: required: - names examples: - default: &733 + default: &739 value: names: - octocat @@ -101392,8 +101971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101424,9 +102003,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *738 examples: - default: *733 + default: *739 '404': *6 '422': *7 x-github: @@ -101447,9 +102026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *435 - - *436 - - &734 + - *440 + - *441 + - &740 name: per description: The time frame to display results for. in: query @@ -101478,7 +102057,7 @@ paths: example: 128 clones: type: array - items: &735 + items: &741 title: Traffic type: object properties: @@ -101565,8 +102144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101656,8 +102235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *435 - - *436 + - *440 + - *441 responses: '200': description: Response @@ -101717,9 +102296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *435 - - *436 - - *734 + - *440 + - *441 + - *740 responses: '200': description: Response @@ -101738,7 +102317,7 @@ paths: example: 3782 views: type: array - items: *735 + items: *741 required: - uniques - count @@ -101815,8 +102394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *435 - - *436 + - *440 + - *441 requestBody: required: true content: @@ -101852,7 +102431,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *249 examples: default: value: @@ -102090,8 +102669,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102114,8 +102693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -102137,8 +102716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -102164,8 +102743,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *435 - - *436 + - *440 + - *441 - name: ref in: path required: true @@ -102257,9 +102836,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102300,7 +102879,7 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: default: value: @@ -102410,7 +102989,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &743 + - &749 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -102419,7 +102998,7 @@ paths: schema: type: string example: members - - &748 + - &754 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -102430,7 +103009,7 @@ paths: default: 1 format: int32 example: 1 - - &749 + - &755 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -102472,7 +103051,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &744 allOf: - type: object required: @@ -102547,7 +103126,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: &750 + meta: &756 type: object description: The metadata associated with the creation/updates to the user. @@ -102607,30 +103186,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &739 + '400': &745 description: Bad request content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '401': *737 - '403': &740 + schema: *742 + '401': *743 + '403': &746 description: Permission denied - '429': &741 + '429': &747 description: Too many requests content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '500': &742 + schema: *742 + '500': &748 description: Internal server error content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 + schema: *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102654,7 +103233,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &752 type: object required: - schemas @@ -102714,9 +103293,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *738 + schema: *744 examples: - group: &744 + group: &750 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -102735,13 +103314,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': *739 - '401': *737 - '403': *740 - '409': &747 + '400': *745 + '401': *743 + '403': *746 + '409': &753 description: Duplicate record detected - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102758,7 +103337,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: - - &745 + - &751 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -102766,22 +103345,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *743 + - *749 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *738 + schema: *744 examples: - default: *744 - '400': *739 - '401': *737 - '403': *740 + default: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102800,13 +103379,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: - - *745 + - *751 - *41 requestBody: required: true content: application/json: - schema: *746 + schema: *752 examples: group: summary: Group @@ -102832,17 +103411,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *738 + schema: *744 examples: - group: *744 - groupWithMembers: *744 - '400': *739 - '401': *737 - '403': *740 + group: *750 + groupWithMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102866,13 +103445,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: - - *745 + - *751 - *41 requestBody: required: true content: application/json: - schema: &757 + schema: &763 type: object required: - Operations @@ -102932,17 +103511,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *738 + schema: *744 examples: - updateGroup: *744 - addMembers: *744 - '400': *739 - '401': *737 - '403': *740 + updateGroup: *750 + addMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -102958,17 +103537,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: - - *745 + - *751 - *41 responses: '204': description: Group was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103002,8 +103581,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - - *749 + - *754 + - *755 - *41 responses: '200': @@ -103036,7 +103615,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &758 allOf: - type: object required: @@ -103115,7 +103694,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &751 + roles: &757 type: array description: The roles assigned to the user. items: @@ -103171,7 +103750,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *750 + meta: *756 startIndex: type: integer description: A starting index for the returned page @@ -103208,11 +103787,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *739 - '401': *737 - '403': *740 - '429': *741 - '500': *742 + '400': *745 + '401': *743 + '403': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103236,7 +103815,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &761 type: object required: - schemas @@ -103318,9 +103897,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *751 + roles: *757 examples: - user: &756 + user: &762 summary: User value: schemas: @@ -103367,9 +103946,9 @@ paths: description: User has been created content: application/scim+json: - schema: *752 + schema: *758 examples: - user: &753 + user: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103395,13 +103974,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: *753 - '400': *739 - '401': *737 - '403': *740 - '409': *747 - '429': *741 - '500': *742 + enterpriseOwner: *759 + '400': *745 + '401': *743 + '403': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103418,7 +103997,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: - - &754 + - &760 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -103431,15 +104010,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *752 + schema: *758 examples: - default: *753 - '400': *739 - '401': *737 - '403': *740 + default: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103461,30 +104040,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: - - *754 + - *760 - *41 requestBody: required: true content: application/json: - schema: *755 + schema: *761 examples: - user: *756 + user: *762 responses: '200': description: User was updated content: application/scim+json: - schema: *752 + schema: *758 examples: - user: *753 - '400': *739 - '401': *737 - '403': *740 + user: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103519,13 +104098,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: - - *754 + - *760 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *763 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -103565,18 +104144,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *752 + schema: *758 examples: - userMultiValuedProperties: *753 - userSingleValuedProperties: *753 - disableUser: *753 - '400': *739 - '401': *737 - '403': *740 + userMultiValuedProperties: *759 + userSingleValuedProperties: *759 + disableUser: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103596,17 +104175,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: - - *754 + - *760 - *41 responses: '204': description: User was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *741 - '500': *742 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103639,7 +104218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *76 + - *78 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -103693,7 +104272,7 @@ paths: example: 1 Resources: type: array - items: &758 + items: &764 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -103924,22 +104503,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &759 + '404': &765 description: Resource not found content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '403': &760 + schema: *742 + '403': &766 description: Forbidden content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '400': *739 - '429': *741 + schema: *742 + '400': *745 + '429': *747 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -103959,15 +104538,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *76 + - *78 responses: '201': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: &761 + default: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -103990,17 +104569,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *759 - '403': *760 - '500': *742 + '404': *765 + '403': *766 + '500': *748 '409': description: Conflict content: application/json: - schema: *736 + schema: *742 application/scim+json: - schema: *736 - '400': *739 + schema: *742 + '400': *745 requestBody: required: true content: @@ -104097,18 +104676,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: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 - '404': *759 - '403': *760 + default: *767 + '404': *765 + '403': *766 '304': *37 x-github: githubCloudOnly: true @@ -104131,19 +104710,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 + default: *767 '304': *37 - '404': *759 - '403': *760 + '404': *765 + '403': *766 requestBody: required: true content: @@ -104255,20 +104834,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: - - *76 - - *754 + - *78 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *764 examples: - default: *761 + default: *767 '304': *37 - '404': *759 - '403': *760 - '400': *739 + '404': *765 + '403': *766 + '400': *745 '429': description: Response content: @@ -104358,13 +104937,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: - - *76 - - *754 + - *78 + - *760 responses: '204': description: Response - '404': *759 - '403': *760 + '404': *765 + '403': *766 '304': *37 x-github: githubCloudOnly: true @@ -104479,7 +105058,7 @@ paths: html_url: type: string format: uri - repository: *241 + repository: *249 score: type: number file_size: @@ -104497,7 +105076,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &762 + text_matches: &768 title: Search Result Text Matches type: array items: @@ -104611,7 +105190,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *166 + '503': *167 '422': *15 '403': *29 x-github: @@ -104660,7 +105239,7 @@ paths: enum: - author-date - committer-date - - &763 + - &769 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 @@ -104731,7 +105310,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true comment_count: type: integer @@ -104751,7 +105330,7 @@ paths: url: type: string format: uri - verification: *613 + verification: *618 required: - author - committer @@ -104770,7 +105349,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *492 + properties: *497 nullable: true parents: type: array @@ -104783,12 +105362,12 @@ paths: type: string sha: type: string - repository: *241 + repository: *249 score: type: number node_id: type: string - text_matches: *762 + text_matches: *768 required: - sha - node_id @@ -104971,7 +105550,7 @@ paths: - interactions - created - updated - - *763 + - *769 - *17 - *19 - name: advanced_search @@ -105068,11 +105647,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: type: string state_reason: @@ -105089,8 +105668,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *370 - required: *371 + properties: *375 + required: *376 nullable: true comments: type: integer @@ -105104,7 +105683,7 @@ paths: type: string format: date-time nullable: true - text_matches: *762 + text_matches: *768 pull_request: type: object properties: @@ -105137,10 +105716,10 @@ paths: type: string score: type: number - author_association: *178 + author_association: *186 draft: type: boolean - repository: *67 + repository: *69 body_html: type: string body_text: @@ -105148,7 +105727,7 @@ paths: timeline_url: type: string format: uri - type: *330 + type: *337 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105158,9 +105737,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 - reactions: *179 + properties: *184 + required: *185 + reactions: *187 required: - assignee - closed_at @@ -105276,7 +105855,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *166 + '503': *167 '422': *15 '304': *37 '403': *29 @@ -105332,7 +105911,7 @@ paths: enum: - created - updated - - *763 + - *769 - *17 - *19 responses: @@ -105376,7 +105955,7 @@ paths: nullable: true score: type: number - text_matches: *762 + text_matches: *768 required: - id - node_id @@ -105462,7 +106041,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *769 - *17 - *19 responses: @@ -105681,8 +106260,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true permissions: type: object @@ -105701,7 +106280,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *768 temp_clone_token: type: string allow_merge_commit: @@ -105903,7 +106482,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *166 + '503': *167 '422': *15 '304': *37 x-github: @@ -106002,7 +106581,7 @@ paths: type: string format: uri nullable: true - text_matches: *762 + text_matches: *768 related: type: array nullable: true @@ -106195,7 +106774,7 @@ paths: - followers - repositories - joined - - *763 + - *769 - *17 - *19 responses: @@ -106299,7 +106878,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *762 + text_matches: *768 blog: type: string nullable: true @@ -106358,7 +106937,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *166 + '503': *167 '422': *15 x-github: githubCloudOnly: false @@ -106378,7 +106957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &767 + - &773 name: team_id description: The unique identifier of the team. in: path @@ -106390,9 +106969,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -106419,7 +106998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *767 + - *773 requestBody: required: true content: @@ -106482,16 +107061,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '201': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 '404': *6 '422': *15 '403': *29 @@ -106519,7 +107098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *767 + - *773 responses: '204': description: Response @@ -106550,8 +107129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *767 - - *100 + - *773 + - *101 - *17 - *19 responses: @@ -106561,11 +107140,11 @@ paths: application/json: schema: type: array - items: *418 + items: *423 examples: - default: *768 + default: *774 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106592,7 +107171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *767 + - *773 requestBody: required: true content: @@ -106626,9 +107205,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: triggersNotification: true githubCloudOnly: false @@ -106655,16 +107234,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 responses: '200': description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *419 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106689,8 +107268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 requestBody: required: false content: @@ -106713,9 +107292,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *423 examples: - default: *769 + default: *775 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106740,8 +107319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *767 - - *420 + - *773 + - *425 responses: '204': description: Response @@ -106770,9 +107349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *767 - - *420 - - *100 + - *773 + - *425 + - *101 - *17 - *19 responses: @@ -106782,11 +107361,11 @@ paths: application/json: schema: type: array - items: *421 + items: *426 examples: - default: *770 + default: *776 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,8 +107392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *767 - - *420 + - *773 + - *425 requestBody: required: true content: @@ -106836,9 +107415,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: triggersNotification: true githubCloudOnly: false @@ -106865,17 +107444,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106900,9 +107479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 requestBody: required: true content: @@ -106924,9 +107503,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *771 + default: *777 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106951,9 +107530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 responses: '204': description: Response @@ -106982,9 +107561,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: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 - 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. @@ -107010,11 +107589,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107041,9 +107620,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: - - *767 - - *420 - - *423 + - *773 + - *425 + - *428 requestBody: required: true content: @@ -107075,9 +107654,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107103,8 +107682,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: - - *767 - - *420 + - *773 + - *425 - 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. @@ -107130,11 +107709,11 @@ paths: application/json: schema: type: array - items: *424 + items: *429 examples: - default: *426 + default: *431 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107161,8 +107740,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: - - *767 - - *420 + - *773 + - *425 requestBody: required: true content: @@ -107194,9 +107773,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *429 examples: - default: *425 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107220,7 +107799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107230,11 +107809,11 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: - default: *328 + default: *335 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107258,7 +107837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *767 + - *773 - name: role description: Filters members returned by their role in the team. in: query @@ -107281,9 +107860,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107309,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: if user is a member @@ -107346,8 +107925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107386,8 +107965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107423,16 +108002,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: - - *767 - - *263 + - *773 + - *180 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *778 '404': *6 x-github: githubCloudOnly: false @@ -107465,8 +108044,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: - - *767 - - *263 + - *773 + - *180 requestBody: required: false content: @@ -107491,9 +108070,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *779 '403': description: Forbidden if team synchronization is set up '422': @@ -107527,8 +108106,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: - - *767 - - *263 + - *773 + - *180 responses: '204': description: Response @@ -107556,7 +108135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107566,11 +108145,11 @@ paths: application/json: schema: type: array - items: *433 + items: *438 examples: - default: *774 + default: *780 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107594,16 +108173,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: - - *767 - - *434 + - *773 + - *439 responses: '200': description: Response content: application/json: - schema: *433 + schema: *438 examples: - default: *775 + default: *781 '404': description: Not Found if project is not managed by this team x-github: @@ -107627,8 +108206,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: - - *767 - - *434 + - *773 + - *439 requestBody: required: false content: @@ -107695,8 +108274,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: - - *767 - - *434 + - *773 + - *439 responses: '204': description: Response @@ -107723,7 +108302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -107733,11 +108312,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -107765,15 +108344,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *776 + schema: *782 examples: alternative-response-with-extra-repository-information: value: @@ -107924,9 +108503,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 requestBody: required: false content: @@ -107976,9 +108555,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: - - *767 - - *435 - - *436 + - *773 + - *440 + - *441 responses: '204': description: Response @@ -108007,15 +108586,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: - - *767 + - *773 responses: '200': description: Response content: application/json: - schema: *437 + schema: *442 examples: - default: *438 + default: *443 '403': *29 '404': *6 x-github: @@ -108042,7 +108621,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: - - *767 + - *773 requestBody: required: true content: @@ -108099,7 +108678,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *442 examples: default: value: @@ -108130,7 +108709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *767 + - *773 - *17 - *19 responses: @@ -108140,11 +108719,11 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - response-if-child-teams-exist: *777 + response-if-child-teams-exist: *783 headers: - Link: *40 + Link: *43 '404': *6 '403': *29 '422': *15 @@ -108175,7 +108754,7 @@ paths: application/json: schema: oneOf: - - &779 + - &785 title: Private User description: Private User type: object @@ -108378,7 +108957,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *778 + - *784 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108531,7 +109110,7 @@ paths: description: Response content: application/json: - schema: *779 + schema: *785 examples: default: value: @@ -108610,7 +109189,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 '304': *37 '404': *6 '403': *29 @@ -108633,7 +109212,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: - - *263 + - *180 responses: '204': description: If the user is blocked @@ -108661,7 +109240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -108685,7 +109264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -108734,11 +109313,11 @@ paths: type: integer codespaces: type: array - items: *336 + items: *342 examples: - default: *337 + default: *343 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -108875,21 +109454,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 - '503': *166 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108929,7 +109508,7 @@ paths: type: integer secrets: type: array - items: &780 + items: &786 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108969,9 +109548,9 @@ paths: - visibility - selected_repositories_url examples: - default: *546 + default: *551 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109039,13 +109618,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: - - *251 + - *259 responses: '200': description: Response content: application/json: - schema: *780 + schema: *786 examples: default: value: @@ -109075,7 +109654,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: - - *251 + - *259 requestBody: required: true content: @@ -109120,7 +109699,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -109148,7 +109727,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: - - *251 + - *259 responses: '204': description: Response @@ -109173,7 +109752,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: - - *251 + - *259 responses: '200': description: Response @@ -109189,13 +109768,13 @@ paths: type: integer repositories: type: array - items: *241 + items: *249 examples: - default: *781 + default: *787 '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109216,7 +109795,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: - - *251 + - *259 requestBody: required: true content: @@ -109248,7 +109827,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109270,7 +109849,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: - - *251 + - *259 - name: repository_id in: path required: true @@ -109282,7 +109861,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109303,7 +109882,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: - - *251 + - *259 - name: repository_id in: path required: true @@ -109315,7 +109894,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *91 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109335,17 +109914,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109369,7 +109948,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: - - *338 + - *344 requestBody: required: false content: @@ -109399,9 +109978,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '401': *25 '403': *29 '404': *6 @@ -109423,11 +110002,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: - - *338 + - *344 responses: '202': *39 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109452,13 +110031,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: - - *338 + - *344 responses: '202': description: Response content: application/json: - schema: &782 + schema: &788 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109499,7 +110078,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &783 + default: &789 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109507,7 +110086,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109531,7 +110110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *338 + - *344 - name: export_id in: path required: true @@ -109544,9 +110123,9 @@ paths: description: Response content: application/json: - schema: *782 + schema: *788 examples: - default: *783 + default: *789 '404': *6 x-github: githubCloudOnly: false @@ -109567,7 +110146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *338 + - *344 responses: '200': description: Response @@ -109583,11 +110162,11 @@ paths: type: integer machines: type: array - items: *784 + items: *790 examples: - default: *785 + default: *791 '304': *37 - '500': *91 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -109614,7 +110193,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: - - *338 + - *344 requestBody: required: true content: @@ -109664,13 +110243,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *448 + repository: *453 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *544 - required: *545 + properties: *549 + required: *550 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -110444,17 +111023,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 + default: *548 '304': *37 - '500': *91 + '500': *40 '400': *14 '401': *25 '402': @@ -110464,7 +111043,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *108 + '409': *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110484,16 +111063,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: - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *336 + schema: *342 examples: - default: *543 - '500': *91 + default: *548 + '500': *40 '401': *25 '403': *29 '404': *6 @@ -110522,9 +111101,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: &797 + default: &803 value: - id: 197 name: hello_docker @@ -110625,7 +111204,7 @@ paths: application/json: schema: type: array - items: &786 + items: &792 title: Email description: Email type: object @@ -110690,16 +111269,16 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: - default: &799 + default: &805 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -110767,7 +111346,7 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: default: value: @@ -110877,9 +111456,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -110910,9 +111489,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -110932,7 +111511,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: - - *263 + - *180 responses: '204': description: if the person is followed by the authenticated user @@ -110962,7 +111541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -110987,7 +111566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *263 + - *180 responses: '204': description: Response @@ -111023,7 +111602,7 @@ paths: application/json: schema: type: array - items: &787 + items: &793 title: GPG Key description: A unique encryption key type: object @@ -111154,7 +111733,7 @@ paths: - subkeys - revoked examples: - default: &817 + default: &823 value: - id: 3 name: Octocat's GPG Key @@ -111186,7 +111765,7 @@ paths: revoked: false raw_key: string headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -111239,9 +111818,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *793 examples: - default: &788 + default: &794 value: id: 3 name: Octocat's GPG Key @@ -111298,7 +111877,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: - - &789 + - &795 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111310,9 +111889,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *793 examples: - default: *788 + default: *794 '404': *6 '304': *37 '403': *29 @@ -111335,7 +111914,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: - - *789 + - *795 responses: '204': description: Response @@ -111478,7 +112057,7 @@ paths: suspended_at: suspended_by: headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -111524,11 +112103,11 @@ paths: type: string repositories: type: array - items: *67 + items: *69 examples: - default: *236 + default: *244 headers: - Link: *40 + Link: *43 '404': *6 '403': *29 '304': *37 @@ -111551,7 +112130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *235 + - *243 responses: '204': description: Response @@ -111577,7 +112156,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *235 + - *243 responses: '204': description: Response @@ -111611,12 +112190,12 @@ paths: application/json: schema: anyOf: - - *325 + - *332 - type: object properties: {} additionalProperties: false examples: - default: *326 + default: *333 '204': description: Response when there are no restrictions x-github: @@ -111640,7 +112219,7 @@ paths: required: true content: application/json: - schema: *624 + schema: *629 examples: default: value: @@ -111651,7 +112230,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -111732,7 +112311,7 @@ paths: - closed - all default: open - - *333 + - *340 - name: sort description: What to sort results by. in: query @@ -111744,8 +112323,8 @@ paths: - updated - comments default: created - - *100 - - *181 + - *101 + - *189 - *17 - *19 responses: @@ -111755,11 +112334,11 @@ paths: application/json: schema: type: array - items: *191 + items: *199 examples: - default: *334 + default: *341 headers: - Link: *40 + Link: *43 '404': *6 '304': *37 x-github: @@ -111790,7 +112369,7 @@ paths: application/json: schema: type: array - items: &790 + items: &796 title: Key description: Key type: object @@ -111841,7 +112420,7 @@ paths: verified: false read_only: false headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -111891,9 +112470,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *796 examples: - default: &791 + default: &797 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111926,15 +112505,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: - - *653 + - *658 responses: '200': description: Response content: application/json: - schema: *790 + schema: *796 examples: - default: *791 + default: *797 '404': *6 '304': *37 '403': *29 @@ -111957,7 +112536,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: - - *653 + - *658 responses: '204': description: Response @@ -111990,7 +112569,7 @@ paths: application/json: schema: type: array - items: &792 + items: &798 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112047,7 +112626,7 @@ paths: - id - type - login - plan: *195 + plan: *203 required: - billing_cycle - next_billing_date @@ -112058,7 +112637,7 @@ paths: - account - plan examples: - default: &793 + default: &799 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112091,7 +112670,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *40 + Link: *43 '304': *37 '401': *25 '404': *6 @@ -112120,11 +112699,11 @@ paths: application/json: schema: type: array - items: *792 + items: *798 examples: - default: *793 + default: *799 headers: - Link: *40 + Link: *43 '304': *37 '401': *25 x-github: @@ -112162,7 +112741,7 @@ paths: application/json: schema: type: array - items: *339 + items: *345 examples: default: value: @@ -112239,7 +112818,7 @@ paths: type: User site_admin: false headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -112264,13 +112843,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: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: default: value: @@ -112328,7 +112907,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: - - *76 + - *78 requestBody: required: true content: @@ -112353,7 +112932,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *345 examples: default: value: @@ -112421,7 +113000,7 @@ paths: application/json: schema: type: array - items: *341 + items: *347 examples: default: value: @@ -112574,7 +113153,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -112674,7 +113253,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -112854,7 +113433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *348 - name: exclude in: query required: false @@ -112867,7 +113446,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *347 examples: default: value: @@ -113061,7 +113640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *348 responses: '302': description: Response @@ -113087,7 +113666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *348 responses: '204': description: Response @@ -113116,8 +113695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *794 + - *348 + - *800 responses: '204': description: Response @@ -113141,7 +113720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *342 + - *348 - *17 - *19 responses: @@ -113151,11 +113730,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '404': *6 x-github: githubCloudOnly: false @@ -113188,11 +113767,11 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: *795 + default: *801 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -113232,7 +113811,7 @@ paths: - docker - nuget - container - - *796 + - *802 - *19 - *17 responses: @@ -113242,10 +113821,10 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 - '400': *798 + default: *803 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113265,16 +113844,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: - - *350 - - *351 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: &818 + default: &824 value: id: 40201 name: octo-name @@ -113387,8 +113966,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: - - *350 - - *351 + - *355 + - *356 responses: '204': description: Response @@ -113418,8 +113997,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: - - *350 - - *351 + - *355 + - *356 - name: token description: package token schema: @@ -113451,8 +114030,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: - - *350 - - *351 + - *355 + - *356 - *19 - *17 - name: state @@ -113472,7 +114051,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -113521,15 +114100,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -113565,9 +114144,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '204': description: Response @@ -113597,9 +114176,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: - - *350 - - *351 - - *353 + - *355 + - *356 + - *358 responses: '204': description: Response @@ -113655,7 +114234,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *369 examples: default: value: @@ -113727,11 +114306,11 @@ paths: application/json: schema: type: array - items: *786 + items: *792 examples: - default: *799 + default: *805 headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -113840,9 +114419,9 @@ paths: application/json: schema: type: array - items: *67 + items: *69 examples: - default: &806 + default: &812 summary: Default response value: - id: 1296269 @@ -113963,7 +114542,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '422': *15 '304': *37 '403': *29 @@ -114146,9 +114725,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *450 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114186,11 +114765,11 @@ paths: application/json: schema: type: array - items: *626 + items: *631 examples: - default: *800 + default: *806 headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114211,12 +114790,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *329 + - *336 responses: '204': description: Response '403': *29 - '409': *108 + '409': *109 '404': *6 '304': *37 x-github: @@ -114234,11 +114813,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *329 + - *336 responses: '204': description: Response - '409': *108 + '409': *109 '304': *37 '404': *6 '403': *29 @@ -114267,7 +114846,7 @@ paths: application/json: schema: type: array - items: &801 + items: &807 title: Social account description: Social media account type: object @@ -114282,12 +114861,12 @@ paths: - provider - url examples: - default: &802 + default: &808 value: - provider: twitter url: https://twitter.com/github headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114344,9 +114923,9 @@ paths: application/json: schema: type: array - items: *801 + items: *807 examples: - default: *802 + default: *808 '422': *15 '304': *37 '404': *6 @@ -114433,7 +115012,7 @@ paths: application/json: schema: type: array - items: &803 + items: &809 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114453,7 +115032,7 @@ paths: - title - created_at examples: - default: &819 + default: &825 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114466,7 +115045,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -114519,9 +115098,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *809 examples: - default: &804 + default: &810 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114552,7 +115131,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: - - &805 + - &811 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114564,9 +115143,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *809 examples: - default: *804 + default: *810 '404': *6 '304': *37 '403': *29 @@ -114589,7 +115168,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: - - *805 + - *811 responses: '204': description: Response @@ -114618,7 +115197,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: - - &820 + - &826 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 @@ -114631,7 +115210,7 @@ paths: - created - updated default: created - - *100 + - *101 - *17 - *19 responses: @@ -114641,13 +115220,13 @@ paths: application/json: schema: type: array - items: *67 + items: *69 examples: - default-response: *806 + default-response: *812 application/vnd.github.v3.star+json: schema: type: array - items: &821 + items: &827 title: Starred Repository description: Starred Repository type: object @@ -114655,7 +115234,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *69 required: - starred_at - repo @@ -114783,7 +115362,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -114803,8 +115382,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response if this repository is starred by you @@ -114832,8 +115411,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -114857,8 +115436,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: - - *435 - - *436 + - *440 + - *441 responses: '204': description: Response @@ -114891,11 +115470,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -114930,7 +115509,7 @@ paths: application/json: schema: type: array - items: *416 + items: *421 examples: default: value: @@ -114981,7 +115560,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *40 + Link: *43 '304': *37 '404': *6 '403': *29 @@ -115008,7 +115587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *197 + - *205 responses: '200': description: Response @@ -115016,10 +115595,10 @@ paths: application/json: schema: oneOf: - - *779 - - *778 + - *785 + - *784 examples: - default-response: &812 + default-response: &818 summary: Default response value: login: octocat @@ -115054,7 +115633,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &813 + response-with-git-hub-plan-information: &819 summary: Response with GitHub plan information value: login: octocat @@ -115114,7 +115693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *807 + - *813 - *17 responses: '200': @@ -115125,7 +115704,7 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: Link: example: ; rel="next" @@ -115148,8 +115727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *367 - - &808 + - *372 + - &814 name: user_id description: The unique identifier of the user. in: path @@ -115161,11 +115740,11 @@ paths: description: Response content: application/json: - schema: *365 + schema: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115185,11 +115764,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *367 - - *808 + - *372 + - *814 - *17 - - *98 - *99 + - *100 responses: '200': description: Response @@ -115197,11 +115776,11 @@ paths: application/json: schema: type: array - items: *368 + items: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115221,19 +115800,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *367 - - *809 - - *808 + - *372 + - *815 + - *814 responses: '200': description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *369 + default: *374 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115254,10 +115833,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: - - *367 - - *808 - - *98 + - *372 + - *814 - *99 + - *100 - *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) @@ -115284,11 +115863,11 @@ paths: application/json: schema: type: array - items: *374 + items: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115307,8 +115886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *808 - - *367 + - *814 + - *372 requestBody: required: true description: Details of the item to add to the project. @@ -115345,9 +115924,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *816 examples: - default: *811 + default: *817 '304': *37 '403': *29 '401': *25 @@ -115367,9 +115946,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: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -115386,11 +115965,11 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -115409,9 +115988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -115481,9 +116060,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *375 + default: *380 '401': *25 '403': *29 '404': *6 @@ -115503,9 +116082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *367 - - *808 - - *376 + - *372 + - *814 + - *381 responses: '204': description: Response @@ -115534,7 +116113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *263 + - *180 responses: '200': description: Response @@ -115542,11 +116121,11 @@ paths: application/json: schema: oneOf: - - *779 - - *778 + - *785 + - *784 examples: - default-response: *812 - response-with-git-hub-plan-information: *813 + default-response: *818 + response-with-git-hub-plan-information: *819 '404': *6 x-github: githubCloudOnly: false @@ -115570,9 +116149,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *98 - *99 - - *263 + - *100 + - *180 requestBody: required: true content: @@ -115595,8 +116174,8 @@ paths: required: - subject_digests examples: - default: *814 - withPredicateType: *815 + default: *820 + withPredicateType: *821 responses: '200': description: Response @@ -115649,7 +116228,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *816 + default: *822 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115667,7 +116246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *263 + - *180 requestBody: required: true content: @@ -115732,7 +116311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *263 + - *180 - name: subject_digest description: Subject Digest in: path @@ -115763,7 +116342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *263 + - *180 - name: attestation_id description: Attestation ID in: path @@ -115799,9 +116378,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *98 - *99 - - *263 + - *100 + - *180 - name: subject_digest description: Subject Digest in: path @@ -115851,12 +116430,12 @@ paths: bundle_url: type: string examples: - default: *488 + default: *493 '201': description: Response content: application/json: - schema: *252 + schema: *260 examples: default: value: @@ -115882,7 +116461,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: - - *263 + - *180 responses: '200': description: Response @@ -115890,9 +116469,9 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 + default: *803 '403': *29 '401': *25 x-github: @@ -115915,7 +116494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -115925,7 +116504,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -115996,8 +116575,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: - - *263 - - *76 + - *180 + - *78 - *17 - *19 responses: @@ -116007,7 +116586,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -116086,7 +116665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116096,7 +116675,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -116163,7 +116742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116175,9 +116754,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116194,7 +116773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116206,9 +116785,9 @@ paths: type: array items: *4 examples: - default: *335 + default: *179 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116225,7 +116804,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: - - *263 + - *180 - name: target_user in: path required: true @@ -116252,8 +116831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *263 - - *181 + - *180 + - *189 - *17 - *19 responses: @@ -116263,11 +116842,11 @@ paths: application/json: schema: type: array - items: *182 + items: *190 examples: - default: *183 + default: *191 headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -116286,7 +116865,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: - - *263 + - *180 - *17 - *19 responses: @@ -116296,11 +116875,11 @@ paths: application/json: schema: type: array - items: *787 + items: *793 examples: - default: *817 + default: *823 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116322,7 +116901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *263 + - *180 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116394,7 +116973,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: - - *263 + - *180 responses: '200': description: Response @@ -116402,7 +116981,7 @@ paths: application/json: schema: *22 examples: - default: *623 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116420,7 +116999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116455,7 +117034,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116475,7 +117054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -116485,11 +117064,11 @@ paths: application/json: schema: type: array - items: *62 + items: *64 examples: - default: *795 + default: *801 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116526,8 +117105,8 @@ paths: - docker - nuget - container - - *796 - - *263 + - *802 + - *180 - *19 - *17 responses: @@ -116537,12 +117116,12 @@ paths: application/json: schema: type: array - items: *348 + items: *353 examples: - default: *797 + default: *803 '403': *29 '401': *25 - '400': *798 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116562,17 +117141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '200': description: Response content: application/json: - schema: *348 + schema: *353 examples: - default: *818 + default: *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116593,9 +117172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '204': description: Response @@ -116627,9 +117206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 - name: token description: package token schema: @@ -116661,9 +117240,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: - - *350 - - *351 - - *263 + - *355 + - *356 + - *180 responses: '200': description: Response @@ -116671,7 +117250,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -116729,16 +117308,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: - - *350 - - *351 - - *353 - - *263 + - *355 + - *356 + - *358 + - *180 responses: '200': description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -116773,10 +117352,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *350 - - *351 - - *263 - - *353 + - *355 + - *356 + - *180 + - *358 responses: '204': description: Response @@ -116808,10 +117387,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *350 - - *351 - - *263 - - *353 + - *355 + - *356 + - *180 + - *358 responses: '204': description: Response @@ -116837,7 +117416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *263 + - *180 - name: state description: Indicates the state of the projects to return. in: query @@ -116858,7 +117437,7 @@ paths: application/json: schema: type: array - items: *364 + items: *369 examples: default: value: @@ -116894,7 +117473,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *40 + Link: *43 '422': *15 x-github: githubCloudOnly: false @@ -116916,15 +117495,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *263 + - *180 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *98 - *99 + - *100 - *17 responses: '200': @@ -116933,11 +117512,11 @@ paths: application/json: schema: type: array - items: *365 + items: *370 examples: - default: *366 + default: *371 headers: - Link: *40 + Link: *43 '304': *37 '403': *29 '401': *25 @@ -116962,7 +117541,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: - - *263 + - *180 - *17 - *19 responses: @@ -116972,7 +117551,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -117051,7 +117630,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: - - *263 + - *180 - *17 - *19 responses: @@ -117061,7 +117640,7 @@ paths: application/json: schema: type: array - items: *203 + items: *211 examples: default: value: @@ -117138,7 +117717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *263 + - *180 - name: type description: Limit results to repositories of the specified type. in: query @@ -117181,11 +117760,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117207,15 +117786,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117237,15 +117816,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *408 + schema: *413 examples: - default: *409 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117267,15 +117846,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: - - *263 + - *180 responses: '200': description: Response content: application/json: - schema: *410 + schema: *415 examples: - default: *411 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117295,11 +117874,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: - - *263 - - *210 - - *211 - - *212 - - *213 + - *180 + - *218 + - *219 + - *220 + - *221 responses: '200': description: Response when getting a billing usage report @@ -117369,8 +117948,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *91 - '503': *166 + '500': *40 + '503': *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117388,7 +117967,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: - - *263 + - *180 - *17 - *19 responses: @@ -117398,11 +117977,11 @@ paths: application/json: schema: type: array - items: *801 + items: *807 examples: - default: *802 + default: *808 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117420,7 +117999,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: - - *263 + - *180 - *17 - *19 responses: @@ -117430,11 +118009,11 @@ paths: application/json: schema: type: array - items: *803 + items: *809 examples: - default: *819 + default: *825 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117456,9 +118035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *263 - - *820 - - *100 + - *180 + - *826 + - *101 - *17 - *19 responses: @@ -117469,13 +118048,13 @@ paths: schema: anyOf: - type: array - items: *821 + items: *827 - type: array - items: *67 + items: *69 examples: - default-response: *806 + default-response: *812 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117492,7 +118071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *263 + - *180 - *17 - *19 responses: @@ -117502,11 +118081,11 @@ paths: application/json: schema: type: array - items: *241 + items: *249 examples: - default: *354 + default: *359 headers: - Link: *40 + Link: *43 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117632,7 +118211,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &822 + enterprise: &828 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117690,7 +118269,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &823 + installation: &829 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117709,7 +118288,7 @@ x-webhooks: required: - id - node_id - organization: &824 + organization: &830 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117769,13 +118348,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &825 + repository: &831 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &862 + properties: &868 id: description: Unique identifier of the repository example: 42 @@ -117795,8 +118374,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *200 + required: *201 nullable: true organization: title: Simple User @@ -118458,7 +119037,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &863 + required: &869 - archive_url - assignees_url - blobs_url @@ -118609,10 +119188,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -118688,11 +119267,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: &826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: &832 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) @@ -118915,11 +119494,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: *826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: *832 sender: *4 required: - action @@ -119102,11 +119681,11 @@ x-webhooks: - everyone required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - rule: *826 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + rule: *832 sender: *4 required: - action @@ -119177,7 +119756,7 @@ x-webhooks: required: true content: application/json: - schema: &829 + schema: &835 title: Exemption request cancellation event type: object properties: @@ -119185,11 +119764,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: &827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: &833 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -119422,7 +120001,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &828 + items: &834 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -119530,7 +120109,7 @@ x-webhooks: required: true content: application/json: - schema: &830 + schema: &836 title: Exemption request completed event type: object properties: @@ -119538,11 +120117,11 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 sender: *4 required: - action @@ -119612,7 +120191,7 @@ x-webhooks: required: true content: application/json: - schema: &831 + schema: &837 title: Exemption request created event type: object properties: @@ -119620,11 +120199,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 sender: *4 required: - action @@ -119694,7 +120273,7 @@ x-webhooks: required: true content: application/json: - schema: &832 + schema: &838 title: Exemption response dismissed event type: object properties: @@ -119702,12 +120281,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 - exemption_response: *828 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 + exemption_response: *834 sender: *4 required: - action @@ -119779,7 +120358,7 @@ x-webhooks: required: true content: application/json: - schema: &833 + schema: &839 title: Exemption response submitted event type: object properties: @@ -119787,12 +120366,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - exemption_request: *827 - exemption_response: *828 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + exemption_request: *833 + exemption_response: *834 sender: *4 required: - action @@ -119865,7 +120444,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119932,7 +120511,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -119999,7 +120578,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120066,7 +120645,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120134,7 +120713,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120212,7 +120791,7 @@ x-webhooks: type: string enum: - completed - check_run: &835 + check_run: &841 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120265,8 +120844,8 @@ x-webhooks: type: string pull_requests: type: array - items: *505 - repository: *241 + items: *510 + repository: *249 status: example: completed type: string @@ -120303,7 +120882,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *834 + deployment: *840 details_url: example: https://example.com type: string @@ -120353,7 +120932,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *505 + items: *510 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -120388,10 +120967,10 @@ x-webhooks: - output - app - pull_requests - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -120784,11 +121363,11 @@ x-webhooks: type: string enum: - created - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -121184,11 +121763,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 requested_action: description: The action requested by the user. type: object @@ -121593,11 +122172,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *835 - installation: *823 - enterprise: *822 - organization: *824 - repository: *825 + check_run: *841 + installation: *829 + enterprise: *828 + organization: *830 + repository: *831 sender: *4 required: - check_run @@ -122574,10 +123153,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -123247,10 +123826,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -123914,10 +124493,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -124080,7 +124659,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124225,20 +124804,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &836 + commit_oid: &842 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: *822 - installation: *823 - organization: *824 - ref: &837 + enterprise: *828 + installation: *829 + organization: *830 + ref: &843 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: *825 + repository: *831 sender: *4 required: - action @@ -124400,7 +124979,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124630,12 +125209,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -124730,7 +125309,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124898,12 +125477,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -125066,7 +125645,7 @@ x-webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125232,12 +125811,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -125334,7 +125913,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125502,16 +126081,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *825 + repository: *831 sender: *4 required: - action @@ -125605,7 +126184,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *518 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125745,12 +126324,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *836 - enterprise: *822 - installation: *823 - organization: *824 - ref: *837 - repository: *825 + commit_oid: *842 + enterprise: *828 + installation: *829 + organization: *830 + ref: *843 + repository: *831 sender: *4 required: - action @@ -126007,10 +126586,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -126090,18 +126669,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *824 - pusher_type: &838 + organization: *830 + pusher_type: &844 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &839 + ref: &845 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126111,7 +126690,7 @@ x-webhooks: enum: - tag - branch - repository: *825 + repository: *831 sender: *4 required: - ref @@ -126193,10 +126772,10 @@ x-webhooks: type: string enum: - created - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126281,9 +126860,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126360,10 +126939,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126440,10 +127019,10 @@ x-webhooks: type: string enum: - updated - definition: *128 - enterprise: *822 - installation: *823 - organization: *824 + definition: *129 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -126520,19 +127099,19 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - repository: *825 - organization: *824 + enterprise: *828 + installation: *829 + repository: *831 + organization: *830 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *378 + items: *383 old_property_values: type: array description: The old custom property values for the repository. - items: *378 + items: *383 required: - action - repository @@ -126608,18 +127187,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - pusher_type: *838 - ref: *839 + enterprise: *828 + installation: *829 + organization: *830 + pusher_type: *844 + ref: *845 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *825 + repository: *831 sender: *4 required: - ref @@ -126703,11 +127282,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126791,11 +127370,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126879,11 +127458,11 @@ x-webhooks: type: string enum: - created - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -126965,11 +127544,11 @@ x-webhooks: type: string enum: - dismissed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127051,11 +127630,11 @@ x-webhooks: type: string enum: - fixed - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127138,11 +127717,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127224,11 +127803,11 @@ x-webhooks: type: string enum: - reopened - alert: *573 - installation: *823 - organization: *824 - enterprise: *822 - repository: *825 + alert: *578 + installation: *829 + organization: *830 + enterprise: *828 + repository: *831 sender: *4 required: - action @@ -127305,9 +127884,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - key: &840 + enterprise: *828 + installation: *829 + key: &846 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127343,8 +127922,8 @@ x-webhooks: - verified - created_at - read_only - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -127421,11 +128000,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - key: *840 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + key: *846 + organization: *830 + repository: *831 sender: *4 required: - action @@ -127986,12 +128565,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: &844 + workflow: &850 title: Workflow type: object nullable: true @@ -128717,13 +129296,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *579 + deployment: *584 pull_requests: type: array - items: *672 - repository: *825 - organization: *824 - installation: *823 + items: *677 + repository: *831 + organization: *830 + installation: *829 sender: *4 responses: '200': @@ -128794,7 +129373,7 @@ x-webhooks: type: string enum: - approved - approver: &841 + approver: &847 type: object properties: avatar_url: @@ -128837,11 +129416,11 @@ x-webhooks: type: string comment: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - reviewers: &842 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + reviewers: &848 type: array items: type: object @@ -128920,7 +129499,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &843 + workflow_job_run: &849 type: object properties: conclusion: @@ -129651,18 +130230,18 @@ x-webhooks: type: string enum: - rejected - approver: *841 + approver: *847 comment: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - reviewers: *842 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + reviewers: *848 sender: *4 since: type: string - workflow_job_run: *843 + workflow_job_run: *849 workflow_job_runs: type: array items: @@ -130366,13 +130945,13 @@ x-webhooks: type: string enum: - requested - enterprise: *822 + enterprise: *828 environment: type: string - installation: *823 - organization: *824 - repository: *825 - requestor: &849 + installation: *829 + organization: *830 + repository: *831 + requestor: &855 title: User type: object nullable: true @@ -132271,12 +132850,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Deployment Workflow Run type: object @@ -132956,7 +133535,7 @@ x-webhooks: type: string enum: - answered - answer: &847 + answer: &853 type: object properties: author_association: @@ -133113,7 +133692,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &845 + discussion: &851 title: Discussion description: A Discussion in a repository. type: object @@ -133399,7 +133978,7 @@ x-webhooks: - id labels: type: array - items: *636 + items: *641 required: - repository_url - category @@ -133421,10 +134000,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133551,11 +134130,11 @@ x-webhooks: - from required: - category - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133638,11 +134217,11 @@ x-webhooks: type: string enum: - closed - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133724,7 +134303,7 @@ x-webhooks: type: string enum: - created - comment: &846 + comment: &852 type: object properties: author_association: @@ -133881,11 +134460,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -133968,12 +134547,12 @@ x-webhooks: type: string enum: - deleted - comment: *846 - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + comment: *852 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134068,12 +134647,12 @@ x-webhooks: - from required: - body - comment: *846 - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + comment: *852 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134157,11 +134736,11 @@ x-webhooks: type: string enum: - created - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134243,11 +134822,11 @@ x-webhooks: type: string enum: - deleted - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134347,11 +134926,11 @@ x-webhooks: type: string required: - from - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134433,10 +135012,10 @@ x-webhooks: type: string enum: - labeled - discussion: *845 - enterprise: *822 - installation: *823 - label: &848 + discussion: *851 + enterprise: *828 + installation: *829 + label: &854 title: Label type: object properties: @@ -134468,8 +135047,8 @@ x-webhooks: - color - default - description - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134552,11 +135131,11 @@ x-webhooks: type: string enum: - locked - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134638,11 +135217,11 @@ x-webhooks: type: string enum: - pinned - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134724,11 +135303,11 @@ x-webhooks: type: string enum: - reopened - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134813,16 +135392,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *845 - new_repository: *825 + new_discussion: *851 + new_repository: *831 required: - new_discussion - new_repository - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134905,10 +135484,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *845 - old_answer: *847 - organization: *824 - repository: *825 + discussion: *851 + old_answer: *853 + organization: *830 + repository: *831 sender: *4 required: - action @@ -134990,12 +135569,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *845 - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135078,11 +135657,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135164,11 +135743,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *845 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + discussion: *851 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -135237,7 +135816,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135300,7 +135879,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135366,7 +135945,7 @@ x-webhooks: required: true content: application/json: - schema: *829 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135432,7 +136011,7 @@ x-webhooks: required: true content: application/json: - schema: *830 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135498,7 +136077,7 @@ x-webhooks: required: true content: application/json: - schema: *831 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135564,7 +136143,7 @@ x-webhooks: required: true content: application/json: - schema: *832 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135630,7 +136209,7 @@ x-webhooks: required: true content: application/json: - schema: *833 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135697,7 +136276,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *822 + enterprise: *828 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -136357,9 +136936,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *823 - organization: *824 - repository: *825 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - forkee @@ -136505,9 +137084,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pages: description: The pages that were updated. type: array @@ -136544,7 +137123,7 @@ x-webhooks: - action - sha - html_url - repository: *825 + repository: *831 sender: *4 required: - pages @@ -136620,10 +137199,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: &850 + organization: *830 + repositories: &856 description: An array of repository objects that the installation can access. type: array @@ -136649,8 +137228,8 @@ x-webhooks: - name - full_name - private - repository: *825 - requester: *849 + repository: *831 + requester: *855 sender: *4 required: - action @@ -136725,11 +137304,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -136805,11 +137384,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -136885,10 +137464,10 @@ x-webhooks: type: string enum: - added - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories_added: &851 + organization: *830 + repositories_added: &857 description: An array of repository objects, which were added to the installation. type: array @@ -136934,15 +137513,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *825 - repository_selection: &852 + repository: *831 + repository_selection: &858 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *849 + requester: *855 sender: *4 required: - action @@ -137021,10 +137600,10 @@ x-webhooks: type: string enum: - removed - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories_added: *851 + organization: *830 + repositories_added: *857 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137051,9 +137630,9 @@ x-webhooks: - name - full_name - private - repository: *825 - repository_selection: *852 - requester: *849 + repository: *831 + repository_selection: *858 + requester: *855 sender: *4 required: - action @@ -137132,11 +137711,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -137315,10 +137894,10 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 target_type: type: string @@ -137397,11 +137976,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *822 + enterprise: *828 installation: *22 - organization: *824 - repositories: *850 - repository: *825 + organization: *830 + repositories: *856 + repository: *831 requester: nullable: true sender: *4 @@ -137525,8 +138104,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *176 - required: *177 + properties: *184 + required: *185 reactions: title: Reactions type: object @@ -137653,8 +138232,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138448,8 +139027,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138465,7 +139044,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -138798,8 +139377,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -138879,7 +139458,7 @@ x-webhooks: type: string enum: - deleted - comment: &853 + comment: &859 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139044,8 +139623,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139835,8 +140414,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139852,7 +140431,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -140187,8 +140766,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -140268,7 +140847,7 @@ x-webhooks: type: string enum: - edited - changes: &882 + changes: &888 description: The changes to the comment. type: object properties: @@ -140280,9 +140859,9 @@ x-webhooks: type: string required: - from - comment: *853 - enterprise: *822 - installation: *823 + comment: *859 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141075,8 +141654,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141092,7 +141671,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -141425,8 +142004,8 @@ x-webhooks: - state - locked - assignee - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141510,15 +142089,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 + blocked_issue: *199 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - blocking_issue_repo: *67 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + blocking_issue_repo: *69 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141606,15 +142185,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 + blocked_issue: *199 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - blocking_issue_repo: *67 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + blocking_issue_repo: *69 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141701,15 +142280,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 - blocked_issue_repo: *67 + blocked_issue: *199 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141797,15 +142376,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *191 - blocked_issue_repo: *67 + blocked_issue: *199 + blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *191 - installation: *823 - organization: *824 - repository: *825 + blocking_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -141890,10 +142469,10 @@ x-webhooks: type: string enum: - assigned - assignee: *849 - enterprise: *822 - installation: *823 - issue: &856 + assignee: *855 + enterprise: *828 + installation: *829 + issue: &862 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142682,11 +143261,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142702,7 +143281,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -142803,8 +143382,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -142884,8 +143463,8 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143679,11 +144258,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143699,7 +144278,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -143935,8 +144514,8 @@ x-webhooks: required: - state - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -144015,8 +144594,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144801,11 +145380,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144821,7 +145400,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -144921,8 +145500,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -145001,8 +145580,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145809,11 +146388,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145829,7 +146408,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -145908,7 +146487,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &854 + milestone: &860 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146046,8 +146625,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -146146,8 +146725,8 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146936,11 +147515,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146953,7 +147532,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -147057,9 +147636,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *848 - organization: *824 - repository: *825 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -147139,8 +147718,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147928,11 +148507,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147945,7 +148524,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -148049,9 +148628,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *848 - organization: *824 - repository: *825 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -148131,8 +148710,8 @@ x-webhooks: type: string enum: - locked - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148944,11 +149523,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148961,7 +149540,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *330 + type: *337 title: description: Title of the issue type: string @@ -149042,8 +149621,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -149122,8 +149701,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149929,11 +150508,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149949,7 +150528,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -150027,9 +150606,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *854 - organization: *824 - repository: *825 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -150897,11 +151476,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150994,7 +151573,7 @@ x-webhooks: required: - login - id - type: *330 + type: *337 required: - id - number @@ -151463,8 +152042,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152253,11 +152832,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152273,7 +152852,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -152373,8 +152952,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -152454,9 +153033,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *822 - installation: *823 - issue: &855 + enterprise: *828 + installation: *829 + issue: &861 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153239,11 +153818,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153259,7 +153838,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -153359,8 +153938,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -153439,8 +154018,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154250,11 +154829,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154348,9 +154927,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *330 - organization: *824 - repository: *825 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155216,11 +155795,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155236,7 +155815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -155804,11 +156383,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *822 - installation: *823 - issue: *855 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *861 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155888,12 +156467,12 @@ x-webhooks: type: string enum: - typed - enterprise: *822 - installation: *823 - issue: *856 - type: *330 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -155974,7 +156553,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &885 + assignee: &891 title: User type: object nullable: true @@ -156044,11 +156623,11 @@ x-webhooks: required: - login - id - enterprise: *822 - installation: *823 - issue: *856 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + organization: *830 + repository: *831 sender: *4 required: - action @@ -156127,12 +156706,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *822 - installation: *823 - issue: *856 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -156212,8 +156791,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157023,11 +157602,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *766 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157043,7 +157622,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *330 + type: *337 updated_at: type: string format: date-time @@ -157121,8 +157700,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157202,11 +157781,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *822 - installation: *823 - issue: *855 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *861 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157285,12 +157864,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *822 - installation: *823 - issue: *856 - type: *330 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + issue: *862 + type: *337 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157370,11 +157949,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157452,11 +158031,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157566,11 +158145,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - label: *848 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + label: *854 + organization: *830 + repository: *831 sender: *4 required: - action @@ -157652,9 +158231,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: &857 + enterprise: *828 + installation: *829 + marketplace_purchase: &863 title: Marketplace Purchase type: object required: @@ -157737,8 +158316,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *824 - previous_marketplace_purchase: &858 + organization: *830 + previous_marketplace_purchase: &864 title: Marketplace Purchase type: object properties: @@ -157818,7 +158397,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -157898,10 +158477,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157984,7 +158563,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -158066,10 +158645,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158151,7 +158730,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *825 + repository: *831 sender: *4 required: - action @@ -158232,8 +158811,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 marketplace_purchase: title: Marketplace Purchase type: object @@ -158315,9 +158894,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *824 - previous_marketplace_purchase: *858 - repository: *825 + organization: *830 + previous_marketplace_purchase: *864 + repository: *831 sender: *4 required: - action @@ -158397,12 +158976,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *822 - installation: *823 - marketplace_purchase: *857 - organization: *824 - previous_marketplace_purchase: *858 - repository: *825 + enterprise: *828 + installation: *829 + marketplace_purchase: *863 + organization: *830 + previous_marketplace_purchase: *864 + repository: *831 sender: *4 required: - action @@ -158504,11 +159083,11 @@ x-webhooks: type: string required: - to - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158608,11 +159187,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158691,11 +159270,11 @@ x-webhooks: type: string enum: - removed - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 sender: *4 required: - action @@ -158773,11 +159352,11 @@ x-webhooks: type: string enum: - added - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158853,7 +159432,7 @@ x-webhooks: required: - login - id - team: &859 + team: &865 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159043,11 +159622,11 @@ x-webhooks: type: string enum: - removed - enterprise: *822 - installation: *823 - member: *849 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + member: *855 + organization: *830 + repository: *831 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159124,7 +159703,7 @@ x-webhooks: required: - login - id - team: *859 + team: *865 required: - action - scope @@ -159206,8 +159785,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *823 - merge_group: &861 + installation: *829 + merge_group: &867 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159226,15 +159805,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *860 + head_commit: *866 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159320,10 +159899,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *823 - merge_group: *861 - organization: *824 - repository: *825 + installation: *829 + merge_group: *867 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159396,7 +159975,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 + enterprise: *828 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -159505,16 +160084,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *823 - organization: *824 + installation: *829 + organization: *830 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -159595,11 +160174,11 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159678,9 +160257,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - milestone: &864 + enterprise: *828 + installation: *829 + milestone: &870 title: Milestone description: A collection of related issues and pull requests. type: object @@ -159817,8 +160396,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -159897,11 +160476,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160011,11 +160590,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - milestone: *854 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *860 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160095,11 +160674,11 @@ x-webhooks: type: string enum: - opened - enterprise: *822 - installation: *823 - milestone: *864 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + milestone: *870 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160178,11 +160757,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *849 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + blocked_user: *855 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160261,11 +160840,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *849 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + blocked_user: *855 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160344,9 +160923,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - membership: &865 + enterprise: *828 + installation: *829 + membership: &871 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160453,8 +161032,8 @@ x-webhooks: - role - organization_url - user - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160532,11 +161111,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160615,8 +161194,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -160732,10 +161311,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 - user: *849 + user: *855 required: - action - invitation @@ -160813,11 +161392,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160904,11 +161483,11 @@ x-webhooks: properties: from: type: string - enterprise: *822 - installation: *823 - membership: *865 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + membership: *871 + organization: *830 + repository: *831 sender: *4 required: - action @@ -160984,9 +161563,9 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 package: description: Information about the package. type: object @@ -161485,7 +162064,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &866 + items: &872 title: Ruby Gems metadata type: object properties: @@ -161580,7 +162159,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -161656,9 +162235,9 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 package: description: Information about the package. type: object @@ -162011,7 +162590,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *872 source_url: type: string format: uri @@ -162081,7 +162660,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -162258,12 +162837,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *822 + enterprise: *828 id: type: integer - installation: *823 - organization: *824 - repository: *825 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - id @@ -162340,7 +162919,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &867 + personal_access_token_request: &873 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -162486,10 +163065,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *822 - organization: *824 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162566,11 +163145,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *867 - enterprise: *822 - organization: *824 + personal_access_token_request: *873 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162646,11 +163225,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *867 - enterprise: *822 - organization: *824 + personal_access_token_request: *873 + enterprise: *828 + organization: *830 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162725,11 +163304,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *867 - organization: *824 - enterprise: *822 + personal_access_token_request: *873 + organization: *830 + enterprise: *828 sender: *4 - installation: *823 + installation: *829 required: - action - personal_access_token_request @@ -162834,7 +163413,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *868 + last_response: *874 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162866,8 +163445,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 zen: description: Random string of GitHub zen. @@ -163112,10 +163691,10 @@ x-webhooks: - from required: - note - enterprise: *822 - installation: *823 - organization: *824 - project_card: &869 + enterprise: *828 + installation: *829 + organization: *830 + project_card: &875 title: Project Card type: object properties: @@ -163234,7 +163813,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -163315,11 +163894,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project_card: *869 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_card: *875 + repository: *831 sender: *4 required: - action @@ -163399,9 +163978,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 project_card: title: Project Card type: object @@ -163529,8 +164108,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -163624,11 +164203,11 @@ x-webhooks: - from required: - note - enterprise: *822 - installation: *823 - organization: *824 - project_card: *869 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_card: *875 + repository: *831 sender: *4 required: - action @@ -163722,9 +164301,9 @@ x-webhooks: - from required: - column_id - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 project_card: allOf: - title: Project Card @@ -163914,7 +164493,7 @@ x-webhooks: type: string required: - after_id - repository: *825 + repository: *831 sender: *4 required: - action @@ -163994,10 +164573,10 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - organization: *824 - project: &871 + enterprise: *828 + installation: *829 + organization: *830 + project: &877 title: Project type: object properties: @@ -164121,7 +164700,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -164201,10 +164780,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project_column: &870 + enterprise: *828 + installation: *829 + organization: *830 + project_column: &876 title: Project Column type: object properties: @@ -164243,7 +164822,7 @@ x-webhooks: - name - created_at - updated_at - repository: *825 + repository: *831 sender: *4 required: - action @@ -164322,18 +164901,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -164423,11 +165002,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 + repository: *831 sender: *4 required: - action @@ -164507,11 +165086,11 @@ x-webhooks: type: string enum: - moved - enterprise: *822 - installation: *823 - organization: *824 - project_column: *870 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project_column: *876 + repository: *831 sender: *4 required: - action @@ -164591,11 +165170,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164675,18 +165254,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - project: *871 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *862 - required: *863 + properties: *868 + required: *869 nullable: true sender: *4 required: @@ -164788,11 +165367,11 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164871,11 +165450,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 - organization: *824 - project: *871 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + project: *877 + repository: *831 sender: *4 required: - action @@ -164956,9 +165535,9 @@ x-webhooks: type: string enum: - closed - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165039,9 +165618,9 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165122,9 +165701,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165241,9 +165820,9 @@ x-webhooks: type: string to: type: string - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -165326,7 +165905,7 @@ x-webhooks: type: string enum: - archived - changes: &875 + changes: &881 type: object properties: archived_at: @@ -165340,9 +165919,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *823 - organization: *824 - projects_v2_item: &872 + installation: *829 + organization: *830 + projects_v2_item: &878 title: Projects v2 Item description: An item belonging to a project type: object @@ -165360,7 +165939,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *373 + content_type: *378 creator: *4 created_at: type: string @@ -165477,9 +166056,9 @@ x-webhooks: nullable: true to: type: string - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165561,9 +166140,9 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165644,9 +166223,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165752,7 +166331,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &873 + - &879 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -165774,7 +166353,7 @@ x-webhooks: required: - id - name - - &874 + - &880 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -165808,8 +166387,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *873 - - *874 + - *879 + - *880 required: - field_value - type: object @@ -165825,9 +166404,9 @@ x-webhooks: nullable: true required: - body - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -165922,9 +166501,9 @@ x-webhooks: to: type: string nullable: true - installation: *823 - organization: *824 - projects_v2_item: *872 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -166007,10 +166586,10 @@ x-webhooks: type: string enum: - restored - changes: *875 - installation: *823 - organization: *824 - projects_v2_item: *872 + changes: *881 + installation: *829 + organization: *830 + projects_v2_item: *878 sender: *4 required: - action @@ -166092,9 +166671,9 @@ x-webhooks: type: string enum: - reopened - installation: *823 - organization: *824 - projects_v2: *365 + installation: *829 + organization: *830 + projects_v2: *370 sender: *4 required: - action @@ -166175,14 +166754,14 @@ x-webhooks: type: string enum: - created - installation: *823 - organization: *824 - projects_v2_status_update: &878 + installation: *829 + organization: *830 + projects_v2_status_update: &884 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *876 - required: *877 + properties: *882 + required: *883 sender: *4 required: - action @@ -166263,9 +166842,9 @@ x-webhooks: type: string enum: - deleted - installation: *823 - organization: *824 - projects_v2_status_update: *878 + installation: *829 + organization: *830 + projects_v2_status_update: *884 sender: *4 required: - action @@ -166401,9 +166980,9 @@ x-webhooks: type: string format: date nullable: true - installation: *823 - organization: *824 - projects_v2_status_update: *878 + installation: *829 + organization: *830 + projects_v2_status_update: *884 sender: *4 required: - action @@ -166474,10 +167053,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - repository @@ -166554,13 +167133,13 @@ x-webhooks: type: string enum: - assigned - assignee: *849 - enterprise: *822 - installation: *823 - number: &879 + assignee: *855 + enterprise: *828 + installation: *829 + number: &885 description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -168843,7 +169422,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -168925,11 +169504,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -171207,7 +171786,7 @@ x-webhooks: - draft reason: type: string - repository: *825 + repository: *831 sender: *4 required: - action @@ -171289,11 +171868,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -173571,7 +174150,7 @@ x-webhooks: - draft reason: type: string - repository: *825 + repository: *831 sender: *4 required: - action @@ -173653,13 +174232,13 @@ x-webhooks: type: string enum: - closed - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: &880 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: &886 allOf: - - *672 + - *677 - type: object properties: allow_auto_merge: @@ -173721,7 +174300,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *825 + repository: *831 sender: *4 required: - action @@ -173802,12 +174381,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -173887,11 +174466,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *822 - milestone: *656 - number: *879 - organization: *824 - pull_request: &881 + enterprise: *828 + milestone: *661 + number: *885 + organization: *830 + pull_request: &887 title: Pull Request type: object properties: @@ -176154,7 +176733,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -176233,11 +176812,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -178519,7 +179098,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *825 + repository: *831 sender: *4 required: - action @@ -178643,12 +179222,12 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -178728,11 +179307,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -180999,7 +181578,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -181079,11 +181658,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *822 - installation: *823 - label: *848 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + label: *854 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -183365,7 +183944,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -183446,10 +184025,10 @@ x-webhooks: type: string enum: - locked - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -185729,7 +186308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -185809,12 +186388,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *822 - milestone: *656 - number: *879 - organization: *824 - pull_request: *881 - repository: *825 + enterprise: *828 + milestone: *661 + number: *885 + organization: *830 + pull_request: *887 + repository: *831 sender: *4 required: - action @@ -185893,12 +186472,12 @@ x-webhooks: type: string enum: - opened - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -185979,12 +186558,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -186064,12 +186643,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *822 - installation: *823 - number: *879 - organization: *824 - pull_request: *880 - repository: *825 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 + pull_request: *886 + repository: *831 sender: *4 required: - action @@ -186435,9 +187014,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -188607,7 +189186,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -188687,7 +189266,7 @@ x-webhooks: type: string enum: - deleted - comment: &883 + comment: &889 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. @@ -188972,9 +189551,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -191132,7 +191711,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -191212,11 +191791,11 @@ x-webhooks: type: string enum: - edited - changes: *882 - comment: *883 - enterprise: *822 - installation: *823 - organization: *824 + changes: *888 + comment: *889 + enterprise: *828 + installation: *829 + organization: *830 pull_request: type: object properties: @@ -193377,7 +193956,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *825 + repository: *831 sender: *4 required: - action @@ -193458,9 +194037,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -195633,7 +196212,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 review: description: The review that was affected. type: object @@ -195880,9 +196459,9 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -197936,8 +198515,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 - review: &884 + repository: *831 + review: &890 description: The review that was affected. type: object properties: @@ -198170,12 +198749,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -200458,7 +201037,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_reviewer: title: User type: object @@ -200542,12 +201121,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -202837,7 +203416,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203029,12 +203608,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -205319,7 +205898,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_reviewer: title: User type: object @@ -205404,12 +205983,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *822 - installation: *823 + enterprise: *828 + installation: *829 number: description: The pull request number. type: integer - organization: *824 + organization: *830 pull_request: title: Pull Request type: object @@ -207685,7 +208264,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207866,9 +208445,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -210043,8 +210622,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 - review: *884 + repository: *831 + review: *890 sender: *4 required: - action @@ -210124,9 +210703,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -212196,7 +212775,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 sender: *4 thread: type: object @@ -212583,9 +213162,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 pull_request: title: Simple Pull Request type: object @@ -214641,7 +215220,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *825 + repository: *831 sender: *4 thread: type: object @@ -215031,10 +215610,10 @@ x-webhooks: type: string before: type: string - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -217305,7 +217884,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -217387,11 +217966,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *885 - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + assignee: *891 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -219674,7 +220253,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -219753,11 +220332,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *822 - installation: *823 - label: *848 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + label: *854 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -222030,7 +222609,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -222111,10 +222690,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *822 - installation: *823 - number: *879 - organization: *824 + enterprise: *828 + installation: *829 + number: *885 + organization: *830 pull_request: title: Pull Request type: object @@ -224379,7 +224958,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *825 + repository: *831 sender: *4 required: - action @@ -224579,7 +225158,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *822 + enterprise: *828 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224671,8 +225250,8 @@ x-webhooks: - url - author - committer - installation: *823 - organization: *824 + installation: *829 + organization: *830 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225247,9 +225826,9 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 registry_package: type: object properties: @@ -225695,7 +226274,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *866 + items: *872 summary: type: string tag_name: @@ -225749,7 +226328,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -225827,9 +226406,9 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 registry_package: type: object properties: @@ -226137,7 +226716,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *872 summary: type: string tag_name: @@ -226186,7 +226765,7 @@ x-webhooks: - owner - package_version - registry - repository: *825 + repository: *831 sender: *4 required: - action @@ -226263,10 +226842,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - release: &886 + enterprise: *828 + installation: *829 + organization: *830 + release: &892 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226584,7 +227163,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *825 + repository: *831 sender: *4 required: - action @@ -226661,11 +227240,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -226782,11 +227361,11 @@ x-webhooks: type: boolean required: - to - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -226864,9 +227443,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227188,7 +227767,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *825 + repository: *831 sender: *4 required: - action @@ -227264,10 +227843,10 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - release: &887 + enterprise: *828 + installation: *829 + organization: *830 + release: &893 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227586,7 +228165,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *825 + repository: *831 sender: *4 required: - action @@ -227662,11 +228241,11 @@ x-webhooks: type: string enum: - released - enterprise: *822 - installation: *823 - organization: *824 - release: *886 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *892 + repository: *831 sender: *4 required: - action @@ -227742,11 +228321,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *822 - installation: *823 - organization: *824 - release: *887 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + release: *893 + repository: *831 sender: *4 required: - action @@ -227822,11 +228401,11 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_advisory: *724 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_advisory: *730 sender: *4 required: - action @@ -227902,11 +228481,11 @@ x-webhooks: type: string enum: - reported - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_advisory: *724 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_advisory: *730 sender: *4 required: - action @@ -227982,10 +228561,10 @@ x-webhooks: type: string enum: - archived - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228062,10 +228641,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228143,10 +228722,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228230,10 +228809,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228345,10 +228924,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228420,10 +228999,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 status: type: string @@ -228504,10 +229083,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228584,10 +229163,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228681,10 +229260,10 @@ x-webhooks: - name required: - repository - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -228764,11 +229343,11 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 sender: *4 required: - action @@ -228846,11 +229425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 sender: *4 required: - action @@ -228928,11 +229507,11 @@ x-webhooks: type: string enum: - edited - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - repository_ruleset: *161 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + repository_ruleset: *162 changes: type: object properties: @@ -228951,16 +229530,16 @@ x-webhooks: properties: added: type: array - items: *135 + items: *136 deleted: type: array - items: *135 + items: *136 updated: type: array items: type: object properties: - condition: *135 + condition: *136 changes: type: object properties: @@ -228993,16 +229572,16 @@ x-webhooks: properties: added: type: array - items: *692 + items: *698 deleted: type: array - items: *692 + items: *698 updated: type: array items: type: object properties: - rule: *692 + rule: *698 changes: type: object properties: @@ -229236,10 +229815,10 @@ x-webhooks: - from required: - owner - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229317,10 +229896,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229398,7 +229977,7 @@ x-webhooks: type: string enum: - create - alert: &888 + alert: &894 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229519,10 +230098,10 @@ x-webhooks: type: string enum: - open - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229728,10 +230307,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -229809,11 +230388,11 @@ x-webhooks: type: string enum: - reopen - alert: *888 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *894 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230012,10 +230591,10 @@ x-webhooks: enum: - fixed - open - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230093,11 +230672,11 @@ x-webhooks: type: string enum: - created - alert: &889 + alert: &895 type: object properties: - number: *112 - created_at: *119 + number: *113 + created_at: *120 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -230105,8 +230684,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *117 - html_url: *118 + url: *118 + html_url: *119 locations_url: type: string format: uri @@ -230204,10 +230783,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230288,11 +230867,11 @@ x-webhooks: type: string enum: - created - alert: *889 - installation: *823 - location: *890 - organization: *824 - repository: *825 + alert: *895 + installation: *829 + location: *896 + organization: *830 + repository: *831 sender: *4 required: - location @@ -230530,11 +231109,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230612,11 +231191,11 @@ x-webhooks: type: string enum: - reopened - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230694,11 +231273,11 @@ x-webhooks: type: string enum: - resolved - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230776,11 +231355,11 @@ x-webhooks: type: string enum: - validated - alert: *889 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + alert: *895 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -230906,10 +231485,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *825 - enterprise: *822 - installation: *823 - organization: *824 + repository: *831 + enterprise: *828 + installation: *829 + organization: *830 sender: *4 required: - action @@ -230987,11 +231566,11 @@ x-webhooks: type: string enum: - published - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - security_advisory: &891 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + security_advisory: &897 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231007,7 +231586,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array items: @@ -231174,11 +231753,11 @@ x-webhooks: type: string enum: - updated - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 - security_advisory: *891 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 + security_advisory: *897 sender: *4 required: - action @@ -231251,10 +231830,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231271,7 +231850,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *114 + cvss_severities: *115 cwes: type: array items: @@ -231438,11 +232017,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *381 - enterprise: *822 - installation: *823 - organization: *824 - repository: *448 + security_and_analysis: *386 + enterprise: *828 + installation: *829 + organization: *830 + repository: *453 sender: *4 required: - changes @@ -231520,12 +232099,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: &892 + sponsorship: &898 type: object properties: created_at: @@ -231826,12 +232405,12 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - sponsorship @@ -231919,12 +232498,12 @@ x-webhooks: type: string required: - from - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232001,17 +232580,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &893 + effective_date: &899 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: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - sponsorship @@ -232085,7 +232664,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &894 + changes: &900 type: object properties: tier: @@ -232129,13 +232708,13 @@ x-webhooks: - from required: - tier - effective_date: *893 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + effective_date: *899 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232212,13 +232791,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *894 - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + changes: *900 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - sponsorship: *892 + sponsorship: *898 required: - action - changes @@ -232292,10 +232871,10 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232378,10 +232957,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232801,15 +233380,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *822 + enterprise: *828 id: description: The unique identifier of the status. type: integer - installation: *823 + installation: *829 name: type: string - organization: *824 - repository: *825 + organization: *830 + repository: *831 sender: *4 sha: description: The Commit SHA. @@ -232918,15 +233497,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - parent_issue_repo: *67 + parent_issue: *199 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - installation: *823 - organization: *824 - repository: *825 + sub_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233010,15 +233589,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - parent_issue_repo: *67 + parent_issue: *199 + parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - installation: *823 - organization: *824 - repository: *825 + sub_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233102,15 +233681,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - sub_issue_repo: *67 + sub_issue: *199 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - installation: *823 - organization: *824 - repository: *825 + parent_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233194,15 +233773,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *191 - sub_issue_repo: *67 + sub_issue: *199 + sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *191 - installation: *823 - organization: *824 - repository: *825 + parent_issue: *199 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -233279,12 +233858,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - team: &895 + team: &901 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233474,9 +234053,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -233934,7 +234513,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -234010,9 +234589,9 @@ x-webhooks: type: string enum: - created - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -234470,7 +235049,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -234547,9 +235126,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -235007,7 +235586,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -235151,9 +235730,9 @@ x-webhooks: - from required: - permissions - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -235611,7 +236190,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - changes @@ -235689,9 +236268,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *822 - installation: *823 - organization: *824 + enterprise: *828 + installation: *829 + organization: *830 repository: title: Repository description: A git repository @@ -236149,7 +236728,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *895 + team: *901 required: - action - team @@ -236225,10 +236804,10 @@ x-webhooks: type: string enum: - started - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 required: - action @@ -236301,16 +236880,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *822 + enterprise: *828 inputs: type: object nullable: true additionalProperties: true - installation: *823 - organization: *824 + installation: *829 + organization: *830 ref: type: string - repository: *825 + repository: *831 sender: *4 workflow: type: string @@ -236392,10 +236971,10 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: allOf: @@ -236632,7 +237211,7 @@ x-webhooks: type: string required: - conclusion - deployment: *579 + deployment: *584 required: - action - repository @@ -236711,10 +237290,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: allOf: @@ -236974,7 +237553,7 @@ x-webhooks: required: - status - steps - deployment: *579 + deployment: *584 required: - action - repository @@ -237053,10 +237632,10 @@ x-webhooks: type: string enum: - queued - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: type: object @@ -237191,7 +237770,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *579 + deployment: *584 required: - action - repository @@ -237270,10 +237849,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 workflow_job: type: object @@ -237409,7 +237988,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *579 + deployment: *584 required: - action - repository @@ -237489,12 +238068,12 @@ x-webhooks: type: string enum: - completed - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -238493,12 +239072,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -239482,12 +240061,12 @@ x-webhooks: type: string enum: - requested - enterprise: *822 - installation: *823 - organization: *824 - repository: *825 + enterprise: *828 + installation: *829 + organization: *830 + repository: *831 sender: *4 - workflow: *844 + workflow: *850 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index ce09e254e0..99cdb92b73 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/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." @@ -2226,6 +2230,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", @@ -11187,6 +11301,687 @@ } } }, + "/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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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", @@ -19617,13 +20412,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -32176,7 +32973,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" @@ -32225,7 +33022,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" @@ -32329,7 +33126,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" @@ -32378,7 +33175,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" @@ -32451,7 +33248,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" @@ -117683,6 +118480,31 @@ } } }, + "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.", + "example": "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": { @@ -120877,11 +121699,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -120891,6 +121714,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -120918,7 +121742,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] }, "copilot-seat-details": { @@ -123136,221 +123961,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" } ] }, @@ -148683,6 +149540,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -298515,6 +299382,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": [ { @@ -301192,30 +302121,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": [ { @@ -327928,6 +328833,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", @@ -328451,15 +329374,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 995276ee46..b96f316626 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/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 @@ -1552,6 +1554,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 @@ -7918,6 +7994,454 @@ 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: + nullable: true + type: string + 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: + nullable: true + type: string + 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: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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 @@ -14113,10 +14637,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -23188,7 +23714,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 @@ -23229,7 +23755,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 @@ -23298,7 +23824,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 @@ -23334,7 +23860,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 @@ -23386,7 +23912,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 @@ -85119,6 +85645,25 @@ 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. + example: 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: @@ -87676,10 +88221,12 @@ components: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' example: disabled | all organization_selection_type: type: string - example: disabled | all + example: disabled | selected | all group_id: nullable: true type: string @@ -87687,6 +88234,8 @@ components: group_name: nullable: true type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' example: Justice League html_url: type: string @@ -87709,6 +88258,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, @@ -89565,6 +90115,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 @@ -89591,6 +90164,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 @@ -109232,6 +109806,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: @@ -222869,6 +223446,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' @@ -225211,26 +225840,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 @@ -248232,6 +248841,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 @@ -248679,13 +249303,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/ghec/ghec.json b/descriptions/ghec/ghec.json index ce09e254e0..99cdb92b73 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/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." @@ -2226,6 +2230,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", @@ -11187,6 +11301,687 @@ } } }, + "/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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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", @@ -19617,13 +20412,15 @@ "type": "string" }, "artifact_url": { - "type": "string" + "type": "string", + "nullable": true }, "registry_url": { "type": "string" }, "repository": { - "type": "string" + "type": "string", + "nullable": true }, "status": { "type": "string" @@ -32176,7 +32973,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" @@ -32225,7 +33022,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" @@ -32329,7 +33126,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" @@ -32378,7 +33175,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" @@ -32451,7 +33248,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" @@ -117683,6 +118480,31 @@ } } }, + "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.", + "example": "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": { @@ -120877,11 +121699,12 @@ }, "sync_to_organizations": { "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "disabled | all" }, "organization_selection_type": { "type": "string", - "example": "disabled | all" + "example": "disabled | selected | all" }, "group_id": { "nullable": true, @@ -120891,6 +121714,7 @@ "group_name": { "nullable": true, "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "example": "Justice League" }, "html_url": { @@ -120918,7 +121742,8 @@ "html_url", "slug", "created_at", - "updated_at" + "updated_at", + "group_id" ] }, "copilot-seat-details": { @@ -123136,221 +123961,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" } ] }, @@ -148683,6 +149540,16 @@ "$ref": "#/components/schemas/repository-rule-ruleset-info" } ] + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-copilot-code-review" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] } ] }, @@ -298515,6 +299382,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": [ { @@ -301192,30 +302121,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": [ { @@ -327928,6 +328833,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", @@ -328451,15 +329374,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 995276ee46..b96f316626 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/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 @@ -1552,6 +1554,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 @@ -7918,6 +7994,454 @@ 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: + nullable: true + type: string + 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: + nullable: true + type: string + 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: + nullable: true + type: string + description: A new name for the team. + description: + nullable: true + type: string + 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: + nullable: true + type: string + 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 @@ -14113,10 +14637,12 @@ paths: type: string artifact_url: type: string + nullable: true registry_url: type: string repository: type: string + nullable: true status: type: string created_at: @@ -23188,7 +23714,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 @@ -23229,7 +23755,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 @@ -23298,7 +23824,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 @@ -23334,7 +23860,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 @@ -23386,7 +23912,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 @@ -85119,6 +85645,25 @@ 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. + example: 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: @@ -87676,10 +88221,12 @@ components: format: uri sync_to_organizations: type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' example: disabled | all organization_selection_type: type: string - example: disabled | all + example: disabled | selected | all group_id: nullable: true type: string @@ -87687,6 +88234,8 @@ components: group_name: nullable: true type: string + description: 'Retired: this field will not be returned with GHEC enterprise + teams.' example: Justice League html_url: type: string @@ -87709,6 +88258,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, @@ -89565,6 +90115,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 @@ -89591,6 +90164,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 @@ -109232,6 +109806,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: @@ -222869,6 +223446,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' @@ -225211,26 +225840,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 @@ -248232,6 +248841,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 @@ -248679,13 +249303,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/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 431b253a40..2866363793 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -117417,7 +117417,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" @@ -117627,7 +117627,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" @@ -117973,7 +117973,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" @@ -118173,7 +118173,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" @@ -118459,7 +118459,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/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index e8cb9a6cfd..94097f117a 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -31659,7 +31659,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 @@ -31781,7 +31781,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 @@ -31845,7 +31845,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 @@ -31894,7 +31894,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 @@ -31989,7 +31989,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/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json index 431b253a40..2866363793 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -117417,7 +117417,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" @@ -117627,7 +117627,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" @@ -117973,7 +117973,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" @@ -118173,7 +118173,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" @@ -118459,7 +118459,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/ghes-3.14/dereferenced/ghes-3.14.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml index e8cb9a6cfd..94097f117a 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml @@ -31659,7 +31659,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 @@ -31781,7 +31781,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 @@ -31845,7 +31845,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 @@ -31894,7 +31894,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 @@ -31989,7 +31989,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/ghes-3.14/ghes-3.14.2022-11-28.json b/descriptions/ghes-3.14/ghes-3.14.2022-11-28.json index 7ecc67d530..29aa1744c0 100644 --- a/descriptions/ghes-3.14/ghes-3.14.2022-11-28.json +++ b/descriptions/ghes-3.14/ghes-3.14.2022-11-28.json @@ -20957,7 +20957,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" @@ -21006,7 +21006,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" @@ -21110,7 +21110,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" @@ -21159,7 +21159,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" @@ -21232,7 +21232,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/ghes-3.14/ghes-3.14.2022-11-28.yaml b/descriptions/ghes-3.14/ghes-3.14.2022-11-28.yaml index d72b683df0..d25abaa6ca 100644 --- a/descriptions/ghes-3.14/ghes-3.14.2022-11-28.yaml +++ b/descriptions/ghes-3.14/ghes-3.14.2022-11-28.yaml @@ -15058,7 +15058,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 @@ -15099,7 +15099,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 @@ -15168,7 +15168,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 @@ -15204,7 +15204,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 @@ -15256,7 +15256,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/ghes-3.14/ghes-3.14.json b/descriptions/ghes-3.14/ghes-3.14.json index 7ecc67d530..29aa1744c0 100644 --- a/descriptions/ghes-3.14/ghes-3.14.json +++ b/descriptions/ghes-3.14/ghes-3.14.json @@ -20957,7 +20957,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" @@ -21006,7 +21006,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" @@ -21110,7 +21110,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" @@ -21159,7 +21159,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" @@ -21232,7 +21232,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/ghes-3.14/ghes-3.14.yaml b/descriptions/ghes-3.14/ghes-3.14.yaml index d72b683df0..d25abaa6ca 100644 --- a/descriptions/ghes-3.14/ghes-3.14.yaml +++ b/descriptions/ghes-3.14/ghes-3.14.yaml @@ -15058,7 +15058,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 @@ -15099,7 +15099,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 @@ -15168,7 +15168,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 @@ -15204,7 +15204,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 @@ -15256,7 +15256,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/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json index 168a6ee140..4a00159d55 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json @@ -121184,7 +121184,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" @@ -121394,7 +121394,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" @@ -121740,7 +121740,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" @@ -121940,7 +121940,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" @@ -122226,7 +122226,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" @@ -129207,6 +129207,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." + } + } + } + } } ] } @@ -131438,6 +131467,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." + } + } + } + } } ] } @@ -133230,6 +133288,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." + } + } + } + } } ] } @@ -135474,6 +135561,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." + } + } + } + } } ] } @@ -378170,6 +378286,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." + } + } + } + ] } ] } @@ -379384,6 +379555,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." + } + } + } + } } ] } @@ -380322,6 +380522,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." + } + } + } + } } ] } @@ -381465,6 +381694,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." + } + } + } + } } ] } @@ -383276,6 +383534,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." + } + } + } + } } ] } @@ -384229,6 +384516,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." + } + } + } + } } ] } @@ -385368,6 +385684,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." + } + } + } + } } ] } @@ -969333,6 +969678,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." + } + } + } + } } ] } @@ -972046,6 +972420,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." + } + } + } + } } ] } @@ -974759,6 +975162,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." + } + } + } + } } ] } @@ -975625,6 +976057,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." + } + } + } + } } ] } @@ -976319,6 +976780,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." + } + } + } + } } ] } @@ -977016,6 +977506,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/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml index 8694275592..c47177fd78 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml @@ -4454,7 +4454,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &551 + schema: &552 title: Scim Error description: Scim Error type: object @@ -14064,14 +14064,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &540 + state: &541 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: &541 + resolution: &542 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -14879,7 +14879,7 @@ paths: timeline_url: type: string format: uri - type: &578 + type: &579 title: Issue Type description: The type of issue. type: object @@ -14990,7 +14990,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &575 + sub_issues_summary: &576 title: Sub-issues Summary type: object properties: @@ -15010,7 +15010,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &576 + issue_dependencies_summary: &577 title: Issue Dependencies Summary type: object properties: @@ -15029,7 +15029,7 @@ paths: - total_blocking issue_field_values: type: array - items: &577 + items: &578 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15672,7 +15672,7 @@ paths: url: type: string format: uri - user: &589 + user: &590 title: Public User description: Public User type: object @@ -21409,7 +21409,7 @@ paths: type: array items: *70 examples: - default: &598 + default: &599 value: - login: github id: 1 @@ -22551,7 +22551,7 @@ paths: type: array items: *84 examples: - default: &595 + default: &596 value: total_count: 1 repositories: @@ -31251,7 +31251,7 @@ paths: - nuget - container - *135 - - &599 + - &600 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31292,7 +31292,7 @@ paths: default: *223 '403': *43 '401': *41 - '400': &601 + '400': &602 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32862,7 +32862,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 @@ -32984,7 +32984,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 @@ -33048,7 +33048,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 @@ -33097,7 +33097,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 @@ -33192,7 +33192,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 @@ -34820,7 +34820,7 @@ paths: - *135 - *4 - *5 - - &526 + - &527 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35094,7 +35094,7 @@ paths: - repository_property rules: type: array - items: &527 + items: &528 title: Repository Rule type: object description: A repository rule. @@ -35672,6 +35672,31 @@ paths: - tool required: - code_scanning_tools + - &526 + 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 @@ -35874,7 +35899,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *135 - - &528 + - &529 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 @@ -35889,7 +35914,7 @@ paths: in: query schema: type: string - - &529 + - &530 name: time_period description: |- The time period to filter by. @@ -35905,14 +35930,14 @@ paths: - week - month default: day - - &530 + - &531 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 - - &531 + - &532 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -35932,7 +35957,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &533 title: Rule Suites description: Response type: array @@ -35986,7 +36011,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &533 + default: &534 value: - id: 21 actor_id: 12 @@ -36030,7 +36055,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *135 - - &534 + - &535 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36046,7 +36071,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &536 title: Rule Suite description: Response type: object @@ -36144,7 +36169,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &536 + default: &537 value: id: 21 actor_id: 12 @@ -36362,7 +36387,7 @@ paths: - *9 - *5 - *4 - - &538 + - &539 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 @@ -36372,7 +36397,7 @@ paths: required: false schema: type: string - - &539 + - &540 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 @@ -37371,7 +37396,7 @@ paths: - updated_at - url examples: - default: &579 + default: &580 value: - author: login: octocat @@ -37619,7 +37644,7 @@ paths: application/json: schema: *286 examples: - default: &580 + default: &581 value: author: login: octocat @@ -37802,7 +37827,7 @@ paths: - updated_at - url examples: - default: &581 + default: &582 value: - author: login: octocat @@ -38028,7 +38053,7 @@ paths: application/json: schema: *289 examples: - default: &582 + default: &583 value: author: login: octocat @@ -38705,7 +38730,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &583 + response-if-user-is-a-team-maintainer: &584 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38770,7 +38795,7 @@ paths: application/json: schema: *300 examples: - response-if-users-membership-with-team-is-now-pending: &584 + response-if-users-membership-with-team-is-now-pending: &585 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38911,7 +38936,7 @@ paths: - updated_at - permissions examples: - default: &585 + default: &586 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38990,7 +39015,7 @@ paths: application/json: schema: *301 examples: - default: &586 + default: &587 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39200,7 +39225,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &587 + schema: &588 title: Team Repository description: A team's access to a repository. type: object @@ -39857,7 +39882,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: &588 + response-if-child-teams-exist: &589 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51236,7 +51261,7 @@ paths: check. type: array items: *372 - deployment: &624 + deployment: &625 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -57377,7 +57402,7 @@ paths: application/json: schema: type: array - items: &546 + items: &547 title: Status description: The status of a commit. type: object @@ -58755,7 +58780,7 @@ paths: items: type: object properties: - placeholder_id: &543 + placeholder_id: &544 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64429,7 +64454,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &654 + last_response: &655 title: Hook Response type: object properties: @@ -65051,7 +65076,7 @@ paths: - html_url - created_at examples: - default: &603 + default: &604 value: - id: 1 repository: @@ -77773,6 +77798,9 @@ paths: - allOf: - *269 - *524 + - allOf: + - *526 + - *524 examples: default: value: @@ -77823,7 +77851,7 @@ paths: schema: type: boolean default: true - - *526 + - *527 responses: '200': description: Response @@ -77908,7 +77936,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *527 + items: *528 required: - name - enforcement @@ -77941,7 +77969,7 @@ paths: application/json: schema: *270 examples: - default: &537 + default: &538 value: id: 42 name: super cool ruleset @@ -77990,10 +78018,10 @@ paths: parameters: - *303 - *304 - - *528 - *529 - *530 - *531 + - *532 - *4 - *5 responses: @@ -78001,9 +78029,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: - default: *533 + default: *534 '404': *26 '500': *228 x-github: @@ -78026,15 +78054,15 @@ paths: parameters: - *303 - *304 - - *534 + - *535 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 '404': *26 '500': *228 x-github: @@ -78085,7 +78113,7 @@ paths: application/json: schema: *270 examples: - default: *537 + default: *538 '404': *26 '500': *228 put: @@ -78138,7 +78166,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *527 + items: *528 examples: default: value: @@ -78168,7 +78196,7 @@ paths: application/json: schema: *270 examples: - default: *537 + default: *538 '404': *26 '500': *228 delete: @@ -78224,8 +78252,8 @@ paths: - *9 - *5 - *4 - - *538 - *539 + - *540 - *277 responses: '200': @@ -78234,7 +78262,7 @@ paths: application/json: schema: type: array - items: &542 + items: &543 type: object properties: number: *93 @@ -78253,8 +78281,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *540 - resolution: *541 + state: *541 + resolution: *542 resolved_at: type: string format: date-time @@ -78440,7 +78468,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -78490,8 +78518,8 @@ paths: schema: type: object properties: - state: *540 - resolution: *541 + state: *541 + resolution: *542 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -78509,7 +78537,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -78589,7 +78617,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &674 + items: &675 type: object properties: type: @@ -78957,14 +78985,14 @@ paths: schema: type: object properties: - reason: &544 + reason: &545 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *543 + placeholder_id: *544 required: - reason - placeholder_id @@ -78981,7 +79009,7 @@ paths: schema: type: object properties: - reason: *544 + reason: *545 expire_at: type: string format: date-time @@ -79133,7 +79161,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -79501,7 +79529,7 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: default: value: @@ -79589,7 +79617,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: default: value: @@ -79683,7 +79711,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &547 + schema: &548 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79778,7 +79806,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -79915,7 +79943,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Tag protection description: Tag protection type: object @@ -79991,7 +80019,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: default: value: @@ -80139,7 +80167,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &550 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -80151,7 +80179,7 @@ paths: required: - names examples: - default: &550 + default: &551 value: names: - octocat @@ -80206,9 +80234,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 '404': *26 '422': *27 x-github: @@ -80849,7 +80877,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &558 + - &559 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -80858,7 +80886,7 @@ paths: schema: type: string example: members - - &563 + - &564 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -80869,7 +80897,7 @@ paths: default: 1 format: int32 example: 1 - - &564 + - &565 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -80911,7 +80939,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &552 + items: &553 allOf: - type: object required: @@ -80986,7 +81014,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: &565 + meta: &566 type: object description: The metadata associated with the creation/updates to the user. @@ -81046,31 +81074,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &553 + '400': &554 description: Bad request content: application/json: - schema: *551 + schema: *552 application/scim+json: - schema: *551 - '401': &554 + schema: *552 + '401': &555 description: Authorization failure - '403': &555 + '403': &556 description: Permission denied - '429': &556 + '429': &557 description: Too many requests content: application/json: - schema: *551 + schema: *552 application/scim+json: - schema: *551 - '500': &557 + schema: *552 + '500': &558 description: Internal server error content: application/json: - schema: *551 + schema: *552 application/scim+json: - schema: *551 + schema: *552 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81097,7 +81125,7 @@ paths: required: true content: application/json: - schema: &561 + schema: &562 type: object required: - schemas @@ -81157,9 +81185,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *552 + schema: *553 examples: - group: &559 + group: &560 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -81178,13 +81206,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': *553 - '401': *554 - '403': *555 - '409': &562 + '400': *554 + '401': *555 + '403': *556 + '409': &563 description: Duplicate record detected - '429': *556 - '500': *557 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81205,7 +81233,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: - - &560 + - &561 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -81213,22 +81241,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *558 + - *559 - *65 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *552 + schema: *553 examples: - default: *559 - '400': *553 - '401': *554 - '403': *555 + default: *560 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '429': *556 - '500': *557 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81250,13 +81278,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: - - *560 + - *561 - *65 requestBody: required: true content: application/json: - schema: *561 + schema: *562 examples: group: summary: Group @@ -81282,17 +81310,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *552 + schema: *553 examples: - group: *559 - groupWithMembers: *559 - '400': *553 - '401': *554 - '403': *555 + group: *560 + groupWithMembers: *560 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '409': *562 - '429': *556 - '500': *557 + '409': *563 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81316,13 +81344,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: - - *560 + - *561 - *65 requestBody: required: true content: application/json: - schema: &572 + schema: &573 type: object required: - Operations @@ -81382,17 +81410,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *552 + schema: *553 examples: - updateGroup: *559 - addMembers: *559 - '400': *553 - '401': *554 - '403': *555 + updateGroup: *560 + addMembers: *560 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '409': *562 - '429': *556 - '500': *557 + '409': *563 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81412,17 +81440,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: - - *560 + - *561 - *65 responses: '204': description: Group was deleted, no content - '400': *553 - '401': *554 - '403': *555 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '429': *556 - '500': *557 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81459,8 +81487,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *563 - *564 + - *565 - *65 responses: '200': @@ -81493,7 +81521,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &567 + items: &568 allOf: - type: object required: @@ -81572,7 +81600,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &566 + roles: &567 type: array description: The roles assigned to the user. items: @@ -81628,7 +81656,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *565 + meta: *566 startIndex: type: integer description: A starting index for the returned page @@ -81665,11 +81693,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *553 - '401': *554 - '403': *555 - '429': *556 - '500': *557 + '400': *554 + '401': *555 + '403': *556 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81698,7 +81726,7 @@ paths: required: true content: application/json: - schema: &570 + schema: &571 type: object required: - schemas @@ -81780,9 +81808,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *566 + roles: *567 examples: - user: &571 + user: &572 summary: User value: schemas: @@ -81829,9 +81857,9 @@ paths: description: User has been created content: application/scim+json: - schema: *567 + schema: *568 examples: - user: &568 + user: &569 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -81857,13 +81885,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: *568 - '400': *553 - '401': *554 - '403': *555 - '409': *562 - '429': *556 - '500': *557 + enterpriseOwner: *569 + '400': *554 + '401': *555 + '403': *556 + '409': *563 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81884,7 +81912,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: - - &569 + - &570 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -81897,15 +81925,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *567 + schema: *568 examples: - default: *568 - '400': *553 - '401': *554 - '403': *555 + default: *569 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '429': *556 - '500': *557 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81930,30 +81958,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: - - *569 + - *570 - *65 requestBody: required: true content: application/json: - schema: *570 + schema: *571 examples: - user: *571 + user: *572 responses: '200': description: User was updated content: application/scim+json: - schema: *567 + schema: *568 examples: - user: *568 - '400': *553 - '401': *554 - '403': *555 + user: *569 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '409': *562 - '429': *556 - '500': *557 + '409': *563 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -81991,13 +82019,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: - - *569 + - *570 - *65 requestBody: required: true content: application/json: - schema: *572 + schema: *573 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -82037,18 +82065,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *567 - examples: - userMultiValuedProperties: *568 - userSingleValuedProperties: *568 - disableUser: *568 - '400': *553 - '401': *554 - '403': *555 + schema: *568 + examples: + userMultiValuedProperties: *569 + userSingleValuedProperties: *569 + disableUser: *569 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '409': *562 - '429': *556 - '500': *557 + '409': *563 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -82068,17 +82096,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: - - *569 + - *570 - *65 responses: '204': description: User was deleted, no content - '400': *553 - '401': *554 - '403': *555 + '400': *554 + '401': *555 + '403': *556 '404': *26 - '429': *556 - '500': *557 + '429': *557 + '500': *558 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -82205,7 +82233,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &573 + text_matches: &574 title: Search Result Text Matches type: array items: @@ -82368,7 +82396,7 @@ paths: enum: - author-date - committer-date - - &574 + - &575 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 @@ -82496,7 +82524,7 @@ paths: type: number node_id: type: string - text_matches: *573 + text_matches: *574 required: - sha - node_id @@ -82689,7 +82717,7 @@ paths: - interactions - created - updated - - *574 + - *575 - *4 - *5 - name: advanced_search @@ -82786,11 +82814,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: type: string state_reason: @@ -82822,7 +82850,7 @@ paths: type: string format: date-time nullable: true - text_matches: *573 + text_matches: *574 pull_request: type: object properties: @@ -82866,7 +82894,7 @@ paths: timeline_url: type: string format: uri - type: *578 + type: *579 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -83047,7 +83075,7 @@ paths: enum: - created - updated - - *574 + - *575 - *4 - *5 responses: @@ -83091,7 +83119,7 @@ paths: nullable: true score: type: number - text_matches: *573 + text_matches: *574 required: - id - node_id @@ -83177,7 +83205,7 @@ paths: - forks - help-wanted-issues - updated - - *574 + - *575 - *4 - *5 responses: @@ -83416,7 +83444,7 @@ paths: - admin - pull - push - text_matches: *573 + text_matches: *574 temp_clone_token: type: string allow_merge_commit: @@ -83717,7 +83745,7 @@ paths: type: string format: uri nullable: true - text_matches: *573 + text_matches: *574 related: type: array nullable: true @@ -83910,7 +83938,7 @@ paths: - followers - repositories - joined - - *574 + - *575 - *4 - *5 responses: @@ -84014,7 +84042,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *573 + text_matches: *574 blog: type: string nullable: true @@ -84272,7 +84300,7 @@ paths: type: array items: *286 examples: - default: *579 + default: *580 headers: Link: *6 x-github: @@ -84424,7 +84452,7 @@ paths: application/json: schema: *286 examples: - default: *580 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84493,7 +84521,7 @@ paths: type: array items: *289 examples: - default: *581 + default: *582 headers: Link: *6 x-github: @@ -84635,7 +84663,7 @@ paths: application/json: schema: *289 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85103,7 +85131,7 @@ paths: application/json: schema: *300 examples: - response-if-user-is-a-team-maintainer: *583 + response-if-user-is-a-team-maintainer: *584 '404': *26 x-github: githubCloudOnly: false @@ -85164,7 +85192,7 @@ paths: application/json: schema: *300 examples: - response-if-users-membership-with-team-is-now-pending: *584 + response-if-users-membership-with-team-is-now-pending: *585 '403': description: Forbidden if team synchronization is set up '422': @@ -85239,7 +85267,7 @@ paths: type: array items: *301 examples: - default: *585 + default: *586 headers: Link: *6 '404': *26 @@ -85274,7 +85302,7 @@ paths: application/json: schema: *301 examples: - default: *586 + default: *587 '404': description: Not Found if project is not managed by this team x-github: @@ -85444,7 +85472,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *587 + schema: *588 examples: alternative-response-with-extra-repository-information: value: @@ -85686,7 +85714,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: *588 + response-if-child-teams-exist: *589 headers: Link: *6 '404': *26 @@ -85719,7 +85747,7 @@ paths: application/json: schema: oneOf: - - &590 + - &591 title: Private User description: Private User type: object @@ -85922,7 +85950,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *589 + - *590 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -86073,7 +86101,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -86151,7 +86179,7 @@ paths: type: array items: *222 examples: - default: &600 + default: &601 value: - id: 197 name: hello_docker @@ -86238,7 +86266,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Email description: Email type: object @@ -86263,7 +86291,7 @@ paths: - verified - visibility examples: - default: &602 + default: &603 value: - email: octocat@github.com verified: true @@ -86338,7 +86366,7 @@ paths: application/json: schema: type: array - items: *591 + items: *592 examples: default: value: @@ -86594,7 +86622,7 @@ paths: application/json: schema: type: array - items: &592 + items: &593 title: GPG Key description: A unique encryption key type: object @@ -86725,7 +86753,7 @@ paths: - subkeys - revoked examples: - default: &612 + default: &613 value: - id: 3 name: Octocat's GPG Key @@ -86810,9 +86838,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: &593 + default: &594 value: id: 3 name: Octocat's GPG Key @@ -86869,7 +86897,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: - - &594 + - &595 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -86881,9 +86909,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: *593 + default: *594 '404': *26 '304': *42 '403': *43 @@ -86906,7 +86934,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: - - *594 + - *595 responses: '204': description: Response @@ -87097,7 +87125,7 @@ paths: type: array items: *84 examples: - default: *595 + default: *596 headers: Link: *6 '404': *26 @@ -87273,7 +87301,7 @@ paths: application/json: schema: type: array - items: &596 + items: &597 title: Key description: Key type: object @@ -87374,9 +87402,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &597 + default: &598 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -87415,9 +87443,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 '404': *26 '304': *42 '403': *43 @@ -88260,7 +88288,7 @@ paths: type: array items: *70 examples: - default: *598 + default: *599 headers: Link: *6 '304': *42 @@ -88302,7 +88330,7 @@ paths: - docker - nuget - container - - *599 + - *600 - *5 - *4 responses: @@ -88314,8 +88342,8 @@ paths: type: array items: *222 examples: - default: *600 - '400': *601 + default: *601 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88344,7 +88372,7 @@ paths: application/json: schema: *222 examples: - default: &613 + default: &614 value: id: 40201 name: octo-name @@ -88797,9 +88825,9 @@ paths: application/json: schema: type: array - items: *591 + items: *592 examples: - default: *602 + default: *603 headers: Link: *6 '304': *42 @@ -88912,7 +88940,7 @@ paths: type: array items: *84 examples: - default: &609 + default: &610 summary: Default response value: - id: 1296269 @@ -89258,7 +89286,7 @@ paths: type: array items: *456 examples: - default: *603 + default: *604 headers: Link: *6 '304': *42 @@ -89337,7 +89365,7 @@ paths: application/json: schema: type: array - items: &604 + items: &605 title: Social account description: Social media account type: object @@ -89352,7 +89380,7 @@ paths: - provider - url examples: - default: &605 + default: &606 value: - provider: twitter url: https://twitter.com/github @@ -89414,9 +89442,9 @@ paths: application/json: schema: type: array - items: *604 + items: *605 examples: - default: *605 + default: *606 '422': *35 '304': *42 '404': *26 @@ -89503,7 +89531,7 @@ paths: application/json: schema: type: array - items: &606 + items: &607 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -89523,7 +89551,7 @@ paths: - title - created_at examples: - default: &614 + default: &615 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89589,9 +89617,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: &607 + default: &608 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -89622,7 +89650,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: - - &608 + - &609 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -89634,9 +89662,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: *607 + default: *608 '404': *26 '304': *42 '403': *43 @@ -89659,7 +89687,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: - - *608 + - *609 responses: '204': description: Response @@ -89688,7 +89716,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: - - &615 + - &616 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 @@ -89713,11 +89741,11 @@ paths: type: array items: *84 examples: - default-response: *609 + default-response: *610 application/vnd.github.v3.star+json: schema: type: array - items: &616 + items: &617 title: Starred Repository description: Starred Repository type: object @@ -90087,10 +90115,10 @@ paths: application/json: schema: oneOf: + - *591 - *590 - - *589 examples: - default-response: &610 + default-response: &611 summary: Default response value: login: octocat @@ -90125,7 +90153,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &611 + response-with-git-hub-plan-information: &612 summary: Response with GitHub plan information value: login: octocat @@ -90237,11 +90265,11 @@ paths: application/json: schema: oneOf: + - *591 - *590 - - *589 examples: - default-response: *610 - response-with-git-hub-plan-information: *611 + default-response: *611 + response-with-git-hub-plan-information: *612 '404': *26 x-github: githubCloudOnly: false @@ -90272,7 +90300,7 @@ paths: type: array items: *222 examples: - default: *600 + default: *601 '403': *43 '401': *41 x-github: @@ -90676,9 +90704,9 @@ paths: application/json: schema: type: array - items: *592 + items: *593 examples: - default: *612 + default: *613 headers: Link: *6 x-github: @@ -90867,7 +90895,7 @@ paths: type: array items: *70 examples: - default: *598 + default: *599 headers: Link: *6 x-github: @@ -90906,7 +90934,7 @@ paths: - docker - nuget - container - - *599 + - *600 - *8 - *5 - *4 @@ -90919,10 +90947,10 @@ paths: type: array items: *222 examples: - default: *600 + default: *601 '403': *43 '401': *41 - '400': *601 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90952,7 +90980,7 @@ paths: application/json: schema: *222 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91591,9 +91619,9 @@ paths: application/json: schema: type: array - items: *604 + items: *605 examples: - default: *605 + default: *606 headers: Link: *6 x-github: @@ -91623,9 +91651,9 @@ paths: application/json: schema: type: array - items: *606 + items: *607 examples: - default: *614 + default: *615 headers: Link: *6 x-github: @@ -91650,7 +91678,7 @@ paths: url: https://docs.github.com/enterprise-server@3.15/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *615 + - *616 - *9 - *4 - *5 @@ -91662,11 +91690,11 @@ paths: schema: anyOf: - type: array - items: *616 + items: *617 - type: array items: *84 examples: - default-response: *609 + default-response: *610 headers: Link: *6 x-github: @@ -91876,7 +91904,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &617 + enterprise: &618 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -91934,7 +91962,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &618 + installation: &619 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -91953,7 +91981,7 @@ x-webhooks: required: - id - node_id - organization: &619 + organization: &620 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -92013,13 +92041,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &620 + repository: &621 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &648 + properties: &649 id: description: Unique identifier of the repository example: 42 @@ -92702,7 +92730,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &649 + required: &650 - archive_url - assignees_url - blobs_url @@ -92853,10 +92881,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -92942,11 +92970,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: &621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: &622 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) @@ -93179,11 +93207,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -93376,11 +93404,11 @@ x-webhooks: - everyone required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -93461,11 +93489,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - exemption_request: &622 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + exemption_request: &623 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -93698,7 +93726,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &623 + items: &624 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -93816,11 +93844,11 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - exemption_request: *622 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + exemption_request: *623 sender: *19 required: - action @@ -93900,11 +93928,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - exemption_request: *622 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + exemption_request: *623 sender: *19 required: - action @@ -93984,12 +94012,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - exemption_request: *622 - exemption_response: *623 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + exemption_request: *623 + exemption_response: *624 sender: *19 required: - action @@ -94071,12 +94099,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - exemption_request: *622 - exemption_response: *623 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + exemption_request: *623 + exemption_response: *624 sender: *19 required: - action @@ -94161,12 +94189,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 ref: type: string - repository: *620 + repository: *621 sender: *19 required: - cache_location @@ -94260,7 +94288,7 @@ x-webhooks: type: string enum: - completed - check_run: &625 + check_run: &626 title: CheckRun description: A check performed on the code of a given code change type: object @@ -94351,7 +94379,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *624 + deployment: *625 details_url: example: https://example.com type: string @@ -94436,10 +94464,10 @@ x-webhooks: - output - app - pull_requests - installation: *618 - enterprise: *617 - organization: *619 - repository: *620 + installation: *619 + enterprise: *618 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -94842,11 +94870,11 @@ x-webhooks: type: string enum: - created - check_run: *625 - installation: *618 - enterprise: *617 - organization: *619 - repository: *620 + check_run: *626 + installation: *619 + enterprise: *618 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -95252,11 +95280,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *625 - installation: *618 - enterprise: *617 - organization: *619 - repository: *620 + check_run: *626 + installation: *619 + enterprise: *618 + organization: *620 + repository: *621 requested_action: description: The action requested by the user. type: object @@ -95671,11 +95699,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *625 - installation: *618 - enterprise: *617 - organization: *619 - repository: *620 + check_run: *626 + installation: *619 + enterprise: *618 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -96662,10 +96690,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -97345,10 +97373,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -98022,10 +98050,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -98343,20 +98371,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &626 + commit_oid: &627 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: *617 - installation: *618 - organization: *619 - ref: &627 + enterprise: *618 + installation: *619 + organization: *620 + ref: &628 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: *620 + repository: *621 sender: *19 required: - action @@ -98758,12 +98786,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *626 - enterprise: *617 - installation: *618 - organization: *619 - ref: *627 - repository: *620 + commit_oid: *627 + enterprise: *618 + installation: *619 + organization: *620 + ref: *628 + repository: *621 sender: *19 required: - action @@ -99036,12 +99064,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *626 - enterprise: *617 - installation: *618 - organization: *619 - ref: *627 - repository: *620 + commit_oid: *627 + enterprise: *618 + installation: *619 + organization: *620 + ref: *628 + repository: *621 sender: *19 required: - action @@ -99380,12 +99408,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *626 - enterprise: *617 - installation: *618 - organization: *619 - ref: *627 - repository: *620 + commit_oid: *627 + enterprise: *618 + installation: *619 + organization: *620 + ref: *628 + repository: *621 sender: *19 required: - action @@ -99660,16 +99688,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *620 + repository: *621 sender: *19 required: - action @@ -99913,12 +99941,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *626 - enterprise: *617 - installation: *618 - organization: *619 - ref: *627 - repository: *620 + commit_oid: *627 + enterprise: *618 + installation: *619 + organization: *620 + ref: *628 + repository: *621 sender: *19 required: - action @@ -100185,10 +100213,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -100278,18 +100306,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *619 - pusher_type: &628 + organization: *620 + pusher_type: &629 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &629 + ref: &630 description: The [`git ref`](https://docs.github.com/enterprise-server@3.15/rest/git/refs#get-a-reference) resource. type: string @@ -100299,7 +100327,7 @@ x-webhooks: enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -100382,9 +100410,9 @@ x-webhooks: enum: - created definition: *241 - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -100469,9 +100497,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -100549,9 +100577,9 @@ x-webhooks: enum: - updated definition: *241 - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -100628,10 +100656,10 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - repository: *620 - organization: *619 + enterprise: *618 + installation: *619 + repository: *621 + organization: *620 sender: *19 new_property_values: type: array @@ -100726,18 +100754,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - pusher_type: *628 - ref: *629 + enterprise: *618 + installation: *619 + organization: *620 + pusher_type: *629 + ref: *630 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -100832,10 +100860,10 @@ x-webhooks: enum: - auto_dismissed alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -100930,10 +100958,10 @@ x-webhooks: enum: - auto_reopened alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101028,10 +101056,10 @@ x-webhooks: enum: - created alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101124,10 +101152,10 @@ x-webhooks: enum: - dismissed alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101220,10 +101248,10 @@ x-webhooks: enum: - fixed alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101317,10 +101345,10 @@ x-webhooks: enum: - reintroduced alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101413,10 +101441,10 @@ x-webhooks: enum: - reopened alert: *418 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -101503,9 +101531,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - key: &630 + enterprise: *618 + installation: *619 + key: &631 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -101539,8 +101567,8 @@ x-webhooks: - verified - created_at - read_only - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -101627,11 +101655,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - key: *630 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + key: *631 + organization: *620 + repository: *621 sender: *19 required: - action @@ -102202,12 +102230,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: &634 + workflow: &635 title: Workflow type: object nullable: true @@ -102947,9 +102975,9 @@ x-webhooks: pull_requests: type: array items: *505 - repository: *620 - organization: *619 - installation: *618 + repository: *621 + organization: *620 + installation: *619 sender: *19 responses: '200': @@ -103030,7 +103058,7 @@ x-webhooks: type: string enum: - approved - approver: &631 + approver: &632 type: object properties: avatar_url: @@ -103073,11 +103101,11 @@ x-webhooks: type: string comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: &632 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: &633 type: array items: type: object @@ -103156,7 +103184,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &633 + workflow_job_run: &634 type: object properties: conclusion: @@ -103897,18 +103925,18 @@ x-webhooks: type: string enum: - rejected - approver: *631 + approver: *632 comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: *632 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: *633 sender: *19 since: type: string - workflow_job_run: *633 + workflow_job_run: *634 workflow_job_runs: type: array items: @@ -104622,13 +104650,13 @@ x-webhooks: type: string enum: - requested - enterprise: *617 + enterprise: *618 environment: type: string - installation: *618 - organization: *619 - repository: *620 - requestor: &639 + installation: *619 + organization: *620 + repository: *621 + requestor: &640 title: User type: object nullable: true @@ -106537,12 +106565,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *634 + workflow: *635 workflow_run: title: Deployment Workflow Run type: object @@ -107232,7 +107260,7 @@ x-webhooks: type: string enum: - answered - answer: &637 + answer: &638 type: object properties: author_association: @@ -107389,7 +107417,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &635 + discussion: &636 title: Discussion description: A Discussion in a repository. type: object @@ -107697,10 +107725,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -107837,11 +107865,11 @@ x-webhooks: - from required: - category - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -107934,11 +107962,11 @@ x-webhooks: type: string enum: - closed - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108030,7 +108058,7 @@ x-webhooks: type: string enum: - created - comment: &636 + comment: &637 type: object properties: author_association: @@ -108187,11 +108215,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108284,12 +108312,12 @@ x-webhooks: type: string enum: - deleted - comment: *636 - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *637 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108394,12 +108422,12 @@ x-webhooks: - from required: - body - comment: *636 - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *637 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108493,11 +108521,11 @@ x-webhooks: type: string enum: - created - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108589,11 +108617,11 @@ x-webhooks: type: string enum: - deleted - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108703,11 +108731,11 @@ x-webhooks: type: string required: - from - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108799,10 +108827,10 @@ x-webhooks: type: string enum: - labeled - discussion: *635 - enterprise: *617 - installation: *618 - label: &638 + discussion: *636 + enterprise: *618 + installation: *619 + label: &639 title: Label type: object properties: @@ -108834,8 +108862,8 @@ x-webhooks: - color - default - description - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -108928,11 +108956,11 @@ x-webhooks: type: string enum: - locked - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109024,11 +109052,11 @@ x-webhooks: type: string enum: - pinned - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109120,11 +109148,11 @@ x-webhooks: type: string enum: - reopened - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109219,16 +109247,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *635 - new_repository: *620 + new_discussion: *636 + new_repository: *621 required: - new_discussion - new_repository - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109321,10 +109349,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *635 - old_answer: *637 - organization: *619 - repository: *620 + discussion: *636 + old_answer: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109416,12 +109444,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *635 - enterprise: *617 - installation: *618 - label: *638 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109514,11 +109542,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109610,11 +109638,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *635 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *636 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -109855,7 +109883,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *617 + enterprise: *618 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.15/rest/repos/repos#get-a-repository) resource. @@ -110515,9 +110543,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - forkee @@ -110683,9 +110711,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pages: description: The pages that were updated. type: array @@ -110722,7 +110750,7 @@ x-webhooks: - action - sha - html_url - repository: *620 + repository: *621 sender: *19 required: - pages @@ -110808,10 +110836,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories: &640 + organization: *620 + repositories: &641 description: An array of repository objects that the installation can access. type: array @@ -110837,8 +110865,8 @@ x-webhooks: - name - full_name - private - repository: *620 - requester: *639 + repository: *621 + requester: *640 sender: *19 required: - action @@ -110923,11 +110951,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories: *640 - repository: *620 + organization: *620 + repositories: *641 + repository: *621 requester: nullable: true sender: *19 @@ -111013,11 +111041,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories: *640 - repository: *620 + organization: *620 + repositories: *641 + repository: *621 requester: nullable: true sender: *19 @@ -111103,10 +111131,10 @@ x-webhooks: type: string enum: - added - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories_added: &641 + organization: *620 + repositories_added: &642 description: An array of repository objects, which were added to the installation. type: array @@ -111152,15 +111180,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *620 - repository_selection: &642 + repository: *621 + repository_selection: &643 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *639 + requester: *640 sender: *19 required: - action @@ -111249,10 +111277,10 @@ x-webhooks: type: string enum: - removed - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories_added: *641 + organization: *620 + repositories_added: *642 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -111279,9 +111307,9 @@ x-webhooks: - name - full_name - private - repository: *620 - repository_selection: *642 - requester: *639 + repository: *621 + repository_selection: *643 + requester: *640 sender: *19 required: - action @@ -111370,11 +111398,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories: *640 - repository: *620 + organization: *620 + repositories: *641 + repository: *621 requester: nullable: true sender: *19 @@ -111563,10 +111591,10 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 target_type: type: string @@ -111655,11 +111683,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *617 + enterprise: *618 installation: *39 - organization: *619 - repositories: *640 - repository: *620 + organization: *620 + repositories: *641 + repository: *621 requester: nullable: true sender: *19 @@ -111921,8 +111949,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -112716,8 +112744,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112733,7 +112761,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -113066,8 +113094,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -113157,7 +113185,7 @@ x-webhooks: type: string enum: - deleted - comment: &643 + comment: &644 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.15/rest/issues/comments#get-an-issue-comment) itself. @@ -113322,8 +113350,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114113,8 +114141,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114130,7 +114158,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -114465,8 +114493,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -114556,7 +114584,7 @@ x-webhooks: type: string enum: - edited - changes: &666 + changes: &667 description: The changes to the comment. type: object properties: @@ -114568,9 +114596,9 @@ x-webhooks: type: string required: - from - comment: *643 - enterprise: *617 - installation: *618 + comment: *644 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115363,8 +115391,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115380,7 +115408,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -115713,8 +115741,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -115806,10 +115834,10 @@ x-webhooks: type: string enum: - assigned - assignee: *639 - enterprise: *617 - installation: *618 - issue: &646 + assignee: *640 + enterprise: *618 + installation: *619 + issue: &647 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -116598,11 +116626,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116618,7 +116646,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -116719,8 +116747,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -116810,8 +116838,8 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -117605,11 +117633,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117625,7 +117653,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -117861,8 +117889,8 @@ x-webhooks: required: - state - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -117951,8 +117979,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -118737,11 +118765,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118757,7 +118785,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -118857,8 +118885,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -118947,8 +118975,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -119755,11 +119783,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119775,7 +119803,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -119854,7 +119882,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &644 + milestone: &645 title: Milestone description: A collection of related issues and pull requests. type: object @@ -119992,8 +120020,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -120102,8 +120130,8 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -120892,11 +120920,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120909,7 +120937,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *578 + type: *579 title: description: Title of the issue type: string @@ -121013,9 +121041,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *638 - organization: *619 - repository: *620 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -121105,8 +121133,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -121894,11 +121922,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121911,7 +121939,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *578 + type: *579 title: description: Title of the issue type: string @@ -122015,9 +122043,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *638 - organization: *619 - repository: *620 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -122107,8 +122135,8 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -122920,11 +122948,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122937,7 +122965,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *578 + type: *579 title: description: Title of the issue type: string @@ -123018,8 +123046,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -123108,8 +123136,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -123915,11 +123943,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123935,7 +123963,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -124013,9 +124041,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *644 - organization: *619 - repository: *620 + milestone: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -124893,11 +124921,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124990,7 +125018,7 @@ x-webhooks: required: - login - id - type: *578 + type: *579 required: - id - number @@ -125459,8 +125487,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -126249,11 +126277,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126269,7 +126297,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -126369,8 +126397,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -126460,9 +126488,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *617 - installation: *618 - issue: &645 + enterprise: *618 + installation: *619 + issue: &646 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) itself. @@ -127245,11 +127273,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127265,7 +127293,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -127365,8 +127393,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -127455,8 +127483,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -128266,11 +128294,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128364,9 +128392,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *578 - organization: *619 - repository: *620 + type: *579 + organization: *620 + repository: *621 sender: *19 required: - action @@ -129242,11 +129270,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129262,7 +129290,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -129830,11 +129858,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *617 - installation: *618 - issue: *645 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *646 + organization: *620 + repository: *621 sender: *19 required: - action @@ -129925,7 +129953,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &669 + assignee: &670 title: User type: object nullable: true @@ -129995,11 +130023,11 @@ x-webhooks: required: - login - id - enterprise: *617 - installation: *618 - issue: *646 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *647 + organization: *620 + repository: *621 sender: *19 required: - action @@ -130088,12 +130116,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - issue: *646 - label: *638 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *647 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -130183,8 +130211,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.15/rest/issues/issues#get-an-issue) @@ -130994,11 +131022,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *575 - issue_dependencies_summary: *576 + sub_issues_summary: *576 + issue_dependencies_summary: *577 issue_field_values: type: array - items: *577 + items: *578 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131014,7 +131042,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *578 + type: *579 updated_at: type: string format: date-time @@ -131092,8 +131120,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131183,11 +131211,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *617 - installation: *618 - issue: *645 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *646 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131276,11 +131304,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - label: *638 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131368,11 +131396,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - label: *638 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131492,11 +131520,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - label: *638 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *639 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131610,11 +131638,11 @@ x-webhooks: type: string required: - to - enterprise: *617 - installation: *618 - member: *639 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *640 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131724,11 +131752,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *617 - installation: *618 - member: *639 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *640 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131817,11 +131845,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *639 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *640 + organization: *620 + repository: *621 sender: *19 required: - action @@ -131909,11 +131937,11 @@ x-webhooks: type: string enum: - added - enterprise: *617 - installation: *618 - member: *639 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *640 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -131989,7 +132017,7 @@ x-webhooks: required: - login - id - team: &647 + team: &648 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -132189,11 +132217,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *639 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *640 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -132270,7 +132298,7 @@ x-webhooks: required: - login - id - team: *647 + team: *648 required: - action - scope @@ -132358,7 +132386,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -132467,16 +132495,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *618 - organization: *619 + installation: *619 + organization: *620 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *648 - required: *649 + properties: *649 + required: *650 nullable: true sender: *19 required: @@ -132567,11 +132595,11 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - milestone: *644 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132660,9 +132688,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - milestone: &650 + enterprise: *618 + installation: *619 + milestone: &651 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132799,8 +132827,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132889,11 +132917,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - milestone: *644 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133013,11 +133041,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - milestone: *644 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133107,11 +133135,11 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - milestone: *650 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *651 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133200,9 +133228,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - membership: &651 + enterprise: *618 + installation: *619 + membership: &652 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -133309,8 +133337,8 @@ x-webhooks: - role - organization_url - user - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133398,11 +133426,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *617 - installation: *618 - membership: *651 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *652 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133491,8 +133519,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -133608,10 +133636,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 - user: *639 + user: *640 required: - action - invitation @@ -133699,11 +133727,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *617 - installation: *618 - membership: *651 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *652 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133800,11 +133828,11 @@ x-webhooks: properties: from: type: string - enterprise: *617 - installation: *618 - membership: *651 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *652 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133890,9 +133918,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -134391,7 +134419,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &652 + items: &653 title: Ruby Gems metadata type: object properties: @@ -134486,7 +134514,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -134572,9 +134600,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -134927,7 +134955,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *652 + items: *653 source_url: type: string format: uri @@ -134997,7 +135025,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -135184,12 +135212,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *617 + enterprise: *618 id: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - id @@ -135266,7 +135294,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &653 + personal_access_token_request: &654 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -135412,10 +135440,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *617 - organization: *619 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -135492,11 +135520,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *653 - enterprise: *617 - organization: *619 + personal_access_token_request: *654 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -135572,11 +135600,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *653 - enterprise: *617 - organization: *619 + personal_access_token_request: *654 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -135651,11 +135679,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *653 - organization: *619 - enterprise: *617 + personal_access_token_request: *654 + organization: *620 + enterprise: *618 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -135770,7 +135798,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *654 + last_response: *655 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -135802,8 +135830,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 zen: description: Random string of GitHub zen. @@ -136058,10 +136086,10 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: &655 + enterprise: *618 + installation: *619 + organization: *620 + project_card: &656 title: Project Card type: object properties: @@ -136180,7 +136208,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -136271,11 +136299,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_card: *655 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *656 + repository: *621 sender: *19 required: - action @@ -136365,9 +136393,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: title: Project Card type: object @@ -136495,8 +136523,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *648 - required: *649 + properties: *649 + required: *650 nullable: true sender: *19 required: @@ -136600,11 +136628,11 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: *655 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *656 + repository: *621 sender: *19 required: - action @@ -136708,9 +136736,9 @@ x-webhooks: - from required: - column_id - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: allOf: - title: Project Card @@ -136900,7 +136928,7 @@ x-webhooks: type: string required: - after_id - repository: *620 + repository: *621 sender: *19 required: - action @@ -136990,10 +137018,10 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - organization: *619 - project: &657 + enterprise: *618 + installation: *619 + organization: *620 + project: &658 title: Project type: object properties: @@ -137117,7 +137145,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -137207,10 +137235,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_column: &656 + enterprise: *618 + installation: *619 + organization: *620 + project_column: &657 title: Project Column type: object properties: @@ -137249,7 +137277,7 @@ x-webhooks: - name - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -137338,18 +137366,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project_column: *656 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *657 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *648 - required: *649 + properties: *649 + required: *650 nullable: true sender: *19 required: @@ -137449,11 +137477,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project_column: *656 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *657 + repository: *621 sender: *19 required: - action @@ -137543,11 +137571,11 @@ x-webhooks: type: string enum: - moved - enterprise: *617 - installation: *618 - organization: *619 - project_column: *656 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *657 + repository: *621 sender: *19 required: - action @@ -137637,11 +137665,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *658 + repository: *621 sender: *19 required: - action @@ -137731,18 +137759,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project: *657 + enterprise: *618 + installation: *619 + organization: *620 + project: *658 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *648 - required: *649 + properties: *649 + required: *650 nullable: true sender: *19 required: @@ -137854,11 +137882,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *658 + repository: *621 sender: *19 required: - action @@ -137947,11 +137975,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - organization: *619 - project: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *658 + repository: *621 sender: *19 required: - action @@ -138042,9 +138070,9 @@ x-webhooks: type: string enum: - closed - installation: *618 - organization: *619 - projects_v2: &658 + installation: *619 + organization: *620 + projects_v2: &659 title: Projects v2 Project description: A projects v2 project type: object @@ -138276,9 +138304,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2: *658 + installation: *619 + organization: *620 + projects_v2: *659 sender: *19 required: - action @@ -138369,9 +138397,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2: *658 + installation: *619 + organization: *620 + projects_v2: *659 sender: *19 required: - action @@ -138498,9 +138526,9 @@ x-webhooks: type: string to: type: string - installation: *618 - organization: *619 - projects_v2: *658 + installation: *619 + organization: *620 + projects_v2: *659 sender: *19 required: - action @@ -138593,7 +138621,7 @@ x-webhooks: type: string enum: - archived - changes: &662 + changes: &663 type: object properties: archived_at: @@ -138607,9 +138635,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *618 - organization: *619 - projects_v2_item: &659 + installation: *619 + organization: *620 + projects_v2_item: &660 title: Projects v2 Item description: An item belonging to a project type: object @@ -138761,9 +138789,9 @@ x-webhooks: nullable: true to: type: string - installation: *618 - organization: *619 - projects_v2_item: *659 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -138855,9 +138883,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2_item: *659 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -138948,9 +138976,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2_item: *659 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -139066,7 +139094,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &660 + - &661 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -139088,7 +139116,7 @@ x-webhooks: required: - id - name - - &661 + - &662 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -139122,8 +139150,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *660 - *661 + - *662 required: - field_value - type: object @@ -139139,9 +139167,9 @@ x-webhooks: nullable: true required: - body - installation: *618 - organization: *619 - projects_v2_item: *659 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -139246,9 +139274,9 @@ x-webhooks: to: type: string nullable: true - installation: *618 - organization: *619 - projects_v2_item: *659 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -139341,10 +139369,10 @@ x-webhooks: type: string enum: - restored - changes: *662 - installation: *618 - organization: *619 - projects_v2_item: *659 + changes: *663 + installation: *619 + organization: *620 + projects_v2_item: *660 sender: *19 required: - action @@ -139436,9 +139464,9 @@ x-webhooks: type: string enum: - reopened - installation: *618 - organization: *619 - projects_v2: *658 + installation: *619 + organization: *620 + projects_v2: *659 sender: *19 required: - action @@ -139519,10 +139547,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - repository @@ -139609,13 +139637,13 @@ x-webhooks: type: string enum: - assigned - assignee: *639 - enterprise: *617 - installation: *618 - number: &663 + assignee: *640 + enterprise: *618 + installation: *619 + number: &664 description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -141898,7 +141926,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -141990,11 +142018,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -144272,7 +144300,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -144364,11 +144392,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -146646,7 +146674,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -146738,11 +146766,11 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: &664 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: &665 allOf: - *505 - type: object @@ -146806,7 +146834,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *620 + repository: *621 sender: *19 required: - action @@ -146897,12 +146925,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: *664 - repository: *620 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: *665 + repository: *621 sender: *19 required: - action @@ -146992,11 +147020,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 + enterprise: *618 milestone: *486 - number: *663 - organization: *619 - pull_request: &665 + number: *664 + organization: *620 + pull_request: &666 title: Pull Request type: object properties: @@ -149259,7 +149287,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -149391,12 +149419,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: *664 - repository: *620 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: *665 + repository: *621 sender: *19 required: - action @@ -149486,11 +149514,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 - label: *638 - number: *663 - organization: *619 + enterprise: *618 + installation: *619 + label: *639 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -151772,7 +151800,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -151863,10 +151891,10 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 - number: *663 - organization: *619 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -154146,7 +154174,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -154236,12 +154264,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 + enterprise: *618 milestone: *486 - number: *663 - organization: *619 - pull_request: *665 - repository: *620 + number: *664 + organization: *620 + pull_request: *666 + repository: *621 sender: *19 required: - action @@ -154330,12 +154358,12 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: *664 - repository: *620 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: *665 + repository: *621 sender: *19 required: - action @@ -154426,12 +154454,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: *664 - repository: *620 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: *665 + repository: *621 sender: *19 required: - action @@ -154521,12 +154549,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - number: *663 - organization: *619 - pull_request: *664 - repository: *620 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 + pull_request: *665 + repository: *621 sender: *19 required: - action @@ -154902,9 +154930,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -157074,7 +157102,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -157164,7 +157192,7 @@ x-webhooks: type: string enum: - deleted - comment: &667 + comment: &668 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. @@ -157449,9 +157477,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -159609,7 +159637,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -159699,11 +159727,11 @@ x-webhooks: type: string enum: - edited - changes: *666 - comment: *667 - enterprise: *617 - installation: *618 - organization: *619 + changes: *667 + comment: *668 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -161864,7 +161892,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -161955,9 +161983,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -164130,7 +164158,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 review: description: The review that was affected. type: object @@ -164387,9 +164415,9 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -166443,8 +166471,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: &668 + repository: *621 + review: &669 description: The review that was affected. type: object properties: @@ -166687,12 +166715,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -168975,7 +169003,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -169059,12 +169087,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -171354,7 +171382,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -171556,12 +171584,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -173846,7 +173874,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -173931,12 +173959,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -176212,7 +176240,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -176403,9 +176431,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -178580,8 +178608,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: *668 + repository: *621 + review: *669 sender: *19 required: - action @@ -178671,9 +178699,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -180743,7 +180771,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -181140,9 +181168,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -183198,7 +183226,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -183598,10 +183626,10 @@ x-webhooks: type: string before: type: string - enterprise: *617 - installation: *618 - number: *663 - organization: *619 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -185872,7 +185900,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -185964,11 +185992,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *669 - enterprise: *617 - installation: *618 - number: *663 - organization: *619 + assignee: *670 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -188251,7 +188279,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -188340,11 +188368,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - label: *638 - number: *663 - organization: *619 + enterprise: *618 + installation: *619 + label: *639 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -190617,7 +190645,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -190708,10 +190736,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 - number: *663 - organization: *619 + enterprise: *618 + installation: *619 + number: *664 + organization: *620 pull_request: title: Pull Request type: object @@ -192976,7 +193004,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -193186,7 +193214,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *617 + enterprise: *618 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -193278,8 +193306,8 @@ x-webhooks: - url - author - committer - installation: *618 - organization: *619 + installation: *619 + organization: *620 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -193864,9 +193892,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -194312,7 +194340,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *652 + items: *653 summary: type: string tag_name: @@ -194366,7 +194394,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -194454,9 +194482,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -194764,7 +194792,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *652 + items: *653 summary: type: string tag_name: @@ -194813,7 +194841,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -194900,10 +194928,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - release: &670 + enterprise: *618 + installation: *619 + organization: *620 + release: &671 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -195221,7 +195249,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *620 + repository: *621 sender: *19 required: - action @@ -195308,11 +195336,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - release: *670 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *671 + repository: *621 sender: *19 required: - action @@ -195439,11 +195467,11 @@ x-webhooks: type: boolean required: - to - enterprise: *617 - installation: *618 - organization: *619 - release: *670 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *671 + repository: *621 sender: *19 required: - action @@ -195531,9 +195559,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) @@ -195855,7 +195883,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -195941,10 +195969,10 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - release: &671 + enterprise: *618 + installation: *619 + organization: *620 + release: &672 title: Release description: The [release](https://docs.github.com/enterprise-server@3.15/rest/releases/releases/#get-a-release) object. @@ -196263,7 +196291,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -196349,11 +196377,11 @@ x-webhooks: type: string enum: - released - enterprise: *617 - installation: *618 - organization: *619 - release: *670 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *671 + repository: *621 sender: *19 required: - action @@ -196439,11 +196467,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *617 - installation: *618 - organization: *619 - release: *671 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *672 + repository: *621 sender: *19 required: - action @@ -196529,10 +196557,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -196617,10 +196645,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -196705,10 +196733,10 @@ x-webhooks: type: string enum: - archived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -196795,10 +196823,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -196886,10 +196914,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -196983,10 +197011,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -197108,10 +197136,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -197199,10 +197227,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -197289,10 +197317,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -197396,10 +197424,10 @@ x-webhooks: - name required: - repository - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -197479,10 +197507,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 repository_ruleset: *270 sender: *19 required: @@ -197561,10 +197589,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 repository_ruleset: *270 sender: *19 required: @@ -197643,10 +197671,10 @@ x-webhooks: type: string enum: - edited - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 repository_ruleset: *270 changes: type: object @@ -197708,16 +197736,16 @@ x-webhooks: properties: added: type: array - items: *527 + items: *528 deleted: type: array - items: *527 + items: *528 updated: type: array items: type: object properties: - rule: *527 + rule: *528 changes: type: object properties: @@ -197961,10 +197989,10 @@ x-webhooks: - from required: - owner - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198052,10 +198080,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198143,7 +198171,7 @@ x-webhooks: type: string enum: - create - alert: &672 + alert: &673 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -198264,10 +198292,10 @@ x-webhooks: type: string enum: - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198483,10 +198511,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198574,11 +198602,11 @@ x-webhooks: type: string enum: - reopen - alert: *672 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *673 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198787,10 +198815,10 @@ x-webhooks: enum: - fixed - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -198878,7 +198906,7 @@ x-webhooks: type: string enum: - created - alert: &673 + alert: &674 type: object properties: number: *93 @@ -198958,10 +198986,10 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -199052,11 +199080,11 @@ x-webhooks: type: string enum: - created - alert: *673 - installation: *618 - location: *674 - organization: *619 - repository: *620 + alert: *674 + installation: *619 + location: *675 + organization: *620 + repository: *621 sender: *19 required: - location @@ -199299,11 +199327,11 @@ x-webhooks: type: string enum: - reopened - alert: *673 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *674 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -199391,11 +199419,11 @@ x-webhooks: type: string enum: - resolved - alert: *673 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *674 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -199483,11 +199511,11 @@ x-webhooks: type: string enum: - validated - alert: *673 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *674 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -199573,11 +199601,11 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: &675 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: &676 description: The details of the security advisory, including summary, description, and severity. type: object @@ -199770,11 +199798,11 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: *675 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: *676 sender: *19 required: - action @@ -199857,10 +199885,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -200055,9 +200083,9 @@ x-webhooks: type: object properties: security_and_analysis: *248 - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: *314 sender: *19 required: @@ -200146,12 +200174,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: &676 + sponsorship: &677 type: object properties: created_at: @@ -200462,12 +200490,12 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *676 + sponsorship: *677 required: - action - sponsorship @@ -200565,12 +200593,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *676 + sponsorship: *677 required: - action - changes @@ -200657,17 +200685,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &677 + effective_date: &678 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: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *676 + sponsorship: *677 required: - action - sponsorship @@ -200751,7 +200779,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &678 + changes: &679 type: object properties: tier: @@ -200795,13 +200823,13 @@ x-webhooks: - from required: - tier - effective_date: *677 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + effective_date: *678 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *676 + sponsorship: *677 required: - action - changes @@ -200888,13 +200916,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *678 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + changes: *679 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *676 + sponsorship: *677 required: - action - changes @@ -200978,10 +201006,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -201074,10 +201102,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -201503,15 +201531,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *617 + enterprise: *618 id: description: The unique identifier of the status. type: integer - installation: *618 + installation: *619 name: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 sha: description: The Commit SHA. @@ -201623,12 +201651,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - team: &679 + team: &680 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -201828,9 +201856,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -202288,7 +202316,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *679 + team: *680 required: - action - team @@ -202374,9 +202402,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -202834,7 +202862,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *679 + team: *680 required: - action - team @@ -202921,9 +202949,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -203381,7 +203409,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *679 + team: *680 required: - action - team @@ -203535,9 +203563,9 @@ x-webhooks: - from required: - permissions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -203995,7 +204023,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *679 + team: *680 required: - action - changes @@ -204083,9 +204111,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -204543,7 +204571,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *679 + team: *680 required: - action - team @@ -204626,12 +204654,12 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - user: *639 + user: *640 required: - action responses: @@ -204709,12 +204737,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - user: *639 + user: *640 required: - action responses: @@ -204795,10 +204823,10 @@ x-webhooks: type: string enum: - started - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204881,16 +204909,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *617 + enterprise: *618 inputs: type: object nullable: true additionalProperties: true - installation: *618 - organization: *619 + installation: *619 + organization: *620 ref: type: string - repository: *620 + repository: *621 sender: *19 workflow: type: string @@ -204982,10 +205010,10 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -205311,10 +205339,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -205663,10 +205691,10 @@ x-webhooks: type: string enum: - queued - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -205890,10 +205918,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -206119,12 +206147,12 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}