diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 4d46245e7..87909cedb 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -13884,7 +13884,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -14044,7 +14044,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -25805,6 +25805,103 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/view-number" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, "/orgs/{org}/properties/schema": { "get": { "summary": "Get all custom properties for an organization", @@ -29725,449 +29822,6 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, "/orgs/{org}/teams/{team_slug}/invitations": { "get": { "summary": "List pending team invitations", @@ -66385,134 +66039,7 @@ "examples": { "default": { "value": { - "body": "Do you like apples?" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-discussion-comment" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-discussion-comment" - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { - "get": { - "summary": "Get a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/get-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-discussion-comment" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-discussion-comment" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/update-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The discussion comment's body text." - } - }, - "required": [ - "body" - ] - }, - "examples": { - "default": { - "value": { - "body": "Do you like pineapples?" + "body": "Do you like apples?" } } } @@ -66520,7 +66047,7 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { @@ -66529,7 +66056,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment-2" + "$ref": "#/components/examples/team-discussion-comment" } } } @@ -66537,43 +66064,7 @@ } }, "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/delete-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "removalDate": "2021-02-01", @@ -66584,17 +66075,17 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "Get a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", + "operationId": "teams/get-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy" }, "parameters": [ { @@ -66605,31 +66096,6 @@ }, { "$ref": "#/components/parameters/comment-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" } ], "responses": { @@ -66638,45 +66104,37 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } + "$ref": "#/components/schemas/team-discussion-comment" }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/team-discussion-comment" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "patch": { + "summary": "Update a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", + "operationId": "teams/update-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy" }, "parameters": [ { @@ -66696,29 +66154,19 @@ "schema": { "type": "object", "properties": { - "content": { + "body": { "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "description": "The discussion comment's body text." } }, "required": [ - "content" + "body" ] }, "examples": { "default": { "value": { - "content": "heart" + "body": "Do you like pineapples?" } } } @@ -66726,16 +66174,16 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/team-discussion-comment" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/team-discussion-comment-2" } } } @@ -66745,25 +66193,23 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-legacy", + "operationId": "teams/delete-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy" }, "parameters": [ { @@ -66773,145 +66219,21 @@ "$ref": "#/components/parameters/discussion-number" }, { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/comment-number" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true } @@ -76612,6 +75934,103 @@ } } }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/view-number" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "items" + } + } + }, "/users/{username}/received_events": { "get": { "summary": "List events received by the authenticated user", @@ -123173,66 +122592,6 @@ "url" ] }, - "reaction": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, "team-membership": { "title": "Team Membership", "description": "Team Membership", @@ -129575,6 +128934,66 @@ "updated_at" ] }, + "reaction": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2016-05-20T20:09:31Z" + ] + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, "branch-short": { "title": "Branch Short", "description": "Branch Short", @@ -300431,64 +299850,6 @@ } } }, - "reaction-items": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - }, - "reaction": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - }, "team-membership-response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -305755,6 +305116,64 @@ "updated_at": "2011-04-14T16:00:49Z" } }, + "reaction-items": { + "value": [ + { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "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 + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + ] + }, + "reaction": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "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 + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + }, "commit-items": { "value": [ { @@ -321226,6 +320645,15 @@ "type": "integer" } }, + "view-number": { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", @@ -321473,15 +320901,6 @@ "type": "integer" } }, - "reaction-id": { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "security-product": { "name": "security_product", "in": "path", @@ -321801,6 +321220,15 @@ "$ref": "#/components/schemas/alert-number" } }, + "reaction-id": { + "name": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "commit-sha": { "name": "commit_sha", "description": "The SHA of the commit.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 34e459019..cedfc2d29 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -10017,7 +10017,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -10151,7 +10155,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -18632,6 +18638,67 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view + parameters: + - "$ref": "#/components/parameters/project-number" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/view-number" + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/projects-v2-item-with-content" + examples: + default: + "$ref": "#/components/examples/projects-v2-item-with-content" + headers: + Link: + "$ref": "#/components/headers/link" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -21469,326 +21536,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - "$ref": "#/components/parameters/reaction-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/reaction-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/invitations": get: summary: List pending team invitations @@ -48289,256 +48036,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -55417,6 +54914,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view + parameters: + - "$ref": "#/components/parameters/project-number" + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/view-number" + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/projects-v2-item-with-content" + examples: + default: + "$ref": "#/components/examples/projects-v2-item-with-content" + headers: + Link: + "$ref": "#/components/headers/link" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -89384,49 +88941,6 @@ components: - number - updated_at - url - reaction: - title: Reaction - description: Reactions to conversations provide a way to help people express - their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at team-membership: title: Team Membership description: Team Membership @@ -94037,6 +93551,49 @@ components: - author_association - created_at - updated_at + reaction: + title: Reaction + description: Reactions to conversations provide a way to help people express + their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at branch-short: title: Branch Short description: Branch Short @@ -222245,56 +221802,6 @@ components: hooray: 0 eyes: 1 rocket: 1 - reaction-items: - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - reaction: - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' team-membership-response-if-user-is-a-team-maintainer: summary: Response if user is a team maintainer value: @@ -226839,6 +226346,56 @@ components: site_admin: false created_at: '2011-04-14T16:00:49Z' updated_at: '2011-04-14T16:00:49Z' + reaction-items: + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' + reaction: + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' commit-items: value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -240214,6 +239771,13 @@ components: required: true schema: type: integer + view-number: + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer custom-property-name: name: custom_property_name description: The custom property name @@ -240439,13 +240003,6 @@ components: required: true schema: type: integer - reaction-id: - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer security-product: name: security_product in: path @@ -240720,6 +240277,13 @@ components: required: true schema: "$ref": "#/components/schemas/alert-number" + reaction-id: + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer commit-sha: name: commit_sha description: The SHA of the commit. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 4d46245e7..87909cedb 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -13884,7 +13884,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -14044,7 +14044,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -25805,6 +25805,103 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/view-number" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, "/orgs/{org}/properties/schema": { "get": { "summary": "Get all custom properties for an organization", @@ -29725,449 +29822,6 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, "/orgs/{org}/teams/{team_slug}/invitations": { "get": { "summary": "List pending team invitations", @@ -66385,134 +66039,7 @@ "examples": { "default": { "value": { - "body": "Do you like apples?" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-discussion-comment" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-discussion-comment" - } - } - } - } - } - }, - "x-github": { - "triggersNotification": true, - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { - "get": { - "summary": "Get a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/get-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-discussion-comment" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-discussion-comment" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/update-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The discussion comment's body text." - } - }, - "required": [ - "body" - ] - }, - "examples": { - "default": { - "value": { - "body": "Do you like pineapples?" + "body": "Do you like apples?" } } } @@ -66520,7 +66047,7 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { @@ -66529,7 +66056,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment-2" + "$ref": "#/components/examples/team-discussion-comment" } } } @@ -66537,43 +66064,7 @@ } }, "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/delete-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, "removalDate": "2021-02-01", @@ -66584,17 +66075,17 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "Get a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", + "operationId": "teams/get-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy" }, "parameters": [ { @@ -66605,31 +66096,6 @@ }, { "$ref": "#/components/parameters/comment-number" - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" } ], "responses": { @@ -66638,45 +66104,37 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } + "$ref": "#/components/schemas/team-discussion-comment" }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/team-discussion-comment" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "patch": { + "summary": "Update a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", + "operationId": "teams/update-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy" }, "parameters": [ { @@ -66696,29 +66154,19 @@ "schema": { "type": "object", "properties": { - "content": { + "body": { "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "description": "The discussion comment's body text." } }, "required": [ - "content" + "body" ] }, "examples": { "default": { "value": { - "content": "heart" + "body": "Do you like pineapples?" } } } @@ -66726,16 +66174,16 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/team-discussion-comment" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/team-discussion-comment-2" } } } @@ -66745,25 +66193,23 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a discussion comment (Legacy)", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-legacy", + "operationId": "teams/delete-discussion-comment-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" + "url": "https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy" }, "parameters": [ { @@ -66773,145 +66219,21 @@ "$ref": "#/components/parameters/discussion-number" }, { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/comment-number" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" + "removalDate": "2021-02-01", + "deprecationDate": "2020-01-21", + "category": "teams", + "subcategory": "discussion-comments" }, "deprecated": true } @@ -76612,6 +75934,103 @@ } } }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/view-number" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "items" + } + } + }, "/users/{username}/received_events": { "get": { "summary": "List events received by the authenticated user", @@ -123173,66 +122592,6 @@ "url" ] }, - "reaction": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, "team-membership": { "title": "Team Membership", "description": "Team Membership", @@ -129575,6 +128934,66 @@ "updated_at" ] }, + "reaction": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2016-05-20T20:09:31Z" + ] + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, "branch-short": { "title": "Branch Short", "description": "Branch Short", @@ -300431,64 +299850,6 @@ } } }, - "reaction-items": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - }, - "reaction": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - }, "team-membership-response-if-user-is-a-team-maintainer": { "summary": "Response if user is a team maintainer", "value": { @@ -305755,6 +305116,64 @@ "updated_at": "2011-04-14T16:00:49Z" } }, + "reaction-items": { + "value": [ + { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "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 + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + ] + }, + "reaction": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "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 + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + }, "commit-items": { "value": [ { @@ -321226,6 +320645,15 @@ "type": "integer" } }, + "view-number": { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", @@ -321473,15 +320901,6 @@ "type": "integer" } }, - "reaction-id": { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "security-product": { "name": "security_product", "in": "path", @@ -321801,6 +321220,15 @@ "$ref": "#/components/schemas/alert-number" } }, + "reaction-id": { + "name": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, "commit-sha": { "name": "commit_sha", "description": "The SHA of the commit.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 34e459019..cedfc2d29 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -10017,7 +10017,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -10151,7 +10155,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -18632,6 +18638,67 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view + parameters: + - "$ref": "#/components/parameters/project-number" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/view-number" + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/projects-v2-item-with-content" + examples: + default: + "$ref": "#/components/examples/projects-v2-item-with-content" + headers: + Link: + "$ref": "#/components/headers/link" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -21469,326 +21536,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - "$ref": "#/components/parameters/reaction-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/reaction-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/invitations": get: summary: List pending team invitations @@ -48289,256 +48036,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/comment-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction-items" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/discussion-number" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/reaction" - examples: - default: - "$ref": "#/components/examples/reaction" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -55417,6 +54914,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view + parameters: + - "$ref": "#/components/parameters/project-number" + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/view-number" + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/projects-v2-item-with-content" + examples: + default: + "$ref": "#/components/examples/projects-v2-item-with-content" + headers: + Link: + "$ref": "#/components/headers/link" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -89384,49 +88941,6 @@ components: - number - updated_at - url - reaction: - title: Reaction - description: Reactions to conversations provide a way to help people express - their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at team-membership: title: Team Membership description: Team Membership @@ -94037,6 +93551,49 @@ components: - author_association - created_at - updated_at + reaction: + title: Reaction + description: Reactions to conversations provide a way to help people express + their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at branch-short: title: Branch Short description: Branch Short @@ -222245,56 +221802,6 @@ components: hooray: 0 eyes: 1 rocket: 1 - reaction-items: - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - reaction: - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' team-membership-response-if-user-is-a-team-maintainer: summary: Response if user is a team maintainer value: @@ -226839,6 +226346,56 @@ components: site_admin: false created_at: '2011-04-14T16:00:49Z' updated_at: '2011-04-14T16:00:49Z' + reaction-items: + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' + reaction: + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' commit-items: value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -240214,6 +239771,13 @@ components: required: true schema: type: integer + view-number: + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer custom-property-name: name: custom_property_name description: The custom property name @@ -240439,13 +240003,6 @@ components: required: true schema: type: integer - reaction-id: - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer security-product: name: security_product in: path @@ -240720,6 +240277,13 @@ components: required: true schema: "$ref": "#/components/schemas/alert-number" + reaction-id: + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer commit-sha: name: commit_sha description: The SHA of the commit. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 11a00aeb0..5226d58a1 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -99771,7 +99771,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -99937,7 +99937,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -198359,19 +198359,28 @@ } } }, - "/orgs/{org}/properties/schema": { + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { - "summary": "Get all custom properties for an organization", - "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", "tags": [ - "orgs" + "projects" ], - "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", + "operationId": "projects/list-view-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view" }, "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "org", "description": "The organization name. The name is not case sensitive.", @@ -198380,6 +198389,62 @@ "schema": { "type": "string" } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } } ], "responses": { @@ -198390,137 +198455,1285 @@ "schema": { "type": "array", "items": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", + "title": "Projects v2 Item", + "description": "An item belonging to a project", "type": "object", "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" + "id": { + "type": "number", + "description": "The unique identifier of the project item." }, - "url": { + "node_id": { "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + "description": "The node ID of the project item." }, - "source_type": { + "project_url": { "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], + "format": "uri", + "description": "The API URL of the project that contains this item.", "examples": [ - "organization" + "https://api.github.com/users/monalisa/2/projectsV2/3" ] }, - "value_type": { + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", "type": "string", "enum": [ - "string", - "single_select", - "multi_select", - "true_false", - "url" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" + "Issue", + "PullRequest", + "DraftIssue" ] }, - "required": { - "type": "boolean", - "description": "Whether the property is required." + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." }, - "default_value": { - "oneOf": [ - { - "type": "string" + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" + }, + "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" ] }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "allowed_values": { + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - }, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "values_editable_by": { + "item_url": { "type": [ "string", "null" ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", + "format": "uri", + "description": "The API URL of this item.", "examples": [ - "org_actors" + "https://api.github.com/users/monalisa/2/projectsV2/items/3" ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." } }, "required": [ - "property_name", - "value_type" + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] } }, "examples": { "default": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } ], - "values_editable_by": "org_actors" + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/properties/schema": { + "get": { + "summary": "Get all custom properties for an organization", + "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "tags": [ + "orgs" + ], + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false", + "url" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] } } } @@ -232253,2114 +233466,17 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/invitations": { "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", + "operationId": "teams/list-pending-invitations-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/invitations": { - "get": { - "summary": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", - "tags": [ - "teams" - ], - "operationId": "teams/list-pending-invitations-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/members#list-pending-team-invitations" + "url": "https://docs.github.com/rest/teams/members#list-pending-team-invitations" }, "parameters": [ { @@ -629530,1420 +628646,6 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, "/teams/{team_id}/invitations": { "get": { "summary": "List pending team invitations (Legacy)", @@ -763473,497 +761175,1249 @@ } ] } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": true, - "category": "projects", - "subcategory": "items" - } - }, - "patch": { - "summary": "Update project item for user", - "description": "Update a specific item in a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/update-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#update-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "description": "A list of field updates to apply.", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the project field to update." - }, - "value": { - "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "type": [ - "null", - "string", - "number" - ] - } - }, - "required": [ - "id", - "value" - ] - } - } - }, - "required": [ - "fields" - ] - }, - "examples": { - "text_field": { - "summary": "Update a text field", - "value": { - "fields": [ - { - "id": 123, - "value": "Updated text value" - } - ] - } - }, - "number_field": { - "summary": "Update a number field", - "value": { - "fields": [ - { - "id": 456, - "value": 42.5 - } - ] - } - }, - "date_field": { - "summary": "Update a date field", - "value": { - "fields": [ - { - "id": 789, - "value": "2023-10-05" - } - ] - } - }, - "single_select_field": { - "summary": "Update a single select field", - "value": { - "fields": [ - { - "id": 789, - "value": "47fc9ee4" - } - ] - } - }, - "iteration_field": { - "summary": "Update an iteration field", - "value": { - "fields": [ - { - "id": 1011, - "value": "866ee5b8" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + }, + "patch": { + "summary": "Update project item for user", + "description": "Update a specific item in a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/update-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#update-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "description": "A list of field updates to apply.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the project field to update." + }, + "value": { + "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "type": [ + "null", + "string", + "number" + ] + } + }, + "required": [ + "id", + "value" + ] + } + } + }, + "required": [ + "fields" + ] + }, + "examples": { + "text_field": { + "summary": "Update a text field", + "value": { + "fields": [ + { + "id": 123, + "value": "Updated text value" + } + ] + } + }, + "number_field": { + "summary": "Update a number field", + "value": { + "fields": [ + { + "id": 456, + "value": 42.5 + } + ] + } + }, + "date_field": { + "summary": "Update a date field", + "value": { + "fields": [ + { + "id": 789, + "value": "2023-10-05" + } + ] + } + }, + "single_select_field": { + "summary": "Update a single select field", + "value": { + "fields": [ + { + "id": 789, + "value": "47fc9ee4" + } + ] + } + }, + "iteration_field": { + "summary": "Update an iteration field", + "value": { + "fields": [ + { + "id": 1011, + "value": "866ee5b8" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "text_field": { + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + }, + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "text_field": { + "number_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -764715,7 +763169,7 @@ ] } }, - "number_field": { + "date_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -765467,7 +763921,7 @@ ] } }, - "date_field": { + "single_select_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -766219,7 +764673,7 @@ ] } }, - "single_select_field": { + "iteration_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -766970,8 +765424,637 @@ } ] } - }, - "iteration_field": { + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "delete": { + "summary": "Delete project item for user", + "description": "Delete a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/delete-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#delete-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + } + }, + "examples": { + "default": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -767725,34 +766808,19 @@ } } } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } }, + "304": { + "description": "Not modified" + }, "403": { "description": "Forbidden", "content": { @@ -767779,161 +766847,8 @@ } } }, - "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": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "delete": { - "summary": "Delete project item for user", - "description": "Delete a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/delete-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#delete-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -767958,8 +766873,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -767987,7 +766902,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "projects", "subcategory": "items" } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index de4cff6a1..121df3240 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -9169,7 +9169,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 - - &462 + - &460 name: has in: query description: |- @@ -9289,7 +9289,7 @@ paths: - direct - transitive - - security_advisory: &463 + security_advisory: &461 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9557,7 +9557,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &464 + auto_dismissed_at: &462 type: - string - 'null' @@ -9565,7 +9565,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &465 + dismissal_request: &463 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10956,7 +10956,7 @@ paths: properties: action: type: string - discussion: &715 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -11895,7 +11895,7 @@ paths: action: type: string issue: *70 - comment: &512 + comment: &510 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -16660,14 +16660,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &318 + - &314 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &315 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16729,7 +16729,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &318 description: Moved permanently content: application/json: @@ -18956,7 +18956,7 @@ paths: required: false schema: type: string - - &692 + - &693 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19102,7 +19102,7 @@ paths: parameters: - *65 - *107 - - &693 + - &694 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 @@ -19214,7 +19214,7 @@ paths: - *107 - *109 - *108 - - &694 + - &695 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19222,7 +19222,7 @@ paths: schema: type: string - *110 - - &695 + - &696 name: sku description: The SKU to query for usage. in: query @@ -20201,7 +20201,7 @@ paths: type: integer repository_cache_usages: type: array - items: &329 + items: &325 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21439,7 +21439,7 @@ paths: - all - local_only - selected - selected_actions_url: &335 + selected_actions_url: &331 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` @@ -21522,7 +21522,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &335 type: object properties: days: @@ -21564,7 +21564,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &336 type: object properties: days: @@ -21621,7 +21621,7 @@ paths: required: - approval_policy examples: - default: &341 + default: &337 value: approval_policy: first_time_contributors '404': *6 @@ -21680,7 +21680,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -21734,7 +21734,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &339 type: object required: - run_workflows_from_fork_pull_requests @@ -22369,7 +22369,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &340 type: object properties: default_workflow_permissions: &137 @@ -22420,7 +22420,7 @@ paths: required: false content: application/json: - schema: &345 + schema: &341 type: object properties: default_workflow_permissions: *137 @@ -23560,7 +23560,7 @@ paths: application/json: schema: type: array - items: &346 + items: &342 title: Runner Application description: Runner Application type: object @@ -23585,7 +23585,7 @@ paths: - download_url - filename examples: - default: &347 + default: &343 value: - os: osx architecture: x64 @@ -23671,7 +23671,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &348 + '201': &344 description: Response content: application/json: @@ -23786,7 +23786,7 @@ paths: - token - expires_at examples: - default: &349 + default: &345 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23825,7 +23825,7 @@ paths: application/json: schema: *148 examples: - default: &350 + default: &346 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23859,7 +23859,7 @@ paths: application/json: schema: *146 examples: - default: &351 + default: &347 value: id: 23 name: MBP @@ -24085,7 +24085,7 @@ paths: - *65 - *145 responses: - '200': &352 + '200': &348 description: Response content: application/json: @@ -24142,7 +24142,7 @@ paths: parameters: - *65 - *145 - - &353 + - &349 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24274,7 +24274,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &361 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24309,7 +24309,7 @@ paths: - key_id - key examples: - default: &366 + default: &362 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24722,7 +24722,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *65 - - &334 + - &330 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)." @@ -25388,7 +25388,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -25522,7 +25526,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -26290,7 +26296,7 @@ paths: initiator: type: string examples: - default: &379 + default: &375 value: attestations: - bundle: @@ -27246,7 +27252,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *65 - - &403 + - &399 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -27256,7 +27262,7 @@ paths: schema: &169 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &400 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -27280,7 +27286,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &402 type: string description: State of a code scanning alert. enum: @@ -27303,7 +27309,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &403 type: string description: Severity of a code scanning alert. enum: @@ -27337,7 +27343,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: &408 + instances_url: &404 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27359,7 +27365,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &409 + dismissed_reason: &405 type: - string - 'null' @@ -27370,14 +27376,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &410 + dismissed_comment: &406 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &411 + rule: &407 type: object properties: id: @@ -27438,7 +27444,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &408 type: object properties: name: *169 @@ -27449,26 +27455,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *170 - most_recent_instance: &413 + most_recent_instance: &409 type: object properties: - ref: &405 + ref: &401 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &419 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &424 + environment: &420 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &425 + category: &421 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27482,7 +27488,7 @@ paths: properties: text: type: string - location: &426 + location: &422 type: object description: Describe a region within a file for the alert. properties: @@ -27503,7 +27509,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &427 + items: &423 type: - string - 'null' @@ -28796,7 +28802,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &435 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29748,7 +29754,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &436 value: total_count: 2 secrets: @@ -29786,7 +29792,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &437 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29821,7 +29827,7 @@ paths: - key_id - key examples: - default: &442 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29853,7 +29859,7 @@ paths: application/json: schema: *179 examples: - default: &444 + default: &440 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31476,7 +31482,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &466 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31495,7 +31501,7 @@ paths: - key_id - key examples: - default: &469 + default: &467 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33323,7 +33329,7 @@ paths: application/json: schema: *20 examples: - default: &507 + default: &505 value: id: 1 account: @@ -33551,7 +33557,7 @@ paths: required: true content: application/json: - schema: &508 + schema: &506 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34411,7 +34417,7 @@ paths: application/json: schema: *221 examples: - default: &438 + default: &434 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38599,7 +38605,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &743 + - &744 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38873,7 +38879,7 @@ paths: content: oneOf: - *70 - - &451 + - &449 title: Pull Request Simple description: Pull Request Simple type: object @@ -41056,6 +41062,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view + parameters: + - *251 + - *65 + - &692 + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *43 + - *44 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *258 + examples: + default: *259 + headers: + Link: *56 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -41945,7 +42011,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &317 title: Full Repository description: Full Repository type: object @@ -42410,7 +42476,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &456 + code_of_conduct: &454 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42524,7 +42590,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49041,408 +49107,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - *65 - - *66 - - *309 - - *312 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &313 - title: Reaction - description: Reactions to conversations provide a way to help people - express their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - *4 - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at - examples: - default: &315 - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - *65 - - *66 - - *309 - - *312 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: *313 - examples: - default: &314 - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - *65 - - *66 - - *309 - - *312 - - &316 - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - *65 - - *66 - - *309 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - *65 - - *66 - - *309 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - *65 - - *66 - - *309 - - *316 - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/invitations": get: summary: List pending team invitations @@ -49555,7 +49219,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &313 title: Team Membership description: Team Membership type: object @@ -49646,7 +49310,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-users-membership-with-team-is-now-pending: &642 summary: Response if user's membership with team is now pending @@ -49755,8 +49419,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Alternative response with repository permissions @@ -50405,8 +50069,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -50453,8 +50117,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -50645,7 +50309,7 @@ paths: resources: type: object properties: - core: &320 + core: &316 title: Rate Limit type: object properties: @@ -50662,21 +50326,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *320 + rate: *316 required: - rate - resources @@ -50781,14 +50445,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *321 + schema: *317 examples: default-response: summary: Default response @@ -51289,7 +50953,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51307,8 +50971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -51556,10 +51220,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 - '307': &324 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -51588,8 +51252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -51611,7 +51275,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *320 '404': *6 '409': *49 x-github: @@ -51635,11 +51299,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - - &357 + - &353 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51662,7 +51326,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &321 title: Artifact description: An artifact type: object @@ -51757,7 +51421,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &354 value: total_count: 2 artifacts: @@ -51818,9 +51482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *318 - - *319 - - &326 + - *314 + - *315 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51832,7 +51496,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *321 examples: default: value: @@ -51870,9 +51534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *318 - - *319 - - *326 + - *314 + - *315 + - *322 responses: '204': description: Response @@ -51896,9 +51560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *318 - - *319 - - *326 + - *314 + - *315 + - *322 - name: archive_format in: path required: true @@ -51912,7 +51576,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': &511 + '410': &509 description: Gone content: application/json: @@ -51937,14 +51601,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &327 + schema: &323 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51978,13 +51642,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *327 + schema: *323 examples: selected_actions: *40 responses: @@ -52013,14 +51677,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &328 + schema: &324 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52054,13 +51718,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *328 + schema: *324 examples: selected_actions: *42 responses: @@ -52091,14 +51755,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *329 + schema: *325 examples: default: value: @@ -52124,11 +51788,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - - &330 + - &326 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 @@ -52162,7 +51826,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &327 title: Repository actions caches description: Repository actions caches type: object @@ -52212,7 +51876,7 @@ paths: - total_count - actions_caches examples: - default: &332 + default: &328 value: total_count: 1 actions_caches: @@ -52244,23 +51908,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: - - *318 - - *319 + - *314 + - *315 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *330 + - *326 responses: '200': description: Response content: application/json: - schema: *331 + schema: *327 examples: - default: *332 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52280,8 +51944,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: - - *318 - - *319 + - *314 + - *315 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52312,9 +51976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *318 - - *319 - - &333 + - *314 + - *315 + - &329 name: job_id description: The unique identifier of the job. in: path @@ -52326,7 +51990,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &357 title: Job description: Information of a job execution in a workflow run type: object @@ -52673,9 +52337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *318 - - *319 - - *333 + - *314 + - *315 + - *329 responses: '302': description: Response @@ -52703,9 +52367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *318 - - *319 - - *333 + - *314 + - *315 + - *329 requestBody: required: false content: @@ -52751,8 +52415,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Status response @@ -52802,8 +52466,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -52866,8 +52530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -52885,7 +52549,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &359 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52906,7 +52570,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &360 value: total_count: 2 secrets: @@ -52939,9 +52603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *318 - - *319 - - *334 + - *314 + - *315 + - *330 - *19 responses: '200': @@ -52958,7 +52622,7 @@ paths: type: integer variables: type: array - items: &367 + items: &363 title: Actions Variable type: object properties: @@ -52992,7 +52656,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &364 value: total_count: 2 variables: @@ -53025,8 +52689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53035,11 +52699,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &332 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *129 - selected_actions_url: *335 + selected_actions_url: *331 sha_pinning_required: *130 required: - enabled @@ -53068,8 +52732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53080,7 +52744,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *332 allowed_actions: *129 sha_pinning_required: *130 required: @@ -53112,14 +52776,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &337 + schema: &333 type: object properties: access_level: @@ -53136,7 +52800,7 @@ paths: required: - access_level examples: - default: &338 + default: &334 value: access_level: organization x-github: @@ -53160,15 +52824,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *337 + schema: *333 examples: - default: *338 + default: *334 responses: '204': description: Response @@ -53192,14 +52856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *339 + schema: *335 examples: default: value: @@ -53223,8 +52887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Empty response for successful settings update @@ -53234,7 +52898,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *336 examples: default: summary: Set retention days @@ -53258,8 +52922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53267,7 +52931,7 @@ paths: application/json: schema: *131 examples: - default: *341 + default: *337 '404': *6 x-github: enabledForGitHubApps: true @@ -53286,8 +52950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53321,14 +52985,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *342 + schema: *338 examples: default: *132 '403': *27 @@ -53350,13 +53014,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *343 + schema: *339 examples: default: *132 responses: @@ -53382,8 +53046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53410,8 +53074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53443,14 +53107,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *344 + schema: *340 examples: default: *139 x-github: @@ -53473,8 +53137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Success response @@ -53485,7 +53149,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *341 examples: default: *139 x-github: @@ -53514,8 +53178,8 @@ paths: in: query schema: type: string - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -53559,8 +53223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53568,9 +53232,9 @@ paths: application/json: schema: type: array - items: *346 + items: *342 examples: - default: *347 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53592,8 +53256,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -53636,7 +53300,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *348 + '201': *344 '404': *6 '422': *7 '409': *49 @@ -53667,8 +53331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -53676,7 +53340,7 @@ paths: application/json: schema: *148 examples: - default: *349 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53704,8 +53368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -53713,7 +53377,7 @@ paths: application/json: schema: *148 examples: - default: *350 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53735,8 +53399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '200': @@ -53745,7 +53409,7 @@ paths: application/json: schema: *146 examples: - default: *351 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53766,8 +53430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '204': @@ -53794,8 +53458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '200': *150 @@ -53820,8 +53484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 requestBody: required: true @@ -53870,8 +53534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 requestBody: required: true @@ -53921,11 +53585,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: - - *318 - - *319 + - *314 + - *315 - *145 responses: - '200': *352 + '200': *348 '404': *6 x-github: githubCloudOnly: false @@ -53952,10 +53616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 - - *353 + - *349 responses: '200': *150 '404': *6 @@ -53983,9 +53647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *318 - - *319 - - &371 + - *314 + - *315 + - &367 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. @@ -53993,7 +53657,7 @@ paths: required: false schema: type: string - - &372 + - &368 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54001,7 +53665,7 @@ paths: required: false schema: type: string - - &373 + - &369 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54010,7 +53674,7 @@ paths: required: false schema: type: string - - &374 + - &370 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 @@ -54037,7 +53701,7 @@ paths: - pending - *17 - *19 - - &375 + - &371 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)." @@ -54046,7 +53710,7 @@ paths: schema: type: string format: date-time - - &354 + - &350 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54055,13 +53719,13 @@ paths: schema: type: boolean default: false - - &376 + - &372 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &373 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54084,7 +53748,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &351 title: Workflow Run description: An invocation of a workflow type: object @@ -54262,7 +53926,7 @@ paths: head_commit: anyOf: - type: 'null' - - &399 + - &395 title: Simple Commit description: A commit. type: object @@ -54377,7 +54041,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &374 value: total_count: 1 workflow_runs: @@ -54613,24 +54277,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - - *319 - - &356 + - *314 + - *315 + - &352 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *350 responses: '200': description: Response content: application/json: - schema: *355 + schema: *351 examples: - default: &359 + default: &355 value: id: 30433642 name: Build @@ -54871,9 +54535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '204': description: Response @@ -54896,9 +54560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -55026,9 +54690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '201': description: Response @@ -55061,12 +54725,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 - *17 - *19 - - *357 + - *353 responses: '200': description: Response @@ -55082,9 +54746,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *321 examples: - default: *358 + default: *354 headers: Link: *56 x-github: @@ -55108,25 +54772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - - *319 - - *356 - - &360 + - *314 + - *315 + - *352 + - &356 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *350 responses: '200': description: Response content: application/json: - schema: *355 + schema: *351 examples: - default: *359 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55149,10 +54813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *318 - - *319 + - *314 + - *315 + - *352 - *356 - - *360 - *17 - *19 responses: @@ -55170,9 +54834,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *357 examples: - default: &362 + default: &358 value: total_count: 1 jobs: @@ -55285,10 +54949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - - *319 + - *314 + - *315 + - *352 - *356 - - *360 responses: '302': description: Response @@ -55316,9 +54980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '202': description: Response @@ -55351,9 +55015,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: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: true content: @@ -55420,9 +55084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '202': description: Response @@ -55455,9 +55119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 - 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 @@ -55487,9 +55151,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *357 examples: - default: *362 + default: *358 headers: Link: *56 x-github: @@ -55514,9 +55178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '302': description: Response @@ -55543,9 +55207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '204': description: Response @@ -55572,9 +55236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -55643,7 +55307,7 @@ paths: items: type: object properties: - type: &477 + type: &475 type: string description: The type of reviewer. enum: @@ -55729,9 +55393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: true content: @@ -55781,7 +55445,7 @@ paths: application/json: schema: type: array - items: &472 + items: &470 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55893,7 +55557,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &471 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55949,9 +55613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: false content: @@ -55996,9 +55660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: false content: @@ -56052,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -56191,8 +55855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -56210,9 +55874,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *359 examples: - default: *364 + default: *360 headers: Link: *56 x-github: @@ -56237,16 +55901,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *365 + schema: *361 examples: - default: *366 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56268,17 +55932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *363 + schema: *359 examples: - default: &490 + default: &488 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56304,8 +55968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -56363,8 +56027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -56390,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *318 - - *319 - - *334 + - *314 + - *315 + - *330 - *19 responses: '200': @@ -56409,9 +56073,9 @@ paths: type: integer variables: type: array - items: *367 + items: *363 examples: - default: *368 + default: *364 headers: Link: *56 x-github: @@ -56434,8 +56098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -56487,17 +56151,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 responses: '200': description: Response content: application/json: - schema: *367 + schema: *363 examples: - default: &491 + default: &489 value: name: USERNAME value: octocat @@ -56523,8 +56187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 requestBody: required: true @@ -56567,8 +56231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 responses: '204': @@ -56594,8 +56258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -56613,7 +56277,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &365 title: Workflow description: A GitHub Actions workflow type: object @@ -56731,9 +56395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *318 - - *319 - - &370 + - *314 + - *315 + - &366 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56748,7 +56412,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *365 examples: default: value: @@ -56781,9 +56445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56808,9 +56472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56861,9 +56525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56890,19 +56554,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *318 - - *319 + - *314 + - *315 + - *366 + - *367 + - *368 + - *369 - *370 + - *17 + - *19 - *371 + - *350 - *372 - *373 - - *374 - - *17 - - *19 - - *375 - - *354 - - *376 - - *377 responses: '200': description: Response @@ -56918,9 +56582,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *351 examples: - default: *378 + default: *374 headers: Link: *56 x-github: @@ -56952,9 +56616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '200': description: Response @@ -57015,8 +56679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *318 - - *319 + - *314 + - *315 - *50 - *17 - *43 @@ -57184,8 +56848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -57222,8 +56886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *318 - - *319 + - *314 + - *315 - name: assignee in: path required: true @@ -57259,8 +56923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -57372,8 +57036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *43 - *44 @@ -57430,7 +57094,7 @@ paths: initiator: type: string examples: - default: *379 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57450,8 +57114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -57459,7 +57123,7 @@ paths: application/json: schema: type: array - items: &380 + items: &376 title: Autolink reference description: An autolink reference. type: object @@ -57518,8 +57182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -57558,9 +57222,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *376 examples: - default: &381 + default: &377 value: id: 1 key_prefix: TICKET- @@ -57591,9 +57255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *318 - - *319 - - &382 + - *314 + - *315 + - &378 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57605,9 +57269,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *376 examples: - default: *381 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -57627,9 +57291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *318 - - *319 - - *382 + - *314 + - *315 + - *378 responses: '204': description: Response @@ -57653,8 +57317,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response if Dependabot is enabled @@ -57704,8 +57368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -57726,8 +57390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -57747,8 +57411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *318 - - *319 + - *314 + - *315 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57786,7 +57450,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &380 title: Branch Protection description: Branch Protection type: object @@ -57829,7 +57493,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &383 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57846,7 +57510,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &385 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57930,7 +57594,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &382 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58223,9 +57887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *318 - - *319 - - &385 + - *314 + - *315 + - &381 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). @@ -58239,14 +57903,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &391 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &447 + commit: &445 title: Commit description: Commit type: object @@ -58285,7 +57949,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &379 title: Git User description: Metaproperties for Git author/committer information. @@ -58307,7 +57971,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 message: type: string examples: @@ -58331,7 +57995,7 @@ paths: required: - sha - url - verification: &497 + verification: &495 title: Verification type: object properties: @@ -58411,7 +58075,7 @@ paths: type: integer files: type: array - items: &458 + items: &456 title: Diff Entry description: Diff Entry type: object @@ -58507,7 +58171,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *380 protection_url: type: string format: uri @@ -58616,7 +58280,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -58638,15 +58302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *384 + schema: *380 examples: default: value: @@ -58840,9 +58504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -59102,7 +58766,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &388 title: Status Check Policy description: Status Check Policy type: object @@ -59261,7 +58925,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *382 required_conversation_resolution: type: object properties: @@ -59373,9 +59037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59400,17 +59064,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: &388 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59432,17 +59096,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: *388 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59461,9 +59125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59488,17 +59152,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *389 + schema: *385 examples: - default: &390 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59594,9 +59258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -59694,9 +59358,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *385 examples: - default: *390 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -59717,9 +59381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59746,17 +59410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: &391 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59779,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: *391 + default: *387 '404': *6 x-github: githubCloudOnly: false @@ -59809,9 +59473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59836,17 +59500,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *392 + schema: *388 examples: - default: &393 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59872,9 +59536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -59926,9 +59590,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *388 examples: - default: *393 + default: *389 '404': *6 '422': *15 x-github: @@ -59950,9 +59614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59976,9 +59640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60012,9 +59676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60081,9 +59745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60147,9 +59811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: content: application/json: @@ -60215,15 +59879,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *386 + schema: *382 examples: default: value: @@ -60314,9 +59978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -60339,9 +60003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60351,7 +60015,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &390 value: - id: 1 slug: octoapp @@ -60408,9 +60072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60444,7 +60108,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60465,9 +60129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60501,7 +60165,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60522,9 +60186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60558,7 +60222,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60580,9 +60244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60612,9 +60276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60673,9 +60337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60734,9 +60398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: content: application/json: @@ -60795,9 +60459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60831,9 +60495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60891,9 +60555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60951,9 +60615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -61013,9 +60677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -61037,7 +60701,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *391 examples: default: value: @@ -61153,8 +60817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -61433,7 +61097,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61569,7 +61233,7 @@ paths: check. type: array items: *74 - deployment: &704 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61856,9 +61520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *318 - - *319 - - &397 + - *314 + - *315 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -61870,9 +61534,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *392 examples: - default: &398 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61972,9 +61636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 requestBody: required: true content: @@ -62214,9 +61878,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *392 examples: - default: *398 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62236,9 +61900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 - *17 - *19 responses: @@ -62348,9 +62012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 responses: '201': description: Response @@ -62394,8 +62058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -62417,7 +62081,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &396 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62515,7 +62179,7 @@ paths: - string - 'null' format: date-time - head_commit: *399 + head_commit: *395 latest_check_runs_count: type: integer check_runs_url: @@ -62543,7 +62207,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &397 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62834,9 +62498,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *396 examples: - default: *401 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62855,8 +62519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -63165,9 +62829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *318 - - *319 - - &402 + - *314 + - *315 + - &398 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63179,9 +62843,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *396 examples: - default: *401 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63204,17 +62868,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *318 - - *319 - - *402 - - &453 + - *314 + - *315 + - *398 + - &451 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &454 + - &452 name: status description: Returns check runs with the specified `status`. in: query @@ -63253,9 +62917,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *392 examples: - default: &455 + default: &453 value: total_count: 1 check_runs: @@ -63357,9 +63021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - - *319 - - *402 + - *314 + - *315 + - *398 responses: '201': description: Response @@ -63392,21 +63056,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *318 - - *319 - - *403 - - *404 + - *314 + - *315 + - *399 + - *400 - *19 - *17 - - &421 + - &417 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *405 - - &422 + schema: *401 + - &418 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63431,13 +63095,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *402 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *403 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -63461,7 +63125,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *408 + instances_url: *404 state: *171 fixed_at: *167 dismissed_by: @@ -63469,11 +63133,11 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *405 + dismissed_comment: *406 + rule: *407 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -63596,7 +63260,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &414 + '403': &410 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63623,9 +63287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *318 - - *319 - - &415 + - *314 + - *315 + - &411 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63639,7 +63303,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &412 type: object properties: number: *162 @@ -63647,7 +63311,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *408 + instances_url: *404 state: *171 fixed_at: *167 dismissed_by: @@ -63655,8 +63319,8 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *405 + dismissed_comment: *406 rule: type: object properties: @@ -63718,8 +63382,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -63815,7 +63479,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -63835,9 +63499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: true content: @@ -63852,8 +63516,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *405 + dismissed_comment: *406 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63881,7 +63545,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *412 examples: default: value: @@ -63957,7 +63621,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &416 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63984,15 +63648,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 responses: '200': description: Response content: application/json: - schema: &417 + schema: &413 type: object properties: status: @@ -64019,13 +63683,13 @@ paths: - description - started_at examples: - default: &418 + default: &414 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &415 description: Bad Request content: application/json: @@ -64036,7 +63700,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64061,29 +63725,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 responses: '200': description: OK content: application/json: - schema: *417 + schema: *413 examples: - default: *418 + default: *414 '202': description: Accepted content: application/json: - schema: *417 + schema: *413 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *415 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64115,9 +63779,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: false content: @@ -64163,8 +63827,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *415 + '403': *416 '404': *6 '422': description: Unprocessable Entity @@ -64188,13 +63852,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *19 - *17 - - *421 - - *422 + - *417 + - *418 responses: '200': description: Response @@ -64205,10 +63869,10 @@ paths: items: type: object properties: - ref: *405 - analysis_key: *423 - environment: *424 - category: *425 + ref: *401 + analysis_key: *419 + environment: *420 + category: *421 state: type: - string @@ -64225,7 +63889,7 @@ paths: properties: text: type: string - location: *426 + location: *422 html_url: type: string classifications: @@ -64233,7 +63897,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *427 + items: *423 examples: default: value: @@ -64272,7 +63936,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64306,25 +63970,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *318 - - *319 - - *403 - - *404 + - *314 + - *315 + - *399 + - *400 - *19 - *17 - - *422 + - *418 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *405 + schema: *401 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &424 type: string description: An identifier for the upload. examples: @@ -64346,23 +64010,23 @@ paths: application/json: schema: type: array - items: &429 + items: &425 type: object properties: - ref: *405 - commit_sha: &437 + ref: *401 + commit_sha: &433 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: *423 + analysis_key: *419 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *425 + category: *421 error: type: string examples: @@ -64387,8 +64051,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *412 + sarif_id: *424 + tool: *408 deletable: type: boolean warning: @@ -64450,7 +64114,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64486,8 +64150,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: - - *318 - - *319 + - *314 + - *315 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64500,7 +64164,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *425 examples: response: summary: application/json response @@ -64554,7 +64218,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *410 '404': *6 '422': description: Response if analysis could not be processed @@ -64641,8 +64305,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: - - *318 - - *319 + - *314 + - *315 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64698,7 +64362,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *420 + '403': *416 '404': *6 '503': *105 x-github: @@ -64720,8 +64384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -64729,7 +64393,7 @@ paths: application/json: schema: type: array - items: &430 + items: &426 title: CodeQL Database description: A CodeQL database. type: object @@ -64841,7 +64505,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64870,8 +64534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: language in: path description: The language of the CodeQL database. @@ -64883,7 +64547,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *426 examples: default: value: @@ -64915,9 +64579,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &460 + '302': &458 description: Found - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64939,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - - *319 + - *314 + - *315 - name: language in: path description: The language of the CodeQL database. @@ -64950,7 +64614,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *416 '404': *6 '503': *105 x-github: @@ -64978,8 +64642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -64988,7 +64652,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &427 type: string description: The language targeted by the CodeQL query enum: @@ -65068,7 +64732,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &431 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65078,7 +64742,7 @@ paths: description: The ID of the variant analysis. controller_repo: *55 actor: *4 - query_language: *431 + query_language: *427 query_pack_url: type: string description: The download url for the query pack. @@ -65126,7 +64790,7 @@ paths: items: type: object properties: - repository: &432 + repository: &428 title: Repository Identifier description: Repository Identifier type: object @@ -65168,7 +64832,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &432 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65200,7 +64864,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &433 + access_mismatch_repos: &429 type: object properties: repository_count: @@ -65215,7 +64879,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: *432 + items: *428 required: - repository_count - repositories @@ -65238,8 +64902,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *429 + over_limit_repos: *429 required: - access_mismatch_repos - not_found_repos @@ -65255,7 +64919,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &430 summary: Default response value: id: 1 @@ -65401,10 +65065,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *430 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *430 '404': *6 '422': description: Unable to process variant analysis submission @@ -65432,8 +65096,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: - - *318 - - *319 + - *314 + - *315 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65445,9 +65109,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *431 examples: - default: *434 + default: *430 '404': *6 '503': *105 x-github: @@ -65470,7 +65134,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: - - *318 + - *314 - name: repo in: path description: The name of the controller repository. @@ -65505,7 +65169,7 @@ paths: type: object properties: repository: *55 - analysis_status: *436 + analysis_status: *432 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65630,8 +65294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -65724,7 +65388,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -65745,8 +65409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -65840,7 +65504,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *416 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65911,8 +65575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -65920,7 +65584,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *433 ref: type: string description: |- @@ -65980,7 +65644,7 @@ paths: schema: type: object properties: - id: *428 + id: *424 url: type: string description: The REST API URL for checking the status of the upload. @@ -65994,7 +65658,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *420 + '403': *416 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66017,8 +65681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *318 - - *319 + - *314 + - *315 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66066,7 +65730,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *414 + '403': *410 '404': description: Not Found if the sarif id does not match any upload '503': *105 @@ -66091,8 +65755,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66173,8 +65837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *318 - - *319 + - *314 + - *315 - 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 @@ -66302,8 +65966,8 @@ paths: parameters: - *17 - *19 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66617,8 +66281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -66684,7 +66348,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -66692,7 +66356,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '400': *14 '401': *23 '403': *27 @@ -66721,8 +66385,8 @@ paths: parameters: - *17 - *19 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66786,8 +66450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66824,7 +66488,7 @@ paths: type: integer machines: type: array - items: *439 + items: *435 examples: default: &651 value: @@ -66866,8 +66530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - - *319 + - *314 + - *315 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66954,8 +66618,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: - - *318 - - *319 + - *314 + - *315 - 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 @@ -67024,8 +66688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -67043,7 +66707,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &439 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67064,7 +66728,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *436 headers: Link: *56 x-github: @@ -67087,16 +66751,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *441 + schema: *437 examples: - default: *442 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67116,17 +66780,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *443 + schema: *439 examples: - default: *444 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67146,8 +66810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -67200,8 +66864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -67230,8 +66894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - - *319 + - *314 + - *315 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67269,7 +66933,7 @@ paths: application/json: schema: type: array - items: &445 + items: &441 title: Collaborator description: Collaborator type: object @@ -67462,8 +67126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '204': @@ -67510,8 +67174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 requestBody: required: false @@ -67538,7 +67202,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &510 + schema: &508 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67766,8 +67430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '204': @@ -67799,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '200': @@ -67821,7 +67485,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *441 required: - permission - role_name @@ -67875,8 +67539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -67886,7 +67550,7 @@ paths: application/json: schema: type: array - items: &446 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -67944,7 +67608,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &447 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68003,17 +67667,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': description: Response content: application/json: - schema: *446 + schema: *442 examples: - default: &450 + default: &448 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68070,8 +67734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -68094,7 +67758,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *442 examples: default: value: @@ -68145,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -68168,8 +67832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -68196,9 +67860,75 @@ paths: application/json: schema: type: array - items: *313 + items: &443 + title: Reaction + description: Reactions to conversations provide a way to help people + express their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - *4 + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at examples: - default: *315 + default: &512 + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' headers: Link: *56 '404': *6 @@ -68219,8 +67949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -68253,16 +67983,40 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: &444 + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -68284,10 +68038,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - &513 + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer responses: '204': description: Response @@ -68336,8 +68096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *318 - - *319 + - *314 + - *315 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68393,7 +68153,7 @@ paths: application/json: schema: type: array - items: *447 + items: *445 examples: default: &559 value: @@ -68489,9 +68249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - - *319 - - &448 + - *314 + - *315 + - &446 name: commit_sha description: The SHA of the commit. in: path @@ -68563,9 +68323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 - *17 - *19 responses: @@ -68575,9 +68335,9 @@ paths: application/json: schema: type: array - items: *446 + items: *442 examples: - default: *449 + default: *447 headers: Link: *56 x-github: @@ -68605,9 +68365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 requestBody: required: true content: @@ -68642,9 +68402,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *442 examples: - default: *450 + default: *448 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68672,9 +68432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 - *17 - *19 responses: @@ -68684,7 +68444,7 @@ paths: application/json: schema: type: array - items: *451 + items: *449 examples: default: &551 value: @@ -69223,11 +68983,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 - - &452 + - &450 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)" @@ -69242,7 +69002,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: default: &537 value: @@ -69357,11 +69117,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *318 - - *319 + - *314 + - *315 + - *450 + - *451 - *452 - - *453 - - *454 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69395,9 +69155,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *392 examples: - default: *455 + default: *453 headers: Link: *56 x-github: @@ -69422,9 +69182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69432,7 +69192,7 @@ paths: schema: type: integer example: 1 - - *453 + - *451 - *17 - *19 responses: @@ -69450,7 +69210,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *396 examples: default: value: @@ -69650,9 +69410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - *17 - *19 responses: @@ -69854,9 +69614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - *17 - *19 responses: @@ -69947,7 +69707,7 @@ paths: site_admin: false headers: Link: *56 - '301': *322 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69975,8 +69735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -70009,11 +69769,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *456 + - *454 code_of_conduct_file: anyOf: - type: 'null' - - &457 + - &455 title: Community Health File type: object properties: @@ -70033,19 +69793,19 @@ paths: contributing: anyOf: - type: 'null' - - *457 + - *455 readme: anyOf: - type: 'null' - - *457 + - *455 issue_template: anyOf: - type: 'null' - - *457 + - *455 pull_request_template: anyOf: - type: 'null' - - *457 + - *455 required: - code_of_conduct - code_of_conduct_file @@ -70174,8 +69934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 - name: basehead @@ -70223,8 +69983,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *447 - merge_base_commit: *447 + base_commit: *445 + merge_base_commit: *445 status: type: string enum: @@ -70248,10 +70008,10 @@ paths: - 6 commits: type: array - items: *447 + items: *445 files: type: array - items: *458 + items: *456 required: - url - html_url @@ -70537,8 +70297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -70691,7 +70451,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &459 + response-if-content-is-a-file: &457 summary: Response if content is a file value: type: file @@ -71046,7 +70806,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *459 + response-if-content-is-a-file: *457 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71115,7 +70875,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *460 + '302': *458 '304': *35 x-github: githubCloudOnly: false @@ -71138,8 +70898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -71234,7 +70994,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &459 title: File Commit description: File Commit type: object @@ -71390,7 +71150,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: example-for-creating-a-file: value: @@ -71444,7 +71204,7 @@ paths: schema: oneOf: - *3 - - &492 + - &490 description: Repository rule violation was detected type: object properties: @@ -71497,8 +71257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -71559,7 +71319,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: default: value: @@ -71614,8 +71374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *318 - - *319 + - *314 + - *315 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71739,8 +71499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *181 - *182 - *183 @@ -71752,7 +71512,7 @@ paths: schema: type: string - *185 - - *462 + - *460 - *186 - *187 - *50 @@ -71773,7 +71533,7 @@ paths: application/json: schema: type: array - items: &466 + items: &464 type: object description: A Dependabot alert. properties: @@ -71823,7 +71583,7 @@ paths: - direct - transitive - - security_advisory: *463 + security_advisory: *461 security_vulnerability: *54 url: *165 html_url: *166 @@ -71854,8 +71614,8 @@ paths: dismissal. maxLength: 280 fixed_at: *167 - auto_dismissed_at: *464 - dismissal_request: *465 + auto_dismissed_at: *462 + dismissal_request: *463 required: - number - state @@ -72085,9 +71845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - - *319 - - &467 + - *314 + - *315 + - &465 name: alert_number in: path description: |- @@ -72102,7 +71862,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -72215,9 +71975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - - *319 - - *467 + - *314 + - *315 + - *465 requestBody: required: true content: @@ -72262,7 +72022,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -72391,8 +72151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -72410,7 +72170,7 @@ paths: type: integer secrets: type: array - items: &470 + items: &468 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72464,16 +72224,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *468 + schema: *466 examples: - default: *469 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72493,15 +72253,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *470 + schema: *468 examples: default: value: @@ -72527,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -72581,8 +72341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -72605,8 +72365,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: - - *318 - - *319 + - *314 + - *315 - 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 @@ -72780,8 +72540,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -73041,8 +72801,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -73125,7 +72885,7 @@ paths: - version - url additionalProperties: false - metadata: &471 + metadata: &469 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73164,7 +72924,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *471 + metadata: *469 resolved: type: object description: A collection of resolved package dependencies. @@ -73178,7 +72938,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *471 + metadata: *469 relationship: type: string description: A notation of whether a dependency is requested @@ -73311,8 +73071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *318 - - *319 + - *314 + - *315 - name: sha description: The SHA recorded at creation time. in: query @@ -73353,9 +73113,9 @@ paths: application/json: schema: type: array - items: *472 + items: *470 examples: - default: *473 + default: *471 headers: Link: *56 x-github: @@ -73421,8 +73181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -73504,7 +73264,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *470 examples: simple-example: summary: Simple example @@ -73577,9 +73337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *318 - - *319 - - &474 + - *314 + - *315 + - &472 name: deployment_id description: deployment_id parameter in: path @@ -73591,7 +73351,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *470 examples: default: value: @@ -73656,9 +73416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 responses: '204': description: Response @@ -73680,9 +73440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 - *17 - *19 responses: @@ -73692,7 +73452,7 @@ paths: application/json: schema: type: array - items: &475 + items: &473 title: Deployment Status description: The status of a deployment. type: object @@ -73856,9 +73616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 requestBody: required: true content: @@ -73933,9 +73693,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: &476 + default: &474 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73991,9 +73751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 - name: status_id in: path required: true @@ -74004,9 +73764,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 '404': *6 x-github: githubCloudOnly: false @@ -74031,8 +73791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -74089,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -74108,7 +73868,7 @@ paths: - 5 environments: type: array - items: &478 + items: &476 title: Environment description: Details of a deployment environment type: object @@ -74170,7 +73930,7 @@ paths: type: string examples: - wait_timer - wait_timer: &480 + wait_timer: &478 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74212,7 +73972,7 @@ paths: items: type: object properties: - type: *477 + type: *475 reviewer: anyOf: - *4 @@ -74239,7 +73999,7 @@ paths: - id - node_id - type - deployment_branch_policy: &481 + deployment_branch_policy: &479 type: - object - 'null' @@ -74356,9 +74116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *318 - - *319 - - &479 + - *314 + - *315 + - &477 name: environment_name in: path required: true @@ -74371,9 +74131,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: &482 + default: &480 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74457,9 +74217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: false content: @@ -74469,7 +74229,7 @@ paths: - object - 'null' properties: - wait_timer: *480 + wait_timer: *478 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74488,14 +74248,14 @@ paths: items: type: object properties: - type: *477 + type: *475 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *481 + deployment_branch_policy: *479 additionalProperties: false examples: default: @@ -74515,9 +74275,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: *482 + default: *480 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74541,9 +74301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 responses: '204': description: Default response @@ -74568,9 +74328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *17 - *19 responses: @@ -74589,7 +74349,7 @@ paths: - 2 branch_policies: type: array - items: &483 + items: &481 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74650,9 +74410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: true content: @@ -74700,9 +74460,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - example-wildcard: &484 + example-wildcard: &482 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74744,10 +74504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - &485 + - *314 + - *315 + - *477 + - &483 name: branch_policy_id in: path required: true @@ -74759,9 +74519,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *484 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74780,10 +74540,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - *485 + - *314 + - *315 + - *477 + - *483 requestBody: required: true content: @@ -74812,9 +74572,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *484 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74833,10 +74593,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - *485 + - *314 + - *315 + - *477 + - *483 responses: '204': description: Response @@ -74861,9 +74621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 responses: '200': description: List of deployment protection rules @@ -74880,7 +74640,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &486 + items: &484 title: Deployment protection rule description: Deployment protection rule type: object @@ -74902,7 +74662,7 @@ paths: for the environment. examples: - true - app: &487 + app: &485 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75005,9 +74765,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: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 requestBody: content: application/json: @@ -75028,9 +74788,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *486 + schema: *484 examples: - default: &488 + default: &486 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75065,9 +74825,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: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 - *19 - *17 responses: @@ -75087,7 +74847,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *487 + items: *485 examples: default: value: @@ -75122,10 +74882,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *318 - - *319 - - *479 - - &489 + - *314 + - *315 + - *477 + - &487 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75137,9 +74897,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *484 examples: - default: *488 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,10 +74920,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *479 - - *319 - - *318 - - *489 + - *477 + - *315 + - *314 + - *487 responses: '204': description: Response @@ -75189,9 +74949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *17 - *19 responses: @@ -75209,9 +74969,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *359 examples: - default: *364 + default: *360 headers: Link: *56 x-github: @@ -75236,17 +74996,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 responses: '200': description: Response content: application/json: - schema: *365 + schema: *361 examples: - default: *366 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75268,18 +75028,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 responses: '200': description: Response content: application/json: - schema: *363 + schema: *359 examples: - default: *490 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75301,9 +75061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 requestBody: required: true @@ -75361,9 +75121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 responses: '204': @@ -75389,10 +75149,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *318 - - *319 - - *479 - - *334 + - *314 + - *315 + - *477 + - *330 - *19 responses: '200': @@ -75409,9 +75169,9 @@ paths: type: integer variables: type: array - items: *367 + items: *363 examples: - default: *368 + default: *364 headers: Link: *56 x-github: @@ -75434,9 +75194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: true content: @@ -75488,18 +75248,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *155 responses: '200': description: Response content: application/json: - schema: *367 + schema: *363 examples: - default: *491 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75520,10 +75280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 - - *479 + - *477 requestBody: required: true content: @@ -75565,10 +75325,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 - - *479 + - *477 responses: '204': description: Response @@ -75590,8 +75350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -75659,8 +75419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *318 - - *319 + - *314 + - *315 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75819,8 +75579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -75853,9 +75613,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 '400': *14 '422': *15 '403': *27 @@ -75876,8 +75636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -75937,7 +75697,7 @@ paths: schema: oneOf: - *113 - - *492 + - *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75962,8 +75722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *318 - - *319 + - *314 + - *315 - name: file_sha in: path required: true @@ -76063,8 +75823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76173,7 +75933,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &491 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76400,15 +76160,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 responses: '200': description: Response content: application/json: - schema: *493 + schema: *491 examples: default: value: @@ -76464,9 +76224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *318 - - *319 - - &494 + - *314 + - *315 + - &492 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. @@ -76483,7 +76243,7 @@ paths: application/json: schema: type: array - items: &495 + items: &493 title: Git Reference description: Git references within a repository type: object @@ -76559,17 +76319,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 responses: '200': description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: &496 + default: &494 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76598,8 +76358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76628,9 +76388,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *496 + default: *494 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76656,9 +76416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 requestBody: required: true content: @@ -76687,9 +76447,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *496 + default: *494 '422': *15 '409': *49 x-github: @@ -76707,9 +76467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 responses: '204': description: Response @@ -76764,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76832,7 +76592,7 @@ paths: description: Response content: application/json: - schema: &498 + schema: &496 title: Git Tag description: Metadata for a Git tag type: object @@ -76888,7 +76648,7 @@ paths: - sha - type - url - verification: *497 + verification: *495 required: - sha - url @@ -76898,7 +76658,7 @@ paths: - tag - message examples: - default: &499 + default: &497 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76971,8 +76731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *318 - - *319 + - *314 + - *315 - name: tag_sha in: path required: true @@ -76983,9 +76743,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: - default: *499 + default: *497 '404': *6 '409': *49 x-github: @@ -77009,8 +76769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -77084,7 +76844,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &498 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77186,8 +76946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *318 - - *319 + - *314 + - *315 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77210,7 +76970,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *498 examples: default-response: summary: Default response @@ -77269,8 +77029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -77280,7 +77040,7 @@ paths: application/json: schema: type: array - items: &501 + items: &499 title: Webhook description: Webhooks for repositories. type: object @@ -77343,7 +77103,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &735 + last_response: &736 title: Hook Response type: object properties: @@ -77420,8 +77180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -77474,9 +77234,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: &502 + default: &500 value: type: Repository id: 12345678 @@ -77524,17 +77284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '200': description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -77554,8 +77314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 requestBody: required: true @@ -77601,9 +77361,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '422': *15 '404': *6 x-github: @@ -77624,8 +77384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77650,8 +77410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '200': @@ -77679,8 +77439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *193 requestBody: required: false @@ -77725,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *17 - *194 @@ -77758,8 +77518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *16 responses: @@ -77788,8 +77548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *16 responses: @@ -77813,8 +77573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77840,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77865,8 +77625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response if immutable releases are enabled @@ -77914,8 +77674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '409': *49 @@ -77935,8 +77695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '409': *49 @@ -77993,14 +77753,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &503 + schema: &501 title: Import description: A repository import from an external source. type: object @@ -78107,7 +77867,7 @@ paths: - html_url - authors_url examples: - default: &506 + default: &504 value: vcs: subversion use_lfs: true @@ -78123,7 +77883,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': &504 + '503': &502 description: Unavailable due to service under maintenance. content: application/json: @@ -78152,8 +77912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -78201,7 +77961,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: default: value: @@ -78226,7 +77986,7 @@ paths: type: string '422': *15 '404': *6 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78254,8 +78014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -78307,7 +78067,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: example-1: summary: Example 1 @@ -78355,7 +78115,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': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78378,12 +78138,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78409,8 +78169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *318 - - *319 + - *314 + - *315 - &672 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -78425,7 +78185,7 @@ paths: application/json: schema: type: array - items: &505 + items: &503 title: Porter Author description: Porter Author type: object @@ -78479,7 +78239,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': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78504,8 +78264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - - *319 + - *314 + - *315 - name: author_id in: path required: true @@ -78535,7 +78295,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *503 examples: default: value: @@ -78548,7 +78308,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78572,8 +78332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78614,7 +78374,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78642,8 +78402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -78670,11 +78430,11 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: - default: *506 + default: *504 '422': *15 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78697,8 +78457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78706,8 +78466,8 @@ paths: application/json: schema: *20 examples: - default: *507 - '301': *322 + default: *505 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -78727,8 +78487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78741,7 +78501,7 @@ paths: properties: {} additionalProperties: false examples: - default: &509 + default: &507 value: limit: collaborators_only origin: repository @@ -78766,13 +78526,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *508 + schema: *506 examples: default: summary: Example request body @@ -78786,7 +78546,7 @@ paths: application/json: schema: *211 examples: - default: *509 + default: *507 '409': description: Response x-github: @@ -78808,8 +78568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -78832,8 +78592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -78843,7 +78603,7 @@ paths: application/json: schema: type: array - items: *510 + items: *508 examples: default: &665 value: @@ -78976,8 +78736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - - *319 + - *314 + - *315 - *215 requestBody: required: false @@ -79007,7 +78767,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: default: value: @@ -79138,8 +78898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - - *319 + - *314 + - *315 - *215 responses: '204': @@ -79171,8 +78931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *318 - - *319 + - *314 + - *315 - 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 @@ -79393,7 +79153,7 @@ paths: state_reason: completed headers: Link: *56 - '301': *322 + '301': *318 '422': *15 '404': *6 x-github: @@ -79422,8 +79182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -79671,7 +79431,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *511 + '410': *509 x-github: triggersNotification: true githubCloudOnly: false @@ -79699,8 +79459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *93 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79721,7 +79481,7 @@ paths: application/json: schema: type: array - items: *512 + items: *510 examples: default: &517 value: @@ -79781,17 +79541,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: &513 + default: &511 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79845,8 +79605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -79869,9 +79629,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: *513 + default: *511 '422': *15 x-github: githubCloudOnly: false @@ -79889,8 +79649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -79911,8 +79671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79939,9 +79699,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -79962,8 +79722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -79996,16 +79756,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -80027,10 +79787,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - *513 responses: '204': description: Response @@ -80050,8 +79810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -80400,8 +80160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *318 - - *319 + - *314 + - *315 - name: event_id in: path required: true @@ -80604,7 +80364,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *511 + '410': *509 '403': *27 x-github: githubCloudOnly: false @@ -80638,8 +80398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - &516 name: issue_number description: The number that identifies the issue. @@ -80655,9 +80415,9 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '304': *35 x-github: githubCloudOnly: false @@ -80682,8 +80442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -80809,9 +80569,9 @@ paths: '422': *15 '503': *105 '403': *27 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80829,8 +80589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -80875,8 +80635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: content: @@ -80926,8 +80686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: assignee in: path @@ -80968,8 +80728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *76 - *17 @@ -80981,13 +80741,13 @@ paths: application/json: schema: type: array - items: *512 + items: *510 examples: default: *517 headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81016,8 +80776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -81040,16 +80800,16 @@ paths: description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: *513 + default: *511 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -81077,8 +80837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -81094,9 +80854,9 @@ paths: default: *518 headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,8 +80884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -81156,9 +80916,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *318 '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -81189,8 +80949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: issue_id in: path @@ -81206,12 +80966,12 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *511 + '410': *509 x-github: triggersNotification: true githubCloudOnly: false @@ -81237,8 +80997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -81254,9 +81014,9 @@ paths: default: *518 headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81273,8 +81033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82068,7 +81828,7 @@ paths: color: red headers: Link: *56 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82085,8 +81845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82117,9 +81877,9 @@ paths: default: false headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82136,8 +81896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82200,9 +81960,9 @@ paths: items: *69 examples: default: *519 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '422': *15 x-github: githubCloudOnly: false @@ -82219,8 +81979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82284,9 +82044,9 @@ paths: items: *69 examples: default: *519 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '422': *15 x-github: githubCloudOnly: false @@ -82303,15 +82063,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '204': description: Response - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82330,8 +82090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: name in: path @@ -82356,9 +82116,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82378,8 +82138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82409,7 +82169,7 @@ paths: '204': description: Response '403': *27 - '410': *511 + '410': *509 '404': *6 '422': *15 x-github: @@ -82427,8 +82187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '204': @@ -82459,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '200': @@ -82470,9 +82230,9 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82489,8 +82249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82517,13 +82277,13 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82541,8 +82301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82575,16 +82335,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Response content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -82606,10 +82366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *516 - - *316 + - *513 responses: '204': description: Response @@ -82638,8 +82398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82697,8 +82457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82715,7 +82475,7 @@ paths: headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82743,8 +82503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82781,7 +82541,7 @@ paths: schema: type: string '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -82801,8 +82561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82858,8 +82618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -83454,7 +83214,7 @@ paths: type: string comments: type: array - items: *446 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83729,7 +83489,7 @@ paths: headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83746,8 +83506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -83825,8 +83585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -83898,8 +83658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 - &535 name: key_id description: The unique identifier of the key. @@ -83932,8 +83692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 - *535 responses: '204': @@ -83954,8 +83714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -83988,8 +83748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84059,8 +83819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84090,8 +83850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84156,8 +83916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84183,8 +83943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -84223,9 +83983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - - *319 - - *421 + - *314 + - *315 + - *417 responses: '200': description: Response @@ -84372,8 +84132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84438,8 +84198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84473,7 +84233,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *447 + schema: *445 examples: default: *537 '204': @@ -84500,8 +84260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *318 - - *319 + - *314 + - *315 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84598,8 +84358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84700,8 +84460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - &539 name: milestone_number description: The number that identifies the milestone. @@ -84733,8 +84493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 requestBody: required: false @@ -84791,8 +84551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 responses: '204': @@ -84814,8 +84574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 - *17 - *19 @@ -84847,8 +84607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 - *540 - *541 - *76 @@ -84888,8 +84648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -84947,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -85139,8 +84899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85220,8 +84980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85321,8 +85081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -85348,8 +85108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -85451,8 +85211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -85499,8 +85259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -85556,8 +85316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *318 - - *319 + - *314 + - *315 - name: build_id in: path required: true @@ -85590,8 +85350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85699,8 +85459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 - &548 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -85759,8 +85519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 - *548 responses: '204': *176 @@ -85788,8 +85548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -86084,8 +85844,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Private vulnerability reporting status @@ -86122,8 +85882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '422': *14 @@ -86144,8 +85904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '422': *14 @@ -86167,8 +85927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -86200,8 +85960,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -86255,8 +86015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *318 - - *319 + - *314 + - *315 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86316,7 +86076,7 @@ paths: application/json: schema: type: array - items: *451 + items: *449 examples: default: *551 headers: @@ -86350,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -87287,8 +87047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: sort in: query required: false @@ -87396,8 +87156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': @@ -87481,8 +87241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -87523,8 +87283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -87546,8 +87306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87574,9 +87334,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -87597,8 +87357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -87631,16 +87391,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -87662,10 +87422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - *513 responses: '204': description: Response @@ -87708,8 +87468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - &557 name: pull_number description: The number that identifies the pull request. @@ -87760,8 +87520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -87828,8 +87588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -87893,7 +87653,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87901,7 +87661,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -87931,8 +87691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *93 - name: direction @@ -87989,8 +87749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -88185,8 +87945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *85 requestBody: @@ -88296,8 +88056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -88308,7 +88068,7 @@ paths: application/json: schema: type: array - items: *447 + items: *445 examples: default: *559 headers: @@ -88340,8 +88100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -88352,7 +88112,7 @@ paths: application/json: schema: type: array - items: *458 + items: *456 examples: default: value: @@ -88390,8 +88150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *318 - - *319 + - *314 + - *315 - *557 responses: '204': @@ -88415,8 +88175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -88529,8 +88289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 responses: '200': @@ -88606,8 +88366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -88645,7 +88405,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: default: value: @@ -89181,8 +88941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -89217,7 +88977,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: default: value: @@ -89722,8 +89482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -89890,8 +89650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -90047,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - &561 name: review_id @@ -90123,8 +89883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90211,8 +89971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 responses: @@ -90249,8 +90009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 - *17 @@ -90510,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90605,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90667,8 +90427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -90733,8 +90493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *318 - - *319 + - *314 + - *315 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90791,8 +90551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *318 - - *319 + - *314 + - *315 - name: dir description: The alternate path to look for a README file in: path @@ -90836,8 +90596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -90941,8 +90701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -91125,8 +90885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - &568 name: asset_id description: The unique identifier of the asset. @@ -91176,7 +90936,7 @@ paths: type: User site_admin: false '404': *6 - '302': *460 + '302': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91192,8 +90952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - *568 requestBody: required: false @@ -91241,8 +91001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - *568 responses: '204': @@ -91267,8 +91027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -91354,8 +91114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -91380,8 +91140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - - *319 + - *314 + - *315 - name: tag description: tag parameter in: path @@ -91418,8 +91178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *318 - - *319 + - *314 + - *315 - &571 name: release_id description: The unique identifier of the release. @@ -91454,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 requestBody: required: false @@ -91543,8 +91303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 responses: '204': @@ -91565,8 +91325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *318 - - *319 + - *314 + - *315 - *571 - *17 - *19 @@ -91658,8 +91418,8 @@ 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: - - *318 - - *319 + - *314 + - *315 - *571 - name: name in: query @@ -91741,8 +91501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -91767,9 +91527,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -91790,8 +91550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 requestBody: required: true @@ -91822,16 +91582,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -91853,10 +91613,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *571 - - *316 + - *513 responses: '204': description: Response @@ -91880,9 +91640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 - *17 - *19 responses: @@ -92019,8 +91779,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - name: includes_parents @@ -92086,8 +91846,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 requestBody: description: Request body required: true @@ -92196,8 +91956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - - *319 + - *314 + - *315 - *576 - *577 - *578 @@ -92232,8 +91992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - - *319 + - *314 + - *315 - *582 responses: '200': @@ -92270,8 +92030,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92311,8 +92071,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92394,8 +92154,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92418,8 +92178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - name: ruleset_id @@ -92456,8 +92216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92530,8 +92290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *588 - *589 - *590 @@ -92809,9 +92569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *598 responses: '200': @@ -92872,9 +92632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: true content: @@ -93014,9 +92774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *19 - *17 responses: @@ -93027,7 +92787,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &755 + items: &756 type: object properties: type: @@ -93152,8 +92912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -93232,8 +92992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93354,8 +93114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - - *319 + - *314 + - *315 - *50 - name: sort description: The property to sort the results by. @@ -93424,8 +93184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -93830,8 +93590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -94091,8 +93851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '200': @@ -94125,8 +93885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 requestBody: required: true @@ -94339,8 +94099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '202': *37 @@ -94368,17 +94128,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '202': description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 '400': *14 '422': *15 '403': *27 @@ -94404,8 +94164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -94501,8 +94261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94544,8 +94304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -94623,8 +94383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -94718,8 +94478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94873,8 +94633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94917,8 +94677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *318 - - *319 + - *314 + - *315 - name: sha in: path required: true @@ -95028,8 +94788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95061,8 +94821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: if you subscribe to the repository @@ -95141,8 +94901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -95195,8 +94955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -95216,8 +94976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95299,8 +95059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95365,8 +95125,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -95420,8 +95180,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: - - *318 - - *319 + - *314 + - *315 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -95458,8 +95218,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - - *319 + - *314 + - *315 - name: ref in: path required: true @@ -95495,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95528,8 +95288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 responses: @@ -95572,8 +95332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -95627,8 +95387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *318 - - *319 + - *314 + - *315 - &629 name: per description: The time frame to display results for. @@ -95748,8 +95508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95844,8 +95604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95909,8 +95669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *318 - - *319 + - *314 + - *315 - *629 responses: '200': @@ -96010,8 +95770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -96285,8 +96045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96309,8 +96069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -96332,8 +96092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -96359,8 +96119,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - - *319 + - *314 + - *315 - name: ref in: path required: true @@ -96452,9 +96212,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96935,7 +96695,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 comment_count: type: integer message: @@ -96954,7 +96714,7 @@ paths: url: type: string format: uri - verification: *497 + verification: *495 required: - author - committer @@ -96969,7 +96729,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 parents: type: array items: @@ -99178,246 +98938,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - *636 - - *309 - - *312 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - *636 - - *309 - - *312 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - *636 - - *309 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - *636 - - *309 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -99643,7 +99163,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-user-is-a-team-maintainer: *641 '404': *6 @@ -99704,7 +99224,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-users-membership-with-team-is-now-pending: *642 '403': @@ -99811,8 +99331,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Alternative response with extra repository information @@ -99970,8 +99490,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -100022,8 +99542,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -100849,7 +100369,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100857,7 +100377,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -100943,7 +100463,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *436 headers: Link: *56 x-github: @@ -101319,7 +100839,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '304': *35 '500': *104 '401': *23 @@ -101377,7 +100897,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -101571,7 +101091,7 @@ paths: type: integer machines: type: array - items: *439 + items: *435 examples: default: *651 '304': *35 @@ -101658,11 +101178,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *317 machine: anyOf: - type: 'null' - - *439 + - *435 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -102467,7 +101987,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '304': *35 '500': *104 '400': *14 @@ -102507,7 +102027,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '500': *104 '401': *23 '403': *27 @@ -103678,7 +103198,7 @@ paths: required: true content: application/json: - schema: *508 + schema: *506 examples: default: value: @@ -106143,9 +105663,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106183,7 +105703,7 @@ paths: application/json: schema: type: array - items: *510 + items: *508 examples: default: *665 headers: @@ -106454,7 +105974,7 @@ paths: - title - created_at examples: - default: &696 + default: &697 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106617,7 +106137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &697 + - &698 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 @@ -106646,7 +106166,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &698 + items: &699 title: Starred Repository description: Starred Repository type: object @@ -106802,8 +106322,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: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response if this repository is starred by you @@ -106831,8 +106351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -106856,8 +106376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -107538,7 +107058,7 @@ paths: initiator: type: string examples: - default: *379 + default: *375 '201': description: Response content: @@ -108069,7 +107589,7 @@ paths: application/json: schema: *20 examples: - default: *507 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109071,6 +108591,59 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view + parameters: + - *251 + - *61 + - *692 + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *43 + - *44 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *258 + examples: + default: *259 + headers: + Link: *56 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -109306,7 +108879,7 @@ paths: - *107 - *109 - *108 - - *692 + - *693 - *110 responses: '200': @@ -109437,7 +109010,7 @@ paths: parameters: - *61 - *107 - - *693 + - *694 - *108 responses: '200': @@ -109536,9 +109109,9 @@ paths: - *107 - *109 - *108 - - *694 - - *110 - *695 + - *110 + - *696 responses: '200': description: Response when getting a billing usage summary @@ -109706,7 +109279,7 @@ paths: type: array items: *668 examples: - default: *696 + default: *697 headers: Link: *56 x-github: @@ -109731,7 +109304,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *61 - - *697 + - *698 - *50 - *17 - *19 @@ -109743,7 +109316,7 @@ paths: schema: anyOf: - type: array - items: *698 + items: *699 - type: array items: *68 examples: @@ -109907,7 +109480,7 @@ webhooks: type: string enum: - disabled - enterprise: &699 + enterprise: &700 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109976,7 +109549,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &700 + installation: &701 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109997,7 +109570,7 @@ webhooks: required: - id - node_id - organization: &701 + organization: &702 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110070,7 +109643,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &702 + repository: &703 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110983,10 +110556,10 @@ webhooks: type: string enum: - enabled - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -111062,11 +110635,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: &703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: &704 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) @@ -111289,11 +110862,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: *703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: *704 sender: *4 required: - action @@ -111481,11 +111054,11 @@ webhooks: - everyone required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: *703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: *704 sender: *4 required: - action @@ -111569,7 +111142,7 @@ webhooks: type: string enum: - completed - check_run: &705 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111679,7 +111252,7 @@ webhooks: - examples: - neutral - deployment: *704 + deployment: *705 details_url: type: string examples: @@ -111777,10 +111350,10 @@ webhooks: - output - app - pull_requests - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -112173,11 +111746,11 @@ webhooks: type: string enum: - created - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -112573,11 +112146,11 @@ webhooks: type: string enum: - requested_action - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 requested_action: description: The action requested by the user. type: object @@ -112982,11 +112555,11 @@ webhooks: type: string enum: - rerequested - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -113978,10 +113551,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -114690,10 +114263,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -115396,10 +114969,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -115568,7 +115141,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115720,20 +115293,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &706 + commit_oid: &707 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: *699 - installation: *700 - organization: *701 - ref: &707 + enterprise: *700 + installation: *701 + organization: *702 + ref: &708 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: *702 + repository: *703 sender: *4 required: - action @@ -115900,7 +115473,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116141,12 +115714,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116244,7 +115817,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116429,12 +116002,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116603,7 +116176,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116780,12 +116353,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116886,7 +116459,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117075,9 +116648,9 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -117085,7 +116658,7 @@ webhooks: type: - string - 'null' - repository: *702 + repository: *703 sender: *4 required: - action @@ -117184,7 +116757,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117331,12 +116904,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -117505,7 +117078,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117657,10 +117230,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -117920,10 +117493,10 @@ webhooks: - updated_at - author_association - body - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -118004,18 +117577,18 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *701 - pusher_type: &708 + organization: *702 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &709 + ref: &710 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -118025,7 +117598,7 @@ webhooks: enum: - tag - branch - repository: *702 + repository: *703 sender: *4 required: - ref @@ -118108,9 +117681,9 @@ webhooks: enum: - created definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118195,9 +117768,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118275,9 +117848,9 @@ webhooks: enum: - promote_to_enterprise definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118355,9 +117928,9 @@ webhooks: enum: - updated definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118434,10 +118007,10 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - repository: *702 - organization: *701 + enterprise: *700 + installation: *701 + repository: *703 + organization: *702 sender: *4 new_property_values: type: array @@ -118522,18 +118095,18 @@ webhooks: title: delete event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - pusher_type: *708 - ref: *709 + enterprise: *700 + installation: *701 + organization: *702 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *702 + repository: *703 sender: *4 required: - ref @@ -118617,11 +118190,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118705,11 +118278,11 @@ webhooks: type: string enum: - auto_reopened - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118793,11 +118366,11 @@ webhooks: type: string enum: - created - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118879,11 +118452,11 @@ webhooks: type: string enum: - dismissed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118965,11 +118538,11 @@ webhooks: type: string enum: - fixed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119052,11 +118625,11 @@ webhooks: type: string enum: - reintroduced - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119138,11 +118711,11 @@ webhooks: type: string enum: - reopened - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119219,9 +118792,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - key: &710 + enterprise: *700 + installation: *701 + key: &711 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119259,8 +118832,8 @@ webhooks: - verified - created_at - read_only - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -119337,11 +118910,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - key: *710 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + key: *711 + organization: *702 + repository: *703 sender: *4 required: - action @@ -119913,12 +119486,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: &714 + workflow: &715 title: Workflow type: - object @@ -120656,13 +120229,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *472 + deployment: *470 pull_requests: type: array items: *555 - repository: *702 - organization: *701 - installation: *700 + repository: *703 + organization: *702 + installation: *701 sender: *4 responses: '200': @@ -120733,7 +120306,7 @@ webhooks: type: string enum: - approved - approver: &711 + approver: &712 type: object properties: avatar_url: @@ -120776,11 +120349,11 @@ webhooks: type: string comment: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - reviewers: &712 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + reviewers: &713 type: array items: type: object @@ -120861,7 +120434,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &713 + workflow_job_run: &714 type: object properties: conclusion: @@ -121607,18 +121180,18 @@ webhooks: type: string enum: - rejected - approver: *711 + approver: *712 comment: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - reviewers: *712 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + reviewers: *713 sender: *4 since: type: string - workflow_job_run: *713 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -122335,13 +121908,13 @@ webhooks: type: string enum: - requested - enterprise: *699 + enterprise: *700 environment: type: string - installation: *700 - organization: *701 - repository: *702 - requestor: &719 + installation: *701 + organization: *702 + repository: *703 + requestor: &720 title: User type: - object @@ -124284,12 +123857,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Deployment Workflow Run type: @@ -124980,7 +124553,7 @@ webhooks: type: string enum: - answered - answer: &717 + answer: &718 type: object properties: author_association: @@ -125140,11 +124713,11 @@ webhooks: - created_at - updated_at - body - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125271,11 +124844,11 @@ webhooks: - from required: - category - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125358,11 +124931,11 @@ webhooks: type: string enum: - closed - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125444,7 +125017,7 @@ webhooks: type: string enum: - created - comment: &716 + comment: &717 type: object properties: author_association: @@ -125604,11 +125177,11 @@ webhooks: - updated_at - body - reactions - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125691,12 +125264,12 @@ webhooks: type: string enum: - deleted - comment: *716 - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + comment: *717 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125791,12 +125364,12 @@ webhooks: - from required: - body - comment: *716 - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + comment: *717 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125880,11 +125453,11 @@ webhooks: type: string enum: - created - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125966,11 +125539,11 @@ webhooks: type: string enum: - deleted - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126070,11 +125643,11 @@ webhooks: type: string required: - from - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126156,10 +125729,10 @@ webhooks: type: string enum: - labeled - discussion: *715 - enterprise: *699 - installation: *700 - label: &718 + discussion: *716 + enterprise: *700 + installation: *701 + label: &719 title: Label type: object properties: @@ -126192,8 +125765,8 @@ webhooks: - color - default - description - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126276,11 +125849,11 @@ webhooks: type: string enum: - locked - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126362,11 +125935,11 @@ webhooks: type: string enum: - pinned - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126448,11 +126021,11 @@ webhooks: type: string enum: - reopened - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126537,16 +126110,16 @@ webhooks: changes: type: object properties: - new_discussion: *715 - new_repository: *702 + new_discussion: *716 + new_repository: *703 required: - new_discussion - new_repository - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126629,10 +126202,10 @@ webhooks: type: string enum: - unanswered - discussion: *715 - old_answer: *717 - organization: *701 - repository: *702 + discussion: *716 + old_answer: *718 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126714,12 +126287,12 @@ webhooks: type: string enum: - unlabeled - discussion: *715 - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126802,11 +126375,11 @@ webhooks: type: string enum: - unlocked - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126888,11 +126461,11 @@ webhooks: type: string enum: - unpinned - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126965,7 +126538,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *699 + enterprise: *700 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -127643,9 +127216,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - forkee @@ -127791,9 +127364,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pages: description: The pages that were updated. type: array @@ -127831,7 +127404,7 @@ webhooks: - action - sha - html_url - repository: *702 + repository: *703 sender: *4 required: - pages @@ -127907,10 +127480,10 @@ webhooks: type: string enum: - created - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: &720 + organization: *702 + repositories: &721 description: An array of repository objects that the installation can access. type: array @@ -127936,8 +127509,8 @@ webhooks: - name - full_name - private - repository: *702 - requester: *719 + repository: *703 + requester: *720 sender: *4 required: - action @@ -128012,11 +127585,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128093,11 +127666,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128174,10 +127747,10 @@ webhooks: type: string enum: - added - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories_added: &721 + organization: *702 + repositories_added: &722 description: An array of repository objects, which were added to the installation. type: array @@ -128223,15 +127796,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *702 - repository_selection: &722 + repository: *703 + repository_selection: &723 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *719 + requester: *720 sender: *4 required: - action @@ -128310,10 +127883,10 @@ webhooks: type: string enum: - removed - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories_added: *721 + organization: *702 + repositories_added: *722 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -128340,9 +127913,9 @@ webhooks: - name - full_name - private - repository: *702 - repository_selection: *722 - requester: *719 + repository: *703 + repository_selection: *723 + requester: *720 sender: *4 required: - action @@ -128421,11 +127994,11 @@ webhooks: type: string enum: - suspend - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128607,10 +128180,10 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 target_type: type: string @@ -128689,11 +128262,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128941,8 +128514,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130121,8 +129694,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -130202,7 +129775,7 @@ webhooks: type: string enum: - deleted - comment: &723 + comment: &724 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -130369,8 +129942,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131547,8 +131120,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -131628,7 +131201,7 @@ webhooks: type: string enum: - edited - changes: &747 + changes: &748 description: The changes to the comment. type: object properties: @@ -131640,9 +131213,9 @@ webhooks: type: string required: - from - comment: *723 - enterprise: *699 - installation: *700 + comment: *724 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132820,8 +132393,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -132911,9 +132484,9 @@ webhooks: type: number blocking_issue: *70 blocking_issue_repo: *68 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133002,9 +132575,9 @@ webhooks: type: number blocking_issue: *70 blocking_issue_repo: *68 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133092,9 +132665,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133183,9 +132756,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133265,10 +132838,10 @@ webhooks: type: string enum: - assigned - assignee: *719 - enterprise: *699 - installation: *700 - issue: &726 + assignee: *720 + enterprise: *700 + installation: *701 + issue: &727 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134204,8 +133777,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -134285,8 +133858,8 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135370,8 +134943,8 @@ webhooks: required: - state - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -135450,8 +135023,8 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136382,8 +135955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -136462,8 +136035,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137396,7 +136969,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &724 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137539,8 +137112,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -137639,8 +137212,8 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138576,9 +138149,9 @@ webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *701 - repository: *702 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -138658,8 +138231,8 @@ webhooks: type: string enum: - labeled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139594,9 +139167,9 @@ webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *701 - repository: *702 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -139676,8 +139249,8 @@ webhooks: type: string enum: - locked - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140614,8 +140187,8 @@ webhooks: format: uri user_view_type: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -140694,8 +140267,8 @@ webhooks: type: string enum: - milestoned - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141626,9 +141199,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *724 - organization: *701 - repository: *702 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -143101,8 +142674,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144037,8 +143610,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -144118,9 +143691,9 @@ webhooks: type: string enum: - pinned - enterprise: *699 - installation: *700 - issue: &725 + enterprise: *700 + installation: *701 + issue: &726 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145049,8 +144622,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -145129,8 +144702,8 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146066,8 +145639,8 @@ webhooks: user_view_type: type: string type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147559,11 +147132,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *699 - installation: *700 - issue: *725 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *726 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147643,12 +147216,12 @@ webhooks: type: string enum: - typed - enterprise: *699 - installation: *700 - issue: *726 + enterprise: *700 + installation: *701 + issue: *727 type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147729,7 +147302,7 @@ webhooks: type: string enum: - unassigned - assignee: &750 + assignee: &751 title: User type: - object @@ -147801,11 +147374,11 @@ webhooks: required: - login - id - enterprise: *699 - installation: *700 - issue: *726 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *727 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147884,12 +147457,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *699 - installation: *700 - issue: *726 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *727 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147969,8 +147542,8 @@ webhooks: type: string enum: - unlocked - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148905,8 +148478,8 @@ webhooks: format: uri user_view_type: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -148986,11 +148559,11 @@ webhooks: type: string enum: - unpinned - enterprise: *699 - installation: *700 - issue: *725 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *726 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149069,12 +148642,12 @@ webhooks: type: string enum: - untyped - enterprise: *699 - installation: *700 - issue: *726 + enterprise: *700 + installation: *701 + issue: *727 type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149154,11 +148727,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149236,11 +148809,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149350,11 +148923,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149436,9 +149009,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: &727 + enterprise: *700 + installation: *701 + marketplace_purchase: &728 title: Marketplace Purchase type: object required: @@ -149526,8 +149099,8 @@ webhooks: type: integer unit_count: type: integer - organization: *701 - previous_marketplace_purchase: &728 + organization: *702 + previous_marketplace_purchase: &729 title: Marketplace Purchase type: object properties: @@ -149611,7 +149184,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -149691,10 +149264,10 @@ webhooks: - changed effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149782,7 +149355,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -149864,10 +149437,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149953,7 +149526,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -150034,8 +149607,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 marketplace_purchase: title: Marketplace Purchase type: object @@ -150121,9 +149694,9 @@ webhooks: type: integer unit_count: type: integer - organization: *701 - previous_marketplace_purchase: *728 - repository: *702 + organization: *702 + previous_marketplace_purchase: *729 + repository: *703 sender: *4 required: - action @@ -150203,12 +149776,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 - previous_marketplace_purchase: *728 - repository: *702 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 + previous_marketplace_purchase: *729 + repository: *703 sender: *4 required: - action @@ -150310,11 +149883,11 @@ webhooks: type: string required: - to - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150416,11 +149989,11 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150499,11 +150072,11 @@ webhooks: type: string enum: - removed - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150581,11 +150154,11 @@ webhooks: type: string enum: - added - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150663,7 +150236,7 @@ webhooks: required: - login - id - team: &729 + team: &730 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150893,11 +150466,11 @@ webhooks: type: string enum: - removed - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150976,7 +150549,7 @@ webhooks: required: - login - id - team: *729 + team: *730 required: - action - scope @@ -151058,8 +150631,8 @@ webhooks: type: string enum: - checks_requested - installation: *700 - merge_group: &730 + installation: *701 + merge_group: &731 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151078,15 +150651,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *399 + head_commit: *395 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151172,10 +150745,10 @@ webhooks: - merged - invalidated - dequeued - installation: *700 - merge_group: *730 - organization: *701 - repository: *702 + installation: *701 + merge_group: *731 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151248,7 +150821,7 @@ webhooks: type: string enum: - deleted - enterprise: *699 + enterprise: *700 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151357,12 +150930,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *700 - organization: *701 + installation: *701 + organization: *702 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -151442,11 +151015,11 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151525,9 +151098,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - milestone: &731 + enterprise: *700 + installation: *701 + milestone: &732 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151669,8 +151242,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151749,11 +151322,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151863,11 +151436,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151947,11 +151520,11 @@ webhooks: type: string enum: - opened - enterprise: *699 - installation: *700 - milestone: *731 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *732 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152030,11 +151603,11 @@ webhooks: type: string enum: - blocked - blocked_user: *719 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + blocked_user: *720 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152113,11 +151686,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *719 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + blocked_user: *720 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152196,9 +151769,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - membership: &732 + enterprise: *700 + installation: *701 + membership: &733 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152308,8 +151881,8 @@ webhooks: - role - organization_url - user - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152387,11 +151960,11 @@ webhooks: type: string enum: - member_added - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152470,8 +152043,8 @@ webhooks: type: string enum: - member_invited - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152593,10 +152166,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 - user: *719 + user: *720 required: - action - invitation @@ -152674,11 +152247,11 @@ webhooks: type: string enum: - member_removed - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152765,11 +152338,11 @@ webhooks: properties: from: type: string - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152845,9 +152418,9 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 package: description: Information about the package. type: object @@ -153370,7 +152943,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &733 + items: &734 title: Ruby Gems metadata type: object properties: @@ -153467,7 +153040,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -153543,9 +153116,9 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 package: description: Information about the package. type: object @@ -153907,7 +153480,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *733 + items: *734 source_url: type: string format: uri @@ -153978,7 +153551,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -154159,12 +153732,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *699 + enterprise: *700 id: type: integer - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - id @@ -154241,7 +153814,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &734 + personal_access_token_request: &735 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154391,10 +153964,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *699 - organization: *701 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154471,11 +154044,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *734 - enterprise: *699 - organization: *701 + personal_access_token_request: *735 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154551,11 +154124,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *734 - enterprise: *699 - organization: *701 + personal_access_token_request: *735 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154630,11 +154203,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *734 - organization: *701 - enterprise: *699 + personal_access_token_request: *735 + organization: *702 + enterprise: *700 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154739,7 +154312,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *735 + last_response: *736 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154771,8 +154344,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 zen: description: Random string of GitHub zen. @@ -155017,10 +154590,10 @@ webhooks: - from required: - note - enterprise: *699 - installation: *700 - organization: *701 - project_card: &736 + enterprise: *700 + installation: *701 + organization: *702 + project_card: &737 title: Project Card type: object properties: @@ -155143,7 +154716,7 @@ webhooks: - creator - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -155224,11 +154797,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project_card: *736 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_card: *737 + repository: *703 sender: *4 required: - action @@ -155308,9 +154881,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 project_card: title: Project Card type: object @@ -155440,7 +155013,7 @@ webhooks: repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -155534,11 +155107,11 @@ webhooks: - from required: - note - enterprise: *699 - installation: *700 - organization: *701 - project_card: *736 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_card: *737 + repository: *703 sender: *4 required: - action @@ -155632,9 +155205,9 @@ webhooks: - from required: - column_id - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 project_card: allOf: - title: Project Card @@ -155831,7 +155404,7 @@ webhooks: type: string required: - after_id - repository: *702 + repository: *703 sender: *4 required: - action @@ -155911,10 +155484,10 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - organization: *701 - project: &738 + enterprise: *700 + installation: *701 + organization: *702 + project: &739 title: Project type: object properties: @@ -156041,7 +155614,7 @@ webhooks: - creator - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -156121,10 +155694,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project_column: &737 + enterprise: *700 + installation: *701 + organization: *702 + project_column: &738 title: Project Column type: object properties: @@ -156164,7 +155737,7 @@ webhooks: - name - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -156243,14 +155816,14 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -156339,11 +155912,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 + repository: *703 sender: *4 required: - action @@ -156423,11 +155996,11 @@ webhooks: type: string enum: - moved - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 + repository: *703 sender: *4 required: - action @@ -156507,11 +156080,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156591,14 +156164,14 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - project: *738 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -156699,11 +156272,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156782,11 +156355,11 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156867,8 +156440,8 @@ webhooks: type: string enum: - closed - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -156950,8 +156523,8 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157033,8 +156606,8 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157156,8 +156729,8 @@ webhooks: type: string to: type: string - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157241,7 +156814,7 @@ webhooks: type: string enum: - archived - changes: &742 + changes: &743 type: object properties: archived_at: @@ -157257,9 +156830,9 @@ webhooks: - string - 'null' format: date-time - installation: *700 - organization: *701 - projects_v2_item: &739 + installation: *701 + organization: *702 + projects_v2_item: &740 title: Projects v2 Item description: An item belonging to a project type: object @@ -157399,9 +156972,9 @@ webhooks: - 'null' to: type: string - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157483,9 +157056,9 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157566,9 +157139,9 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157673,7 +157246,7 @@ webhooks: oneOf: - type: string - type: integer - - &740 + - &741 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157697,7 +157270,7 @@ webhooks: required: - id - name - - &741 + - &742 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157737,8 +157310,8 @@ webhooks: oneOf: - type: string - type: integer - - *740 - *741 + - *742 type: - 'null' - string @@ -157761,9 +157334,9 @@ webhooks: - 'null' required: - body - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157860,9 +157433,9 @@ webhooks: type: - string - 'null' - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157945,10 +157518,10 @@ webhooks: type: string enum: - restored - changes: *742 - installation: *700 - organization: *701 - projects_v2_item: *739 + changes: *743 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -158030,8 +157603,8 @@ webhooks: type: string enum: - reopened - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -158113,9 +157686,9 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158196,9 +157769,9 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158344,9 +157917,9 @@ webhooks: - string - 'null' format: date - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158417,10 +157990,10 @@ webhooks: title: public event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - repository @@ -158497,13 +158070,13 @@ webhooks: type: string enum: - assigned - assignee: *719 - enterprise: *699 - installation: *700 - number: &744 + assignee: *720 + enterprise: *700 + installation: *701 + number: &745 description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -160852,7 +160425,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -160934,11 +160507,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -163280,7 +162853,7 @@ webhooks: - draft reason: type: string - repository: *702 + repository: *703 sender: *4 required: - action @@ -163362,11 +162935,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -165708,7 +165281,7 @@ webhooks: - draft reason: type: string - repository: *702 + repository: *703 sender: *4 required: - action @@ -165790,11 +165363,11 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: &745 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: &746 allOf: - *555 - type: object @@ -165858,7 +165431,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *702 + repository: *703 sender: *4 required: - action @@ -165939,12 +165512,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -166024,11 +165597,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *699 + enterprise: *700 milestone: *252 - number: *744 - organization: *701 - pull_request: &746 + number: *745 + organization: *702 + pull_request: &747 title: Pull Request type: object properties: @@ -168355,7 +167928,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -168434,11 +168007,11 @@ webhooks: type: string enum: - dequeued - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -170784,7 +170357,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *702 + repository: *703 sender: *4 required: - action @@ -170908,12 +170481,12 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -170993,11 +170566,11 @@ webhooks: type: string enum: - enqueued - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -173328,7 +172901,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -173408,11 +172981,11 @@ webhooks: type: string enum: - labeled - enterprise: *699 - installation: *700 - label: *718 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + label: *719 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -175760,7 +175333,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -175841,10 +175414,10 @@ webhooks: type: string enum: - locked - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -178190,7 +177763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -178270,12 +177843,12 @@ webhooks: type: string enum: - milestoned - enterprise: *699 + enterprise: *700 milestone: *252 - number: *744 - organization: *701 - pull_request: *746 - repository: *702 + number: *745 + organization: *702 + pull_request: *747 + repository: *703 sender: *4 required: - action @@ -178354,12 +177927,12 @@ webhooks: type: string enum: - opened - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178440,12 +178013,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178525,12 +178098,12 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178905,9 +178478,9 @@ webhooks: - start_side - side - reactions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -181137,7 +180710,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -181217,7 +180790,7 @@ webhooks: type: string enum: - deleted - comment: &748 + comment: &749 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181510,9 +181083,9 @@ webhooks: - start_side - side - reactions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -183730,7 +183303,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -183810,11 +183383,11 @@ webhooks: type: string enum: - edited - changes: *747 - comment: *748 - enterprise: *699 - installation: *700 - organization: *701 + changes: *748 + comment: *749 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -186035,7 +185608,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -186116,9 +185689,9 @@ webhooks: type: string enum: - dismissed - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -188351,7 +187924,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 review: description: The review that was affected. type: object @@ -188602,9 +188175,9 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -190718,8 +190291,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 - review: &749 + repository: *703 + review: &750 description: The review that was affected. type: object properties: @@ -190957,12 +190530,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -193309,7 +192882,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_reviewer: title: User type: @@ -193395,12 +192968,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -195754,7 +195327,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195949,12 +195522,12 @@ webhooks: type: string enum: - review_requested - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -198303,7 +197876,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_reviewer: title: User type: @@ -198390,12 +197963,12 @@ webhooks: type: string enum: - review_requested - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -200735,7 +200308,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200919,9 +200492,9 @@ webhooks: type: string enum: - submitted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -203157,8 +202730,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 - review: *749 + repository: *703 + review: *750 sender: *4 required: - action @@ -203238,9 +202811,9 @@ webhooks: type: string enum: - resolved - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -205371,7 +204944,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 sender: *4 thread: type: object @@ -205768,9 +205341,9 @@ webhooks: type: string enum: - unresolved - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -207884,7 +207457,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 sender: *4 thread: type: object @@ -208283,10 +207856,10 @@ webhooks: type: string before: type: string - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -210621,7 +210194,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -210703,11 +210276,11 @@ webhooks: type: string enum: - unassigned - assignee: *750 - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + assignee: *751 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -213057,7 +212630,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -213136,11 +212709,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *699 - installation: *700 - label: *718 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + label: *719 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -215479,7 +215052,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -215560,10 +215133,10 @@ webhooks: type: string enum: - unlocked - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -217892,7 +217465,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -218095,7 +217668,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *699 + enterprise: *700 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218190,8 +217763,8 @@ webhooks: - url - author - committer - installation: *700 - organization: *701 + installation: *701 + organization: *702 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218779,9 +218352,9 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 registry_package: type: object properties: @@ -219258,7 +218831,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *733 + items: *734 summary: type: string tag_name: @@ -219314,7 +218887,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -219392,9 +218965,9 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 registry_package: type: object properties: @@ -219706,7 +219279,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *733 + items: *734 summary: type: string tag_name: @@ -219756,7 +219329,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -219833,10 +219406,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - release: &751 + enterprise: *700 + installation: *701 + organization: *702 + release: &752 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220167,7 +219740,7 @@ webhooks: - updated_at - zipball_url - body - repository: *702 + repository: *703 sender: *4 required: - action @@ -220244,11 +219817,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -220365,11 +219938,11 @@ webhooks: type: boolean required: - to - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -220447,9 +220020,9 @@ webhooks: type: string enum: - prereleased - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -220785,7 +220358,7 @@ webhooks: - string - 'null' format: uri - repository: *702 + repository: *703 sender: *4 required: - action @@ -220861,10 +220434,10 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - release: &752 + enterprise: *700 + installation: *701 + organization: *702 + release: &753 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -221197,7 +220770,7 @@ webhooks: - string - 'null' format: uri - repository: *702 + repository: *703 sender: *4 required: - action @@ -221273,11 +220846,11 @@ webhooks: type: string enum: - released - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -221353,11 +220926,11 @@ webhooks: type: string enum: - unpublished - enterprise: *699 - installation: *700 - organization: *701 - release: *752 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *753 + repository: *703 sender: *4 required: - action @@ -221433,10 +221006,10 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_advisory: *619 sender: *4 required: @@ -221513,10 +221086,10 @@ webhooks: type: string enum: - reported - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_advisory: *619 sender: *4 required: @@ -221593,10 +221166,10 @@ webhooks: type: string enum: - archived - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221673,10 +221246,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221754,10 +221327,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221842,10 +221415,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221960,10 +221533,10 @@ webhooks: - 'null' items: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222035,10 +221608,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 status: type: string @@ -222119,10 +221692,10 @@ webhooks: type: string enum: - privatized - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222199,10 +221772,10 @@ webhooks: type: string enum: - publicized - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222296,10 +221869,10 @@ webhooks: - name required: - repository - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222379,10 +221952,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 sender: *4 required: @@ -222461,10 +222034,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 sender: *4 required: @@ -222543,10 +222116,10 @@ webhooks: type: string enum: - edited - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 changes: type: object @@ -222854,10 +222427,10 @@ webhooks: - from required: - owner - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222935,10 +222508,10 @@ webhooks: type: string enum: - unarchived - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223016,7 +222589,7 @@ webhooks: type: string enum: - create - alert: &753 + alert: &754 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223140,10 +222713,10 @@ webhooks: type: string enum: - open - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223353,10 +222926,10 @@ webhooks: type: string enum: - dismissed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223434,11 +223007,11 @@ webhooks: type: string enum: - reopen - alert: *753 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *754 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223640,10 +223213,10 @@ webhooks: enum: - fixed - open - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223721,7 +223294,7 @@ webhooks: type: string enum: - assigned - alert: &754 + alert: &755 type: object properties: number: *162 @@ -223836,10 +223409,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223917,11 +223490,11 @@ webhooks: type: string enum: - created - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224002,11 +223575,11 @@ webhooks: type: string enum: - created - alert: *754 - installation: *700 - location: *755 - organization: *701 - repository: *702 + alert: *755 + installation: *701 + location: *756 + organization: *702 + repository: *703 sender: *4 required: - location @@ -224244,11 +223817,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224326,11 +223899,11 @@ webhooks: type: string enum: - reopened - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224408,11 +223981,11 @@ webhooks: type: string enum: - resolved - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224490,12 +224063,12 @@ webhooks: type: string enum: - unassigned - alert: *754 + alert: *755 assignee: *4 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224573,11 +224146,11 @@ webhooks: type: string enum: - validated - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224707,10 +224280,10 @@ webhooks: - organization - enterprise - - repository: *702 - enterprise: *699 - installation: *700 - organization: *701 + repository: *703 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -224788,11 +224361,11 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - security_advisory: &756 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + security_advisory: &757 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224978,11 +224551,11 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - security_advisory: *756 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + security_advisory: *757 sender: *4 required: - action @@ -225055,10 +224628,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225245,10 +224818,10 @@ webhooks: type: object properties: security_and_analysis: *265 - enterprise: *699 - installation: *700 - organization: *701 - repository: *321 + enterprise: *700 + installation: *701 + organization: *702 + repository: *317 sender: *4 required: - changes @@ -225326,12 +224899,12 @@ webhooks: type: string enum: - cancelled - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: &757 + sponsorship: &758 type: object properties: created_at: @@ -225636,12 +225209,12 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - sponsorship @@ -225729,12 +225302,12 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -225811,17 +225384,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &758 + effective_date: &759 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: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - sponsorship @@ -225895,7 +225468,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &759 + changes: &760 type: object properties: tier: @@ -225939,13 +225512,13 @@ webhooks: - from required: - tier - effective_date: *758 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + effective_date: *759 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -226022,13 +225595,13 @@ webhooks: type: string enum: - tier_changed - changes: *759 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + changes: *760 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -226102,10 +225675,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226189,10 +225762,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226626,15 +226199,15 @@ webhooks: type: - string - 'null' - enterprise: *699 + enterprise: *700 id: description: The unique identifier of the status. type: integer - installation: *700 + installation: *701 name: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 sha: description: The Commit SHA. @@ -226750,9 +226323,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -226842,9 +226415,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -226934,9 +226507,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -227026,9 +226599,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -227105,12 +226678,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - team: &760 + team: &761 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227340,9 +226913,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -227812,7 +227385,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -227888,9 +227461,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -228360,7 +227933,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -228437,9 +228010,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -228909,7 +228482,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -229053,9 +228626,9 @@ webhooks: - from required: - permissions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -229525,7 +229098,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - changes @@ -229603,9 +229176,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -230075,7 +229648,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -230151,10 +229724,10 @@ webhooks: type: string enum: - started - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -230227,17 +229800,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *699 + enterprise: *700 inputs: type: - object - 'null' additionalProperties: true - installation: *700 - organization: *701 + installation: *701 + organization: *702 ref: type: string - repository: *702 + repository: *703 sender: *4 workflow: type: string @@ -230319,10 +229892,10 @@ webhooks: type: string enum: - completed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: allOf: @@ -230578,7 +230151,7 @@ webhooks: type: string required: - conclusion - deployment: *472 + deployment: *470 required: - action - repository @@ -230657,10 +230230,10 @@ webhooks: type: string enum: - in_progress - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: allOf: @@ -230942,7 +230515,7 @@ webhooks: required: - status - steps - deployment: *472 + deployment: *470 required: - action - repository @@ -231021,10 +230594,10 @@ webhooks: type: string enum: - queued - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: type: object @@ -231170,7 +230743,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *472 + deployment: *470 required: - action - repository @@ -231249,10 +230822,10 @@ webhooks: type: string enum: - waiting - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: type: object @@ -231399,7 +230972,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *472 + deployment: *470 required: - action - repository @@ -231479,12 +231052,12 @@ webhooks: type: string enum: - completed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -232503,12 +232076,12 @@ webhooks: type: string enum: - in_progress - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -233512,12 +233085,12 @@ webhooks: type: string enum: - requested - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 11a00aeb0..5226d58a1 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -99771,7 +99771,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -99937,7 +99937,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -198359,19 +198359,28 @@ } } }, - "/orgs/{org}/properties/schema": { + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { - "summary": "Get all custom properties for an organization", - "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", "tags": [ - "orgs" + "projects" ], - "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", + "operationId": "projects/list-view-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" + "url": "https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view" }, "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "org", "description": "The organization name. The name is not case sensitive.", @@ -198380,6 +198389,62 @@ "schema": { "type": "string" } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } } ], "responses": { @@ -198390,137 +198455,1285 @@ "schema": { "type": "array", "items": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", + "title": "Projects v2 Item", + "description": "An item belonging to a project", "type": "object", "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" + "id": { + "type": "number", + "description": "The unique identifier of the project item." }, - "url": { + "node_id": { "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + "description": "The node ID of the project item." }, - "source_type": { + "project_url": { "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], + "format": "uri", + "description": "The API URL of the project that contains this item.", "examples": [ - "organization" + "https://api.github.com/users/monalisa/2/projectsV2/3" ] }, - "value_type": { + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", "type": "string", "enum": [ - "string", - "single_select", - "multi_select", - "true_false", - "url" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" + "Issue", + "PullRequest", + "DraftIssue" ] }, - "required": { - "type": "boolean", - "description": "Whether the property is required." + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." }, - "default_value": { - "oneOf": [ - { - "type": "string" + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" + }, + "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" ] }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "allowed_values": { + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - }, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "values_editable_by": { + "item_url": { "type": [ "string", "null" ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", + "format": "uri", + "description": "The API URL of this item.", "examples": [ - "org_actors" + "https://api.github.com/users/monalisa/2/projectsV2/items/3" ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." } }, "required": [ - "property_name", - "value_type" + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] } }, "examples": { "default": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } ], - "values_editable_by": "org_actors" + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/properties/schema": { + "get": { + "summary": "Get all custom properties for an organization", + "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "tags": [ + "orgs" + ], + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false", + "url" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] } } } @@ -232253,2114 +233466,17 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/invitations": { "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", + "operationId": "teams/list-pending-invitations-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/invitations": { - "get": { - "summary": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", - "tags": [ - "teams" - ], - "operationId": "teams/list-pending-invitations-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/teams/members#list-pending-team-invitations" + "url": "https://docs.github.com/rest/teams/members#list-pending-team-invitations" }, "parameters": [ { @@ -629530,1420 +628646,6 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, "/teams/{team_id}/invitations": { "get": { "summary": "List pending team invitations (Legacy)", @@ -763473,497 +761175,1249 @@ } ] } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": true, - "category": "projects", - "subcategory": "items" - } - }, - "patch": { - "summary": "Update project item for user", - "description": "Update a specific item in a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/update-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#update-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "description": "A list of field updates to apply.", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the project field to update." - }, - "value": { - "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "type": [ - "null", - "string", - "number" - ] - } - }, - "required": [ - "id", - "value" - ] - } - } - }, - "required": [ - "fields" - ] - }, - "examples": { - "text_field": { - "summary": "Update a text field", - "value": { - "fields": [ - { - "id": 123, - "value": "Updated text value" - } - ] - } - }, - "number_field": { - "summary": "Update a number field", - "value": { - "fields": [ - { - "id": 456, - "value": 42.5 - } - ] - } - }, - "date_field": { - "summary": "Update a date field", - "value": { - "fields": [ - { - "id": 789, - "value": "2023-10-05" - } - ] - } - }, - "single_select_field": { - "summary": "Update a single select field", - "value": { - "fields": [ - { - "id": 789, - "value": "47fc9ee4" - } - ] - } - }, - "iteration_field": { - "summary": "Update an iteration field", - "value": { - "fields": [ - { - "id": 1011, - "value": "866ee5b8" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + }, + "patch": { + "summary": "Update project item for user", + "description": "Update a specific item in a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/update-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#update-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "description": "A list of field updates to apply.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the project field to update." + }, + "value": { + "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "type": [ + "null", + "string", + "number" + ] + } + }, + "required": [ + "id", + "value" + ] + } + } + }, + "required": [ + "fields" + ] + }, + "examples": { + "text_field": { + "summary": "Update a text field", + "value": { + "fields": [ + { + "id": 123, + "value": "Updated text value" + } + ] + } + }, + "number_field": { + "summary": "Update a number field", + "value": { + "fields": [ + { + "id": 456, + "value": 42.5 + } + ] + } + }, + "date_field": { + "summary": "Update a date field", + "value": { + "fields": [ + { + "id": 789, + "value": "2023-10-05" + } + ] + } + }, + "single_select_field": { + "summary": "Update a single select field", + "value": { + "fields": [ + { + "id": 789, + "value": "47fc9ee4" + } + ] + } + }, + "iteration_field": { + "summary": "Update an iteration field", + "value": { + "fields": [ + { + "id": 1011, + "value": "866ee5b8" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "text_field": { + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + }, + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "text_field": { + "number_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -764715,7 +763169,7 @@ ] } }, - "number_field": { + "date_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -765467,7 +763921,7 @@ ] } }, - "date_field": { + "single_select_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -766219,7 +764673,7 @@ ] } }, - "single_select_field": { + "iteration_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -766970,8 +765424,637 @@ } ] } - }, - "iteration_field": { + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "delete": { + "summary": "Delete project item for user", + "description": "Delete a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/delete-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#delete-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + } + }, + "examples": { + "default": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -767725,34 +766808,19 @@ } } } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } }, + "304": { + "description": "Not modified" + }, "403": { "description": "Forbidden", "content": { @@ -767779,161 +766847,8 @@ } } }, - "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": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "delete": { - "summary": "Delete project item for user", - "description": "Delete a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/delete-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#delete-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -767958,8 +766873,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -767987,7 +766902,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "projects", "subcategory": "items" } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index de4cff6a1..121df3240 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -9169,7 +9169,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 - - &462 + - &460 name: has in: query description: |- @@ -9289,7 +9289,7 @@ paths: - direct - transitive - - security_advisory: &463 + security_advisory: &461 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9557,7 +9557,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &464 + auto_dismissed_at: &462 type: - string - 'null' @@ -9565,7 +9565,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &465 + dismissal_request: &463 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10956,7 +10956,7 @@ paths: properties: action: type: string - discussion: &715 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -11895,7 +11895,7 @@ paths: action: type: string issue: *70 - comment: &512 + comment: &510 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -16660,14 +16660,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &318 + - &314 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &315 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16729,7 +16729,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &318 description: Moved permanently content: application/json: @@ -18956,7 +18956,7 @@ paths: required: false schema: type: string - - &692 + - &693 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19102,7 +19102,7 @@ paths: parameters: - *65 - *107 - - &693 + - &694 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 @@ -19214,7 +19214,7 @@ paths: - *107 - *109 - *108 - - &694 + - &695 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19222,7 +19222,7 @@ paths: schema: type: string - *110 - - &695 + - &696 name: sku description: The SKU to query for usage. in: query @@ -20201,7 +20201,7 @@ paths: type: integer repository_cache_usages: type: array - items: &329 + items: &325 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21439,7 +21439,7 @@ paths: - all - local_only - selected - selected_actions_url: &335 + selected_actions_url: &331 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` @@ -21522,7 +21522,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &335 type: object properties: days: @@ -21564,7 +21564,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &336 type: object properties: days: @@ -21621,7 +21621,7 @@ paths: required: - approval_policy examples: - default: &341 + default: &337 value: approval_policy: first_time_contributors '404': *6 @@ -21680,7 +21680,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -21734,7 +21734,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &339 type: object required: - run_workflows_from_fork_pull_requests @@ -22369,7 +22369,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &340 type: object properties: default_workflow_permissions: &137 @@ -22420,7 +22420,7 @@ paths: required: false content: application/json: - schema: &345 + schema: &341 type: object properties: default_workflow_permissions: *137 @@ -23560,7 +23560,7 @@ paths: application/json: schema: type: array - items: &346 + items: &342 title: Runner Application description: Runner Application type: object @@ -23585,7 +23585,7 @@ paths: - download_url - filename examples: - default: &347 + default: &343 value: - os: osx architecture: x64 @@ -23671,7 +23671,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &348 + '201': &344 description: Response content: application/json: @@ -23786,7 +23786,7 @@ paths: - token - expires_at examples: - default: &349 + default: &345 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23825,7 +23825,7 @@ paths: application/json: schema: *148 examples: - default: &350 + default: &346 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23859,7 +23859,7 @@ paths: application/json: schema: *146 examples: - default: &351 + default: &347 value: id: 23 name: MBP @@ -24085,7 +24085,7 @@ paths: - *65 - *145 responses: - '200': &352 + '200': &348 description: Response content: application/json: @@ -24142,7 +24142,7 @@ paths: parameters: - *65 - *145 - - &353 + - &349 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24274,7 +24274,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &361 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24309,7 +24309,7 @@ paths: - key_id - key examples: - default: &366 + default: &362 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24722,7 +24722,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *65 - - &334 + - &330 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)." @@ -25388,7 +25388,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -25522,7 +25526,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -26290,7 +26296,7 @@ paths: initiator: type: string examples: - default: &379 + default: &375 value: attestations: - bundle: @@ -27246,7 +27252,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *65 - - &403 + - &399 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -27256,7 +27262,7 @@ paths: schema: &169 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &400 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -27280,7 +27286,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &402 type: string description: State of a code scanning alert. enum: @@ -27303,7 +27309,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &403 type: string description: Severity of a code scanning alert. enum: @@ -27337,7 +27343,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: &408 + instances_url: &404 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27359,7 +27365,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &409 + dismissed_reason: &405 type: - string - 'null' @@ -27370,14 +27376,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &410 + dismissed_comment: &406 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &411 + rule: &407 type: object properties: id: @@ -27438,7 +27444,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &408 type: object properties: name: *169 @@ -27449,26 +27455,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *170 - most_recent_instance: &413 + most_recent_instance: &409 type: object properties: - ref: &405 + ref: &401 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &419 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &424 + environment: &420 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &425 + category: &421 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27482,7 +27488,7 @@ paths: properties: text: type: string - location: &426 + location: &422 type: object description: Describe a region within a file for the alert. properties: @@ -27503,7 +27509,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &427 + items: &423 type: - string - 'null' @@ -28796,7 +28802,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &435 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29748,7 +29754,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &436 value: total_count: 2 secrets: @@ -29786,7 +29792,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &437 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29821,7 +29827,7 @@ paths: - key_id - key examples: - default: &442 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29853,7 +29859,7 @@ paths: application/json: schema: *179 examples: - default: &444 + default: &440 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31476,7 +31482,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &466 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31495,7 +31501,7 @@ paths: - key_id - key examples: - default: &469 + default: &467 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33323,7 +33329,7 @@ paths: application/json: schema: *20 examples: - default: &507 + default: &505 value: id: 1 account: @@ -33551,7 +33557,7 @@ paths: required: true content: application/json: - schema: &508 + schema: &506 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34411,7 +34417,7 @@ paths: application/json: schema: *221 examples: - default: &438 + default: &434 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38599,7 +38605,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &743 + - &744 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38873,7 +38879,7 @@ paths: content: oneOf: - *70 - - &451 + - &449 title: Pull Request Simple description: Pull Request Simple type: object @@ -41056,6 +41062,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view + parameters: + - *251 + - *65 + - &692 + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *43 + - *44 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *258 + examples: + default: *259 + headers: + Link: *56 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -41945,7 +42011,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &317 title: Full Repository description: Full Repository type: object @@ -42410,7 +42476,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &456 + code_of_conduct: &454 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42524,7 +42590,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49041,408 +49107,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - *65 - - *66 - - *309 - - *312 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &313 - title: Reaction - description: Reactions to conversations provide a way to help people - express their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - *4 - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at - examples: - default: &315 - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - *65 - - *66 - - *309 - - *312 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: *313 - examples: - default: &314 - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - *65 - - *66 - - *309 - - *312 - - &316 - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - *65 - - *66 - - *309 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - *65 - - *66 - - *309 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - *65 - - *66 - - *309 - - *316 - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/invitations": get: summary: List pending team invitations @@ -49555,7 +49219,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &313 title: Team Membership description: Team Membership type: object @@ -49646,7 +49310,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-users-membership-with-team-is-now-pending: &642 summary: Response if user's membership with team is now pending @@ -49755,8 +49419,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Alternative response with repository permissions @@ -50405,8 +50069,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -50453,8 +50117,8 @@ paths: parameters: - *65 - *66 - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -50645,7 +50309,7 @@ paths: resources: type: object properties: - core: &320 + core: &316 title: Rate Limit type: object properties: @@ -50662,21 +50326,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *320 + rate: *316 required: - rate - resources @@ -50781,14 +50445,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *321 + schema: *317 examples: default-response: summary: Default response @@ -51289,7 +50953,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51307,8 +50971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -51556,10 +51220,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 - '307': &324 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -51588,8 +51252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -51611,7 +51275,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *320 '404': *6 '409': *49 x-github: @@ -51635,11 +51299,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - - &357 + - &353 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51662,7 +51326,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &321 title: Artifact description: An artifact type: object @@ -51757,7 +51421,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &354 value: total_count: 2 artifacts: @@ -51818,9 +51482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *318 - - *319 - - &326 + - *314 + - *315 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51832,7 +51496,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *321 examples: default: value: @@ -51870,9 +51534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *318 - - *319 - - *326 + - *314 + - *315 + - *322 responses: '204': description: Response @@ -51896,9 +51560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *318 - - *319 - - *326 + - *314 + - *315 + - *322 - name: archive_format in: path required: true @@ -51912,7 +51576,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': &511 + '410': &509 description: Gone content: application/json: @@ -51937,14 +51601,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &327 + schema: &323 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51978,13 +51642,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *327 + schema: *323 examples: selected_actions: *40 responses: @@ -52013,14 +51677,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &328 + schema: &324 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52054,13 +51718,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *328 + schema: *324 examples: selected_actions: *42 responses: @@ -52091,14 +51755,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *329 + schema: *325 examples: default: value: @@ -52124,11 +51788,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - - &330 + - &326 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 @@ -52162,7 +51826,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &327 title: Repository actions caches description: Repository actions caches type: object @@ -52212,7 +51876,7 @@ paths: - total_count - actions_caches examples: - default: &332 + default: &328 value: total_count: 1 actions_caches: @@ -52244,23 +51908,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: - - *318 - - *319 + - *314 + - *315 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *330 + - *326 responses: '200': description: Response content: application/json: - schema: *331 + schema: *327 examples: - default: *332 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52280,8 +51944,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: - - *318 - - *319 + - *314 + - *315 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52312,9 +51976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *318 - - *319 - - &333 + - *314 + - *315 + - &329 name: job_id description: The unique identifier of the job. in: path @@ -52326,7 +51990,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &357 title: Job description: Information of a job execution in a workflow run type: object @@ -52673,9 +52337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *318 - - *319 - - *333 + - *314 + - *315 + - *329 responses: '302': description: Response @@ -52703,9 +52367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *318 - - *319 - - *333 + - *314 + - *315 + - *329 requestBody: required: false content: @@ -52751,8 +52415,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Status response @@ -52802,8 +52466,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -52866,8 +52530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -52885,7 +52549,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &359 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52906,7 +52570,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &360 value: total_count: 2 secrets: @@ -52939,9 +52603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *318 - - *319 - - *334 + - *314 + - *315 + - *330 - *19 responses: '200': @@ -52958,7 +52622,7 @@ paths: type: integer variables: type: array - items: &367 + items: &363 title: Actions Variable type: object properties: @@ -52992,7 +52656,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &364 value: total_count: 2 variables: @@ -53025,8 +52689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53035,11 +52699,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &332 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *129 - selected_actions_url: *335 + selected_actions_url: *331 sha_pinning_required: *130 required: - enabled @@ -53068,8 +52732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53080,7 +52744,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *332 allowed_actions: *129 sha_pinning_required: *130 required: @@ -53112,14 +52776,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &337 + schema: &333 type: object properties: access_level: @@ -53136,7 +52800,7 @@ paths: required: - access_level examples: - default: &338 + default: &334 value: access_level: organization x-github: @@ -53160,15 +52824,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *337 + schema: *333 examples: - default: *338 + default: *334 responses: '204': description: Response @@ -53192,14 +52856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *339 + schema: *335 examples: default: value: @@ -53223,8 +52887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Empty response for successful settings update @@ -53234,7 +52898,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *336 examples: default: summary: Set retention days @@ -53258,8 +52922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53267,7 +52931,7 @@ paths: application/json: schema: *131 examples: - default: *341 + default: *337 '404': *6 x-github: enabledForGitHubApps: true @@ -53286,8 +52950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53321,14 +52985,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *342 + schema: *338 examples: default: *132 '403': *27 @@ -53350,13 +53014,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *343 + schema: *339 examples: default: *132 responses: @@ -53382,8 +53046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53410,8 +53074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -53443,14 +53107,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *344 + schema: *340 examples: default: *139 x-github: @@ -53473,8 +53137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Success response @@ -53485,7 +53149,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *341 examples: default: *139 x-github: @@ -53514,8 +53178,8 @@ paths: in: query schema: type: string - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -53559,8 +53223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -53568,9 +53232,9 @@ paths: application/json: schema: type: array - items: *346 + items: *342 examples: - default: *347 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53592,8 +53256,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -53636,7 +53300,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *348 + '201': *344 '404': *6 '422': *7 '409': *49 @@ -53667,8 +53331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -53676,7 +53340,7 @@ paths: application/json: schema: *148 examples: - default: *349 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53704,8 +53368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -53713,7 +53377,7 @@ paths: application/json: schema: *148 examples: - default: *350 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53735,8 +53399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '200': @@ -53745,7 +53409,7 @@ paths: application/json: schema: *146 examples: - default: *351 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53766,8 +53430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '204': @@ -53794,8 +53458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 responses: '200': *150 @@ -53820,8 +53484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 requestBody: required: true @@ -53870,8 +53534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 requestBody: required: true @@ -53921,11 +53585,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: - - *318 - - *319 + - *314 + - *315 - *145 responses: - '200': *352 + '200': *348 '404': *6 x-github: githubCloudOnly: false @@ -53952,10 +53616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *145 - - *353 + - *349 responses: '200': *150 '404': *6 @@ -53983,9 +53647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *318 - - *319 - - &371 + - *314 + - *315 + - &367 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. @@ -53993,7 +53657,7 @@ paths: required: false schema: type: string - - &372 + - &368 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54001,7 +53665,7 @@ paths: required: false schema: type: string - - &373 + - &369 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54010,7 +53674,7 @@ paths: required: false schema: type: string - - &374 + - &370 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 @@ -54037,7 +53701,7 @@ paths: - pending - *17 - *19 - - &375 + - &371 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)." @@ -54046,7 +53710,7 @@ paths: schema: type: string format: date-time - - &354 + - &350 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54055,13 +53719,13 @@ paths: schema: type: boolean default: false - - &376 + - &372 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &373 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54084,7 +53748,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &351 title: Workflow Run description: An invocation of a workflow type: object @@ -54262,7 +53926,7 @@ paths: head_commit: anyOf: - type: 'null' - - &399 + - &395 title: Simple Commit description: A commit. type: object @@ -54377,7 +54041,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &374 value: total_count: 1 workflow_runs: @@ -54613,24 +54277,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - - *319 - - &356 + - *314 + - *315 + - &352 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *350 responses: '200': description: Response content: application/json: - schema: *355 + schema: *351 examples: - default: &359 + default: &355 value: id: 30433642 name: Build @@ -54871,9 +54535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '204': description: Response @@ -54896,9 +54560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -55026,9 +54690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '201': description: Response @@ -55061,12 +54725,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 - *17 - *19 - - *357 + - *353 responses: '200': description: Response @@ -55082,9 +54746,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *321 examples: - default: *358 + default: *354 headers: Link: *56 x-github: @@ -55108,25 +54772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - - *319 - - *356 - - &360 + - *314 + - *315 + - *352 + - &356 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *350 responses: '200': description: Response content: application/json: - schema: *355 + schema: *351 examples: - default: *359 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55149,10 +54813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *318 - - *319 + - *314 + - *315 + - *352 - *356 - - *360 - *17 - *19 responses: @@ -55170,9 +54834,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *357 examples: - default: &362 + default: &358 value: total_count: 1 jobs: @@ -55285,10 +54949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - - *319 + - *314 + - *315 + - *352 - *356 - - *360 responses: '302': description: Response @@ -55316,9 +54980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '202': description: Response @@ -55351,9 +55015,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: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: true content: @@ -55420,9 +55084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '202': description: Response @@ -55455,9 +55119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 - 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 @@ -55487,9 +55151,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *357 examples: - default: *362 + default: *358 headers: Link: *56 x-github: @@ -55514,9 +55178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '302': description: Response @@ -55543,9 +55207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '204': description: Response @@ -55572,9 +55236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -55643,7 +55307,7 @@ paths: items: type: object properties: - type: &477 + type: &475 type: string description: The type of reviewer. enum: @@ -55729,9 +55393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: true content: @@ -55781,7 +55445,7 @@ paths: application/json: schema: type: array - items: &472 + items: &470 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55893,7 +55557,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &471 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55949,9 +55613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: false content: @@ -55996,9 +55660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 requestBody: required: false content: @@ -56052,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - - *319 - - *356 + - *314 + - *315 + - *352 responses: '200': description: Response @@ -56191,8 +55855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -56210,9 +55874,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *359 examples: - default: *364 + default: *360 headers: Link: *56 x-github: @@ -56237,16 +55901,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *365 + schema: *361 examples: - default: *366 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56268,17 +55932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *363 + schema: *359 examples: - default: &490 + default: &488 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56304,8 +55968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -56363,8 +56027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -56390,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *318 - - *319 - - *334 + - *314 + - *315 + - *330 - *19 responses: '200': @@ -56409,9 +56073,9 @@ paths: type: integer variables: type: array - items: *367 + items: *363 examples: - default: *368 + default: *364 headers: Link: *56 x-github: @@ -56434,8 +56098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -56487,17 +56151,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 responses: '200': description: Response content: application/json: - schema: *367 + schema: *363 examples: - default: &491 + default: &489 value: name: USERNAME value: octocat @@ -56523,8 +56187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 requestBody: required: true @@ -56567,8 +56231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 responses: '204': @@ -56594,8 +56258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -56613,7 +56277,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &365 title: Workflow description: A GitHub Actions workflow type: object @@ -56731,9 +56395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *318 - - *319 - - &370 + - *314 + - *315 + - &366 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56748,7 +56412,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *365 examples: default: value: @@ -56781,9 +56445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56808,9 +56472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56861,9 +56525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '204': description: Response @@ -56890,19 +56554,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *318 - - *319 + - *314 + - *315 + - *366 + - *367 + - *368 + - *369 - *370 + - *17 + - *19 - *371 + - *350 - *372 - *373 - - *374 - - *17 - - *19 - - *375 - - *354 - - *376 - - *377 responses: '200': description: Response @@ -56918,9 +56582,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *351 examples: - default: *378 + default: *374 headers: Link: *56 x-github: @@ -56952,9 +56616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *318 - - *319 - - *370 + - *314 + - *315 + - *366 responses: '200': description: Response @@ -57015,8 +56679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *318 - - *319 + - *314 + - *315 - *50 - *17 - *43 @@ -57184,8 +56848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -57222,8 +56886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *318 - - *319 + - *314 + - *315 - name: assignee in: path required: true @@ -57259,8 +56923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -57372,8 +57036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *43 - *44 @@ -57430,7 +57094,7 @@ paths: initiator: type: string examples: - default: *379 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57450,8 +57114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -57459,7 +57123,7 @@ paths: application/json: schema: type: array - items: &380 + items: &376 title: Autolink reference description: An autolink reference. type: object @@ -57518,8 +57182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -57558,9 +57222,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *376 examples: - default: &381 + default: &377 value: id: 1 key_prefix: TICKET- @@ -57591,9 +57255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *318 - - *319 - - &382 + - *314 + - *315 + - &378 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57605,9 +57269,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *376 examples: - default: *381 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -57627,9 +57291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *318 - - *319 - - *382 + - *314 + - *315 + - *378 responses: '204': description: Response @@ -57653,8 +57317,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response if Dependabot is enabled @@ -57704,8 +57368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -57726,8 +57390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -57747,8 +57411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *318 - - *319 + - *314 + - *315 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57786,7 +57450,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &380 title: Branch Protection description: Branch Protection type: object @@ -57829,7 +57493,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &383 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57846,7 +57510,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &385 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57930,7 +57594,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &382 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58223,9 +57887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *318 - - *319 - - &385 + - *314 + - *315 + - &381 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). @@ -58239,14 +57903,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &391 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &447 + commit: &445 title: Commit description: Commit type: object @@ -58285,7 +57949,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &379 title: Git User description: Metaproperties for Git author/committer information. @@ -58307,7 +57971,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 message: type: string examples: @@ -58331,7 +57995,7 @@ paths: required: - sha - url - verification: &497 + verification: &495 title: Verification type: object properties: @@ -58411,7 +58075,7 @@ paths: type: integer files: type: array - items: &458 + items: &456 title: Diff Entry description: Diff Entry type: object @@ -58507,7 +58171,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *380 protection_url: type: string format: uri @@ -58616,7 +58280,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -58638,15 +58302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *384 + schema: *380 examples: default: value: @@ -58840,9 +58504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -59102,7 +58766,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &388 title: Status Check Policy description: Status Check Policy type: object @@ -59261,7 +58925,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *382 required_conversation_resolution: type: object properties: @@ -59373,9 +59037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59400,17 +59064,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: &388 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59432,17 +59096,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: *388 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59461,9 +59125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59488,17 +59152,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *389 + schema: *385 examples: - default: &390 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59594,9 +59258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -59694,9 +59358,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *385 examples: - default: *390 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -59717,9 +59381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59746,17 +59410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: &391 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59779,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *387 + schema: *383 examples: - default: *391 + default: *387 '404': *6 x-github: githubCloudOnly: false @@ -59809,9 +59473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59836,17 +59500,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *392 + schema: *388 examples: - default: &393 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59872,9 +59536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -59926,9 +59590,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *388 examples: - default: *393 + default: *389 '404': *6 '422': *15 x-github: @@ -59950,9 +59614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -59976,9 +59640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60012,9 +59676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60081,9 +59745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60147,9 +59811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: content: application/json: @@ -60215,15 +59879,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response content: application/json: - schema: *386 + schema: *382 examples: default: value: @@ -60314,9 +59978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '204': description: Response @@ -60339,9 +60003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60351,7 +60015,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &390 value: - id: 1 slug: octoapp @@ -60408,9 +60072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60444,7 +60108,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60465,9 +60129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60501,7 +60165,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60522,9 +60186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60558,7 +60222,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *390 '422': *15 x-github: githubCloudOnly: false @@ -60580,9 +60244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60612,9 +60276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60673,9 +60337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: false content: @@ -60734,9 +60398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: content: application/json: @@ -60795,9 +60459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 responses: '200': description: Response @@ -60831,9 +60495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60891,9 +60555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -60951,9 +60615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -61013,9 +60677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 requestBody: required: true content: @@ -61037,7 +60701,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *391 examples: default: value: @@ -61153,8 +60817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -61433,7 +61097,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61569,7 +61233,7 @@ paths: check. type: array items: *74 - deployment: &704 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61856,9 +61520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *318 - - *319 - - &397 + - *314 + - *315 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -61870,9 +61534,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *392 examples: - default: &398 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61972,9 +61636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 requestBody: required: true content: @@ -62214,9 +61878,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *392 examples: - default: *398 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62236,9 +61900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 - *17 - *19 responses: @@ -62348,9 +62012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *318 - - *319 - - *397 + - *314 + - *315 + - *393 responses: '201': description: Response @@ -62394,8 +62058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -62417,7 +62081,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &396 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62515,7 +62179,7 @@ paths: - string - 'null' format: date-time - head_commit: *399 + head_commit: *395 latest_check_runs_count: type: integer check_runs_url: @@ -62543,7 +62207,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &397 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62834,9 +62498,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *396 examples: - default: *401 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62855,8 +62519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -63165,9 +62829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *318 - - *319 - - &402 + - *314 + - *315 + - &398 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63179,9 +62843,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *396 examples: - default: *401 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63204,17 +62868,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *318 - - *319 - - *402 - - &453 + - *314 + - *315 + - *398 + - &451 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &454 + - &452 name: status description: Returns check runs with the specified `status`. in: query @@ -63253,9 +62917,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *392 examples: - default: &455 + default: &453 value: total_count: 1 check_runs: @@ -63357,9 +63021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - - *319 - - *402 + - *314 + - *315 + - *398 responses: '201': description: Response @@ -63392,21 +63056,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *318 - - *319 - - *403 - - *404 + - *314 + - *315 + - *399 + - *400 - *19 - *17 - - &421 + - &417 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *405 - - &422 + schema: *401 + - &418 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63431,13 +63095,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *402 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *403 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -63461,7 +63125,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *408 + instances_url: *404 state: *171 fixed_at: *167 dismissed_by: @@ -63469,11 +63133,11 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *405 + dismissed_comment: *406 + rule: *407 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -63596,7 +63260,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &414 + '403': &410 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63623,9 +63287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *318 - - *319 - - &415 + - *314 + - *315 + - &411 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63639,7 +63303,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &412 type: object properties: number: *162 @@ -63647,7 +63311,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *408 + instances_url: *404 state: *171 fixed_at: *167 dismissed_by: @@ -63655,8 +63319,8 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *405 + dismissed_comment: *406 rule: type: object properties: @@ -63718,8 +63382,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *408 + most_recent_instance: *409 dismissal_approved_by: anyOf: - type: 'null' @@ -63815,7 +63479,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -63835,9 +63499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: true content: @@ -63852,8 +63516,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *405 + dismissed_comment: *406 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63881,7 +63545,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *412 examples: default: value: @@ -63957,7 +63621,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &416 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63984,15 +63648,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 responses: '200': description: Response content: application/json: - schema: &417 + schema: &413 type: object properties: status: @@ -64019,13 +63683,13 @@ paths: - description - started_at examples: - default: &418 + default: &414 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &415 description: Bad Request content: application/json: @@ -64036,7 +63700,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64061,29 +63725,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 responses: '200': description: OK content: application/json: - schema: *417 + schema: *413 examples: - default: *418 + default: *414 '202': description: Accepted content: application/json: - schema: *417 + schema: *413 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *415 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64115,9 +63779,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: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: false content: @@ -64163,8 +63827,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *415 + '403': *416 '404': *6 '422': description: Unprocessable Entity @@ -64188,13 +63852,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *19 - *17 - - *421 - - *422 + - *417 + - *418 responses: '200': description: Response @@ -64205,10 +63869,10 @@ paths: items: type: object properties: - ref: *405 - analysis_key: *423 - environment: *424 - category: *425 + ref: *401 + analysis_key: *419 + environment: *420 + category: *421 state: type: - string @@ -64225,7 +63889,7 @@ paths: properties: text: type: string - location: *426 + location: *422 html_url: type: string classifications: @@ -64233,7 +63897,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *427 + items: *423 examples: default: value: @@ -64272,7 +63936,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64306,25 +63970,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *318 - - *319 - - *403 - - *404 + - *314 + - *315 + - *399 + - *400 - *19 - *17 - - *422 + - *418 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *405 + schema: *401 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &424 type: string description: An identifier for the upload. examples: @@ -64346,23 +64010,23 @@ paths: application/json: schema: type: array - items: &429 + items: &425 type: object properties: - ref: *405 - commit_sha: &437 + ref: *401 + commit_sha: &433 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: *423 + analysis_key: *419 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *425 + category: *421 error: type: string examples: @@ -64387,8 +64051,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *412 + sarif_id: *424 + tool: *408 deletable: type: boolean warning: @@ -64450,7 +64114,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64486,8 +64150,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: - - *318 - - *319 + - *314 + - *315 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64500,7 +64164,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *425 examples: response: summary: application/json response @@ -64554,7 +64218,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *410 '404': *6 '422': description: Response if analysis could not be processed @@ -64641,8 +64305,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: - - *318 - - *319 + - *314 + - *315 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64698,7 +64362,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *420 + '403': *416 '404': *6 '503': *105 x-github: @@ -64720,8 +64384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -64729,7 +64393,7 @@ paths: application/json: schema: type: array - items: &430 + items: &426 title: CodeQL Database description: A CodeQL database. type: object @@ -64841,7 +64505,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64870,8 +64534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: language in: path description: The language of the CodeQL database. @@ -64883,7 +64547,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *426 examples: default: value: @@ -64915,9 +64579,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &460 + '302': &458 description: Found - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -64939,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - - *319 + - *314 + - *315 - name: language in: path description: The language of the CodeQL database. @@ -64950,7 +64614,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *416 '404': *6 '503': *105 x-github: @@ -64978,8 +64642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -64988,7 +64652,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &427 type: string description: The language targeted by the CodeQL query enum: @@ -65068,7 +64732,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &431 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65078,7 +64742,7 @@ paths: description: The ID of the variant analysis. controller_repo: *55 actor: *4 - query_language: *431 + query_language: *427 query_pack_url: type: string description: The download url for the query pack. @@ -65126,7 +64790,7 @@ paths: items: type: object properties: - repository: &432 + repository: &428 title: Repository Identifier description: Repository Identifier type: object @@ -65168,7 +64832,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &432 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65200,7 +64864,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &433 + access_mismatch_repos: &429 type: object properties: repository_count: @@ -65215,7 +64879,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: *432 + items: *428 required: - repository_count - repositories @@ -65238,8 +64902,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *429 + over_limit_repos: *429 required: - access_mismatch_repos - not_found_repos @@ -65255,7 +64919,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &430 summary: Default response value: id: 1 @@ -65401,10 +65065,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *430 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *430 '404': *6 '422': description: Unable to process variant analysis submission @@ -65432,8 +65096,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: - - *318 - - *319 + - *314 + - *315 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65445,9 +65109,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *431 examples: - default: *434 + default: *430 '404': *6 '503': *105 x-github: @@ -65470,7 +65134,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: - - *318 + - *314 - name: repo in: path description: The name of the controller repository. @@ -65505,7 +65169,7 @@ paths: type: object properties: repository: *55 - analysis_status: *436 + analysis_status: *432 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65630,8 +65294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -65724,7 +65388,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *410 '404': *6 '503': *105 x-github: @@ -65745,8 +65409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -65840,7 +65504,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *416 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65911,8 +65575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -65920,7 +65584,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *433 ref: type: string description: |- @@ -65980,7 +65644,7 @@ paths: schema: type: object properties: - id: *428 + id: *424 url: type: string description: The REST API URL for checking the status of the upload. @@ -65994,7 +65658,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *420 + '403': *416 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66017,8 +65681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *318 - - *319 + - *314 + - *315 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66066,7 +65730,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *414 + '403': *410 '404': description: Not Found if the sarif id does not match any upload '503': *105 @@ -66091,8 +65755,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66173,8 +65837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *318 - - *319 + - *314 + - *315 - 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 @@ -66302,8 +65966,8 @@ paths: parameters: - *17 - *19 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66617,8 +66281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -66684,7 +66348,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -66692,7 +66356,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '400': *14 '401': *23 '403': *27 @@ -66721,8 +66385,8 @@ paths: parameters: - *17 - *19 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -66786,8 +66450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66824,7 +66488,7 @@ paths: type: integer machines: type: array - items: *439 + items: *435 examples: default: &651 value: @@ -66866,8 +66530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - - *319 + - *314 + - *315 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66954,8 +66618,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: - - *318 - - *319 + - *314 + - *315 - 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 @@ -67024,8 +66688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -67043,7 +66707,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &439 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67064,7 +66728,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *436 headers: Link: *56 x-github: @@ -67087,16 +66751,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *441 + schema: *437 examples: - default: *442 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67116,17 +66780,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *443 + schema: *439 examples: - default: *444 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67146,8 +66810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -67200,8 +66864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -67230,8 +66894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - - *319 + - *314 + - *315 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67269,7 +66933,7 @@ paths: application/json: schema: type: array - items: &445 + items: &441 title: Collaborator description: Collaborator type: object @@ -67462,8 +67126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '204': @@ -67510,8 +67174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 requestBody: required: false @@ -67538,7 +67202,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &510 + schema: &508 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67766,8 +67430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '204': @@ -67799,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - - *319 + - *314 + - *315 - *61 responses: '200': @@ -67821,7 +67485,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *441 required: - permission - role_name @@ -67875,8 +67539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -67886,7 +67550,7 @@ paths: application/json: schema: type: array - items: &446 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -67944,7 +67608,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &447 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68003,17 +67667,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': description: Response content: application/json: - schema: *446 + schema: *442 examples: - default: &450 + default: &448 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68070,8 +67734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -68094,7 +67758,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *442 examples: default: value: @@ -68145,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -68168,8 +67832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -68196,9 +67860,75 @@ paths: application/json: schema: type: array - items: *313 + items: &443 + title: Reaction + description: Reactions to conversations provide a way to help people + express their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - *4 + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at examples: - default: *315 + default: &512 + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' headers: Link: *56 '404': *6 @@ -68219,8 +67949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -68253,16 +67983,40 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: &444 + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -68284,10 +68038,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - &513 + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer responses: '204': description: Response @@ -68336,8 +68096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *318 - - *319 + - *314 + - *315 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68393,7 +68153,7 @@ paths: application/json: schema: type: array - items: *447 + items: *445 examples: default: &559 value: @@ -68489,9 +68249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - - *319 - - &448 + - *314 + - *315 + - &446 name: commit_sha description: The SHA of the commit. in: path @@ -68563,9 +68323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 - *17 - *19 responses: @@ -68575,9 +68335,9 @@ paths: application/json: schema: type: array - items: *446 + items: *442 examples: - default: *449 + default: *447 headers: Link: *56 x-github: @@ -68605,9 +68365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 requestBody: required: true content: @@ -68642,9 +68402,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *442 examples: - default: *450 + default: *448 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68672,9 +68432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 - *17 - *19 responses: @@ -68684,7 +68444,7 @@ paths: application/json: schema: type: array - items: *451 + items: *449 examples: default: &551 value: @@ -69223,11 +68983,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 - - &452 + - &450 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)" @@ -69242,7 +69002,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: default: &537 value: @@ -69357,11 +69117,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *318 - - *319 + - *314 + - *315 + - *450 + - *451 - *452 - - *453 - - *454 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69395,9 +69155,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *392 examples: - default: *455 + default: *453 headers: Link: *56 x-github: @@ -69422,9 +69182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69432,7 +69192,7 @@ paths: schema: type: integer example: 1 - - *453 + - *451 - *17 - *19 responses: @@ -69450,7 +69210,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *396 examples: default: value: @@ -69650,9 +69410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - *17 - *19 responses: @@ -69854,9 +69614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - - *319 - - *452 + - *314 + - *315 + - *450 - *17 - *19 responses: @@ -69947,7 +69707,7 @@ paths: site_admin: false headers: Link: *56 - '301': *322 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69975,8 +69735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -70009,11 +69769,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *456 + - *454 code_of_conduct_file: anyOf: - type: 'null' - - &457 + - &455 title: Community Health File type: object properties: @@ -70033,19 +69793,19 @@ paths: contributing: anyOf: - type: 'null' - - *457 + - *455 readme: anyOf: - type: 'null' - - *457 + - *455 issue_template: anyOf: - type: 'null' - - *457 + - *455 pull_request_template: anyOf: - type: 'null' - - *457 + - *455 required: - code_of_conduct - code_of_conduct_file @@ -70174,8 +69934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 - name: basehead @@ -70223,8 +69983,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *447 - merge_base_commit: *447 + base_commit: *445 + merge_base_commit: *445 status: type: string enum: @@ -70248,10 +70008,10 @@ paths: - 6 commits: type: array - items: *447 + items: *445 files: type: array - items: *458 + items: *456 required: - url - html_url @@ -70537,8 +70297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -70691,7 +70451,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &459 + response-if-content-is-a-file: &457 summary: Response if content is a file value: type: file @@ -71046,7 +70806,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *459 + response-if-content-is-a-file: *457 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71115,7 +70875,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *460 + '302': *458 '304': *35 x-github: githubCloudOnly: false @@ -71138,8 +70898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -71234,7 +70994,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &459 title: File Commit description: File Commit type: object @@ -71390,7 +71150,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: example-for-creating-a-file: value: @@ -71444,7 +71204,7 @@ paths: schema: oneOf: - *3 - - &492 + - &490 description: Repository rule violation was detected type: object properties: @@ -71497,8 +71257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *318 - - *319 + - *314 + - *315 - name: path description: path parameter in: path @@ -71559,7 +71319,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *459 examples: default: value: @@ -71614,8 +71374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *318 - - *319 + - *314 + - *315 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71739,8 +71499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *181 - *182 - *183 @@ -71752,7 +71512,7 @@ paths: schema: type: string - *185 - - *462 + - *460 - *186 - *187 - *50 @@ -71773,7 +71533,7 @@ paths: application/json: schema: type: array - items: &466 + items: &464 type: object description: A Dependabot alert. properties: @@ -71823,7 +71583,7 @@ paths: - direct - transitive - - security_advisory: *463 + security_advisory: *461 security_vulnerability: *54 url: *165 html_url: *166 @@ -71854,8 +71614,8 @@ paths: dismissal. maxLength: 280 fixed_at: *167 - auto_dismissed_at: *464 - dismissal_request: *465 + auto_dismissed_at: *462 + dismissal_request: *463 required: - number - state @@ -72085,9 +71845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - - *319 - - &467 + - *314 + - *315 + - &465 name: alert_number in: path description: |- @@ -72102,7 +71862,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -72215,9 +71975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - - *319 - - *467 + - *314 + - *315 + - *465 requestBody: required: true content: @@ -72262,7 +72022,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -72391,8 +72151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -72410,7 +72170,7 @@ paths: type: integer secrets: type: array - items: &470 + items: &468 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72464,16 +72224,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: *468 + schema: *466 examples: - default: *469 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72493,15 +72253,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '200': description: Response content: application/json: - schema: *470 + schema: *468 examples: default: value: @@ -72527,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 requestBody: required: true @@ -72581,8 +72341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - - *319 + - *314 + - *315 - *152 responses: '204': @@ -72605,8 +72365,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: - - *318 - - *319 + - *314 + - *315 - 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 @@ -72780,8 +72540,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -73041,8 +72801,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -73125,7 +72885,7 @@ paths: - version - url additionalProperties: false - metadata: &471 + metadata: &469 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73164,7 +72924,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *471 + metadata: *469 resolved: type: object description: A collection of resolved package dependencies. @@ -73178,7 +72938,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *471 + metadata: *469 relationship: type: string description: A notation of whether a dependency is requested @@ -73311,8 +73071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *318 - - *319 + - *314 + - *315 - name: sha description: The SHA recorded at creation time. in: query @@ -73353,9 +73113,9 @@ paths: application/json: schema: type: array - items: *472 + items: *470 examples: - default: *473 + default: *471 headers: Link: *56 x-github: @@ -73421,8 +73181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -73504,7 +73264,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *470 examples: simple-example: summary: Simple example @@ -73577,9 +73337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *318 - - *319 - - &474 + - *314 + - *315 + - &472 name: deployment_id description: deployment_id parameter in: path @@ -73591,7 +73351,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *470 examples: default: value: @@ -73656,9 +73416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 responses: '204': description: Response @@ -73680,9 +73440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 - *17 - *19 responses: @@ -73692,7 +73452,7 @@ paths: application/json: schema: type: array - items: &475 + items: &473 title: Deployment Status description: The status of a deployment. type: object @@ -73856,9 +73616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 requestBody: required: true content: @@ -73933,9 +73693,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: &476 + default: &474 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73991,9 +73751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - - *319 - - *474 + - *314 + - *315 + - *472 - name: status_id in: path required: true @@ -74004,9 +73764,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 '404': *6 x-github: githubCloudOnly: false @@ -74031,8 +73791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -74089,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -74108,7 +73868,7 @@ paths: - 5 environments: type: array - items: &478 + items: &476 title: Environment description: Details of a deployment environment type: object @@ -74170,7 +73930,7 @@ paths: type: string examples: - wait_timer - wait_timer: &480 + wait_timer: &478 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74212,7 +73972,7 @@ paths: items: type: object properties: - type: *477 + type: *475 reviewer: anyOf: - *4 @@ -74239,7 +73999,7 @@ paths: - id - node_id - type - deployment_branch_policy: &481 + deployment_branch_policy: &479 type: - object - 'null' @@ -74356,9 +74116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *318 - - *319 - - &479 + - *314 + - *315 + - &477 name: environment_name in: path required: true @@ -74371,9 +74131,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: &482 + default: &480 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74457,9 +74217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: false content: @@ -74469,7 +74229,7 @@ paths: - object - 'null' properties: - wait_timer: *480 + wait_timer: *478 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74488,14 +74248,14 @@ paths: items: type: object properties: - type: *477 + type: *475 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *481 + deployment_branch_policy: *479 additionalProperties: false examples: default: @@ -74515,9 +74275,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: *482 + default: *480 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74541,9 +74301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 responses: '204': description: Default response @@ -74568,9 +74328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *17 - *19 responses: @@ -74589,7 +74349,7 @@ paths: - 2 branch_policies: type: array - items: &483 + items: &481 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74650,9 +74410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: true content: @@ -74700,9 +74460,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - example-wildcard: &484 + example-wildcard: &482 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74744,10 +74504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - &485 + - *314 + - *315 + - *477 + - &483 name: branch_policy_id in: path required: true @@ -74759,9 +74519,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *484 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74780,10 +74540,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - *485 + - *314 + - *315 + - *477 + - *483 requestBody: required: true content: @@ -74812,9 +74572,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *484 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74833,10 +74593,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - - *319 - - *479 - - *485 + - *314 + - *315 + - *477 + - *483 responses: '204': description: Response @@ -74861,9 +74621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 responses: '200': description: List of deployment protection rules @@ -74880,7 +74640,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &486 + items: &484 title: Deployment protection rule description: Deployment protection rule type: object @@ -74902,7 +74662,7 @@ paths: for the environment. examples: - true - app: &487 + app: &485 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75005,9 +74765,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: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 requestBody: content: application/json: @@ -75028,9 +74788,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *486 + schema: *484 examples: - default: &488 + default: &486 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75065,9 +74825,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: - - *479 - - *319 - - *318 + - *477 + - *315 + - *314 - *19 - *17 responses: @@ -75087,7 +74847,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *487 + items: *485 examples: default: value: @@ -75122,10 +74882,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *318 - - *319 - - *479 - - &489 + - *314 + - *315 + - *477 + - &487 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75137,9 +74897,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *484 examples: - default: *488 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,10 +74920,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *479 - - *319 - - *318 - - *489 + - *477 + - *315 + - *314 + - *487 responses: '204': description: Response @@ -75189,9 +74949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *17 - *19 responses: @@ -75209,9 +74969,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *359 examples: - default: *364 + default: *360 headers: Link: *56 x-github: @@ -75236,17 +74996,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 responses: '200': description: Response content: application/json: - schema: *365 + schema: *361 examples: - default: *366 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75268,18 +75028,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 responses: '200': description: Response content: application/json: - schema: *363 + schema: *359 examples: - default: *490 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75301,9 +75061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 requestBody: required: true @@ -75361,9 +75121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *152 responses: '204': @@ -75389,10 +75149,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *318 - - *319 - - *479 - - *334 + - *314 + - *315 + - *477 + - *330 - *19 responses: '200': @@ -75409,9 +75169,9 @@ paths: type: integer variables: type: array - items: *367 + items: *363 examples: - default: *368 + default: *364 headers: Link: *56 x-github: @@ -75434,9 +75194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 requestBody: required: true content: @@ -75488,18 +75248,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *318 - - *319 - - *479 + - *314 + - *315 + - *477 - *155 responses: '200': description: Response content: application/json: - schema: *367 + schema: *363 examples: - default: *491 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75520,10 +75280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 - - *479 + - *477 requestBody: required: true content: @@ -75565,10 +75325,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *318 - - *319 + - *314 + - *315 - *155 - - *479 + - *477 responses: '204': description: Response @@ -75590,8 +75350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -75659,8 +75419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *318 - - *319 + - *314 + - *315 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75819,8 +75579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -75853,9 +75613,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 '400': *14 '422': *15 '403': *27 @@ -75876,8 +75636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -75937,7 +75697,7 @@ paths: schema: oneOf: - *113 - - *492 + - *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75962,8 +75722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *318 - - *319 + - *314 + - *315 - name: file_sha in: path required: true @@ -76063,8 +75823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76173,7 +75933,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &491 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76400,15 +76160,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *318 - - *319 - - *448 + - *314 + - *315 + - *446 responses: '200': description: Response content: application/json: - schema: *493 + schema: *491 examples: default: value: @@ -76464,9 +76224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *318 - - *319 - - &494 + - *314 + - *315 + - &492 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. @@ -76483,7 +76243,7 @@ paths: application/json: schema: type: array - items: &495 + items: &493 title: Git Reference description: Git references within a repository type: object @@ -76559,17 +76319,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 responses: '200': description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: &496 + default: &494 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76598,8 +76358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76628,9 +76388,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *496 + default: *494 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76656,9 +76416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 requestBody: required: true content: @@ -76687,9 +76447,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *496 + default: *494 '422': *15 '409': *49 x-github: @@ -76707,9 +76467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *318 - - *319 - - *494 + - *314 + - *315 + - *492 responses: '204': description: Response @@ -76764,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -76832,7 +76592,7 @@ paths: description: Response content: application/json: - schema: &498 + schema: &496 title: Git Tag description: Metadata for a Git tag type: object @@ -76888,7 +76648,7 @@ paths: - sha - type - url - verification: *497 + verification: *495 required: - sha - url @@ -76898,7 +76658,7 @@ paths: - tag - message examples: - default: &499 + default: &497 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76971,8 +76731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *318 - - *319 + - *314 + - *315 - name: tag_sha in: path required: true @@ -76983,9 +76743,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: - default: *499 + default: *497 '404': *6 '409': *49 x-github: @@ -77009,8 +76769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -77084,7 +76844,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &498 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77186,8 +76946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *318 - - *319 + - *314 + - *315 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77210,7 +76970,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *498 examples: default-response: summary: Default response @@ -77269,8 +77029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -77280,7 +77040,7 @@ paths: application/json: schema: type: array - items: &501 + items: &499 title: Webhook description: Webhooks for repositories. type: object @@ -77343,7 +77103,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &735 + last_response: &736 title: Hook Response type: object properties: @@ -77420,8 +77180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -77474,9 +77234,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: &502 + default: &500 value: type: Repository id: 12345678 @@ -77524,17 +77284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '200': description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -77554,8 +77314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 requestBody: required: true @@ -77601,9 +77361,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '422': *15 '404': *6 x-github: @@ -77624,8 +77384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77650,8 +77410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '200': @@ -77679,8 +77439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *193 requestBody: required: false @@ -77725,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *17 - *194 @@ -77758,8 +77518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *16 responses: @@ -77788,8 +77548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 - *16 responses: @@ -77813,8 +77573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77840,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - - *319 + - *314 + - *315 - *193 responses: '204': @@ -77865,8 +77625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response if immutable releases are enabled @@ -77914,8 +77674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '409': *49 @@ -77935,8 +77695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '409': *49 @@ -77993,14 +77753,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response content: application/json: - schema: &503 + schema: &501 title: Import description: A repository import from an external source. type: object @@ -78107,7 +77867,7 @@ paths: - html_url - authors_url examples: - default: &506 + default: &504 value: vcs: subversion use_lfs: true @@ -78123,7 +77883,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': &504 + '503': &502 description: Unavailable due to service under maintenance. content: application/json: @@ -78152,8 +77912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -78201,7 +77961,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: default: value: @@ -78226,7 +77986,7 @@ paths: type: string '422': *15 '404': *6 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78254,8 +78014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -78307,7 +78067,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: example-1: summary: Example 1 @@ -78355,7 +78115,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': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78378,12 +78138,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78409,8 +78169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *318 - - *319 + - *314 + - *315 - &672 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -78425,7 +78185,7 @@ paths: application/json: schema: type: array - items: &505 + items: &503 title: Porter Author description: Porter Author type: object @@ -78479,7 +78239,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': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78504,8 +78264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - - *319 + - *314 + - *315 - name: author_id in: path required: true @@ -78535,7 +78295,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *503 examples: default: value: @@ -78548,7 +78308,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78572,8 +78332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78614,7 +78374,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78642,8 +78402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -78670,11 +78430,11 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: - default: *506 + default: *504 '422': *15 - '503': *504 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78697,8 +78457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78706,8 +78466,8 @@ paths: application/json: schema: *20 examples: - default: *507 - '301': *322 + default: *505 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -78727,8 +78487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -78741,7 +78501,7 @@ paths: properties: {} additionalProperties: false examples: - default: &509 + default: &507 value: limit: collaborators_only origin: repository @@ -78766,13 +78526,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: application/json: - schema: *508 + schema: *506 examples: default: summary: Example request body @@ -78786,7 +78546,7 @@ paths: application/json: schema: *211 examples: - default: *509 + default: *507 '409': description: Response x-github: @@ -78808,8 +78568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -78832,8 +78592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -78843,7 +78603,7 @@ paths: application/json: schema: type: array - items: *510 + items: *508 examples: default: &665 value: @@ -78976,8 +78736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - - *319 + - *314 + - *315 - *215 requestBody: required: false @@ -79007,7 +78767,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: default: value: @@ -79138,8 +78898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - - *319 + - *314 + - *315 - *215 responses: '204': @@ -79171,8 +78931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *318 - - *319 + - *314 + - *315 - 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 @@ -79393,7 +79153,7 @@ paths: state_reason: completed headers: Link: *56 - '301': *322 + '301': *318 '422': *15 '404': *6 x-github: @@ -79422,8 +79182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -79671,7 +79431,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *511 + '410': *509 x-github: triggersNotification: true githubCloudOnly: false @@ -79699,8 +79459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *93 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79721,7 +79481,7 @@ paths: application/json: schema: type: array - items: *512 + items: *510 examples: default: &517 value: @@ -79781,17 +79541,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: &513 + default: &511 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79845,8 +79605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -79869,9 +79629,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: *513 + default: *511 '422': *15 x-github: githubCloudOnly: false @@ -79889,8 +79649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -79911,8 +79671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79939,9 +79699,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -79962,8 +79722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -79996,16 +79756,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -80027,10 +79787,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - *513 responses: '204': description: Response @@ -80050,8 +79810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -80400,8 +80160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *318 - - *319 + - *314 + - *315 - name: event_id in: path required: true @@ -80604,7 +80364,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *511 + '410': *509 '403': *27 x-github: githubCloudOnly: false @@ -80638,8 +80398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - &516 name: issue_number description: The number that identifies the issue. @@ -80655,9 +80415,9 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '304': *35 x-github: githubCloudOnly: false @@ -80682,8 +80442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -80809,9 +80569,9 @@ paths: '422': *15 '503': *105 '403': *27 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80829,8 +80589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -80875,8 +80635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: content: @@ -80926,8 +80686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: assignee in: path @@ -80968,8 +80728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *76 - *17 @@ -80981,13 +80741,13 @@ paths: application/json: schema: type: array - items: *512 + items: *510 examples: default: *517 headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81016,8 +80776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -81040,16 +80800,16 @@ paths: description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: *513 + default: *511 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -81077,8 +80837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -81094,9 +80854,9 @@ paths: default: *518 headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,8 +80884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -81156,9 +80916,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *318 '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -81189,8 +80949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: issue_id in: path @@ -81206,12 +80966,12 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *511 + '410': *509 x-github: triggersNotification: true githubCloudOnly: false @@ -81237,8 +80997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -81254,9 +81014,9 @@ paths: default: *518 headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81273,8 +81033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82068,7 +81828,7 @@ paths: color: red headers: Link: *56 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82085,8 +81845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82117,9 +81877,9 @@ paths: default: false headers: Link: *56 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82136,8 +81896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82200,9 +81960,9 @@ paths: items: *69 examples: default: *519 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '422': *15 x-github: githubCloudOnly: false @@ -82219,8 +81979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82284,9 +82044,9 @@ paths: items: *69 examples: default: *519 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 '422': *15 x-github: githubCloudOnly: false @@ -82303,15 +82063,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '204': description: Response - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82330,8 +82090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: name in: path @@ -82356,9 +82116,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82378,8 +82138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: false @@ -82409,7 +82169,7 @@ paths: '204': description: Response '403': *27 - '410': *511 + '410': *509 '404': *6 '422': *15 x-github: @@ -82427,8 +82187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '204': @@ -82459,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 responses: '200': @@ -82470,9 +82230,9 @@ paths: schema: *70 examples: default: *515 - '301': *322 + '301': *318 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82489,8 +82249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82517,13 +82277,13 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82541,8 +82301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82575,16 +82335,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Response content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -82606,10 +82366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *516 - - *316 + - *513 responses: '204': description: Response @@ -82638,8 +82398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82697,8 +82457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -82715,7 +82475,7 @@ paths: headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82743,8 +82503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82781,7 +82541,7 @@ paths: schema: type: string '403': *27 - '410': *511 + '410': *509 '422': *15 '404': *6 x-github: @@ -82801,8 +82561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 requestBody: required: true @@ -82858,8 +82618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - - *319 + - *314 + - *315 - *516 - *17 - *19 @@ -83454,7 +83214,7 @@ paths: type: string comments: type: array - items: *446 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83729,7 +83489,7 @@ paths: headers: Link: *56 '404': *6 - '410': *511 + '410': *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83746,8 +83506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -83825,8 +83585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -83898,8 +83658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 - &535 name: key_id description: The unique identifier of the key. @@ -83932,8 +83692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - - *319 + - *314 + - *315 - *535 responses: '204': @@ -83954,8 +83714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -83988,8 +83748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84059,8 +83819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84090,8 +83850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84156,8 +83916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *318 - - *319 + - *314 + - *315 - name: name in: path required: true @@ -84183,8 +83943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -84223,9 +83983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - - *319 - - *421 + - *314 + - *315 + - *417 responses: '200': description: Response @@ -84372,8 +84132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84438,8 +84198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84473,7 +84233,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *447 + schema: *445 examples: default: *537 '204': @@ -84500,8 +84260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *318 - - *319 + - *314 + - *315 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84598,8 +84358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -84700,8 +84460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - &539 name: milestone_number description: The number that identifies the milestone. @@ -84733,8 +84493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 requestBody: required: false @@ -84791,8 +84551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 responses: '204': @@ -84814,8 +84574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *318 - - *319 + - *314 + - *315 - *539 - *17 - *19 @@ -84847,8 +84607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 - *540 - *541 - *76 @@ -84888,8 +84648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -84947,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -85139,8 +84899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85220,8 +84980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85321,8 +85081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -85348,8 +85108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -85451,8 +85211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - - *319 + - *314 + - *315 responses: '201': description: Response @@ -85499,8 +85259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -85556,8 +85316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *318 - - *319 + - *314 + - *315 - name: build_id in: path required: true @@ -85590,8 +85350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -85699,8 +85459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 - &548 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -85759,8 +85519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - - *319 + - *314 + - *315 - *548 responses: '204': *176 @@ -85788,8 +85548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -86084,8 +85844,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: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Private vulnerability reporting status @@ -86122,8 +85882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '422': *14 @@ -86144,8 +85904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': *176 '422': *14 @@ -86167,8 +85927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -86200,8 +85960,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -86255,8 +86015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *318 - - *319 + - *314 + - *315 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86316,7 +86076,7 @@ paths: application/json: schema: type: array - items: *451 + items: *449 examples: default: *551 headers: @@ -86350,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -87287,8 +87047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - name: sort in: query required: false @@ -87396,8 +87156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '200': @@ -87481,8 +87241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -87523,8 +87283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *85 responses: '204': @@ -87546,8 +87306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87574,9 +87334,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -87597,8 +87357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *85 requestBody: required: true @@ -87631,16 +87391,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -87662,10 +87422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *85 - - *316 + - *513 responses: '204': description: Response @@ -87708,8 +87468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - &557 name: pull_number description: The number that identifies the pull request. @@ -87760,8 +87520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -87828,8 +87588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -87893,7 +87653,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87901,7 +87661,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -87931,8 +87691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *93 - name: direction @@ -87989,8 +87749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -88185,8 +87945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *85 requestBody: @@ -88296,8 +88056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -88308,7 +88068,7 @@ paths: application/json: schema: type: array - items: *447 + items: *445 examples: default: *559 headers: @@ -88340,8 +88100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -88352,7 +88112,7 @@ paths: application/json: schema: type: array - items: *458 + items: *456 examples: default: value: @@ -88390,8 +88150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *318 - - *319 + - *314 + - *315 - *557 responses: '204': @@ -88415,8 +88175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -88529,8 +88289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 responses: '200': @@ -88606,8 +88366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -88645,7 +88405,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: default: value: @@ -89181,8 +88941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: true @@ -89217,7 +88977,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: default: value: @@ -89722,8 +89482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *17 - *19 @@ -89890,8 +89650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -90047,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - &561 name: review_id @@ -90123,8 +89883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90211,8 +89971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 responses: @@ -90249,8 +90009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 - *17 @@ -90510,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90605,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *318 - - *319 + - *314 + - *315 - *557 - *561 requestBody: @@ -90667,8 +90427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - - *319 + - *314 + - *315 - *557 requestBody: required: false @@ -90733,8 +90493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *318 - - *319 + - *314 + - *315 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90791,8 +90551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *318 - - *319 + - *314 + - *315 - name: dir description: The alternate path to look for a README file in: path @@ -90836,8 +90596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -90941,8 +90701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -91125,8 +90885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - &568 name: asset_id description: The unique identifier of the asset. @@ -91176,7 +90936,7 @@ paths: type: User site_admin: false '404': *6 - '302': *460 + '302': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91192,8 +90952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - *568 requestBody: required: false @@ -91241,8 +91001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *318 - - *319 + - *314 + - *315 - *568 responses: '204': @@ -91267,8 +91027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -91354,8 +91114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -91380,8 +91140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - - *319 + - *314 + - *315 - name: tag description: tag parameter in: path @@ -91418,8 +91178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *318 - - *319 + - *314 + - *315 - &571 name: release_id description: The unique identifier of the release. @@ -91454,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 requestBody: required: false @@ -91543,8 +91303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 responses: '204': @@ -91565,8 +91325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *318 - - *319 + - *314 + - *315 - *571 - *17 - *19 @@ -91658,8 +91418,8 @@ 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: - - *318 - - *319 + - *314 + - *315 - *571 - name: name in: query @@ -91741,8 +91501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -91767,9 +91527,9 @@ paths: application/json: schema: type: array - items: *313 + items: *443 examples: - default: *315 + default: *512 headers: Link: *56 '404': *6 @@ -91790,8 +91550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - - *319 + - *314 + - *315 - *571 requestBody: required: true @@ -91822,16 +91582,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '201': description: Reaction created content: application/json: - schema: *313 + schema: *443 examples: - default: *314 + default: *444 '422': *15 x-github: githubCloudOnly: false @@ -91853,10 +91613,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - - *319 + - *314 + - *315 - *571 - - *316 + - *513 responses: '204': description: Response @@ -91880,9 +91640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - - *319 - - *385 + - *314 + - *315 + - *381 - *17 - *19 responses: @@ -92019,8 +91779,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - name: includes_parents @@ -92086,8 +91846,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 requestBody: description: Request body required: true @@ -92196,8 +91956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - - *319 + - *314 + - *315 - *576 - *577 - *578 @@ -92232,8 +91992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - - *319 + - *314 + - *315 - *582 responses: '200': @@ -92270,8 +92030,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92311,8 +92071,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92394,8 +92154,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92418,8 +92178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 - name: ruleset_id @@ -92456,8 +92216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *318 - - *319 + - *314 + - *315 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92530,8 +92290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 - *588 - *589 - *590 @@ -92809,9 +92569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *598 responses: '200': @@ -92872,9 +92632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 requestBody: required: true content: @@ -93014,9 +92774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *318 - - *319 - - *415 + - *314 + - *315 + - *411 - *19 - *17 responses: @@ -93027,7 +92787,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &755 + items: &756 type: object properties: type: @@ -93152,8 +92912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -93232,8 +92992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93354,8 +93114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - - *319 + - *314 + - *315 - *50 - name: sort description: The property to sort the results by. @@ -93424,8 +93184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -93830,8 +93590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -94091,8 +93851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '200': @@ -94125,8 +93885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 requestBody: required: true @@ -94339,8 +94099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '202': *37 @@ -94368,17 +94128,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *318 - - *319 + - *314 + - *315 - *621 responses: '202': description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 '400': *14 '422': *15 '403': *27 @@ -94404,8 +94164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -94501,8 +94261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94544,8 +94304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -94623,8 +94383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -94718,8 +94478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94873,8 +94633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94917,8 +94677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *318 - - *319 + - *314 + - *315 - name: sha in: path required: true @@ -95028,8 +94788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95061,8 +94821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: if you subscribe to the repository @@ -95141,8 +94901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -95195,8 +94955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -95216,8 +94976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95299,8 +95059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95365,8 +95125,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: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -95420,8 +95180,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: - - *318 - - *319 + - *314 + - *315 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -95458,8 +95218,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - - *319 + - *314 + - *315 - name: ref in: path required: true @@ -95495,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *318 - - *319 + - *314 + - *315 - *17 - *19 responses: @@ -95528,8 +95288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *318 - - *319 + - *314 + - *315 - *19 - *17 responses: @@ -95572,8 +95332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -95627,8 +95387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *318 - - *319 + - *314 + - *315 - &629 name: per description: The time frame to display results for. @@ -95748,8 +95508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95844,8 +95604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - - *319 + - *314 + - *315 responses: '200': description: Response @@ -95909,8 +95669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *318 - - *319 + - *314 + - *315 - *629 responses: '200': @@ -96010,8 +95770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *318 - - *319 + - *314 + - *315 requestBody: required: true content: @@ -96285,8 +96045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96309,8 +96069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -96332,8 +96092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -96359,8 +96119,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - - *319 + - *314 + - *315 - name: ref in: path required: true @@ -96452,9 +96212,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96935,7 +96695,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 comment_count: type: integer message: @@ -96954,7 +96714,7 @@ paths: url: type: string format: uri - verification: *497 + verification: *495 required: - author - committer @@ -96969,7 +96729,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *379 parents: type: array items: @@ -99178,246 +98938,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - *636 - - *309 - - *312 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - *636 - - *309 - - *312 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - *636 - - *309 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: *315 - headers: - Link: *56 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - *636 - - *309 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -99643,7 +99163,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-user-is-a-team-maintainer: *641 '404': *6 @@ -99704,7 +99224,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *313 examples: response-if-users-membership-with-team-is-now-pending: *642 '403': @@ -99811,8 +99331,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 responses: '200': description: Alternative response with extra repository information @@ -99970,8 +99490,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 requestBody: required: false content: @@ -100022,8 +99542,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *636 - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -100849,7 +100369,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100857,7 +100377,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -100943,7 +100463,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *436 headers: Link: *56 x-github: @@ -101319,7 +100839,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '304': *35 '500': *104 '401': *23 @@ -101377,7 +100897,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '401': *23 '403': *27 '404': *6 @@ -101571,7 +101091,7 @@ paths: type: integer machines: type: array - items: *439 + items: *435 examples: default: *651 '304': *35 @@ -101658,11 +101178,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *317 machine: anyOf: - type: 'null' - - *439 + - *435 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -102467,7 +101987,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '304': *35 '500': *104 '400': *14 @@ -102507,7 +102027,7 @@ paths: application/json: schema: *221 examples: - default: *438 + default: *434 '500': *104 '401': *23 '403': *27 @@ -103678,7 +103198,7 @@ paths: required: true content: application/json: - schema: *508 + schema: *506 examples: default: value: @@ -106143,9 +105663,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *317 examples: - default: *323 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106183,7 +105703,7 @@ paths: application/json: schema: type: array - items: *510 + items: *508 examples: default: *665 headers: @@ -106454,7 +105974,7 @@ paths: - title - created_at examples: - default: &696 + default: &697 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106617,7 +106137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &697 + - &698 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 @@ -106646,7 +106166,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &698 + items: &699 title: Starred Repository description: Starred Repository type: object @@ -106802,8 +106322,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: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response if this repository is starred by you @@ -106831,8 +106351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -106856,8 +106376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *318 - - *319 + - *314 + - *315 responses: '204': description: Response @@ -107538,7 +107058,7 @@ paths: initiator: type: string examples: - default: *379 + default: *375 '201': description: Response content: @@ -108069,7 +107589,7 @@ paths: application/json: schema: *20 examples: - default: *507 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109071,6 +108591,59 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view + parameters: + - *251 + - *61 + - *692 + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *43 + - *44 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *258 + examples: + default: *259 + headers: + Link: *56 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -109306,7 +108879,7 @@ paths: - *107 - *109 - *108 - - *692 + - *693 - *110 responses: '200': @@ -109437,7 +109010,7 @@ paths: parameters: - *61 - *107 - - *693 + - *694 - *108 responses: '200': @@ -109536,9 +109109,9 @@ paths: - *107 - *109 - *108 - - *694 - - *110 - *695 + - *110 + - *696 responses: '200': description: Response when getting a billing usage summary @@ -109706,7 +109279,7 @@ paths: type: array items: *668 examples: - default: *696 + default: *697 headers: Link: *56 x-github: @@ -109731,7 +109304,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *61 - - *697 + - *698 - *50 - *17 - *19 @@ -109743,7 +109316,7 @@ paths: schema: anyOf: - type: array - items: *698 + items: *699 - type: array items: *68 examples: @@ -109907,7 +109480,7 @@ webhooks: type: string enum: - disabled - enterprise: &699 + enterprise: &700 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109976,7 +109549,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &700 + installation: &701 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109997,7 +109570,7 @@ webhooks: required: - id - node_id - organization: &701 + organization: &702 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110070,7 +109643,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &702 + repository: &703 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110983,10 +110556,10 @@ webhooks: type: string enum: - enabled - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -111062,11 +110635,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: &703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: &704 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) @@ -111289,11 +110862,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: *703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: *704 sender: *4 required: - action @@ -111481,11 +111054,11 @@ webhooks: - everyone required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - rule: *703 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + rule: *704 sender: *4 required: - action @@ -111569,7 +111142,7 @@ webhooks: type: string enum: - completed - check_run: &705 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111679,7 +111252,7 @@ webhooks: - examples: - neutral - deployment: *704 + deployment: *705 details_url: type: string examples: @@ -111777,10 +111350,10 @@ webhooks: - output - app - pull_requests - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -112173,11 +111746,11 @@ webhooks: type: string enum: - created - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -112573,11 +112146,11 @@ webhooks: type: string enum: - requested_action - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 requested_action: description: The action requested by the user. type: object @@ -112982,11 +112555,11 @@ webhooks: type: string enum: - rerequested - check_run: *705 - installation: *700 - enterprise: *699 - organization: *701 - repository: *702 + check_run: *706 + installation: *701 + enterprise: *700 + organization: *702 + repository: *703 sender: *4 required: - check_run @@ -113978,10 +113551,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -114690,10 +114263,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -115396,10 +114969,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -115568,7 +115141,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115720,20 +115293,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &706 + commit_oid: &707 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: *699 - installation: *700 - organization: *701 - ref: &707 + enterprise: *700 + installation: *701 + organization: *702 + ref: &708 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: *702 + repository: *703 sender: *4 required: - action @@ -115900,7 +115473,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116141,12 +115714,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116244,7 +115817,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116429,12 +116002,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116603,7 +116176,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116780,12 +116353,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -116886,7 +116459,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117075,9 +116648,9 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -117085,7 +116658,7 @@ webhooks: type: - string - 'null' - repository: *702 + repository: *703 sender: *4 required: - action @@ -117184,7 +116757,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117331,12 +116904,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *699 - installation: *700 - organization: *701 - ref: *707 - repository: *702 + commit_oid: *707 + enterprise: *700 + installation: *701 + organization: *702 + ref: *708 + repository: *703 sender: *4 required: - action @@ -117505,7 +117078,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *406 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117657,10 +117230,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -117920,10 +117493,10 @@ webhooks: - updated_at - author_association - body - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -118004,18 +117577,18 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *701 - pusher_type: &708 + organization: *702 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &709 + ref: &710 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -118025,7 +117598,7 @@ webhooks: enum: - tag - branch - repository: *702 + repository: *703 sender: *4 required: - ref @@ -118108,9 +117681,9 @@ webhooks: enum: - created definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118195,9 +117768,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118275,9 +117848,9 @@ webhooks: enum: - promote_to_enterprise definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118355,9 +117928,9 @@ webhooks: enum: - updated definition: *261 - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -118434,10 +118007,10 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - repository: *702 - organization: *701 + enterprise: *700 + installation: *701 + repository: *703 + organization: *702 sender: *4 new_property_values: type: array @@ -118522,18 +118095,18 @@ webhooks: title: delete event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - pusher_type: *708 - ref: *709 + enterprise: *700 + installation: *701 + organization: *702 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *702 + repository: *703 sender: *4 required: - ref @@ -118617,11 +118190,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118705,11 +118278,11 @@ webhooks: type: string enum: - auto_reopened - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118793,11 +118366,11 @@ webhooks: type: string enum: - created - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118879,11 +118452,11 @@ webhooks: type: string enum: - dismissed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -118965,11 +118538,11 @@ webhooks: type: string enum: - fixed - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119052,11 +118625,11 @@ webhooks: type: string enum: - reintroduced - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119138,11 +118711,11 @@ webhooks: type: string enum: - reopened - alert: *466 - installation: *700 - organization: *701 - enterprise: *699 - repository: *702 + alert: *464 + installation: *701 + organization: *702 + enterprise: *700 + repository: *703 sender: *4 required: - action @@ -119219,9 +118792,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - key: &710 + enterprise: *700 + installation: *701 + key: &711 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119259,8 +118832,8 @@ webhooks: - verified - created_at - read_only - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -119337,11 +118910,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - key: *710 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + key: *711 + organization: *702 + repository: *703 sender: *4 required: - action @@ -119913,12 +119486,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: &714 + workflow: &715 title: Workflow type: - object @@ -120656,13 +120229,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *472 + deployment: *470 pull_requests: type: array items: *555 - repository: *702 - organization: *701 - installation: *700 + repository: *703 + organization: *702 + installation: *701 sender: *4 responses: '200': @@ -120733,7 +120306,7 @@ webhooks: type: string enum: - approved - approver: &711 + approver: &712 type: object properties: avatar_url: @@ -120776,11 +120349,11 @@ webhooks: type: string comment: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - reviewers: &712 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + reviewers: &713 type: array items: type: object @@ -120861,7 +120434,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &713 + workflow_job_run: &714 type: object properties: conclusion: @@ -121607,18 +121180,18 @@ webhooks: type: string enum: - rejected - approver: *711 + approver: *712 comment: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - reviewers: *712 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + reviewers: *713 sender: *4 since: type: string - workflow_job_run: *713 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -122335,13 +121908,13 @@ webhooks: type: string enum: - requested - enterprise: *699 + enterprise: *700 environment: type: string - installation: *700 - organization: *701 - repository: *702 - requestor: &719 + installation: *701 + organization: *702 + repository: *703 + requestor: &720 title: User type: - object @@ -124284,12 +123857,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Deployment Workflow Run type: @@ -124980,7 +124553,7 @@ webhooks: type: string enum: - answered - answer: &717 + answer: &718 type: object properties: author_association: @@ -125140,11 +124713,11 @@ webhooks: - created_at - updated_at - body - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125271,11 +124844,11 @@ webhooks: - from required: - category - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125358,11 +124931,11 @@ webhooks: type: string enum: - closed - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125444,7 +125017,7 @@ webhooks: type: string enum: - created - comment: &716 + comment: &717 type: object properties: author_association: @@ -125604,11 +125177,11 @@ webhooks: - updated_at - body - reactions - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125691,12 +125264,12 @@ webhooks: type: string enum: - deleted - comment: *716 - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + comment: *717 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125791,12 +125364,12 @@ webhooks: - from required: - body - comment: *716 - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + comment: *717 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125880,11 +125453,11 @@ webhooks: type: string enum: - created - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -125966,11 +125539,11 @@ webhooks: type: string enum: - deleted - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126070,11 +125643,11 @@ webhooks: type: string required: - from - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126156,10 +125729,10 @@ webhooks: type: string enum: - labeled - discussion: *715 - enterprise: *699 - installation: *700 - label: &718 + discussion: *716 + enterprise: *700 + installation: *701 + label: &719 title: Label type: object properties: @@ -126192,8 +125765,8 @@ webhooks: - color - default - description - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126276,11 +125849,11 @@ webhooks: type: string enum: - locked - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126362,11 +125935,11 @@ webhooks: type: string enum: - pinned - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126448,11 +126021,11 @@ webhooks: type: string enum: - reopened - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126537,16 +126110,16 @@ webhooks: changes: type: object properties: - new_discussion: *715 - new_repository: *702 + new_discussion: *716 + new_repository: *703 required: - new_discussion - new_repository - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126629,10 +126202,10 @@ webhooks: type: string enum: - unanswered - discussion: *715 - old_answer: *717 - organization: *701 - repository: *702 + discussion: *716 + old_answer: *718 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126714,12 +126287,12 @@ webhooks: type: string enum: - unlabeled - discussion: *715 - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126802,11 +126375,11 @@ webhooks: type: string enum: - unlocked - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126888,11 +126461,11 @@ webhooks: type: string enum: - unpinned - discussion: *715 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + discussion: *716 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -126965,7 +126538,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *699 + enterprise: *700 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -127643,9 +127216,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - forkee @@ -127791,9 +127364,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pages: description: The pages that were updated. type: array @@ -127831,7 +127404,7 @@ webhooks: - action - sha - html_url - repository: *702 + repository: *703 sender: *4 required: - pages @@ -127907,10 +127480,10 @@ webhooks: type: string enum: - created - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: &720 + organization: *702 + repositories: &721 description: An array of repository objects that the installation can access. type: array @@ -127936,8 +127509,8 @@ webhooks: - name - full_name - private - repository: *702 - requester: *719 + repository: *703 + requester: *720 sender: *4 required: - action @@ -128012,11 +127585,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128093,11 +127666,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128174,10 +127747,10 @@ webhooks: type: string enum: - added - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories_added: &721 + organization: *702 + repositories_added: &722 description: An array of repository objects, which were added to the installation. type: array @@ -128223,15 +127796,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *702 - repository_selection: &722 + repository: *703 + repository_selection: &723 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *719 + requester: *720 sender: *4 required: - action @@ -128310,10 +127883,10 @@ webhooks: type: string enum: - removed - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories_added: *721 + organization: *702 + repositories_added: *722 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -128340,9 +127913,9 @@ webhooks: - name - full_name - private - repository: *702 - repository_selection: *722 - requester: *719 + repository: *703 + repository_selection: *723 + requester: *720 sender: *4 required: - action @@ -128421,11 +127994,11 @@ webhooks: type: string enum: - suspend - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128607,10 +128180,10 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 target_type: type: string @@ -128689,11 +128262,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *699 + enterprise: *700 installation: *20 - organization: *701 - repositories: *720 - repository: *702 + organization: *702 + repositories: *721 + repository: *703 requester: type: - 'null' @@ -128941,8 +128514,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130121,8 +129694,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -130202,7 +129775,7 @@ webhooks: type: string enum: - deleted - comment: &723 + comment: &724 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -130369,8 +129942,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131547,8 +131120,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -131628,7 +131201,7 @@ webhooks: type: string enum: - edited - changes: &747 + changes: &748 description: The changes to the comment. type: object properties: @@ -131640,9 +131213,9 @@ webhooks: type: string required: - from - comment: *723 - enterprise: *699 - installation: *700 + comment: *724 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132820,8 +132393,8 @@ webhooks: - state - locked - assignee - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -132911,9 +132484,9 @@ webhooks: type: number blocking_issue: *70 blocking_issue_repo: *68 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133002,9 +132575,9 @@ webhooks: type: number blocking_issue: *70 blocking_issue_repo: *68 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133092,9 +132665,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133183,9 +132756,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -133265,10 +132838,10 @@ webhooks: type: string enum: - assigned - assignee: *719 - enterprise: *699 - installation: *700 - issue: &726 + assignee: *720 + enterprise: *700 + installation: *701 + issue: &727 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134204,8 +133777,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -134285,8 +133858,8 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135370,8 +134943,8 @@ webhooks: required: - state - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -135450,8 +135023,8 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136382,8 +135955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -136462,8 +136035,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137396,7 +136969,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &724 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137539,8 +137112,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -137639,8 +137212,8 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138576,9 +138149,9 @@ webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *701 - repository: *702 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -138658,8 +138231,8 @@ webhooks: type: string enum: - labeled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139594,9 +139167,9 @@ webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *701 - repository: *702 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -139676,8 +139249,8 @@ webhooks: type: string enum: - locked - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140614,8 +140187,8 @@ webhooks: format: uri user_view_type: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -140694,8 +140267,8 @@ webhooks: type: string enum: - milestoned - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141626,9 +141199,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *724 - organization: *701 - repository: *702 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -143101,8 +142674,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144037,8 +143610,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -144118,9 +143691,9 @@ webhooks: type: string enum: - pinned - enterprise: *699 - installation: *700 - issue: &725 + enterprise: *700 + installation: *701 + issue: &726 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145049,8 +144622,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -145129,8 +144702,8 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146066,8 +145639,8 @@ webhooks: user_view_type: type: string type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147559,11 +147132,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *699 - installation: *700 - issue: *725 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *726 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147643,12 +147216,12 @@ webhooks: type: string enum: - typed - enterprise: *699 - installation: *700 - issue: *726 + enterprise: *700 + installation: *701 + issue: *727 type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147729,7 +147302,7 @@ webhooks: type: string enum: - unassigned - assignee: &750 + assignee: &751 title: User type: - object @@ -147801,11 +147374,11 @@ webhooks: required: - login - id - enterprise: *699 - installation: *700 - issue: *726 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *727 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147884,12 +147457,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *699 - installation: *700 - issue: *726 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *727 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -147969,8 +147542,8 @@ webhooks: type: string enum: - unlocked - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148905,8 +148478,8 @@ webhooks: format: uri user_view_type: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -148986,11 +148559,11 @@ webhooks: type: string enum: - unpinned - enterprise: *699 - installation: *700 - issue: *725 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + issue: *726 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149069,12 +148642,12 @@ webhooks: type: string enum: - untyped - enterprise: *699 - installation: *700 - issue: *726 + enterprise: *700 + installation: *701 + issue: *727 type: *216 - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149154,11 +148727,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149236,11 +148809,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149350,11 +148923,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - label: *718 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + label: *719 + organization: *702 + repository: *703 sender: *4 required: - action @@ -149436,9 +149009,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: &727 + enterprise: *700 + installation: *701 + marketplace_purchase: &728 title: Marketplace Purchase type: object required: @@ -149526,8 +149099,8 @@ webhooks: type: integer unit_count: type: integer - organization: *701 - previous_marketplace_purchase: &728 + organization: *702 + previous_marketplace_purchase: &729 title: Marketplace Purchase type: object properties: @@ -149611,7 +149184,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -149691,10 +149264,10 @@ webhooks: - changed effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149782,7 +149355,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -149864,10 +149437,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149953,7 +149526,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *702 + repository: *703 sender: *4 required: - action @@ -150034,8 +149607,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 marketplace_purchase: title: Marketplace Purchase type: object @@ -150121,9 +149694,9 @@ webhooks: type: integer unit_count: type: integer - organization: *701 - previous_marketplace_purchase: *728 - repository: *702 + organization: *702 + previous_marketplace_purchase: *729 + repository: *703 sender: *4 required: - action @@ -150203,12 +149776,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *699 - installation: *700 - marketplace_purchase: *727 - organization: *701 - previous_marketplace_purchase: *728 - repository: *702 + enterprise: *700 + installation: *701 + marketplace_purchase: *728 + organization: *702 + previous_marketplace_purchase: *729 + repository: *703 sender: *4 required: - action @@ -150310,11 +149883,11 @@ webhooks: type: string required: - to - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150416,11 +149989,11 @@ webhooks: type: - string - 'null' - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150499,11 +150072,11 @@ webhooks: type: string enum: - removed - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 sender: *4 required: - action @@ -150581,11 +150154,11 @@ webhooks: type: string enum: - added - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150663,7 +150236,7 @@ webhooks: required: - login - id - team: &729 + team: &730 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150893,11 +150466,11 @@ webhooks: type: string enum: - removed - enterprise: *699 - installation: *700 - member: *719 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + member: *720 + organization: *702 + repository: *703 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150976,7 +150549,7 @@ webhooks: required: - login - id - team: *729 + team: *730 required: - action - scope @@ -151058,8 +150631,8 @@ webhooks: type: string enum: - checks_requested - installation: *700 - merge_group: &730 + installation: *701 + merge_group: &731 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151078,15 +150651,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *399 + head_commit: *395 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151172,10 +150745,10 @@ webhooks: - merged - invalidated - dequeued - installation: *700 - merge_group: *730 - organization: *701 - repository: *702 + installation: *701 + merge_group: *731 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151248,7 +150821,7 @@ webhooks: type: string enum: - deleted - enterprise: *699 + enterprise: *700 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151357,12 +150930,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *700 - organization: *701 + installation: *701 + organization: *702 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -151442,11 +151015,11 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151525,9 +151098,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - milestone: &731 + enterprise: *700 + installation: *701 + milestone: &732 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151669,8 +151242,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151749,11 +151322,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151863,11 +151436,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - milestone: *724 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *725 + organization: *702 + repository: *703 sender: *4 required: - action @@ -151947,11 +151520,11 @@ webhooks: type: string enum: - opened - enterprise: *699 - installation: *700 - milestone: *731 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + milestone: *732 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152030,11 +151603,11 @@ webhooks: type: string enum: - blocked - blocked_user: *719 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + blocked_user: *720 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152113,11 +151686,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *719 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + blocked_user: *720 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152196,9 +151769,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - membership: &732 + enterprise: *700 + installation: *701 + membership: &733 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152308,8 +151881,8 @@ webhooks: - role - organization_url - user - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152387,11 +151960,11 @@ webhooks: type: string enum: - member_added - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152470,8 +152043,8 @@ webhooks: type: string enum: - member_invited - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152593,10 +152166,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 - user: *719 + user: *720 required: - action - invitation @@ -152674,11 +152247,11 @@ webhooks: type: string enum: - member_removed - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152765,11 +152338,11 @@ webhooks: properties: from: type: string - enterprise: *699 - installation: *700 - membership: *732 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + membership: *733 + organization: *702 + repository: *703 sender: *4 required: - action @@ -152845,9 +152418,9 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 package: description: Information about the package. type: object @@ -153370,7 +152943,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &733 + items: &734 title: Ruby Gems metadata type: object properties: @@ -153467,7 +153040,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -153543,9 +153116,9 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 package: description: Information about the package. type: object @@ -153907,7 +153480,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *733 + items: *734 source_url: type: string format: uri @@ -153978,7 +153551,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -154159,12 +153732,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *699 + enterprise: *700 id: type: integer - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - id @@ -154241,7 +153814,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &734 + personal_access_token_request: &735 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154391,10 +153964,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *699 - organization: *701 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154471,11 +154044,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *734 - enterprise: *699 - organization: *701 + personal_access_token_request: *735 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154551,11 +154124,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *734 - enterprise: *699 - organization: *701 + personal_access_token_request: *735 + enterprise: *700 + organization: *702 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154630,11 +154203,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *734 - organization: *701 - enterprise: *699 + personal_access_token_request: *735 + organization: *702 + enterprise: *700 sender: *4 - installation: *700 + installation: *701 required: - action - personal_access_token_request @@ -154739,7 +154312,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *735 + last_response: *736 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154771,8 +154344,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 zen: description: Random string of GitHub zen. @@ -155017,10 +154590,10 @@ webhooks: - from required: - note - enterprise: *699 - installation: *700 - organization: *701 - project_card: &736 + enterprise: *700 + installation: *701 + organization: *702 + project_card: &737 title: Project Card type: object properties: @@ -155143,7 +154716,7 @@ webhooks: - creator - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -155224,11 +154797,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project_card: *736 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_card: *737 + repository: *703 sender: *4 required: - action @@ -155308,9 +154881,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 project_card: title: Project Card type: object @@ -155440,7 +155013,7 @@ webhooks: repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -155534,11 +155107,11 @@ webhooks: - from required: - note - enterprise: *699 - installation: *700 - organization: *701 - project_card: *736 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_card: *737 + repository: *703 sender: *4 required: - action @@ -155632,9 +155205,9 @@ webhooks: - from required: - column_id - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 project_card: allOf: - title: Project Card @@ -155831,7 +155404,7 @@ webhooks: type: string required: - after_id - repository: *702 + repository: *703 sender: *4 required: - action @@ -155911,10 +155484,10 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - organization: *701 - project: &738 + enterprise: *700 + installation: *701 + organization: *702 + project: &739 title: Project type: object properties: @@ -156041,7 +155614,7 @@ webhooks: - creator - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -156121,10 +155694,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project_column: &737 + enterprise: *700 + installation: *701 + organization: *702 + project_column: &738 title: Project Column type: object properties: @@ -156164,7 +155737,7 @@ webhooks: - name - created_at - updated_at - repository: *702 + repository: *703 sender: *4 required: - action @@ -156243,14 +155816,14 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -156339,11 +155912,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 + repository: *703 sender: *4 required: - action @@ -156423,11 +155996,11 @@ webhooks: type: string enum: - moved - enterprise: *699 - installation: *700 - organization: *701 - project_column: *737 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project_column: *738 + repository: *703 sender: *4 required: - action @@ -156507,11 +156080,11 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156591,14 +156164,14 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - project: *738 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 repository: anyOf: - type: 'null' - - *702 + - *703 sender: *4 required: - action @@ -156699,11 +156272,11 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156782,11 +156355,11 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 - organization: *701 - project: *738 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + project: *739 + repository: *703 sender: *4 required: - action @@ -156867,8 +156440,8 @@ webhooks: type: string enum: - closed - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -156950,8 +156523,8 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157033,8 +156606,8 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157156,8 +156729,8 @@ webhooks: type: string to: type: string - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -157241,7 +156814,7 @@ webhooks: type: string enum: - archived - changes: &742 + changes: &743 type: object properties: archived_at: @@ -157257,9 +156830,9 @@ webhooks: - string - 'null' format: date-time - installation: *700 - organization: *701 - projects_v2_item: &739 + installation: *701 + organization: *702 + projects_v2_item: &740 title: Projects v2 Item description: An item belonging to a project type: object @@ -157399,9 +156972,9 @@ webhooks: - 'null' to: type: string - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157483,9 +157056,9 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157566,9 +157139,9 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157673,7 +157246,7 @@ webhooks: oneOf: - type: string - type: integer - - &740 + - &741 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157697,7 +157270,7 @@ webhooks: required: - id - name - - &741 + - &742 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157737,8 +157310,8 @@ webhooks: oneOf: - type: string - type: integer - - *740 - *741 + - *742 type: - 'null' - string @@ -157761,9 +157334,9 @@ webhooks: - 'null' required: - body - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157860,9 +157433,9 @@ webhooks: type: - string - 'null' - installation: *700 - organization: *701 - projects_v2_item: *739 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -157945,10 +157518,10 @@ webhooks: type: string enum: - restored - changes: *742 - installation: *700 - organization: *701 - projects_v2_item: *739 + changes: *743 + installation: *701 + organization: *702 + projects_v2_item: *740 sender: *4 required: - action @@ -158030,8 +157603,8 @@ webhooks: type: string enum: - reopened - installation: *700 - organization: *701 + installation: *701 + organization: *702 projects_v2: *249 sender: *4 required: @@ -158113,9 +157686,9 @@ webhooks: type: string enum: - created - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158196,9 +157769,9 @@ webhooks: type: string enum: - deleted - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158344,9 +157917,9 @@ webhooks: - string - 'null' format: date - installation: *700 - organization: *701 - projects_v2_status_update: *743 + installation: *701 + organization: *702 + projects_v2_status_update: *744 sender: *4 required: - action @@ -158417,10 +157990,10 @@ webhooks: title: public event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - repository @@ -158497,13 +158070,13 @@ webhooks: type: string enum: - assigned - assignee: *719 - enterprise: *699 - installation: *700 - number: &744 + assignee: *720 + enterprise: *700 + installation: *701 + number: &745 description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -160852,7 +160425,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -160934,11 +160507,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -163280,7 +162853,7 @@ webhooks: - draft reason: type: string - repository: *702 + repository: *703 sender: *4 required: - action @@ -163362,11 +162935,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -165708,7 +165281,7 @@ webhooks: - draft reason: type: string - repository: *702 + repository: *703 sender: *4 required: - action @@ -165790,11 +165363,11 @@ webhooks: type: string enum: - closed - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: &745 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: &746 allOf: - *555 - type: object @@ -165858,7 +165431,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *702 + repository: *703 sender: *4 required: - action @@ -165939,12 +165512,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -166024,11 +165597,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *699 + enterprise: *700 milestone: *252 - number: *744 - organization: *701 - pull_request: &746 + number: *745 + organization: *702 + pull_request: &747 title: Pull Request type: object properties: @@ -168355,7 +167928,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -168434,11 +168007,11 @@ webhooks: type: string enum: - dequeued - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -170784,7 +170357,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *702 + repository: *703 sender: *4 required: - action @@ -170908,12 +170481,12 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -170993,11 +170566,11 @@ webhooks: type: string enum: - enqueued - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -173328,7 +172901,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -173408,11 +172981,11 @@ webhooks: type: string enum: - labeled - enterprise: *699 - installation: *700 - label: *718 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + label: *719 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -175760,7 +175333,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -175841,10 +175414,10 @@ webhooks: type: string enum: - locked - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -178190,7 +177763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -178270,12 +177843,12 @@ webhooks: type: string enum: - milestoned - enterprise: *699 + enterprise: *700 milestone: *252 - number: *744 - organization: *701 - pull_request: *746 - repository: *702 + number: *745 + organization: *702 + pull_request: *747 + repository: *703 sender: *4 required: - action @@ -178354,12 +177927,12 @@ webhooks: type: string enum: - opened - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178440,12 +178013,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178525,12 +178098,12 @@ webhooks: type: string enum: - reopened - enterprise: *699 - installation: *700 - number: *744 - organization: *701 - pull_request: *745 - repository: *702 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 + pull_request: *746 + repository: *703 sender: *4 required: - action @@ -178905,9 +178478,9 @@ webhooks: - start_side - side - reactions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -181137,7 +180710,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -181217,7 +180790,7 @@ webhooks: type: string enum: - deleted - comment: &748 + comment: &749 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181510,9 +181083,9 @@ webhooks: - start_side - side - reactions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -183730,7 +183303,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -183810,11 +183383,11 @@ webhooks: type: string enum: - edited - changes: *747 - comment: *748 - enterprise: *699 - installation: *700 - organization: *701 + changes: *748 + comment: *749 + enterprise: *700 + installation: *701 + organization: *702 pull_request: type: object properties: @@ -186035,7 +185608,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *702 + repository: *703 sender: *4 required: - action @@ -186116,9 +185689,9 @@ webhooks: type: string enum: - dismissed - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -188351,7 +187924,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 review: description: The review that was affected. type: object @@ -188602,9 +188175,9 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -190718,8 +190291,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 - review: &749 + repository: *703 + review: &750 description: The review that was affected. type: object properties: @@ -190957,12 +190530,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -193309,7 +192882,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_reviewer: title: User type: @@ -193395,12 +192968,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -195754,7 +195327,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195949,12 +195522,12 @@ webhooks: type: string enum: - review_requested - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -198303,7 +197876,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_reviewer: title: User type: @@ -198390,12 +197963,12 @@ webhooks: type: string enum: - review_requested - enterprise: *699 - installation: *700 + enterprise: *700 + installation: *701 number: description: The pull request number. type: integer - organization: *701 + organization: *702 pull_request: title: Pull Request type: object @@ -200735,7 +200308,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200919,9 +200492,9 @@ webhooks: type: string enum: - submitted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -203157,8 +202730,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 - review: *749 + repository: *703 + review: *750 sender: *4 required: - action @@ -203238,9 +202811,9 @@ webhooks: type: string enum: - resolved - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -205371,7 +204944,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 sender: *4 thread: type: object @@ -205768,9 +205341,9 @@ webhooks: type: string enum: - unresolved - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 pull_request: title: Simple Pull Request type: object @@ -207884,7 +207457,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *702 + repository: *703 sender: *4 thread: type: object @@ -208283,10 +207856,10 @@ webhooks: type: string before: type: string - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -210621,7 +210194,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -210703,11 +210276,11 @@ webhooks: type: string enum: - unassigned - assignee: *750 - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + assignee: *751 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -213057,7 +212630,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -213136,11 +212709,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *699 - installation: *700 - label: *718 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + label: *719 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -215479,7 +215052,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -215560,10 +215133,10 @@ webhooks: type: string enum: - unlocked - enterprise: *699 - installation: *700 - number: *744 - organization: *701 + enterprise: *700 + installation: *701 + number: *745 + organization: *702 pull_request: title: Pull Request type: object @@ -217892,7 +217465,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *702 + repository: *703 sender: *4 required: - action @@ -218095,7 +217668,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *699 + enterprise: *700 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218190,8 +217763,8 @@ webhooks: - url - author - committer - installation: *700 - organization: *701 + installation: *701 + organization: *702 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218779,9 +218352,9 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 registry_package: type: object properties: @@ -219258,7 +218831,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *733 + items: *734 summary: type: string tag_name: @@ -219314,7 +218887,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -219392,9 +218965,9 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 registry_package: type: object properties: @@ -219706,7 +219279,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *733 + items: *734 summary: type: string tag_name: @@ -219756,7 +219329,7 @@ webhooks: - owner - package_version - registry - repository: *702 + repository: *703 sender: *4 required: - action @@ -219833,10 +219406,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - release: &751 + enterprise: *700 + installation: *701 + organization: *702 + release: &752 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220167,7 +219740,7 @@ webhooks: - updated_at - zipball_url - body - repository: *702 + repository: *703 sender: *4 required: - action @@ -220244,11 +219817,11 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -220365,11 +219938,11 @@ webhooks: type: boolean required: - to - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -220447,9 +220020,9 @@ webhooks: type: string enum: - prereleased - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -220785,7 +220358,7 @@ webhooks: - string - 'null' format: uri - repository: *702 + repository: *703 sender: *4 required: - action @@ -220861,10 +220434,10 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - release: &752 + enterprise: *700 + installation: *701 + organization: *702 + release: &753 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -221197,7 +220770,7 @@ webhooks: - string - 'null' format: uri - repository: *702 + repository: *703 sender: *4 required: - action @@ -221273,11 +220846,11 @@ webhooks: type: string enum: - released - enterprise: *699 - installation: *700 - organization: *701 - release: *751 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *752 + repository: *703 sender: *4 required: - action @@ -221353,11 +220926,11 @@ webhooks: type: string enum: - unpublished - enterprise: *699 - installation: *700 - organization: *701 - release: *752 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + release: *753 + repository: *703 sender: *4 required: - action @@ -221433,10 +221006,10 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_advisory: *619 sender: *4 required: @@ -221513,10 +221086,10 @@ webhooks: type: string enum: - reported - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_advisory: *619 sender: *4 required: @@ -221593,10 +221166,10 @@ webhooks: type: string enum: - archived - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221673,10 +221246,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221754,10 +221327,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221842,10 +221415,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -221960,10 +221533,10 @@ webhooks: - 'null' items: type: string - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222035,10 +221608,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 status: type: string @@ -222119,10 +221692,10 @@ webhooks: type: string enum: - privatized - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222199,10 +221772,10 @@ webhooks: type: string enum: - publicized - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222296,10 +221869,10 @@ webhooks: - name required: - repository - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222379,10 +221952,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 sender: *4 required: @@ -222461,10 +222034,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 sender: *4 required: @@ -222543,10 +222116,10 @@ webhooks: type: string enum: - edited - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 repository_ruleset: *292 changes: type: object @@ -222854,10 +222427,10 @@ webhooks: - from required: - owner - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -222935,10 +222508,10 @@ webhooks: type: string enum: - unarchived - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223016,7 +222589,7 @@ webhooks: type: string enum: - create - alert: &753 + alert: &754 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223140,10 +222713,10 @@ webhooks: type: string enum: - open - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223353,10 +222926,10 @@ webhooks: type: string enum: - dismissed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223434,11 +223007,11 @@ webhooks: type: string enum: - reopen - alert: *753 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *754 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223640,10 +223213,10 @@ webhooks: enum: - fixed - open - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223721,7 +223294,7 @@ webhooks: type: string enum: - assigned - alert: &754 + alert: &755 type: object properties: number: *162 @@ -223836,10 +223409,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -223917,11 +223490,11 @@ webhooks: type: string enum: - created - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224002,11 +223575,11 @@ webhooks: type: string enum: - created - alert: *754 - installation: *700 - location: *755 - organization: *701 - repository: *702 + alert: *755 + installation: *701 + location: *756 + organization: *702 + repository: *703 sender: *4 required: - location @@ -224244,11 +223817,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224326,11 +223899,11 @@ webhooks: type: string enum: - reopened - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224408,11 +223981,11 @@ webhooks: type: string enum: - resolved - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224490,12 +224063,12 @@ webhooks: type: string enum: - unassigned - alert: *754 + alert: *755 assignee: *4 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224573,11 +224146,11 @@ webhooks: type: string enum: - validated - alert: *754 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + alert: *755 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -224707,10 +224280,10 @@ webhooks: - organization - enterprise - - repository: *702 - enterprise: *699 - installation: *700 - organization: *701 + repository: *703 + enterprise: *700 + installation: *701 + organization: *702 sender: *4 required: - action @@ -224788,11 +224361,11 @@ webhooks: type: string enum: - published - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - security_advisory: &756 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + security_advisory: &757 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224978,11 +224551,11 @@ webhooks: type: string enum: - updated - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 - security_advisory: *756 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 + security_advisory: *757 sender: *4 required: - action @@ -225055,10 +224628,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225245,10 +224818,10 @@ webhooks: type: object properties: security_and_analysis: *265 - enterprise: *699 - installation: *700 - organization: *701 - repository: *321 + enterprise: *700 + installation: *701 + organization: *702 + repository: *317 sender: *4 required: - changes @@ -225326,12 +224899,12 @@ webhooks: type: string enum: - cancelled - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: &757 + sponsorship: &758 type: object properties: created_at: @@ -225636,12 +225209,12 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - sponsorship @@ -225729,12 +225302,12 @@ webhooks: type: string required: - from - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -225811,17 +225384,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &758 + effective_date: &759 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: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - sponsorship @@ -225895,7 +225468,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &759 + changes: &760 type: object properties: tier: @@ -225939,13 +225512,13 @@ webhooks: - from required: - tier - effective_date: *758 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + effective_date: *759 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -226022,13 +225595,13 @@ webhooks: type: string enum: - tier_changed - changes: *759 - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + changes: *760 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - sponsorship: *757 + sponsorship: *758 required: - action - changes @@ -226102,10 +225675,10 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226189,10 +225762,10 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226626,15 +226199,15 @@ webhooks: type: - string - 'null' - enterprise: *699 + enterprise: *700 id: description: The unique identifier of the status. type: integer - installation: *700 + installation: *701 name: type: string - organization: *701 - repository: *702 + organization: *702 + repository: *703 sender: *4 sha: description: The Commit SHA. @@ -226750,9 +226323,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -226842,9 +226415,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -226934,9 +226507,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -227026,9 +226599,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *70 - installation: *700 - organization: *701 - repository: *702 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -227105,12 +226678,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - team: &760 + team: &761 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227340,9 +226913,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -227812,7 +227385,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -227888,9 +227461,9 @@ webhooks: type: string enum: - created - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -228360,7 +227933,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -228437,9 +228010,9 @@ webhooks: type: string enum: - deleted - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -228909,7 +228482,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -229053,9 +228626,9 @@ webhooks: - from required: - permissions - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -229525,7 +229098,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - changes @@ -229603,9 +229176,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *699 - installation: *700 - organization: *701 + enterprise: *700 + installation: *701 + organization: *702 repository: title: Repository description: A git repository @@ -230075,7 +229648,7 @@ webhooks: - topics - visibility sender: *4 - team: *760 + team: *761 required: - action - team @@ -230151,10 +229724,10 @@ webhooks: type: string enum: - started - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 required: - action @@ -230227,17 +229800,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *699 + enterprise: *700 inputs: type: - object - 'null' additionalProperties: true - installation: *700 - organization: *701 + installation: *701 + organization: *702 ref: type: string - repository: *702 + repository: *703 sender: *4 workflow: type: string @@ -230319,10 +229892,10 @@ webhooks: type: string enum: - completed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: allOf: @@ -230578,7 +230151,7 @@ webhooks: type: string required: - conclusion - deployment: *472 + deployment: *470 required: - action - repository @@ -230657,10 +230230,10 @@ webhooks: type: string enum: - in_progress - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: allOf: @@ -230942,7 +230515,7 @@ webhooks: required: - status - steps - deployment: *472 + deployment: *470 required: - action - repository @@ -231021,10 +230594,10 @@ webhooks: type: string enum: - queued - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: type: object @@ -231170,7 +230743,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *472 + deployment: *470 required: - action - repository @@ -231249,10 +230822,10 @@ webhooks: type: string enum: - waiting - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 workflow_job: type: object @@ -231399,7 +230972,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *472 + deployment: *470 required: - action - repository @@ -231479,12 +231052,12 @@ webhooks: type: string enum: - completed - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -232503,12 +232076,12 @@ webhooks: type: string enum: - in_progress - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -233512,12 +233085,12 @@ webhooks: type: string enum: - requested - enterprise: *699 - installation: *700 - organization: *701 - repository: *702 + enterprise: *700 + installation: *701 + organization: *702 + repository: *703 sender: *4 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 67e39e154..80d080638 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -146306,7 +146306,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -146472,7 +146472,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -253370,19 +253370,28 @@ } } }, - "/orgs/{org}/properties/schema": { + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { - "summary": "Get all custom properties for an organization", - "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", "tags": [ - "orgs" + "projects" ], - "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", + "operationId": "projects/list-view-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view" }, "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "org", "description": "The organization name. The name is not case sensitive.", @@ -253391,6 +253400,62 @@ "schema": { "type": "string" } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } } ], "responses": { @@ -253401,137 +253466,1285 @@ "schema": { "type": "array", "items": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", + "title": "Projects v2 Item", + "description": "An item belonging to a project", "type": "object", "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" + "id": { + "type": "number", + "description": "The unique identifier of the project item." }, - "url": { + "node_id": { "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + "description": "The node ID of the project item." }, - "source_type": { + "project_url": { "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], + "format": "uri", + "description": "The API URL of the project that contains this item.", "examples": [ - "organization" + "https://api.github.com/users/monalisa/2/projectsV2/3" ] }, - "value_type": { + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", "type": "string", "enum": [ - "string", - "single_select", - "multi_select", - "true_false", - "url" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" + "Issue", + "PullRequest", + "DraftIssue" ] }, - "required": { - "type": "boolean", - "description": "Whether the property is required." + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." }, - "default_value": { - "oneOf": [ - { - "type": "string" + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" + }, + "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" ] }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "allowed_values": { + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - }, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "values_editable_by": { + "item_url": { "type": [ "string", "null" ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", + "format": "uri", + "description": "The API URL of this item.", "examples": [ - "org_actors" + "https://api.github.com/users/monalisa/2/projectsV2/items/3" ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." } }, "required": [ - "property_name", - "value_type" + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] } }, "examples": { "default": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } ], - "values_editable_by": "org_actors" + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/properties/schema": { + "get": { + "summary": "Get all custom properties for an organization", + "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "tags": [ + "orgs" + ], + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false", + "url" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] } } } @@ -287743,17 +288956,17 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/external-groups": { "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List a connection between an external group and a team", + "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", + "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -287773,2503 +288986,406 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ExternalGroups", + "description": "A list of external groups available to be connected to a team", + "type": "object", + "properties": { + "groups": { + "description": "An array of external groups available to be mapped to a team", + "type": "array", + "items": { + "type": "object", + "required": [ + "group_id", + "group_name", + "updated_at" + ], + "properties": { + "group_id": { + "description": "The internal ID of the group", + "type": "integer", + "examples": [ + 1 + ] + }, + "group_name": { + "description": "The display name of the group", + "type": "string", + "examples": [ + "group-azuread-test" + ] + }, + "updated_at": { + "description": "The time of the last update for this group", + "type": "string", + "examples": [ + "2019-06-03 22:27:15:000 -700" + ] + } + } + }, + "examples": [ + { + "group_id": 1, + "group_name": "group-azuread-test", + "updated_at": "2021-01-03 22:27:15:000 -700" + }, + { + "group_id": 2, + "group_name": "group-azuread-test2", + "updated_at": "2021-06-03 22:27:15:000 -700" + } + ] + } + } + }, + "examples": { + "default": { + "value": { + "groups": [ + { + "group_id": "123", + "group_name": "Octocat admins", + "updated_at": "2021-01-24T11:31:04-06:00" + }, + { + "group_id": "456", + "group_name": "Octocat docs members", + "updated_at": "2021-03-24T11:31:04-06:00" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "teams", + "subcategory": "external-groups" + } + }, + "patch": { + "summary": "Update the connection between an external group and a team", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "tags": [ + "teams" + ], + "operationId": "teams/link-external-idp-group-to-team-for-org", + "externalDocs": { + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, { - "name": "discussion_number", - "description": "The number that identifies the discussion.", + "name": "team_slug", + "description": "The slug of the team name.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "group_id": { + "type": "integer", + "description": "External Group Id", + "examples": [ + 1 + ] + } + }, + "required": [ + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "group_id": 123 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ExternalGroup", + "description": "Information about an external group's usage and its members", + "type": "object", + "required": [ + "group_id", + "group_name", + "teams", + "members" + ], + "properties": { + "group_id": { + "description": "The internal ID of the group", + "type": "integer", + "examples": [ + 1 + ] + }, + "group_name": { + "description": "The display name for the group", + "type": "string", + "examples": [ + "group-azuread-test" + ] + }, + "updated_at": { + "description": "The date when the group was last updated_at", + "type": "string", + "examples": [ + "2021-01-03 22:27:15:000 -700" + ] + }, + "teams": { + "description": "An array of teams linked to this group", + "type": "array", + "items": { + "type": "object", + "required": [ + "team_id", + "team_name" + ], + "properties": { + "team_id": { + "description": "The id for a team", + "type": "integer", + "examples": [ + 1 + ] + }, + "team_name": { + "description": "The name of the team", + "type": "string", + "examples": [ + "team-test" + ] + } + } + }, + "examples": [ + { + "team_id": 1, + "team_name": "team-test" + }, + { + "team_id": 2, + "team_name": "team-test2" + } + ] + }, + "members": { + "description": "An array of external members linked to this group", + "type": "array", + "items": { + "type": "object", + "required": [ + "member_id", + "member_login", + "member_name", + "member_email" + ], + "properties": { + "member_id": { + "description": "The internal user ID of the identity", + "type": "integer", + "examples": [ + 1 + ] + }, + "member_login": { + "description": "The handle/login for the user", + "type": "string", + "examples": [ + "mona-lisa_eocsaxrs" + ] + }, + "member_name": { + "description": "The user display name/profile name", + "type": "string", + "examples": [ + "Mona Lisa" + ] + }, + "member_email": { + "description": "An email attached to a user", + "type": "string", + "examples": [ + "mona_lisa@github.com" + ] + } + } + }, + "examples": [ + { + "member_id": 1, + "member_login": "mona-lisa_eocsaxrs", + "member_name": "Mona Lisa", + "member_email": "mona_lisa@github.com" + }, + { + "member_id": 2, + "member_login": "octo-lisa_eocsaxrs", + "member_name": "Octo Lisa", + "member_email": "octo_lisa@github.com" + } + ] + } + } + }, + "examples": { + "default": { + "value": { + "group_id": "123", + "group_name": "Octocat admins", + "updated_at": "2021-01-24T11:31:04-06:00", + "teams": [ + { + "team_id": 1, + "team_name": "team-test" + }, + { + "team_id": 2, + "team_name": "team-test2" + } + ], + "members": [ + { + "member_id": 1, + "member_login": "mona-lisa_eocsaxrs", + "member_name": "Mona Lisa", + "member_email": "mona_lisa@github.com" + }, + { + "member_id": 2, + "member_login": "octo-lisa_eocsaxrs", + "member_name": "Octo Lisa", + "member_email": "octo_lisa@github.com" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" + } + }, + "delete": { + "summary": "Remove the connection between an external group and a team", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "tags": [ + "teams" + ], + "operationId": "teams/unlink-external-idp-group-from-team-for-org", + "externalDocs": { + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "name": "comment_number", - "description": "The number that identifies the comment.", + "name": "team_slug", + "description": "The slug of the team name.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" + } + } + }, + "/orgs/{org}/teams/{team_slug}/invitations": { + "get": { + "summary": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", + "tags": [ + "teams" + ], + "operationId": "teams/list-pending-invitations-in-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "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.", - "in": "query", - "required": false, + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/external-groups": { - "get": { - "summary": "List a connection between an external group and a team", - "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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": "ExternalGroups", - "description": "A list of external groups available to be connected to a team", - "type": "object", - "properties": { - "groups": { - "description": "An array of external groups available to be mapped to a team", - "type": "array", - "items": { - "type": "object", - "required": [ - "group_id", - "group_name", - "updated_at" - ], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [ - 1 - ] - }, - "group_name": { - "description": "The display name of the group", - "type": "string", - "examples": [ - "group-azuread-test" - ] - }, - "updated_at": { - "description": "The time of the last update for this group", - "type": "string", - "examples": [ - "2019-06-03 22:27:15:000 -700" - ] - } - } - }, - "examples": [ - { - "group_id": 1, - "group_name": "group-azuread-test", - "updated_at": "2021-01-03 22:27:15:000 -700" - }, - { - "group_id": 2, - "group_name": "group-azuread-test2", - "updated_at": "2021-06-03 22:27:15:000 -700" - } - ] - } - } - }, - "examples": { - "default": { - "value": { - "groups": [ - { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00" - }, - { - "group_id": "456", - "group_name": "Octocat docs members", - "updated_at": "2021-03-24T11:31:04-06:00" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "external-groups" - } - }, - "patch": { - "summary": "Update the connection between an external group and a team", - "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/link-external-idp-group-to-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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": { - "group_id": { - "type": "integer", - "description": "External Group Id", - "examples": [ - 1 - ] - } - }, - "required": [ - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "group_id": 123 - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "ExternalGroup", - "description": "Information about an external group's usage and its members", - "type": "object", - "required": [ - "group_id", - "group_name", - "teams", - "members" - ], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [ - 1 - ] - }, - "group_name": { - "description": "The display name for the group", - "type": "string", - "examples": [ - "group-azuread-test" - ] - }, - "updated_at": { - "description": "The date when the group was last updated_at", - "type": "string", - "examples": [ - "2021-01-03 22:27:15:000 -700" - ] - }, - "teams": { - "description": "An array of teams linked to this group", - "type": "array", - "items": { - "type": "object", - "required": [ - "team_id", - "team_name" - ], - "properties": { - "team_id": { - "description": "The id for a team", - "type": "integer", - "examples": [ - 1 - ] - }, - "team_name": { - "description": "The name of the team", - "type": "string", - "examples": [ - "team-test" - ] - } - } - }, - "examples": [ - { - "team_id": 1, - "team_name": "team-test" - }, - { - "team_id": 2, - "team_name": "team-test2" - } - ] - }, - "members": { - "description": "An array of external members linked to this group", - "type": "array", - "items": { - "type": "object", - "required": [ - "member_id", - "member_login", - "member_name", - "member_email" - ], - "properties": { - "member_id": { - "description": "The internal user ID of the identity", - "type": "integer", - "examples": [ - 1 - ] - }, - "member_login": { - "description": "The handle/login for the user", - "type": "string", - "examples": [ - "mona-lisa_eocsaxrs" - ] - }, - "member_name": { - "description": "The user display name/profile name", - "type": "string", - "examples": [ - "Mona Lisa" - ] - }, - "member_email": { - "description": "An email attached to a user", - "type": "string", - "examples": [ - "mona_lisa@github.com" - ] - } - } - }, - "examples": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - } - }, - "examples": { - "default": { - "value": { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00", - "teams": [ - { - "team_id": 1, - "team_name": "team-test" - }, - { - "team_id": 2, - "team_name": "team-test2" - } - ], - "members": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "teams", - "subcategory": "external-groups" - } - }, - "delete": { - "summary": "Remove the connection between an external group and a team", - "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/unlink-external-idp-group-from-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "teams", - "subcategory": "external-groups" - } - } - }, - "/orgs/{org}/teams/{team_slug}/invitations": { - "get": { - "summary": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", - "tags": [ - "teams" - ], - "operationId": "teams/list-pending-invitations-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" + "type": "string" } }, { @@ -703888,1420 +703004,6 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, "/teams/{team_id}/invitations": { "get": { "summary": "List pending team invitations (Legacy)", @@ -838592,497 +836294,1249 @@ } ] } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": true, - "category": "projects", - "subcategory": "items" - } - }, - "patch": { - "summary": "Update project item for user", - "description": "Update a specific item in a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/update-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "description": "A list of field updates to apply.", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the project field to update." - }, - "value": { - "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "type": [ - "null", - "string", - "number" - ] - } - }, - "required": [ - "id", - "value" - ] - } - } - }, - "required": [ - "fields" - ] - }, - "examples": { - "text_field": { - "summary": "Update a text field", - "value": { - "fields": [ - { - "id": 123, - "value": "Updated text value" - } - ] - } - }, - "number_field": { - "summary": "Update a number field", - "value": { - "fields": [ - { - "id": 456, - "value": 42.5 - } - ] - } - }, - "date_field": { - "summary": "Update a date field", - "value": { - "fields": [ - { - "id": 789, - "value": "2023-10-05" - } - ] - } - }, - "single_select_field": { - "summary": "Update a single select field", - "value": { - "fields": [ - { - "id": 789, - "value": "47fc9ee4" - } - ] - } - }, - "iteration_field": { - "summary": "Update an iteration field", - "value": { - "fields": [ - { - "id": 1011, - "value": "866ee5b8" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + }, + "patch": { + "summary": "Update project item for user", + "description": "Update a specific item in a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/update-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "description": "A list of field updates to apply.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the project field to update." + }, + "value": { + "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "type": [ + "null", + "string", + "number" + ] + } + }, + "required": [ + "id", + "value" + ] + } + } + }, + "required": [ + "fields" + ] + }, + "examples": { + "text_field": { + "summary": "Update a text field", + "value": { + "fields": [ + { + "id": 123, + "value": "Updated text value" + } + ] + } + }, + "number_field": { + "summary": "Update a number field", + "value": { + "fields": [ + { + "id": 456, + "value": 42.5 + } + ] + } + }, + "date_field": { + "summary": "Update a date field", + "value": { + "fields": [ + { + "id": 789, + "value": "2023-10-05" + } + ] + } + }, + "single_select_field": { + "summary": "Update a single select field", + "value": { + "fields": [ + { + "id": 789, + "value": "47fc9ee4" + } + ] + } + }, + "iteration_field": { + "summary": "Update an iteration field", + "value": { + "fields": [ + { + "id": 1011, + "value": "866ee5b8" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "text_field": { + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + }, + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "text_field": { + "number_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -839834,7 +838288,7 @@ ] } }, - "number_field": { + "date_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -840586,7 +839040,7 @@ ] } }, - "date_field": { + "single_select_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -841338,7 +839792,7 @@ ] } }, - "single_select_field": { + "iteration_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -842089,8 +840543,637 @@ } ] } - }, - "iteration_field": { + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "delete": { + "summary": "Delete project item for user", + "description": "Delete a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/delete-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + } + }, + "examples": { + "default": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -842844,34 +841927,19 @@ } } } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } }, + "304": { + "description": "Not modified" + }, "403": { "description": "Forbidden", "content": { @@ -842898,161 +841966,8 @@ } } }, - "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": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "delete": { - "summary": "Delete project item for user", - "description": "Delete a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/delete-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -843077,8 +841992,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -843106,7 +842021,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "projects", "subcategory": "items" } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b60759a91..263898764 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -13533,7 +13533,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &521 + instances_url: &517 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13569,7 +13569,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &522 + dismissed_reason: &518 type: - string - 'null' @@ -13580,14 +13580,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &523 + dismissed_comment: &519 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &524 + rule: &520 type: object properties: id: @@ -13648,7 +13648,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &525 + tool: &521 type: object properties: name: *109 @@ -13659,26 +13659,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &526 + most_recent_instance: &522 type: object properties: - ref: &519 + ref: &515 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &536 + analysis_key: &532 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &537 + environment: &533 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &538 + category: &534 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13692,7 +13692,7 @@ paths: properties: text: type: string - location: &539 + location: &535 type: object description: Describe a region within a file for the alert. properties: @@ -13713,7 +13713,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &540 + items: &536 type: - string - 'null' @@ -17487,7 +17487,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 - - &575 + - &573 name: has in: query description: |- @@ -17604,7 +17604,7 @@ paths: - direct - transitive - - security_advisory: &576 + security_advisory: &574 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17840,7 +17840,7 @@ paths: dismissal. maxLength: 280 fixed_at: *133 - auto_dismissed_at: &577 + auto_dismissed_at: &575 type: - string - 'null' @@ -17848,7 +17848,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &578 + dismissal_request: &576 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -25692,7 +25692,7 @@ paths: properties: action: type: string - discussion: &850 + discussion: &851 title: Discussion description: A Discussion in a repository. type: object @@ -26631,7 +26631,7 @@ paths: action: type: string issue: *212 - comment: &635 + comment: &633 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31384,14 +31384,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: - - &448 + - &444 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &449 + - &445 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31453,7 +31453,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &454 + '301': &450 description: Moved permanently content: application/json: @@ -34107,7 +34107,7 @@ paths: type: integer repository_cache_usages: type: array - items: &461 + items: &457 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37274,7 +37274,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &477 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37309,7 +37309,7 @@ paths: - key_id - key examples: - default: &482 + default: &478 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37722,7 +37722,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &466 + - &462 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)." @@ -38466,7 +38466,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -38600,7 +38604,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -39368,7 +39374,7 @@ paths: initiator: type: string examples: - default: &495 + default: &491 value: attestations: - bundle: @@ -40290,7 +40296,7 @@ paths: be returned. in: query required: false - schema: &520 + schema: &516 type: string description: Severity of a code scanning alert. enum: @@ -41349,7 +41355,7 @@ paths: machine: anyOf: - type: 'null' - - &552 + - &548 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42301,7 +42307,7 @@ paths: - updated_at - visibility examples: - default: &553 + default: &549 value: total_count: 2 secrets: @@ -42339,7 +42345,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &550 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42374,7 +42380,7 @@ paths: - key_id - key examples: - default: &555 + default: &551 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42406,7 +42412,7 @@ paths: application/json: schema: *316 examples: - default: &557 + default: &553 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44285,7 +44291,7 @@ paths: description: Response content: application/json: - schema: &581 + schema: &579 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44304,7 +44310,7 @@ paths: - key_id - key examples: - default: &582 + default: &580 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44634,7 +44640,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &590 + - &588 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44642,7 +44648,7 @@ paths: required: false schema: type: string - - &591 + - &589 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44650,7 +44656,7 @@ paths: required: false schema: type: string - - &592 + - &590 name: time_period description: |- The time period to filter by. @@ -44666,7 +44672,7 @@ paths: - week - month default: month - - &593 + - &591 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44691,7 +44697,7 @@ paths: application/json: schema: type: array - items: &594 + items: &592 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44854,7 +44860,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &595 + default: &593 value: - id: 21 number: 42 @@ -44972,7 +44978,7 @@ paths: application/json: schema: type: array - items: &596 + items: &594 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45095,7 +45101,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &597 + default: &595 value: - id: 21 number: 42 @@ -45197,7 +45203,7 @@ paths: application/json: schema: type: array - items: &598 + 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. @@ -45324,7 +45330,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &599 + default: &597 value: - id: 21 number: 42 @@ -45670,7 +45676,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &441 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45760,7 +45766,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &446 + default: &442 value: group_id: '123' group_name: Octocat admins @@ -45815,7 +45821,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &439 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45855,7 +45861,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &444 + default: &440 value: groups: - group_id: '123' @@ -47184,7 +47190,7 @@ paths: application/json: schema: *20 examples: - default: &630 + default: &628 value: id: 1 account: @@ -47412,7 +47418,7 @@ paths: required: true content: application/json: - schema: &631 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -48280,7 +48286,7 @@ paths: application/json: schema: *363 examples: - default: &551 + default: &547 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -52755,7 +52761,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &883 + - &884 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53029,7 +53035,7 @@ paths: content: oneOf: - *212 - - &564 + - &562 title: Pull Request Simple description: Pull Request Simple type: object @@ -55212,6 +55218,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view + parameters: + - *391 + - *85 + - &829 + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *106 + - *107 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *398 + examples: + default: *399 + headers: + Link: *45 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -55936,7 +56002,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &449 title: Full Repository description: Full Repository type: object @@ -56401,7 +56467,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &569 + code_of_conduct: &567 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -56515,7 +56581,7 @@ paths: - network_count - subscribers_count examples: - default: &455 + default: &451 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59431,7 +59497,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &446 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -59483,7 +59549,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &451 + default: &447 value: groups: - group_id: '123' @@ -61185,408 +61251,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - *85 - - *209 - - *435 - - *438 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &439 - title: Reaction - description: Reactions to conversations provide a way to help people - express their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - *4 - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at - examples: - default: &441 - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - *85 - - *209 - - *435 - - *438 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: *439 - examples: - default: &440 - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - *85 - - *209 - - *435 - - *438 - - &442 - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - *85 - - *209 - - *435 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - *85 - - *209 - - *435 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - *85 - - *209 - - *435 - - *442 - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/external-groups": get: summary: List a connection between an external group and a team @@ -61608,9 +61272,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *439 examples: - default: *444 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61654,9 +61318,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *441 examples: - default: *446 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61797,7 +61461,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &443 title: Team Membership description: Team Membership type: object @@ -61888,7 +61552,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-users-membership-with-team-is-now-pending: &779 summary: Response if user's membership with team is now pending @@ -61997,8 +61661,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Alternative response with repository permissions @@ -62647,8 +62311,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -62695,8 +62359,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -62729,9 +62393,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: - default: *451 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62797,7 +62461,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: default: value: @@ -62996,7 +62660,7 @@ paths: resources: type: object properties: - core: &452 + core: &448 title: Rate Limit type: object properties: @@ -63013,21 +62677,21 @@ paths: - remaining - reset - used - 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 + graphql: *448 + search: *448 + code_search: *448 + source_import: *448 + integration_manifest: *448 + code_scanning_upload: *448 + actions_runner_registration: *448 + scim: *448 + dependency_snapshots: *448 + dependency_sbom: *448 + code_scanning_autofix: *448 required: - core - search - rate: *452 + rate: *448 required: - rate - resources @@ -63132,14 +62796,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *453 + schema: *449 examples: default-response: summary: Default response @@ -63644,7 +63308,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *454 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63662,8 +63326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -63921,10 +63585,10 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 - '307': &456 + default: *451 + '307': &452 description: Temporary Redirect content: application/json: @@ -63953,8 +63617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -63976,7 +63640,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *456 + '307': *452 '404': *6 '409': *116 x-github: @@ -64000,11 +63664,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - - &473 + - &469 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -64027,7 +63691,7 @@ paths: type: integer artifacts: type: array - items: &457 + items: &453 title: Artifact description: An artifact type: object @@ -64122,7 +63786,7 @@ paths: - expires_at - updated_at examples: - default: &474 + default: &470 value: total_count: 2 artifacts: @@ -64183,9 +63847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *448 - - *449 - - &458 + - *444 + - *445 + - &454 name: artifact_id description: The unique identifier of the artifact. in: path @@ -64197,7 +63861,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *453 examples: default: value: @@ -64235,9 +63899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *448 - - *449 - - *458 + - *444 + - *445 + - *454 responses: '204': description: Response @@ -64261,9 +63925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *448 - - *449 - - *458 + - *444 + - *445 + - *454 - name: archive_format in: path required: true @@ -64277,7 +63941,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': &634 + '410': &632 description: Gone content: application/json: @@ -64302,14 +63966,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &459 + schema: &455 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64343,13 +64007,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *459 + schema: *455 examples: selected_actions: *42 responses: @@ -64378,14 +64042,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &460 + schema: &456 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64419,13 +64083,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *460 + schema: *456 examples: selected_actions: *44 responses: @@ -64456,14 +64120,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *461 + schema: *457 examples: default: value: @@ -64489,11 +64153,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: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - - &462 + - &458 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 @@ -64527,7 +64191,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &459 title: Repository actions caches description: Repository actions caches type: object @@ -64577,7 +64241,7 @@ paths: - total_count - actions_caches examples: - default: &464 + default: &460 value: total_count: 1 actions_caches: @@ -64609,23 +64273,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: - - *448 - - *449 + - *444 + - *445 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *462 + - *458 responses: '200': description: Response content: application/json: - schema: *463 + schema: *459 examples: - default: *464 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64645,8 +64309,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: - - *448 - - *449 + - *444 + - *445 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64677,9 +64341,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: - - *448 - - *449 - - &465 + - *444 + - *445 + - &461 name: job_id description: The unique identifier of the job. in: path @@ -64691,7 +64355,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &473 title: Job description: Information of a job execution in a workflow run type: object @@ -65038,9 +64702,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: - - *448 - - *449 - - *465 + - *444 + - *445 + - *461 responses: '302': description: Response @@ -65068,9 +64732,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: - - *448 - - *449 - - *465 + - *444 + - *445 + - *461 requestBody: required: false content: @@ -65116,8 +64780,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Status response @@ -65167,8 +64831,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -65231,8 +64895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -65250,7 +64914,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &475 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -65271,7 +64935,7 @@ paths: - created_at - updated_at examples: - default: &480 + default: &476 value: total_count: 2 secrets: @@ -65304,9 +64968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *448 - - *449 - - *466 + - *444 + - *445 + - *462 - *19 responses: '200': @@ -65323,7 +64987,7 @@ paths: type: integer variables: type: array - items: &483 + items: &479 title: Actions Variable type: object properties: @@ -65357,7 +65021,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &480 value: total_count: 2 variables: @@ -65390,8 +65054,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65400,7 +65064,7 @@ paths: schema: type: object properties: - enabled: &467 + enabled: &463 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65435,8 +65099,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65447,7 +65111,7 @@ paths: schema: type: object properties: - enabled: *467 + enabled: *463 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65480,14 +65144,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &468 + schema: &464 type: object properties: access_level: @@ -65505,7 +65169,7 @@ paths: required: - access_level examples: - default: &469 + default: &465 value: access_level: organization x-github: @@ -65530,15 +65194,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *468 + schema: *464 examples: - default: *469 + default: *465 responses: '204': description: Response @@ -65562,8 +65226,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65593,8 +65257,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Empty response for successful settings update @@ -65628,8 +65292,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65656,8 +65320,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65691,8 +65355,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65720,8 +65384,8 @@ 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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -65752,8 +65416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65784,8 +65448,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65817,8 +65481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65847,8 +65511,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Success response @@ -65888,8 +65552,8 @@ paths: in: query schema: type: string - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -65933,8 +65597,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65966,8 +65630,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -66041,8 +65705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -66078,8 +65742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -66109,8 +65773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': @@ -66140,8 +65804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '204': @@ -66168,8 +65832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': *79 @@ -66194,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 requestBody: required: true @@ -66244,8 +65908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 requestBody: required: true @@ -66295,8 +65959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': *279 @@ -66326,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 - *280 responses: @@ -66357,9 +66021,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: - - *448 - - *449 - - &487 + - *444 + - *445 + - &483 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. @@ -66367,7 +66031,7 @@ paths: required: false schema: type: string - - &488 + - &484 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66375,7 +66039,7 @@ paths: required: false schema: type: string - - &489 + - &485 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66384,7 +66048,7 @@ paths: required: false schema: type: string - - &490 + - &486 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 @@ -66411,7 +66075,7 @@ paths: - pending - *17 - *19 - - &491 + - &487 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)." @@ -66420,7 +66084,7 @@ paths: schema: type: string format: date-time - - &470 + - &466 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66429,13 +66093,13 @@ paths: schema: type: boolean default: false - - &492 + - &488 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &493 + - &489 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66458,7 +66122,7 @@ paths: type: integer workflow_runs: type: array - items: &471 + items: &467 title: Workflow Run description: An invocation of a workflow type: object @@ -66636,7 +66300,7 @@ paths: head_commit: anyOf: - type: 'null' - - &515 + - &511 title: Simple Commit description: A commit. type: object @@ -66751,7 +66415,7 @@ paths: - workflow_url - pull_requests examples: - default: &494 + default: &490 value: total_count: 1 workflow_runs: @@ -66987,24 +66651,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *448 - - *449 - - &472 + - *444 + - *445 + - &468 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *470 + - *466 responses: '200': description: Response content: application/json: - schema: *471 + schema: *467 examples: - default: &475 + default: &471 value: id: 30433642 name: Build @@ -67245,9 +66909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '204': description: Response @@ -67270,9 +66934,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -67400,9 +67064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '201': description: Response @@ -67435,12 +67099,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 - *17 - *19 - - *473 + - *469 responses: '200': description: Response @@ -67456,9 +67120,9 @@ paths: type: integer artifacts: type: array - items: *457 + items: *453 examples: - default: *474 + default: *470 headers: Link: *45 x-github: @@ -67482,25 +67146,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *448 - - *449 - - *472 - - &476 + - *444 + - *445 + - *468 + - &472 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *470 + - *466 responses: '200': description: Response content: application/json: - schema: *471 + schema: *467 examples: - default: *475 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67523,10 +67187,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: - - *448 - - *449 + - *444 + - *445 + - *468 - *472 - - *476 - *17 - *19 responses: @@ -67544,9 +67208,9 @@ paths: type: integer jobs: type: array - items: *477 + items: *473 examples: - default: &478 + default: &474 value: total_count: 1 jobs: @@ -67659,10 +67323,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *448 - - *449 + - *444 + - *445 + - *468 - *472 - - *476 responses: '302': description: Response @@ -67690,9 +67354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '202': description: Response @@ -67725,9 +67389,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: true content: @@ -67794,9 +67458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '202': description: Response @@ -67829,9 +67493,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 - 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 @@ -67861,9 +67525,9 @@ paths: type: integer jobs: type: array - items: *477 + items: *473 examples: - default: *478 + default: *474 headers: Link: *45 x-github: @@ -67888,9 +67552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '302': description: Response @@ -67917,9 +67581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '204': description: Response @@ -67946,9 +67610,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -68017,7 +67681,7 @@ paths: items: type: object properties: - type: &600 + type: &598 type: string description: The type of reviewer. enum: @@ -68103,9 +67767,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: true content: @@ -68155,7 +67819,7 @@ paths: application/json: schema: type: array - items: &585 + items: &583 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -68267,7 +67931,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &584 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -68323,9 +67987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: false content: @@ -68370,9 +68034,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: false content: @@ -68427,9 +68091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -68566,8 +68230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -68585,9 +68249,9 @@ paths: type: integer secrets: type: array - items: *479 + items: *475 examples: - default: *480 + default: *476 headers: Link: *45 x-github: @@ -68612,16 +68276,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *481 + schema: *477 examples: - default: *482 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68643,17 +68307,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *479 + schema: *475 examples: - default: &613 + default: &611 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68679,8 +68343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -68738,8 +68402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -68765,9 +68429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *448 - - *449 - - *466 + - *444 + - *445 + - *462 - *19 responses: '200': @@ -68784,9 +68448,9 @@ paths: type: integer variables: type: array - items: *483 + items: *479 examples: - default: *484 + default: *480 headers: Link: *45 x-github: @@ -68809,8 +68473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -68862,17 +68526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 responses: '200': description: Response content: application/json: - schema: *483 + schema: *479 examples: - default: &614 + default: &612 value: name: USERNAME value: octocat @@ -68898,8 +68562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 requestBody: required: true @@ -68942,8 +68606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 responses: '204': @@ -68969,8 +68633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -68988,7 +68652,7 @@ paths: type: integer workflows: type: array - items: &485 + items: &481 title: Workflow description: A GitHub Actions workflow type: object @@ -69106,9 +68770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *448 - - *449 - - &486 + - *444 + - *445 + - &482 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -69123,7 +68787,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *481 examples: default: value: @@ -69156,9 +68820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69183,9 +68847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69236,9 +68900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69265,19 +68929,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: - - *448 - - *449 + - *444 + - *445 + - *482 + - *483 + - *484 + - *485 - *486 + - *17 + - *19 - *487 + - *466 - *488 - *489 - - *490 - - *17 - - *19 - - *491 - - *470 - - *492 - - *493 responses: '200': description: Response @@ -69293,9 +68957,9 @@ paths: type: integer workflow_runs: type: array - items: *471 + items: *467 examples: - default: *494 + default: *490 headers: Link: *45 x-github: @@ -69328,9 +68992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '200': description: Response @@ -69391,8 +69055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *448 - - *449 + - *444 + - *445 - *108 - *17 - *106 @@ -69560,8 +69224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -69598,8 +69262,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: - - *448 - - *449 + - *444 + - *445 - name: assignee in: path required: true @@ -69635,8 +69299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -69748,8 +69412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *106 - *107 @@ -69806,7 +69470,7 @@ paths: initiator: type: string examples: - default: *495 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69826,8 +69490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -69835,7 +69499,7 @@ paths: application/json: schema: type: array - items: &496 + items: &492 title: Autolink reference description: An autolink reference. type: object @@ -69894,8 +69558,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -69934,9 +69598,9 @@ paths: description: response content: application/json: - schema: *496 + schema: *492 examples: - default: &497 + default: &493 value: id: 1 key_prefix: TICKET- @@ -69967,9 +69631,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: - - *448 - - *449 - - &498 + - *444 + - *445 + - &494 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69981,9 +69645,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *492 examples: - default: *497 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -70003,9 +69667,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: - - *448 - - *449 - - *498 + - *444 + - *445 + - *494 responses: '204': description: Response @@ -70029,8 +69693,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response if Dependabot is enabled @@ -70080,8 +69744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -70102,8 +69766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -70123,8 +69787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *448 - - *449 + - *444 + - *445 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -70162,7 +69826,7 @@ paths: - url protected: type: boolean - protection: &500 + protection: &496 title: Branch Protection description: Branch Protection type: object @@ -70205,7 +69869,7 @@ paths: required: - contexts - checks - enforce_admins: &503 + enforce_admins: &499 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -70222,7 +69886,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &505 + required_pull_request_reviews: &501 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70306,7 +69970,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &502 + restrictions: &498 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70599,9 +70263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *448 - - *449 - - &501 + - *444 + - *445 + - &497 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). @@ -70615,14 +70279,14 @@ paths: description: Response content: application/json: - schema: &511 + schema: &507 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &560 + commit: &558 title: Commit description: Commit type: object @@ -70661,7 +70325,7 @@ paths: author: anyOf: - type: 'null' - - &499 + - &495 title: Git User description: Metaproperties for Git author/committer information. @@ -70683,7 +70347,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 message: type: string examples: @@ -70707,7 +70371,7 @@ paths: required: - sha - url - verification: &620 + verification: &618 title: Verification type: object properties: @@ -70787,7 +70451,7 @@ paths: type: integer files: type: array - items: &571 + items: &569 title: Diff Entry description: Diff Entry type: object @@ -70883,7 +70547,7 @@ paths: - self protected: type: boolean - protection: *500 + protection: *496 protection_url: type: string format: uri @@ -70992,7 +70656,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *454 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -71014,15 +70678,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *500 + schema: *496 examples: default: value: @@ -71216,9 +70880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -71478,7 +71142,7 @@ paths: url: type: string format: uri - required_status_checks: &508 + required_status_checks: &504 title: Status Check Policy description: Status Check Policy type: object @@ -71637,7 +71301,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *502 + restrictions: *498 required_conversation_resolution: type: object properties: @@ -71749,9 +71413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -71776,17 +71440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: &504 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71808,17 +71472,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: *504 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71837,9 +71501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -71864,17 +71528,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *505 + schema: *501 examples: - default: &506 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71970,9 +71634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72070,9 +71734,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *501 examples: - default: *506 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -72093,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72122,17 +71786,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: &507 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -72155,17 +71819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: *507 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -72185,9 +71849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72212,17 +71876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *508 + schema: *504 examples: - default: &509 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -72248,9 +71912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72302,9 +71966,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *504 examples: - default: *509 + default: *505 '404': *6 '422': *15 x-github: @@ -72326,9 +71990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72352,9 +72016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72388,9 +72052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72457,9 +72121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72523,9 +72187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: content: application/json: @@ -72591,15 +72255,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *502 + schema: *498 examples: default: value: @@ -72690,9 +72354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72715,9 +72379,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72727,7 +72391,7 @@ paths: type: array items: *5 examples: - default: &510 + default: &506 value: - id: 1 slug: octoapp @@ -72784,9 +72448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72820,7 +72484,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72841,9 +72505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72877,7 +72541,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72898,9 +72562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72934,7 +72598,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72956,9 +72620,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72988,9 +72652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -73049,9 +72713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -73110,9 +72774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: content: application/json: @@ -73171,9 +72835,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -73207,9 +72871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73267,9 +72931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73327,9 +72991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73389,9 +73053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73413,7 +73077,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *507 examples: default: value: @@ -73527,8 +73191,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -73564,8 +73228,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73638,8 +73302,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -73679,8 +73343,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73750,8 +73414,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73822,8 +73486,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_response_id in: path required: true @@ -73856,8 +73520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -74136,7 +73800,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &508 title: CheckRun description: A check performed on the code of a given code change type: object @@ -74272,7 +73936,7 @@ paths: check. type: array items: *216 - deployment: &839 + deployment: &840 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74559,9 +74223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *448 - - *449 - - &513 + - *444 + - *445 + - &509 name: check_run_id description: The unique identifier of the check run. in: path @@ -74573,9 +74237,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *508 examples: - default: &514 + default: &510 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74675,9 +74339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 requestBody: required: true content: @@ -74917,9 +74581,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *508 examples: - default: *514 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74939,9 +74603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 - *17 - *19 responses: @@ -75051,9 +74715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 responses: '201': description: Response @@ -75097,8 +74761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -75120,7 +74784,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &516 + schema: &512 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -75218,7 +74882,7 @@ paths: - string - 'null' format: date-time - head_commit: *515 + head_commit: *511 latest_check_runs_count: type: integer check_runs_url: @@ -75246,7 +74910,7 @@ paths: - check_runs_url - pull_requests examples: - default: &517 + default: &513 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75537,9 +75201,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *516 + schema: *512 examples: - default: *517 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75558,8 +75222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -75868,9 +75532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *448 - - *449 - - &518 + - *444 + - *445 + - &514 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75882,9 +75546,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *512 examples: - default: *517 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75907,17 +75571,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: - - *448 - - *449 - - *518 - - &566 + - *444 + - *445 + - *514 + - &564 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &567 + - &565 name: status description: Returns check runs with the specified `status`. in: query @@ -75956,9 +75620,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *508 examples: - default: &568 + default: &566 value: total_count: 1 check_runs: @@ -76060,9 +75724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *448 - - *449 - - *518 + - *444 + - *445 + - *514 responses: '201': description: Response @@ -76095,21 +75759,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *305 - *306 - *19 - *17 - - &534 + - &530 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: *519 - - &535 + schema: *515 + - &531 name: pr description: The number of the pull request for the results you want to list. in: query @@ -76140,7 +75804,7 @@ paths: be returned. in: query required: false - schema: *520 + schema: *516 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -76164,7 +75828,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *521 + instances_url: *517 state: *111 fixed_at: *133 dismissed_by: @@ -76172,11 +75836,11 @@ paths: - type: 'null' - *4 dismissed_at: *132 - dismissed_reason: *522 - dismissed_comment: *523 - rule: *524 - tool: *525 - most_recent_instance: *526 + dismissed_reason: *518 + dismissed_comment: *519 + rule: *520 + tool: *521 + most_recent_instance: *522 dismissal_approved_by: anyOf: - type: 'null' @@ -76299,7 +75963,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &527 + '403': &523 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76326,9 +75990,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: - - *448 - - *449 - - &528 + - *444 + - *445 + - &524 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76342,7 +76006,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &525 type: object properties: number: *123 @@ -76350,7 +76014,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *521 + instances_url: *517 state: *111 fixed_at: *133 dismissed_by: @@ -76358,8 +76022,8 @@ paths: - type: 'null' - *4 dismissed_at: *132 - dismissed_reason: *522 - dismissed_comment: *523 + dismissed_reason: *518 + dismissed_comment: *519 rule: type: object properties: @@ -76421,8 +76085,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *525 - most_recent_instance: *526 + tool: *521 + most_recent_instance: *522 dismissal_approved_by: anyOf: - type: 'null' @@ -76518,7 +76182,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -76538,9 +76202,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: true content: @@ -76555,8 +76219,8 @@ paths: enum: - open - dismissed - dismissed_reason: *522 - dismissed_comment: *523 + dismissed_reason: *518 + dismissed_comment: *519 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76584,7 +76248,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *525 examples: default: value: @@ -76660,7 +76324,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &533 + '403': &529 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76687,15 +76351,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 responses: '200': description: Response content: application/json: - schema: &530 + schema: &526 type: object properties: status: @@ -76722,13 +76386,13 @@ paths: - description - started_at examples: - default: &531 + default: &527 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &532 + '400': &528 description: Bad Request content: application/json: @@ -76739,7 +76403,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -76764,29 +76428,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 responses: '200': description: OK content: application/json: - schema: *530 + schema: *526 examples: - default: *531 + default: *527 '202': description: Accepted content: application/json: - schema: *530 + schema: *526 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *532 + '400': *528 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76818,9 +76482,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: false content: @@ -76866,8 +76530,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *532 - '403': *533 + '400': *528 + '403': *529 '404': *6 '422': description: Unprocessable Entity @@ -76891,13 +76555,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *19 - *17 - - *534 - - *535 + - *530 + - *531 responses: '200': description: Response @@ -76908,10 +76572,10 @@ paths: items: type: object properties: - ref: *519 - analysis_key: *536 - environment: *537 - category: *538 + ref: *515 + analysis_key: *532 + environment: *533 + category: *534 state: type: - string @@ -76928,7 +76592,7 @@ paths: properties: text: type: string - location: *539 + location: *535 html_url: type: string classifications: @@ -76936,7 +76600,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *540 + items: *536 examples: default: value: @@ -76975,7 +76639,7 @@ paths: end_column: 50 classifications: - source - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77009,25 +76673,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *305 - *306 - *19 - *17 - - *535 + - *531 - 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: *519 + schema: *515 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &541 + schema: &537 type: string description: An identifier for the upload. examples: @@ -77049,23 +76713,23 @@ paths: application/json: schema: type: array - items: &542 + items: &538 type: object properties: - ref: *519 - commit_sha: &550 + ref: *515 + commit_sha: &546 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: *536 + analysis_key: *532 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *538 + category: *534 error: type: string examples: @@ -77090,8 +76754,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *541 - tool: *525 + sarif_id: *537 + tool: *521 deletable: type: boolean warning: @@ -77153,7 +76817,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77189,8 +76853,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: - - *448 - - *449 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77203,7 +76867,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *538 examples: response: summary: application/json response @@ -77257,7 +76921,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *527 + '403': *523 '404': *6 '422': description: Response if analysis could not be processed @@ -77344,8 +77008,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: - - *448 - - *449 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77401,7 +77065,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *533 + '403': *529 '404': *6 '503': *189 x-github: @@ -77423,8 +77087,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -77432,7 +77096,7 @@ paths: application/json: schema: type: array - items: &543 + items: &539 title: CodeQL Database description: A CodeQL database. type: object @@ -77544,7 +77208,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77573,8 +77237,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: - - *448 - - *449 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -77586,7 +77250,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *539 examples: default: value: @@ -77618,9 +77282,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &573 + '302': &571 description: Found - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77642,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *448 - - *449 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -77653,7 +77317,7 @@ paths: responses: '204': description: Response - '403': *533 + '403': *529 '404': *6 '503': *189 x-github: @@ -77681,8 +77345,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -77691,7 +77355,7 @@ paths: type: object additionalProperties: false properties: - language: &544 + language: &540 type: string description: The language targeted by the CodeQL query enum: @@ -77771,7 +77435,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &548 + schema: &544 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77781,7 +77445,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *544 + query_language: *540 query_pack_url: type: string description: The download url for the query pack. @@ -77829,7 +77493,7 @@ paths: items: type: object properties: - repository: &545 + repository: &541 title: Repository Identifier description: Repository Identifier type: object @@ -77871,7 +77535,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &549 + analysis_status: &545 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77903,7 +77567,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &546 + access_mismatch_repos: &542 type: object properties: repository_count: @@ -77918,7 +77582,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: *545 + items: *541 required: - repository_count - repositories @@ -77941,8 +77605,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *546 - over_limit_repos: *546 + no_codeql_db_repos: *542 + over_limit_repos: *542 required: - access_mismatch_repos - not_found_repos @@ -77958,7 +77622,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &547 + value: &543 summary: Default response value: id: 1 @@ -78104,10 +77768,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *547 + value: *543 repository_lists: summary: Response for a successful variant analysis submission - value: *547 + value: *543 '404': *6 '422': description: Unable to process variant analysis submission @@ -78135,8 +77799,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: - - *448 - - *449 + - *444 + - *445 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -78148,9 +77812,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *544 examples: - default: *547 + default: *543 '404': *6 '503': *189 x-github: @@ -78173,7 +77837,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: - - *448 + - *444 - name: repo in: path description: The name of the controller repository. @@ -78208,7 +77872,7 @@ paths: type: object properties: repository: *117 - analysis_status: *549 + analysis_status: *545 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78333,8 +77997,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -78427,7 +78091,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -78448,8 +78112,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -78543,7 +78207,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *533 + '403': *529 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78614,8 +78278,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -78623,7 +78287,7 @@ paths: schema: type: object properties: - commit_sha: *550 + commit_sha: *546 ref: type: string description: |- @@ -78683,7 +78347,7 @@ paths: schema: type: object properties: - id: *541 + id: *537 url: type: string description: The REST API URL for checking the status of the upload. @@ -78697,7 +78361,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *533 + '403': *529 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78720,8 +78384,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: - - *448 - - *449 + - *444 + - *445 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78769,7 +78433,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *527 + '403': *523 '404': description: Not Found if the sarif id does not match any upload '503': *189 @@ -78794,8 +78458,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -78876,8 +78540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *448 - - *449 + - *444 + - *445 - 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 @@ -79005,8 +78669,8 @@ paths: parameters: - *17 - *19 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -79320,8 +78984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -79387,7 +79051,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79395,7 +79059,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '400': *14 '401': *23 '403': *27 @@ -79424,8 +79088,8 @@ paths: parameters: - *17 - *19 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -79489,8 +79153,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: - - *448 - - *449 + - *444 + - *445 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79527,7 +79191,7 @@ paths: type: integer machines: type: array - items: *552 + items: *548 examples: default: &788 value: @@ -79569,8 +79233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *448 - - *449 + - *444 + - *445 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79657,8 +79321,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: - - *448 - - *449 + - *444 + - *445 - 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 @@ -79727,8 +79391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -79746,7 +79410,7 @@ paths: type: integer secrets: type: array - items: &556 + items: &552 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79767,7 +79431,7 @@ paths: - created_at - updated_at examples: - default: *553 + default: *549 headers: Link: *45 x-github: @@ -79790,16 +79454,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *554 + schema: *550 examples: - default: *555 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79819,17 +79483,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *556 + schema: *552 examples: - default: *557 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79849,8 +79513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -79903,8 +79567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -79933,8 +79597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *448 - - *449 + - *444 + - *445 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79972,7 +79636,7 @@ paths: application/json: schema: type: array - items: &558 + items: &554 title: Collaborator description: Collaborator type: object @@ -80165,8 +79829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '204': @@ -80213,8 +79877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 requestBody: required: false @@ -80241,7 +79905,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80469,8 +80133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '204': @@ -80502,8 +80166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '200': @@ -80524,7 +80188,7 @@ paths: user: anyOf: - type: 'null' - - *558 + - *554 required: - permission - role_name @@ -80578,8 +80242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -80589,7 +80253,7 @@ paths: application/json: schema: type: array - items: &559 + items: &555 title: Commit Comment description: Commit Comment type: object @@ -80647,7 +80311,7 @@ paths: - created_at - updated_at examples: - default: &562 + default: &560 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80706,17 +80370,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': description: Response content: application/json: - schema: *559 + schema: *555 examples: - default: &563 + 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 @@ -80773,8 +80437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -80797,7 +80461,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *555 examples: default: value: @@ -80848,8 +80512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -80871,8 +80535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80899,9 +80563,75 @@ paths: application/json: schema: type: array - items: *439 + items: &556 + title: Reaction + description: Reactions to conversations provide a way to help people + express their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - *4 + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at examples: - default: *441 + default: &635 + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' headers: Link: *45 '404': *6 @@ -80922,8 +80652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -80956,16 +80686,40 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: &557 + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -80987,10 +80741,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - &636 + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer responses: '204': description: Response @@ -81039,8 +80799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *448 - - *449 + - *444 + - *445 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -81096,7 +80856,7 @@ paths: application/json: schema: type: array - items: *560 + items: *558 examples: default: &682 value: @@ -81192,9 +80952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *448 - - *449 - - &561 + - *444 + - *445 + - &559 name: commit_sha description: The SHA of the commit. in: path @@ -81266,9 +81026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 - *17 - *19 responses: @@ -81278,9 +81038,9 @@ paths: application/json: schema: type: array - items: *559 + items: *555 examples: - default: *562 + default: *560 headers: Link: *45 x-github: @@ -81308,9 +81068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 requestBody: required: true content: @@ -81345,9 +81105,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *555 examples: - default: *563 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81375,9 +81135,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: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 - *17 - *19 responses: @@ -81387,7 +81147,7 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: default: &674 value: @@ -81926,11 +81686,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 - - &565 + - &563 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)" @@ -81945,7 +81705,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *558 examples: default: &660 value: @@ -82060,11 +81820,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: - - *448 - - *449 + - *444 + - *445 + - *563 + - *564 - *565 - - *566 - - *567 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -82098,9 +81858,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *508 examples: - default: *568 + default: *566 headers: Link: *45 x-github: @@ -82125,9 +81885,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: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -82135,7 +81895,7 @@ paths: schema: type: integer example: 1 - - *566 + - *564 - *17 - *19 responses: @@ -82153,7 +81913,7 @@ paths: type: integer check_suites: type: array - items: *516 + items: *512 examples: default: value: @@ -82353,9 +82113,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: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -82557,9 +82317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -82650,7 +82410,7 @@ paths: site_admin: false headers: Link: *45 - '301': *454 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82678,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -82712,11 +82472,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *569 + - *567 code_of_conduct_file: anyOf: - type: 'null' - - &570 + - &568 title: Community Health File type: object properties: @@ -82736,19 +82496,19 @@ paths: contributing: anyOf: - type: 'null' - - *570 + - *568 readme: anyOf: - type: 'null' - - *570 + - *568 issue_template: anyOf: - type: 'null' - - *570 + - *568 pull_request_template: anyOf: - type: 'null' - - *570 + - *568 required: - code_of_conduct - code_of_conduct_file @@ -82877,8 +82637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 - name: basehead @@ -82926,8 +82686,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *560 - merge_base_commit: *560 + base_commit: *558 + merge_base_commit: *558 status: type: string enum: @@ -82951,10 +82711,10 @@ paths: - 6 commits: type: array - items: *560 + items: *558 files: type: array - items: *571 + items: *569 required: - url - html_url @@ -83240,8 +83000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -83394,7 +83154,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &572 + response-if-content-is-a-file: &570 summary: Response if content is a file value: type: file @@ -83749,7 +83509,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *572 + response-if-content-is-a-file: *570 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83818,7 +83578,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *573 + '302': *571 '304': *35 x-github: githubCloudOnly: false @@ -83841,8 +83601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -83937,7 +83697,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &572 title: File Commit description: File Commit type: object @@ -84093,7 +83853,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: example-for-creating-a-file: value: @@ -84147,7 +83907,7 @@ paths: schema: oneOf: - *3 - - &615 + - &613 description: Repository rule violation was detected type: object properties: @@ -84200,8 +83960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -84262,7 +84022,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -84317,8 +84077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *448 - - *449 + - *444 + - *445 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84442,8 +84202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *321 - *322 - *323 @@ -84455,7 +84215,7 @@ paths: schema: type: string - *325 - - *575 + - *573 - *326 - *327 - *108 @@ -84476,7 +84236,7 @@ paths: application/json: schema: type: array - items: &579 + items: &577 type: object description: A Dependabot alert. properties: @@ -84526,7 +84286,7 @@ paths: - direct - transitive - - security_advisory: *576 + security_advisory: *574 security_vulnerability: *127 url: *128 html_url: *129 @@ -84557,8 +84317,8 @@ paths: dismissal. maxLength: 280 fixed_at: *133 - auto_dismissed_at: *577 - dismissal_request: *578 + auto_dismissed_at: *575 + dismissal_request: *576 required: - number - state @@ -84788,9 +84548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *448 - - *449 - - &580 + - *444 + - *445 + - &578 name: alert_number in: path description: |- @@ -84805,7 +84565,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *577 examples: default: value: @@ -84918,9 +84678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *448 - - *449 - - *580 + - *444 + - *445 + - *578 requestBody: required: true content: @@ -84965,7 +84725,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *577 examples: default: value: @@ -85094,8 +84854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -85113,7 +84873,7 @@ paths: type: integer secrets: type: array - items: &583 + items: &581 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -85167,16 +84927,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *582 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85196,15 +84956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *583 + schema: *581 examples: default: value: @@ -85230,8 +84990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -85284,8 +85044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -85308,8 +85068,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: - - *448 - - *449 + - *444 + - *445 - 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 @@ -85483,8 +85243,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -85744,8 +85504,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -85828,7 +85588,7 @@ paths: - version - url additionalProperties: false - metadata: &584 + metadata: &582 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85867,7 +85627,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *584 + metadata: *582 resolved: type: object description: A collection of resolved package dependencies. @@ -85881,7 +85641,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *584 + metadata: *582 relationship: type: string description: A notation of whether a dependency is requested @@ -86014,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *448 - - *449 + - *444 + - *445 - name: sha description: The SHA recorded at creation time. in: query @@ -86056,9 +85816,9 @@ paths: application/json: schema: type: array - items: *585 + items: *583 examples: - default: *586 + default: *584 headers: Link: *45 x-github: @@ -86124,8 +85884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -86207,7 +85967,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: simple-example: summary: Simple example @@ -86280,9 +86040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *448 - - *449 - - &587 + - *444 + - *445 + - &585 name: deployment_id description: deployment_id parameter in: path @@ -86294,7 +86054,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: default: value: @@ -86359,9 +86119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 responses: '204': description: Response @@ -86383,9 +86143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 - *17 - *19 responses: @@ -86395,7 +86155,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Deployment Status description: The status of a deployment. type: object @@ -86559,9 +86319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 requestBody: required: true content: @@ -86636,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: &589 + default: &587 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86694,9 +86454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 - name: status_id in: path required: true @@ -86707,9 +86467,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -86736,12 +86496,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 + - *588 + - *589 - *590 - *591 - - *592 - - *593 - *17 - *19 responses: @@ -86751,9 +86511,9 @@ paths: application/json: schema: type: array - items: *594 + items: *592 examples: - default: *595 + default: *593 '404': *6 '403': *27 '500': *38 @@ -86777,8 +86537,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86790,7 +86550,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *594 + schema: *592 examples: default: value: @@ -86846,8 +86606,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86906,12 +86666,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 + - *588 + - *589 - *590 - *591 - - *592 - - *593 - *17 - *19 responses: @@ -86921,9 +86681,9 @@ paths: application/json: schema: type: array - items: *596 + items: *594 examples: - default: *597 + default: *595 '404': *6 '403': *27 '500': *38 @@ -86947,8 +86707,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86960,7 +86720,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *596 + schema: *594 examples: default: value: @@ -87011,8 +86771,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87050,7 +86810,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *596 + schema: *594 examples: default: value: @@ -87101,8 +86861,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87173,8 +86933,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87207,8 +86967,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -87222,9 +86982,9 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: - default: *599 + default: *597 '404': *6 '403': *27 '500': *38 @@ -87249,8 +87009,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87262,7 +87022,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *598 + schema: *596 examples: default: value: @@ -87320,8 +87080,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87390,8 +87150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -87448,8 +87208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -87467,7 +87227,7 @@ paths: - 5 environments: type: array - items: &601 + items: &599 title: Environment description: Details of a deployment environment type: object @@ -87529,7 +87289,7 @@ paths: type: string examples: - wait_timer - wait_timer: &603 + wait_timer: &601 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87571,7 +87331,7 @@ paths: items: type: object properties: - type: *600 + type: *598 reviewer: anyOf: - *4 @@ -87598,7 +87358,7 @@ paths: - id - node_id - type - deployment_branch_policy: &604 + deployment_branch_policy: &602 type: - object - 'null' @@ -87715,9 +87475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *448 - - *449 - - &602 + - *444 + - *445 + - &600 name: environment_name in: path required: true @@ -87730,9 +87490,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: &605 + default: &603 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87816,9 +87576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: false content: @@ -87828,7 +87588,7 @@ paths: - object - 'null' properties: - wait_timer: *603 + wait_timer: *601 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87847,14 +87607,14 @@ paths: items: type: object properties: - type: *600 + type: *598 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *604 + deployment_branch_policy: *602 additionalProperties: false examples: default: @@ -87874,9 +87634,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: *605 + default: *603 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87900,9 +87660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 responses: '204': description: Default response @@ -87927,9 +87687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *17 - *19 responses: @@ -87948,7 +87708,7 @@ paths: - 2 branch_policies: type: array - items: &606 + items: &604 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -88009,9 +87769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: true content: @@ -88059,9 +87819,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - example-wildcard: &607 + example-wildcard: &605 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -88103,10 +87863,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - &608 + - *444 + - *445 + - *600 + - &606 name: branch_policy_id in: path required: true @@ -88118,9 +87878,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88139,10 +87899,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - *608 + - *444 + - *445 + - *600 + - *606 requestBody: required: true content: @@ -88171,9 +87931,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88192,10 +87952,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - *608 + - *444 + - *445 + - *600 + - *606 responses: '204': description: Response @@ -88220,9 +87980,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 responses: '200': description: List of deployment protection rules @@ -88239,7 +87999,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &609 + items: &607 title: Deployment protection rule description: Deployment protection rule type: object @@ -88261,7 +88021,7 @@ paths: for the environment. examples: - true - app: &610 + app: &608 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88364,9 +88124,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 requestBody: content: application/json: @@ -88387,9 +88147,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *609 + schema: *607 examples: - default: &611 + default: &609 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88424,9 +88184,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 - *19 - *17 responses: @@ -88446,7 +88206,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *610 + items: *608 examples: default: value: @@ -88481,10 +88241,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: - - *448 - - *449 - - *602 - - &612 + - *444 + - *445 + - *600 + - &610 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88496,9 +88256,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *611 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88519,10 +88279,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: - - *602 - - *449 - - *448 - - *612 + - *600 + - *445 + - *444 + - *610 responses: '204': description: Response @@ -88548,9 +88308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *17 - *19 responses: @@ -88568,9 +88328,9 @@ paths: type: integer secrets: type: array - items: *479 + items: *475 examples: - default: *480 + default: *476 headers: Link: *45 x-github: @@ -88595,17 +88355,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 responses: '200': description: Response content: application/json: - schema: *481 + schema: *477 examples: - default: *482 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88627,18 +88387,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 responses: '200': description: Response content: application/json: - schema: *479 + schema: *475 examples: - default: *613 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88660,9 +88420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 requestBody: required: true @@ -88720,9 +88480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 responses: '204': @@ -88748,10 +88508,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *448 - - *449 - - *602 - - *466 + - *444 + - *445 + - *600 + - *462 - *19 responses: '200': @@ -88768,9 +88528,9 @@ paths: type: integer variables: type: array - items: *483 + items: *479 examples: - default: *484 + default: *480 headers: Link: *45 x-github: @@ -88793,9 +88553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: true content: @@ -88847,18 +88607,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *285 responses: '200': description: Response content: application/json: - schema: *483 + schema: *479 examples: - default: *614 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88879,10 +88639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 - - *602 + - *600 requestBody: required: true content: @@ -88924,10 +88684,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 - - *602 + - *600 responses: '204': description: Response @@ -88949,8 +88709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -89018,8 +88778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *448 - - *449 + - *444 + - *445 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -89178,8 +88938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -89212,9 +88972,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 '400': *14 '422': *15 '403': *27 @@ -89235,8 +88995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89296,7 +89056,7 @@ paths: schema: oneOf: - *247 - - *615 + - *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89321,8 +89081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *448 - - *449 + - *444 + - *445 - name: file_sha in: path required: true @@ -89422,8 +89182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89532,7 +89292,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &614 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89759,15 +89519,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 responses: '200': description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89823,9 +89583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *448 - - *449 - - &617 + - *444 + - *445 + - &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. @@ -89842,7 +89602,7 @@ paths: application/json: schema: type: array - items: &618 + items: &616 title: Git Reference description: Git references within a repository type: object @@ -89918,17 +89678,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: &619 + default: &617 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89957,8 +89717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89987,9 +89747,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -90015,9 +89775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 requestBody: required: true content: @@ -90046,9 +89806,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 '422': *15 '409': *116 x-github: @@ -90066,9 +89826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 responses: '204': description: Response @@ -90123,8 +89883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -90191,7 +89951,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &619 title: Git Tag description: Metadata for a Git tag type: object @@ -90247,7 +90007,7 @@ paths: - sha - type - url - verification: *620 + verification: *618 required: - sha - url @@ -90257,7 +90017,7 @@ paths: - tag - message examples: - default: &622 + default: &620 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90330,8 +90090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *448 - - *449 + - *444 + - *445 - name: tag_sha in: path required: true @@ -90342,9 +90102,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: *622 + default: *620 '404': *6 '409': *116 x-github: @@ -90368,8 +90128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -90443,7 +90203,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &621 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90545,8 +90305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *448 - - *449 + - *444 + - *445 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90569,7 +90329,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *621 examples: default-response: summary: Default response @@ -90628,8 +90388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -90639,7 +90399,7 @@ paths: application/json: schema: type: array - items: &624 + items: &622 title: Webhook description: Webhooks for repositories. type: object @@ -90702,7 +90462,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &875 + last_response: &876 title: Hook Response type: object properties: @@ -90779,8 +90539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -90833,9 +90593,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: &625 + default: &623 value: type: Repository id: 12345678 @@ -90883,17 +90643,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '200': description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: *625 + default: *623 '404': *6 x-github: githubCloudOnly: false @@ -90913,8 +90673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 requestBody: required: true @@ -90960,9 +90720,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: *625 + default: *623 '422': *15 '404': *6 x-github: @@ -90983,8 +90743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91009,8 +90769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '200': @@ -91038,8 +90798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *335 requestBody: required: false @@ -91084,8 +90844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *17 - *336 @@ -91117,8 +90877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *16 responses: @@ -91147,8 +90907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *16 responses: @@ -91172,8 +90932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91199,8 +90959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91224,8 +90984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response if immutable releases are enabled @@ -91273,8 +91033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '409': *116 @@ -91294,8 +91054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '409': *116 @@ -91352,14 +91112,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &626 + schema: &624 title: Import description: A repository import from an external source. type: object @@ -91466,7 +91226,7 @@ paths: - html_url - authors_url examples: - default: &629 + default: &627 value: vcs: subversion use_lfs: true @@ -91482,7 +91242,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': &627 + '503': &625 description: Unavailable due to service under maintenance. content: application/json: @@ -91511,8 +91271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -91560,7 +91320,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: default: value: @@ -91585,7 +91345,7 @@ paths: type: string '422': *15 '404': *6 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91613,8 +91373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -91666,7 +91426,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: example-1: summary: Example 1 @@ -91714,7 +91474,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': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91737,12 +91497,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91768,8 +91528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *448 - - *449 + - *444 + - *445 - &809 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -91784,7 +91544,7 @@ paths: application/json: schema: type: array - items: &628 + items: &626 title: Porter Author description: Porter Author type: object @@ -91838,7 +91598,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': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91863,8 +91623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *448 - - *449 + - *444 + - *445 - name: author_id in: path required: true @@ -91894,7 +91654,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *626 examples: default: value: @@ -91907,7 +91667,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91931,8 +91691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -91973,7 +91733,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92001,8 +91761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -92029,11 +91789,11 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: - default: *629 + default: *627 '422': *15 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92056,8 +91816,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -92065,8 +91825,8 @@ paths: application/json: schema: *20 examples: - default: *630 - '301': *454 + default: *628 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -92086,8 +91846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -92100,7 +91860,7 @@ paths: properties: {} additionalProperties: false examples: - default: &632 + default: &630 value: limit: collaborators_only origin: repository @@ -92125,13 +91885,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *631 + schema: *629 examples: default: summary: Example request body @@ -92145,7 +91905,7 @@ paths: application/json: schema: *353 examples: - default: *632 + default: *630 '409': description: Response x-github: @@ -92167,8 +91927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -92191,8 +91951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -92202,7 +91962,7 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: default: &802 value: @@ -92335,8 +92095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *448 - - *449 + - *444 + - *445 - *357 requestBody: required: false @@ -92366,7 +92126,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -92497,8 +92257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *448 - - *449 + - *444 + - *445 - *357 responses: '204': @@ -92530,8 +92290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *448 - - *449 + - *444 + - *445 - 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 @@ -92752,7 +92512,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *454 + '301': *450 '422': *15 '404': *6 x-github: @@ -92781,8 +92541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -93030,7 +92790,7 @@ paths: '422': *15 '503': *189 '404': *6 - '410': *634 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -93058,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *235 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -93080,7 +92840,7 @@ paths: application/json: schema: type: array - items: *635 + items: *633 examples: default: &640 value: @@ -93140,17 +92900,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: &636 + default: &634 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -93204,8 +92964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -93228,9 +92988,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -93248,8 +93008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -93270,8 +93030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93298,9 +93058,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -93321,8 +93081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -93355,16 +93115,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -93386,10 +93146,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - *636 responses: '204': description: Response @@ -93409,8 +93169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -93759,8 +93519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *448 - - *449 + - *444 + - *445 - name: event_id in: path required: true @@ -93963,7 +93723,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *634 + '410': *632 '403': *27 x-github: githubCloudOnly: false @@ -93997,8 +93757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - &639 name: issue_number description: The number that identifies the issue. @@ -94014,9 +93774,9 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '304': *35 x-github: githubCloudOnly: false @@ -94041,8 +93801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -94168,9 +93928,9 @@ paths: '422': *15 '503': *189 '403': *27 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94188,8 +93948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -94234,8 +93994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: content: @@ -94285,8 +94045,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - name: assignee in: path @@ -94327,8 +94087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *218 - *17 @@ -94340,13 +94100,13 @@ paths: application/json: schema: type: array - items: *635 + items: *633 examples: default: *640 headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94375,8 +94135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -94399,16 +94159,16 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -94436,8 +94196,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -94453,9 +94213,9 @@ paths: default: *641 headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94483,8 +94243,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -94515,9 +94275,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *454 + '301': *450 '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -94548,8 +94308,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - name: issue_id in: path @@ -94565,12 +94325,12 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *634 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -94596,8 +94356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -94613,9 +94373,9 @@ paths: default: *641 headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94632,8 +94392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -95427,7 +95187,7 @@ paths: color: red headers: Link: *45 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95444,8 +95204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -95476,9 +95236,9 @@ paths: default: false headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95495,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95559,9 +95319,9 @@ paths: items: *211 examples: default: *642 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95578,8 +95338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95643,9 +95403,9 @@ paths: items: *211 examples: default: *642 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95662,15 +95422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '204': description: Response - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95689,8 +95449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - name: name in: path @@ -95715,9 +95475,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95737,8 +95497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95768,7 +95528,7 @@ paths: '204': description: Response '403': *27 - '410': *634 + '410': *632 '404': *6 '422': *15 x-github: @@ -95786,8 +95546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '204': @@ -95818,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '200': @@ -95829,9 +95589,9 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95848,8 +95608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -95876,13 +95636,13 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95900,8 +95660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -95934,16 +95694,16 @@ paths: description: Response content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Response content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -95965,10 +95725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *639 - - *442 + - *636 responses: '204': description: Response @@ -95997,8 +95757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96056,8 +95816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -96074,7 +95834,7 @@ paths: headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96102,8 +95862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96140,7 +95900,7 @@ paths: schema: type: string '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -96160,8 +95920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96217,8 +95977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -96813,7 +96573,7 @@ paths: type: string comments: type: array - items: *559 + items: *555 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97088,7 +96848,7 @@ paths: headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97105,8 +96865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -97184,8 +96944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97257,8 +97017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 - &658 name: key_id description: The unique identifier of the key. @@ -97291,8 +97051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 - *658 responses: '204': @@ -97313,8 +97073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -97347,8 +97107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97418,8 +97178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97449,8 +97209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97515,8 +97275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97542,8 +97302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -97579,8 +97339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '202': *37 '403': @@ -97608,8 +97368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -97635,9 +97395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *448 - - *449 - - *534 + - *444 + - *445 + - *530 responses: '200': description: Response @@ -97784,8 +97544,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97850,8 +97610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97885,7 +97645,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *560 + schema: *558 examples: default: *660 '204': @@ -97912,8 +97672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *448 - - *449 + - *444 + - *445 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98010,8 +97770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98112,8 +97872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - &662 name: milestone_number description: The number that identifies the milestone. @@ -98145,8 +97905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 requestBody: required: false @@ -98203,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 responses: '204': @@ -98226,8 +97986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 - *17 - *19 @@ -98259,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *448 - - *449 + - *444 + - *445 - *663 - *664 - *218 @@ -98300,8 +98060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -98359,8 +98119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -98551,8 +98311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98632,8 +98392,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98741,8 +98501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -98768,8 +98528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -98871,8 +98631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -98919,8 +98679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -98976,8 +98736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *448 - - *449 + - *444 + - *445 - name: build_id in: path required: true @@ -99010,8 +98770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -99119,8 +98879,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -99179,8 +98939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *448 - - *449 + - *444 + - *445 - *671 responses: '204': *148 @@ -99208,8 +98968,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -99504,8 +99264,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Private vulnerability reporting status @@ -99542,8 +99302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '422': *14 @@ -99564,8 +99324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '422': *14 @@ -99587,8 +99347,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -99620,8 +99380,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -99675,8 +99435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99736,7 +99496,7 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: default: *674 headers: @@ -99770,8 +99530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -100707,8 +100467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - name: sort in: query required: false @@ -100816,8 +100576,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': @@ -100901,8 +100661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -100943,8 +100703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -100966,8 +100726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100994,9 +100754,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -101017,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -101051,16 +100811,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -101082,10 +100842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - *636 responses: '204': description: Response @@ -101128,8 +100888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - &680 name: pull_number description: The number that identifies the pull request. @@ -101180,8 +100940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -101248,8 +101008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -101313,7 +101073,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -101321,7 +101081,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -101351,8 +101111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *235 - name: direction @@ -101409,8 +101169,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -101605,8 +101365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *227 requestBody: @@ -101716,8 +101476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -101728,7 +101488,7 @@ paths: application/json: schema: type: array - items: *560 + items: *558 examples: default: *682 headers: @@ -101760,8 +101520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -101772,7 +101532,7 @@ paths: application/json: schema: type: array - items: *571 + items: *569 examples: default: value: @@ -101810,8 +101570,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 responses: '204': @@ -101835,8 +101595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -101949,8 +101709,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 responses: '200': @@ -102026,8 +101786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -102065,7 +101825,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -102601,8 +102361,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -102637,7 +102397,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -103142,8 +102902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -103310,8 +103070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -103467,8 +103227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - &684 name: review_id @@ -103543,8 +103303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -103631,8 +103391,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 - *684 responses: @@ -103669,8 +103429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 - *17 @@ -103930,8 +103690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -104025,8 +103785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -104087,8 +103847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -104153,8 +103913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *448 - - *449 + - *444 + - *445 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104211,8 +103971,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: - - *448 - - *449 + - *444 + - *445 - name: dir description: The alternate path to look for a README file in: path @@ -104256,8 +104016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -104361,8 +104121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -104545,8 +104305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - &691 name: asset_id description: The unique identifier of the asset. @@ -104596,7 +104356,7 @@ paths: type: User site_admin: false '404': *6 - '302': *573 + '302': *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104612,8 +104372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - *691 requestBody: required: false @@ -104661,8 +104421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - *691 responses: '204': @@ -104687,8 +104447,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -104774,8 +104534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -104800,8 +104560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *448 - - *449 + - *444 + - *445 - name: tag description: tag parameter in: path @@ -104838,8 +104598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *448 - - *449 + - *444 + - *445 - &694 name: release_id description: The unique identifier of the release. @@ -104874,8 +104634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 requestBody: required: false @@ -104963,8 +104723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 responses: '204': @@ -104985,8 +104745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *448 - - *449 + - *444 + - *445 - *694 - *17 - *19 @@ -105079,8 +104839,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *694 - name: name in: query @@ -105162,8 +104922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -105188,9 +104948,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -105211,8 +104971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 requestBody: required: true @@ -105243,16 +105003,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -105274,10 +105034,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *694 - - *442 + - *636 responses: '204': description: Response @@ -105301,9 +105061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 - *17 - *19 responses: @@ -105440,8 +105200,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - name: includes_parents @@ -105507,8 +105267,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 requestBody: description: Request body required: true @@ -105617,8 +105377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *448 - - *449 + - *444 + - *445 - *699 - *103 - *700 @@ -105653,8 +105413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *448 - - *449 + - *444 + - *445 - *704 responses: '200': @@ -105691,8 +105451,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105732,8 +105492,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105815,8 +105575,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105839,8 +105599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - name: ruleset_id @@ -105877,8 +105637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105951,8 +105711,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *410 - *411 - *412 @@ -106230,9 +105990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *418 responses: '200': @@ -106293,9 +106053,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: true content: @@ -106435,9 +106195,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *19 - *17 responses: @@ -106448,7 +106208,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &895 + items: &896 type: object properties: type: @@ -106573,8 +106333,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -106653,8 +106413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106775,8 +106535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *448 - - *449 + - *444 + - *445 - *108 - name: sort description: The property to sort the results by. @@ -106845,8 +106605,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -107251,8 +107011,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -107512,8 +107272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *448 - - *449 + - *444 + - *445 - *732 responses: '200': @@ -107546,8 +107306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *448 - - *449 + - *444 + - *445 - *732 requestBody: required: true @@ -107760,8 +107520,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *732 responses: '202': *37 @@ -107789,17 +107549,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: - - *448 - - *449 + - *444 + - *445 - *732 responses: '202': description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 '400': *14 '422': *15 '403': *27 @@ -107825,8 +107585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -107922,8 +107682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107965,8 +107725,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108044,8 +107804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108139,8 +107899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108294,8 +108054,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108338,8 +108098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *448 - - *449 + - *444 + - *445 - name: sha in: path required: true @@ -108449,8 +108209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108482,8 +108242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: if you subscribe to the repository @@ -108562,8 +108322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -108616,8 +108376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -108637,8 +108397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108720,8 +108480,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108786,8 +108546,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -108841,8 +108601,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: - - *448 - - *449 + - *444 + - *445 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -108879,8 +108639,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *448 - - *449 + - *444 + - *445 - name: ref in: path required: true @@ -108916,8 +108676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108949,8 +108709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 responses: @@ -108993,8 +108753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -109048,8 +108808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *448 - - *449 + - *444 + - *445 - &740 name: per description: The time frame to display results for. @@ -109169,8 +108929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -109265,8 +109025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -109330,8 +109090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *448 - - *449 + - *444 + - *445 - *740 responses: '200': @@ -109431,8 +109191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -109706,8 +109466,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109730,8 +109490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -109753,8 +109513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -109780,8 +109540,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *448 - - *449 + - *444 + - *445 - name: ref in: path required: true @@ -109873,9 +109633,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112427,7 +112187,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 comment_count: type: integer message: @@ -112446,7 +112206,7 @@ paths: url: type: string format: uri - verification: *620 + verification: *618 required: - author - committer @@ -112461,7 +112221,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 parents: type: array items: @@ -114675,246 +114435,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - *773 - - *435 - - *438 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - *773 - - *435 - - *438 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - *773 - - *435 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - *773 - - *435 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -115140,7 +114660,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-user-is-a-team-maintainer: *778 '404': *6 @@ -115201,7 +114721,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-users-membership-with-team-is-now-pending: *779 '403': @@ -115308,8 +114828,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Alternative response with extra repository information @@ -115467,8 +114987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -115519,8 +115039,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -115555,9 +115075,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: - default: *451 + default: *447 '403': *27 '404': *6 x-github: @@ -115645,7 +115165,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: default: value: @@ -116477,7 +115997,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -116485,7 +116005,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -116571,7 +116091,7 @@ paths: - visibility - selected_repositories_url examples: - default: *553 + default: *549 headers: Link: *45 x-github: @@ -116947,7 +116467,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '304': *35 '500': *38 '401': *23 @@ -117005,7 +116525,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -117199,7 +116719,7 @@ paths: type: integer machines: type: array - items: *552 + items: *548 examples: default: *788 '304': *35 @@ -117286,11 +116806,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *453 + repository: *449 machine: anyOf: - type: 'null' - - *552 + - *548 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -118095,7 +117615,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '304': *35 '500': *38 '400': *14 @@ -118135,7 +117655,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '500': *38 '401': *23 '403': *27 @@ -119306,7 +118826,7 @@ paths: required: true content: application/json: - schema: *631 + schema: *629 examples: default: value: @@ -121771,9 +121291,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121811,7 +121331,7 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: default: *802 headers: @@ -122082,7 +121602,7 @@ paths: - title - created_at examples: - default: &829 + default: &830 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -122245,7 +121765,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: - - &830 + - &831 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 @@ -122274,7 +121794,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &831 + items: &832 title: Starred Repository description: Starred Repository type: object @@ -122430,8 +121950,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response if this repository is starred by you @@ -122459,8 +121979,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -122484,8 +122004,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -123166,7 +122686,7 @@ paths: initiator: type: string examples: - default: *495 + default: *491 '201': description: Response content: @@ -123697,7 +123217,7 @@ paths: application/json: schema: *20 examples: - default: *630 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124699,6 +124219,59 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view + parameters: + - *391 + - *136 + - *829 + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *106 + - *107 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *398 + examples: + default: *399 + headers: + Link: *45 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -124972,7 +124545,7 @@ paths: type: array items: *805 examples: - default: *829 + default: *830 headers: Link: *45 x-github: @@ -124997,7 +124570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *136 - - *830 + - *831 - *108 - *17 - *19 @@ -125009,7 +124582,7 @@ paths: schema: anyOf: - type: array - items: *831 + items: *832 - type: array items: *76 examples: @@ -125173,7 +124746,7 @@ webhooks: type: string enum: - disabled - enterprise: &832 + enterprise: &833 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125242,7 +124815,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &833 + installation: &834 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125263,7 +124836,7 @@ webhooks: required: - id - node_id - organization: &834 + organization: &835 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125336,7 +124909,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &835 + repository: &836 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126249,10 +125822,10 @@ webhooks: type: string enum: - enabled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -126328,11 +125901,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: &836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: &837 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) @@ -126555,11 +126128,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: *836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: *837 sender: *4 required: - action @@ -126747,11 +126320,11 @@ webhooks: - everyone required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: *836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: *837 sender: *4 required: - action @@ -126824,7 +126397,7 @@ webhooks: required: true content: application/json: - schema: &856 + schema: &857 title: Exemption request cancellation event type: object properties: @@ -126832,11 +126405,11 @@ webhooks: type: string enum: - cancelled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: &837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: &838 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -127110,7 +126683,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &838 + items: &839 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -127222,7 +126795,7 @@ webhooks: required: true content: application/json: - schema: &857 + schema: &858 title: Exemption request completed event type: object properties: @@ -127230,11 +126803,11 @@ webhooks: type: string enum: - completed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 sender: *4 required: - action @@ -127306,7 +126879,7 @@ webhooks: required: true content: application/json: - schema: &854 + schema: &855 title: Exemption request created event type: object properties: @@ -127314,11 +126887,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 sender: *4 required: - action @@ -127390,7 +126963,7 @@ webhooks: required: true content: application/json: - schema: &858 + schema: &859 title: Exemption response dismissed event type: object properties: @@ -127398,12 +126971,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 - exemption_response: *838 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 + exemption_response: *839 sender: *4 required: - action @@ -127477,7 +127050,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &856 title: Exemption response submitted event type: object properties: @@ -127485,12 +127058,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 - exemption_response: *838 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 + exemption_response: *839 sender: *4 required: - action @@ -127574,7 +127147,7 @@ webhooks: type: string enum: - completed - check_run: &840 + check_run: &841 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127684,7 +127257,7 @@ webhooks: - examples: - neutral - deployment: *839 + deployment: *840 details_url: type: string examples: @@ -127782,10 +127355,10 @@ webhooks: - output - app - pull_requests - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -128178,11 +127751,11 @@ webhooks: type: string enum: - created - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -128578,11 +128151,11 @@ webhooks: type: string enum: - requested_action - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 requested_action: description: The action requested by the user. type: object @@ -128987,11 +128560,11 @@ webhooks: type: string enum: - rerequested - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -129983,10 +129556,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -130695,10 +130268,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -131401,10 +130974,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -131573,7 +131146,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131725,20 +131298,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &841 + 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: *832 - installation: *833 - organization: *834 - ref: &842 + enterprise: *833 + installation: *834 + organization: *835 + 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: *835 + repository: *836 sender: *4 required: - action @@ -131905,7 +131478,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132146,12 +131719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132249,7 +131822,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132434,12 +132007,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132608,7 +132181,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132785,12 +132358,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132891,7 +132464,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133080,9 +132653,9 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -133090,7 +132663,7 @@ webhooks: type: - string - 'null' - repository: *835 + repository: *836 sender: *4 required: - action @@ -133189,7 +132762,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133336,12 +132909,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -133510,7 +133083,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133662,10 +133235,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -133925,10 +133498,10 @@ webhooks: - updated_at - author_association - body - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -134009,18 +133582,18 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *834 - pusher_type: &843 + organization: *835 + pusher_type: &844 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &844 + ref: &845 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -134030,7 +133603,7 @@ webhooks: enum: - tag - branch - repository: *835 + repository: *836 sender: *4 required: - ref @@ -134113,9 +133686,9 @@ webhooks: enum: - created definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134200,9 +133773,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134280,9 +133853,9 @@ webhooks: enum: - promote_to_enterprise definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134360,9 +133933,9 @@ webhooks: enum: - updated definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134439,10 +134012,10 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - repository: *835 - organization: *834 + enterprise: *833 + installation: *834 + repository: *836 + organization: *835 sender: *4 new_property_values: type: array @@ -134527,18 +134100,18 @@ webhooks: title: delete event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - pusher_type: *843 - ref: *844 + enterprise: *833 + installation: *834 + organization: *835 + pusher_type: *844 + ref: *845 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *835 + repository: *836 sender: *4 required: - ref @@ -134622,11 +134195,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134710,11 +134283,11 @@ webhooks: type: string enum: - auto_reopened - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134798,11 +134371,11 @@ webhooks: type: string enum: - created - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134884,11 +134457,11 @@ webhooks: type: string enum: - dismissed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134970,11 +134543,11 @@ webhooks: type: string enum: - fixed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135057,11 +134630,11 @@ webhooks: type: string enum: - reintroduced - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135143,11 +134716,11 @@ webhooks: type: string enum: - reopened - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135224,9 +134797,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - key: &845 + enterprise: *833 + installation: *834 + 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 @@ -135264,8 +134837,8 @@ webhooks: - verified - created_at - read_only - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -135342,11 +134915,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - key: *845 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + key: *846 + organization: *835 + repository: *836 sender: *4 required: - action @@ -135918,12 +135491,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: &849 + workflow: &850 title: Workflow type: - object @@ -136661,13 +136234,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *585 + deployment: *583 pull_requests: type: array items: *678 - repository: *835 - organization: *834 - installation: *833 + repository: *836 + organization: *835 + installation: *834 sender: *4 responses: '200': @@ -136738,7 +136311,7 @@ webhooks: type: string enum: - approved - approver: &846 + approver: &847 type: object properties: avatar_url: @@ -136781,11 +136354,11 @@ webhooks: type: string comment: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - reviewers: &847 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + reviewers: &848 type: array items: type: object @@ -136866,7 +136439,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &848 + workflow_job_run: &849 type: object properties: conclusion: @@ -137612,18 +137185,18 @@ webhooks: type: string enum: - rejected - approver: *846 + approver: *847 comment: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - reviewers: *847 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + reviewers: *848 sender: *4 since: type: string - workflow_job_run: *848 + workflow_job_run: *849 workflow_job_runs: type: array items: @@ -138340,13 +137913,13 @@ webhooks: type: string enum: - requested - enterprise: *832 + enterprise: *833 environment: type: string - installation: *833 - organization: *834 - repository: *835 - requestor: &859 + installation: *834 + organization: *835 + repository: *836 + requestor: &860 title: User type: - object @@ -140289,12 +139862,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: *849 + workflow: *850 workflow_run: title: Deployment Workflow Run type: @@ -140985,7 +140558,7 @@ webhooks: type: string enum: - answered - answer: &852 + answer: &853 type: object properties: author_association: @@ -141145,11 +140718,11 @@ webhooks: - created_at - updated_at - body - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141276,11 +140849,11 @@ webhooks: - from required: - category - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141363,11 +140936,11 @@ webhooks: type: string enum: - closed - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141449,7 +141022,7 @@ webhooks: type: string enum: - created - comment: &851 + comment: &852 type: object properties: author_association: @@ -141609,11 +141182,11 @@ webhooks: - updated_at - body - reactions - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141696,12 +141269,12 @@ webhooks: type: string enum: - deleted - comment: *851 - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + comment: *852 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141796,12 +141369,12 @@ webhooks: - from required: - body - comment: *851 - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + comment: *852 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141885,11 +141458,11 @@ webhooks: type: string enum: - created - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141971,11 +141544,11 @@ webhooks: type: string enum: - deleted - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142075,11 +141648,11 @@ webhooks: type: string required: - from - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142161,10 +141734,10 @@ webhooks: type: string enum: - labeled - discussion: *850 - enterprise: *832 - installation: *833 - label: &853 + discussion: *851 + enterprise: *833 + installation: *834 + label: &854 title: Label type: object properties: @@ -142197,8 +141770,8 @@ webhooks: - color - default - description - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142281,11 +141854,11 @@ webhooks: type: string enum: - locked - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142367,11 +141940,11 @@ webhooks: type: string enum: - pinned - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142453,11 +142026,11 @@ webhooks: type: string enum: - reopened - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142542,16 +142115,16 @@ webhooks: changes: type: object properties: - new_discussion: *850 - new_repository: *835 + new_discussion: *851 + new_repository: *836 required: - new_discussion - new_repository - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142634,10 +142207,10 @@ webhooks: type: string enum: - unanswered - discussion: *850 - old_answer: *852 - organization: *834 - repository: *835 + discussion: *851 + old_answer: *853 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142719,12 +142292,12 @@ webhooks: type: string enum: - unlabeled - discussion: *850 - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142807,11 +142380,11 @@ webhooks: type: string enum: - unlocked - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142885,236 +142458,47 @@ webhooks: required: true content: application/json: - schema: - title: discussion unpinned event - type: object - properties: - action: - type: string - enum: - - unpinned - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - sender: *4 - required: - - action - - discussion - - repository - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: false - category: webhooks - subcategory: discussion - supported-webhook-types: - - repository - - organization - - app - dismissal-request-code-scanning-created: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - description: A code scanning alert dismissal request was created. - operationId: dismissal-request-code-scanning/created - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *854 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: dismissal_request_code_scanning - supported-webhook-types: - - repository - - organization - - app - dismissal-request-code-scanning-response-submitted: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - description: A code scanning alert dismissal response was submitted. - operationId: dismissal-request-code-scanning/response-submitted - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *855 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: dismissal_request_code_scanning - supported-webhook-types: - - repository - - organization - - app - dismissal-request-dependabot-cancelled: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request was canceled. - operationId: dismissal-request-dependabot/cancelled - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: dismissal_request_dependabot - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *856 + schema: + title: discussion unpinned event + type: object + properties: + action: + type: string + enum: + - unpinned + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + sender: *4 + required: + - action + - discussion + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received successfully x-github: - githubCloudOnly: true + githubCloudOnly: false category: webhooks - subcategory: dismissal_request_dependabot + subcategory: discussion supported-webhook-types: - repository - organization - app - dismissal-request-dependabot-created: + dismissal-request-code-scanning-created: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. + This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request was created. - operationId: dismissal-request-dependabot/created + To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. + description: A code scanning alert dismissal request was created. + operationId: dismissal-request-code-scanning/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning parameters: - name: User-Agent in: header @@ -143128,7 +142512,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: dismissal_request_dependabot + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143155,7 +142539,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143163,21 +142547,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_dependabot + subcategory: dismissal_request_code_scanning supported-webhook-types: - repository - organization - app - dismissal-request-dependabot-response-submitted: + dismissal-request-code-scanning-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. + This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request received a response. - operationId: dismissal-request-dependabot/response-submitted + To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. + description: A code scanning alert dismissal response was submitted. + operationId: dismissal-request-code-scanning/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning parameters: - name: User-Agent in: header @@ -143191,7 +142575,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: dismissal_request_dependabot + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143218,7 +142602,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143226,24 +142610,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_dependabot + subcategory: dismissal_request_code_scanning supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-cancelled: + dismissal-request-dependabot-cancelled: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was canceled. - operationId: dismissal-request-secret-scanning/cancelled + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request was canceled. + operationId: dismissal-request-dependabot/cancelled externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143257,7 +142638,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143284,7 +142665,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143292,24 +142673,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-completed: + dismissal-request-dependabot-created: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was completed. - operationId: dismissal-request-secret-scanning/completed + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request was created. + operationId: dismissal-request-dependabot/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143323,7 +142701,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143350,7 +142728,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143358,24 +142736,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-created: + dismissal-request-dependabot-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was created. - operationId: dismissal-request-secret-scanning/created + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request received a response. + operationId: dismissal-request-dependabot/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143389,7 +142764,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143416,7 +142791,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143424,12 +142799,12 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-response-dismissed: + dismissal-request-secret-scanning-cancelled: post: summary: |- This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. @@ -143438,8 +142813,8 @@ webhooks: [!NOTE] Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal response was dismissed. - operationId: dismissal-request-secret-scanning/response-dismissed + description: A secret scanning alert dismissal request was canceled. + operationId: dismissal-request-secret-scanning/cancelled externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: @@ -143482,7 +142857,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143495,7 +142870,7 @@ webhooks: - repository - organization - app - dismissal-request-secret-scanning-response-submitted: + dismissal-request-secret-scanning-completed: post: summary: |- This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. @@ -143504,8 +142879,8 @@ webhooks: [!NOTE] Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal response was submitted. - operationId: dismissal-request-secret-scanning/response-submitted + description: A secret scanning alert dismissal request was completed. + operationId: dismissal-request-secret-scanning/completed externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: @@ -143548,7 +142923,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *858 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143561,83 +142936,19 @@ webhooks: - repository - organization - app - exemption-request-push-ruleset-cancelled: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. - - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was cancelled. - operationId: exemption-request-push-ruleset/cancelled - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *856 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: exemption_request_push_ruleset - supported-webhook-types: - - repository - - organization - - app - exemption-request-push-ruleset-completed: + dismissal-request-secret-scanning-created: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was completed. - operationId: exemption-request-push-ruleset/completed + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal request was created. + operationId: dismissal-request-secret-scanning/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143678,7 +142989,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143686,23 +142997,24 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-created: + dismissal-request-secret-scanning-response-dismissed: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was created. - operationId: exemption-request-push-ruleset/created + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal response was dismissed. + operationId: dismissal-request-secret-scanning/response-dismissed externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143743,7 +143055,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *859 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143751,23 +143063,24 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-response-dismissed: + dismissal-request-secret-scanning-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass response was dismissed. - operationId: exemption-request-push-ruleset/response-dismissed + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal response was submitted. + operationId: dismissal-request-secret-scanning/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143808,7 +143121,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143816,12 +143129,12 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-response-submitted: + exemption-request-push-ruleset-cancelled: post: summary: |- This event occurs when there is activity related to a user's request to bypass a set of push rules. @@ -143829,9 +143142,138 @@ webhooks: For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A response either approving or rejecting the push ruleset bypass - request was submitted. - operationId: exemption-request-push-ruleset/response-submitted + description: A push ruleset bypass request was cancelled. + operationId: exemption-request-push-ruleset/cancelled + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *857 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-completed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass request was completed. + operationId: exemption-request-push-ruleset/completed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *858 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-created: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass request was created. + operationId: exemption-request-push-ruleset/created externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset parameters: @@ -143887,6 +143329,137 @@ webhooks: - repository - organization - app + exemption-request-push-ruleset-response-dismissed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass response was dismissed. + operationId: exemption-request-push-ruleset/response-dismissed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *859 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-response-submitted: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A response either approving or rejecting the push ruleset bypass + request was submitted. + operationId: exemption-request-push-ruleset/response-submitted + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *856 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app fork: post: summary: |- @@ -143941,7 +143514,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *832 + enterprise: *833 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144619,9 +144192,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - forkee @@ -144767,9 +144340,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pages: description: The pages that were updated. type: array @@ -144807,7 +144380,7 @@ webhooks: - action - sha - html_url - repository: *835 + repository: *836 sender: *4 required: - pages @@ -144883,10 +144456,10 @@ webhooks: type: string enum: - created - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: &860 + organization: *835 + repositories: &861 description: An array of repository objects that the installation can access. type: array @@ -144912,8 +144485,8 @@ webhooks: - name - full_name - private - repository: *835 - requester: *859 + repository: *836 + requester: *860 sender: *4 required: - action @@ -144988,11 +144561,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145069,11 +144642,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145150,10 +144723,10 @@ webhooks: type: string enum: - added - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories_added: &861 + organization: *835 + repositories_added: &862 description: An array of repository objects, which were added to the installation. type: array @@ -145199,15 +144772,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *835 - repository_selection: &862 + repository: *836 + repository_selection: &863 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *859 + requester: *860 sender: *4 required: - action @@ -145286,10 +144859,10 @@ webhooks: type: string enum: - removed - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories_added: *861 + organization: *835 + repositories_added: *862 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -145316,9 +144889,9 @@ webhooks: - name - full_name - private - repository: *835 - repository_selection: *862 - requester: *859 + repository: *836 + repository_selection: *863 + requester: *860 sender: *4 required: - action @@ -145397,11 +144970,11 @@ webhooks: type: string enum: - suspend - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145584,10 +145157,10 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 target_type: type: string @@ -145666,11 +145239,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145918,8 +145491,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147098,8 +146671,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -147179,7 +146752,7 @@ webhooks: type: string enum: - deleted - comment: &863 + comment: &864 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147346,8 +146919,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148524,8 +148097,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -148605,7 +148178,7 @@ webhooks: type: string enum: - edited - changes: &887 + changes: &888 description: The changes to the comment. type: object properties: @@ -148617,9 +148190,9 @@ webhooks: type: string required: - from - comment: *863 - enterprise: *832 - installation: *833 + comment: *864 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149797,8 +149370,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -149888,9 +149461,9 @@ webhooks: type: number blocking_issue: *212 blocking_issue_repo: *76 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -149979,9 +149552,9 @@ webhooks: type: number blocking_issue: *212 blocking_issue_repo: *76 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150069,9 +149642,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150160,9 +149733,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150242,10 +149815,10 @@ webhooks: type: string enum: - assigned - assignee: *859 - enterprise: *832 - installation: *833 - issue: &866 + assignee: *860 + enterprise: *833 + installation: *834 + issue: &867 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151181,8 +150754,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -151262,8 +150835,8 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -152347,8 +151920,8 @@ webhooks: required: - state - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -152427,8 +152000,8 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153359,8 +152932,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -153439,8 +153012,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154373,7 +153946,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &864 + milestone: &865 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154516,8 +154089,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -154616,8 +154189,8 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155553,9 +155126,9 @@ webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *834 - repository: *835 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -155635,8 +155208,8 @@ webhooks: type: string enum: - labeled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156571,9 +156144,9 @@ webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *834 - repository: *835 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -156653,8 +156226,8 @@ webhooks: type: string enum: - locked - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157591,8 +157164,8 @@ webhooks: format: uri user_view_type: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -157671,8 +157244,8 @@ webhooks: type: string enum: - milestoned - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158603,9 +158176,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *864 - organization: *834 - repository: *835 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -160078,8 +159651,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161014,8 +160587,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -161095,9 +160668,9 @@ webhooks: type: string enum: - pinned - enterprise: *832 - installation: *833 - issue: &865 + enterprise: *833 + installation: *834 + issue: &866 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -162026,8 +161599,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -162106,8 +161679,8 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163043,8 +162616,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164536,11 +164109,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *832 - installation: *833 - issue: *865 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *866 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164620,12 +164193,12 @@ webhooks: type: string enum: - typed - enterprise: *832 - installation: *833 - issue: *866 + enterprise: *833 + installation: *834 + issue: *867 type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164706,7 +164279,7 @@ webhooks: type: string enum: - unassigned - assignee: &890 + assignee: &891 title: User type: - object @@ -164778,11 +164351,11 @@ webhooks: required: - login - id - enterprise: *832 - installation: *833 - issue: *866 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *867 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164861,12 +164434,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *832 - installation: *833 - issue: *866 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *867 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164946,8 +164519,8 @@ webhooks: type: string enum: - unlocked - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165882,8 +165455,8 @@ webhooks: format: uri user_view_type: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -165963,11 +165536,11 @@ webhooks: type: string enum: - unpinned - enterprise: *832 - installation: *833 - issue: *865 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *866 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166046,12 +165619,12 @@ webhooks: type: string enum: - untyped - enterprise: *832 - installation: *833 - issue: *866 + enterprise: *833 + installation: *834 + issue: *867 type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166131,11 +165704,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166213,11 +165786,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166327,11 +165900,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166413,9 +165986,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: &867 + enterprise: *833 + installation: *834 + marketplace_purchase: &868 title: Marketplace Purchase type: object required: @@ -166503,8 +166076,8 @@ webhooks: type: integer unit_count: type: integer - organization: *834 - previous_marketplace_purchase: &868 + organization: *835 + previous_marketplace_purchase: &869 title: Marketplace Purchase type: object properties: @@ -166588,7 +166161,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -166668,10 +166241,10 @@ webhooks: - changed effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166759,7 +166332,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -166841,10 +166414,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166930,7 +166503,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -167011,8 +166584,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 marketplace_purchase: title: Marketplace Purchase type: object @@ -167098,9 +166671,9 @@ webhooks: type: integer unit_count: type: integer - organization: *834 - previous_marketplace_purchase: *868 - repository: *835 + organization: *835 + previous_marketplace_purchase: *869 + repository: *836 sender: *4 required: - action @@ -167180,12 +166753,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 - previous_marketplace_purchase: *868 - repository: *835 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 + previous_marketplace_purchase: *869 + repository: *836 sender: *4 required: - action @@ -167287,11 +166860,11 @@ webhooks: type: string required: - to - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167393,11 +166966,11 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167476,11 +167049,11 @@ webhooks: type: string enum: - removed - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167558,11 +167131,11 @@ webhooks: type: string enum: - added - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167640,7 +167213,7 @@ webhooks: required: - login - id - team: &869 + team: &870 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -167870,11 +167443,11 @@ webhooks: type: string enum: - removed - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167953,7 +167526,7 @@ webhooks: required: - login - id - team: *869 + team: *870 required: - action - scope @@ -168035,8 +167608,8 @@ webhooks: type: string enum: - checks_requested - installation: *833 - merge_group: &870 + installation: *834 + merge_group: &871 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -168055,15 +167628,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *515 + head_commit: *511 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168149,10 +167722,10 @@ webhooks: - merged - invalidated - dequeued - installation: *833 - merge_group: *870 - organization: *834 - repository: *835 + installation: *834 + merge_group: *871 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168225,7 +167798,7 @@ webhooks: type: string enum: - deleted - enterprise: *832 + enterprise: *833 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -168334,12 +167907,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *833 - organization: *834 + installation: *834 + organization: *835 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -168419,11 +167992,11 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168502,9 +168075,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - milestone: &871 + enterprise: *833 + installation: *834 + milestone: &872 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168646,8 +168219,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168726,11 +168299,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168840,11 +168413,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168924,11 +168497,11 @@ webhooks: type: string enum: - opened - enterprise: *832 - installation: *833 - milestone: *871 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *872 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169007,11 +168580,11 @@ webhooks: type: string enum: - blocked - blocked_user: *859 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + blocked_user: *860 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169090,11 +168663,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *859 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + blocked_user: *860 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169170,7 +168743,7 @@ webhooks: enum: - created definition: *144 - enterprise: *832 + enterprise: *833 sender: *4 required: - action @@ -169250,8 +168823,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 sender: *4 required: - action @@ -169324,8 +168897,8 @@ webhooks: enum: - updated definition: *144 - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 sender: *4 required: - action @@ -169397,9 +168970,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 new_property_values: type: array @@ -169487,9 +169060,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - membership: &872 + enterprise: *833 + installation: *834 + membership: &873 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -169599,8 +169172,8 @@ webhooks: - role - organization_url - user - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169678,11 +169251,11 @@ webhooks: type: string enum: - member_added - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169761,8 +169334,8 @@ webhooks: type: string enum: - member_invited - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -169884,10 +169457,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 - user: *859 + user: *860 required: - action - invitation @@ -169965,11 +169538,11 @@ webhooks: type: string enum: - member_removed - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -170056,11 +169629,11 @@ webhooks: properties: from: type: string - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -170136,9 +169709,9 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 package: description: Information about the package. type: object @@ -170661,7 +170234,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &873 + items: &874 title: Ruby Gems metadata type: object properties: @@ -170758,7 +170331,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -170834,9 +170407,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 package: description: Information about the package. type: object @@ -171198,7 +170771,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *873 + items: *874 source_url: type: string format: uri @@ -171269,7 +170842,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -171450,12 +171023,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *832 + enterprise: *833 id: type: integer - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - id @@ -171532,7 +171105,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &874 + personal_access_token_request: &875 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -171682,10 +171255,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *832 - organization: *834 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171762,11 +171335,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *874 - enterprise: *832 - organization: *834 + personal_access_token_request: *875 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171842,11 +171415,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *874 - enterprise: *832 - organization: *834 + personal_access_token_request: *875 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171921,11 +171494,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *874 - organization: *834 - enterprise: *832 + personal_access_token_request: *875 + organization: *835 + enterprise: *833 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -172030,7 +171603,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *875 + last_response: *876 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172062,8 +171635,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 zen: description: Random string of GitHub zen. @@ -172308,10 +171881,10 @@ webhooks: - from required: - note - enterprise: *832 - installation: *833 - organization: *834 - project_card: &876 + enterprise: *833 + installation: *834 + organization: *835 + project_card: &877 title: Project Card type: object properties: @@ -172434,7 +172007,7 @@ webhooks: - creator - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -172515,11 +172088,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project_card: *876 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_card: *877 + repository: *836 sender: *4 required: - action @@ -172599,9 +172172,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 project_card: title: Project Card type: object @@ -172731,7 +172304,7 @@ webhooks: repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -172825,11 +172398,11 @@ webhooks: - from required: - note - enterprise: *832 - installation: *833 - organization: *834 - project_card: *876 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_card: *877 + repository: *836 sender: *4 required: - action @@ -172923,9 +172496,9 @@ webhooks: - from required: - column_id - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 project_card: allOf: - title: Project Card @@ -173122,7 +172695,7 @@ webhooks: type: string required: - after_id - repository: *835 + repository: *836 sender: *4 required: - action @@ -173202,10 +172775,10 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - organization: *834 - project: &878 + enterprise: *833 + installation: *834 + organization: *835 + project: &879 title: Project type: object properties: @@ -173332,7 +172905,7 @@ webhooks: - creator - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -173412,10 +172985,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project_column: &877 + enterprise: *833 + installation: *834 + organization: *835 + project_column: &878 title: Project Column type: object properties: @@ -173455,7 +173028,7 @@ webhooks: - name - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -173534,14 +173107,14 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -173630,11 +173203,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 + repository: *836 sender: *4 required: - action @@ -173714,11 +173287,11 @@ webhooks: type: string enum: - moved - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 + repository: *836 sender: *4 required: - action @@ -173798,11 +173371,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -173882,14 +173455,14 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - project: *878 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -173990,11 +173563,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -174073,11 +173646,11 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -174158,8 +173731,8 @@ webhooks: type: string enum: - closed - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174241,8 +173814,8 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174324,8 +173897,8 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174447,8 +174020,8 @@ webhooks: type: string to: type: string - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174532,7 +174105,7 @@ webhooks: type: string enum: - archived - changes: &882 + changes: &883 type: object properties: archived_at: @@ -174548,9 +174121,9 @@ webhooks: - string - 'null' format: date-time - installation: *833 - organization: *834 - projects_v2_item: &879 + installation: *834 + organization: *835 + projects_v2_item: &880 title: Projects v2 Item description: An item belonging to a project type: object @@ -174690,9 +174263,9 @@ webhooks: - 'null' to: type: string - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174774,9 +174347,9 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174857,9 +174430,9 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174964,7 +174537,7 @@ webhooks: oneOf: - type: string - type: integer - - &880 + - &881 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -174988,7 +174561,7 @@ webhooks: required: - id - name - - &881 + - &882 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175028,8 +174601,8 @@ webhooks: oneOf: - type: string - type: integer - - *880 - *881 + - *882 type: - 'null' - string @@ -175052,9 +174625,9 @@ webhooks: - 'null' required: - body - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175151,9 +174724,9 @@ webhooks: type: - string - 'null' - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175236,10 +174809,10 @@ webhooks: type: string enum: - restored - changes: *882 - installation: *833 - organization: *834 - projects_v2_item: *879 + changes: *883 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175321,8 +174894,8 @@ webhooks: type: string enum: - reopened - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -175404,9 +174977,9 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175487,9 +175060,9 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175635,9 +175208,9 @@ webhooks: - string - 'null' format: date - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175708,10 +175281,10 @@ webhooks: title: public event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - repository @@ -175788,13 +175361,13 @@ webhooks: type: string enum: - assigned - assignee: *859 - enterprise: *832 - installation: *833 - number: &884 + assignee: *860 + enterprise: *833 + installation: *834 + number: &885 description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -178143,7 +177716,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -178225,11 +177798,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -180571,7 +180144,7 @@ webhooks: - draft reason: type: string - repository: *835 + repository: *836 sender: *4 required: - action @@ -180653,11 +180226,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -182999,7 +182572,7 @@ webhooks: - draft reason: type: string - repository: *835 + repository: *836 sender: *4 required: - action @@ -183081,11 +182654,11 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: &885 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: &886 allOf: - *678 - type: object @@ -183149,7 +182722,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *835 + repository: *836 sender: *4 required: - action @@ -183230,12 +182803,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -183315,11 +182888,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *832 + enterprise: *833 milestone: *392 - number: *884 - organization: *834 - pull_request: &886 + number: *885 + organization: *835 + pull_request: &887 title: Pull Request type: object properties: @@ -185646,7 +185219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -185725,11 +185298,11 @@ webhooks: type: string enum: - dequeued - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -188075,7 +187648,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *835 + repository: *836 sender: *4 required: - action @@ -188199,12 +187772,12 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -188284,11 +187857,11 @@ webhooks: type: string enum: - enqueued - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -190619,7 +190192,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -190699,11 +190272,11 @@ webhooks: type: string enum: - labeled - enterprise: *832 - installation: *833 - label: *853 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + label: *854 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -193051,7 +192624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -193132,10 +192705,10 @@ webhooks: type: string enum: - locked - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -195481,7 +195054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -195561,12 +195134,12 @@ webhooks: type: string enum: - milestoned - enterprise: *832 + enterprise: *833 milestone: *392 - number: *884 - organization: *834 - pull_request: *886 - repository: *835 + number: *885 + organization: *835 + pull_request: *887 + repository: *836 sender: *4 required: - action @@ -195645,12 +195218,12 @@ webhooks: type: string enum: - opened - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -195731,12 +195304,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -195816,12 +195389,12 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -196196,9 +195769,9 @@ webhooks: - start_side - side - reactions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -198428,7 +198001,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -198508,7 +198081,7 @@ webhooks: type: string enum: - deleted - comment: &888 + 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. @@ -198801,9 +198374,9 @@ webhooks: - start_side - side - reactions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -201021,7 +200594,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -201101,11 +200674,11 @@ webhooks: type: string enum: - edited - changes: *887 - comment: *888 - enterprise: *832 - installation: *833 - organization: *834 + changes: *888 + comment: *889 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -203326,7 +202899,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -203407,9 +202980,9 @@ webhooks: type: string enum: - dismissed - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -205642,7 +205215,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 review: description: The review that was affected. type: object @@ -205893,9 +205466,9 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -208009,8 +207582,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 - review: &889 + repository: *836 + review: &890 description: The review that was affected. type: object properties: @@ -208248,12 +207821,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -210600,7 +210173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_reviewer: title: User type: @@ -210686,12 +210259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -213045,7 +212618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213240,12 +212813,12 @@ webhooks: type: string enum: - review_requested - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -215594,7 +215167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_reviewer: title: User type: @@ -215681,12 +215254,12 @@ webhooks: type: string enum: - review_requested - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -218026,7 +217599,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_team: title: Team description: Groups of organization members that gives permissions @@ -218210,9 +217783,9 @@ webhooks: type: string enum: - submitted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -220448,8 +220021,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 - review: *889 + repository: *836 + review: *890 sender: *4 required: - action @@ -220529,9 +220102,9 @@ webhooks: type: string enum: - resolved - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -222662,7 +222235,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 sender: *4 thread: type: object @@ -223059,9 +222632,9 @@ webhooks: type: string enum: - unresolved - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -225175,7 +224748,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 sender: *4 thread: type: object @@ -225574,10 +225147,10 @@ webhooks: type: string before: type: string - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -227912,7 +227485,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -227994,11 +227567,11 @@ webhooks: type: string enum: - unassigned - assignee: *890 - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + assignee: *891 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -230348,7 +229921,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -230427,11 +230000,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *832 - installation: *833 - label: *853 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + label: *854 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -232770,7 +232343,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -232851,10 +232424,10 @@ webhooks: type: string enum: - unlocked - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -235183,7 +234756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -235386,7 +234959,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *832 + enterprise: *833 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235481,8 +235054,8 @@ webhooks: - url - author - committer - installation: *833 - organization: *834 + installation: *834 + organization: *835 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -236070,9 +235643,9 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 registry_package: type: object properties: @@ -236549,7 +236122,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *873 + items: *874 summary: type: string tag_name: @@ -236605,7 +236178,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -236683,9 +236256,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 registry_package: type: object properties: @@ -236997,7 +236570,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *873 + items: *874 summary: type: string tag_name: @@ -237047,7 +236620,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -237124,10 +236697,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - release: &891 + enterprise: *833 + installation: *834 + organization: *835 + release: &892 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237458,7 +237031,7 @@ webhooks: - updated_at - zipball_url - body - repository: *835 + repository: *836 sender: *4 required: - action @@ -237535,11 +237108,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -237656,11 +237229,11 @@ webhooks: type: boolean required: - to - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -237738,9 +237311,9 @@ webhooks: type: string enum: - prereleased - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -238076,7 +237649,7 @@ webhooks: - string - 'null' format: uri - repository: *835 + repository: *836 sender: *4 required: - action @@ -238152,10 +237725,10 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - release: &892 + enterprise: *833 + installation: *834 + organization: *835 + release: &893 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -238488,7 +238061,7 @@ webhooks: - string - 'null' format: uri - repository: *835 + repository: *836 sender: *4 required: - action @@ -238564,11 +238137,11 @@ webhooks: type: string enum: - released - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -238644,11 +238217,11 @@ webhooks: type: string enum: - unpublished - enterprise: *832 - installation: *833 - organization: *834 - release: *892 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *893 + repository: *836 sender: *4 required: - action @@ -238724,10 +238297,10 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_advisory: *730 sender: *4 required: @@ -238804,10 +238377,10 @@ webhooks: type: string enum: - reported - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_advisory: *730 sender: *4 required: @@ -238884,10 +238457,10 @@ webhooks: type: string enum: - archived - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -238964,10 +238537,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239045,10 +238618,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239133,10 +238706,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239251,10 +238824,10 @@ webhooks: - 'null' items: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239326,10 +238899,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 status: type: string @@ -239410,10 +238983,10 @@ webhooks: type: string enum: - privatized - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239490,10 +239063,10 @@ webhooks: type: string enum: - publicized - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239587,10 +239160,10 @@ webhooks: - name required: - repository - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239670,10 +239243,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 sender: *4 required: @@ -239752,10 +239325,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 sender: *4 required: @@ -239834,10 +239407,10 @@ webhooks: type: string enum: - edited - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 changes: type: object @@ -240145,10 +239718,10 @@ webhooks: - from required: - owner - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240226,10 +239799,10 @@ webhooks: type: string enum: - unarchived - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240307,7 +239880,7 @@ webhooks: type: string enum: - create - alert: &893 + alert: &894 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240431,10 +240004,10 @@ webhooks: type: string enum: - open - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240644,10 +240217,10 @@ webhooks: type: string enum: - dismissed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240725,11 +240298,11 @@ webhooks: type: string enum: - reopen - alert: *893 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *894 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240931,10 +240504,10 @@ webhooks: enum: - fixed - open - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241012,7 +240585,7 @@ webhooks: type: string enum: - assigned - alert: &894 + alert: &895 type: object properties: number: *123 @@ -241127,10 +240700,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241208,11 +240781,11 @@ webhooks: type: string enum: - created - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241293,11 +240866,11 @@ webhooks: type: string enum: - created - alert: *894 - installation: *833 - location: *895 - organization: *834 - repository: *835 + alert: *895 + installation: *834 + location: *896 + organization: *835 + repository: *836 sender: *4 required: - location @@ -241535,11 +241108,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241617,11 +241190,11 @@ webhooks: type: string enum: - reopened - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241699,11 +241272,11 @@ webhooks: type: string enum: - resolved - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241781,12 +241354,12 @@ webhooks: type: string enum: - unassigned - alert: *894 + alert: *895 assignee: *4 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241864,11 +241437,11 @@ webhooks: type: string enum: - validated - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241998,10 +241571,10 @@ webhooks: - organization - enterprise - - repository: *835 - enterprise: *832 - installation: *833 - organization: *834 + repository: *836 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -242079,11 +241652,11 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - security_advisory: &896 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + security_advisory: &897 description: The details of the security advisory, including summary, description, and severity. type: object @@ -242269,11 +241842,11 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - security_advisory: *896 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + security_advisory: *897 sender: *4 required: - action @@ -242346,10 +241919,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -242536,10 +242109,10 @@ webhooks: type: object properties: security_and_analysis: *402 - enterprise: *832 - installation: *833 - organization: *834 - repository: *453 + enterprise: *833 + installation: *834 + organization: *835 + repository: *449 sender: *4 required: - changes @@ -242617,12 +242190,12 @@ webhooks: type: string enum: - cancelled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: &897 + sponsorship: &898 type: object properties: created_at: @@ -242927,12 +242500,12 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - sponsorship @@ -243020,12 +242593,12 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243102,17 +242675,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &898 + 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: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - sponsorship @@ -243186,7 +242759,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &899 + changes: &900 type: object properties: tier: @@ -243230,13 +242803,13 @@ webhooks: - from required: - tier - effective_date: *898 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + effective_date: *899 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243313,13 +242886,13 @@ webhooks: type: string enum: - tier_changed - changes: *899 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + changes: *900 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243393,10 +242966,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243480,10 +243053,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243917,15 +243490,15 @@ webhooks: type: - string - 'null' - enterprise: *832 + enterprise: *833 id: description: The unique identifier of the status. type: integer - installation: *833 + installation: *834 name: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 sha: description: The Commit SHA. @@ -244041,9 +243614,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244133,9 +243706,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244225,9 +243798,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244317,9 +243890,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244396,12 +243969,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - team: &900 + team: &901 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244631,9 +244204,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -245103,7 +244676,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -245179,9 +244752,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -245651,7 +245224,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -245728,9 +245301,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -246200,7 +245773,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -246344,9 +245917,9 @@ webhooks: - from required: - permissions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -246816,7 +246389,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - changes @@ -246894,9 +246467,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -247366,7 +246939,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -247442,10 +247015,10 @@ webhooks: type: string enum: - started - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -247518,17 +247091,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *832 + enterprise: *833 inputs: type: - object - 'null' additionalProperties: true - installation: *833 - organization: *834 + installation: *834 + organization: *835 ref: type: string - repository: *835 + repository: *836 sender: *4 workflow: type: string @@ -247610,10 +247183,10 @@ webhooks: type: string enum: - completed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: allOf: @@ -247869,7 +247442,7 @@ webhooks: type: string required: - conclusion - deployment: *585 + deployment: *583 required: - action - repository @@ -247948,10 +247521,10 @@ webhooks: type: string enum: - in_progress - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: allOf: @@ -248233,7 +247806,7 @@ webhooks: required: - status - steps - deployment: *585 + deployment: *583 required: - action - repository @@ -248312,10 +247885,10 @@ webhooks: type: string enum: - queued - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: type: object @@ -248461,7 +248034,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *583 required: - action - repository @@ -248540,10 +248113,10 @@ webhooks: type: string enum: - waiting - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: type: object @@ -248690,7 +248263,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *583 required: - action - repository @@ -248770,12 +248343,12 @@ webhooks: type: string enum: - completed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: *849 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -249794,12 +249367,12 @@ webhooks: type: string enum: - in_progress - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: *849 + workflow: *850 workflow_run: title: Workflow Run type: object @@ -250803,12 +250376,12 @@ webhooks: type: string enum: - requested - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: *849 + workflow: *850 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 67e39e154..80d080638 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -146306,7 +146306,7 @@ "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { "post": { "summary": "Set cluster deployment records", - "description": "Set deployment records for a given cluster.", + "description": "Set deployment records for a given cluster.\nIf proposed records in the 'deployments' field have identical 'cluster', 'logical_environment',\n'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated.\nIf no existing records match, new records will be created.", "tags": [ "orgs" ], @@ -146472,7 +146472,7 @@ }, "responses": { "200": { - "description": "Artifact deployment record stored successfully.", + "description": "Deployment records created or updated successfully.\n", "content": { "application/json": { "schema": { @@ -253370,19 +253370,28 @@ } } }, - "/orgs/{org}/properties/schema": { + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { - "summary": "Get all custom properties for an organization", - "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "summary": "List items for an organization project view", + "description": "List items in an organization project with the saved view's filter applied.", "tags": [ - "orgs" + "projects" ], - "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", + "operationId": "projects/list-view-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view" }, "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "org", "description": "The organization name. The name is not case sensitive.", @@ -253391,6 +253400,62 @@ "schema": { "type": "string" } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } } ], "responses": { @@ -253401,137 +253466,1285 @@ "schema": { "type": "array", "items": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", + "title": "Projects v2 Item", + "description": "An item belonging to a project", "type": "object", "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" + "id": { + "type": "number", + "description": "The unique identifier of the project item." }, - "url": { + "node_id": { "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + "description": "The node ID of the project item." }, - "source_type": { + "project_url": { "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], + "format": "uri", + "description": "The API URL of the project that contains this item.", "examples": [ - "organization" + "https://api.github.com/users/monalisa/2/projectsV2/3" ] }, - "value_type": { + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", "type": "string", "enum": [ - "string", - "single_select", - "multi_select", - "true_false", - "url" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" + "Issue", + "PullRequest", + "DraftIssue" ] }, - "required": { - "type": "boolean", - "description": "Whether the property is required." + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." }, - "default_value": { - "oneOf": [ - { - "type": "string" + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" + }, + "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" ] }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "allowed_values": { + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - }, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] }, - "values_editable_by": { + "item_url": { "type": [ "string", "null" ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", + "format": "uri", + "description": "The API URL of this item.", "examples": [ - "org_actors" + "https://api.github.com/users/monalisa/2/projectsV2/items/3" ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." } }, "required": [ - "property_name", - "value_type" + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] } }, "examples": { "default": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } ], - "values_editable_by": "org_actors" + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/orgs/{org}/properties/schema": { + "get": { + "summary": "Get all custom properties for an organization", + "description": "Gets all custom properties defined for an organization.\nOrganization members can read these properties.", + "tags": [ + "orgs" + ], + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false", + "url" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + }, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] } } } @@ -287743,17 +288956,17 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/external-groups": { "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List a connection between an external group and a team", + "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", + "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -287773,2503 +288986,406 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ExternalGroups", + "description": "A list of external groups available to be connected to a team", + "type": "object", + "properties": { + "groups": { + "description": "An array of external groups available to be mapped to a team", + "type": "array", + "items": { + "type": "object", + "required": [ + "group_id", + "group_name", + "updated_at" + ], + "properties": { + "group_id": { + "description": "The internal ID of the group", + "type": "integer", + "examples": [ + 1 + ] + }, + "group_name": { + "description": "The display name of the group", + "type": "string", + "examples": [ + "group-azuread-test" + ] + }, + "updated_at": { + "description": "The time of the last update for this group", + "type": "string", + "examples": [ + "2019-06-03 22:27:15:000 -700" + ] + } + } + }, + "examples": [ + { + "group_id": 1, + "group_name": "group-azuread-test", + "updated_at": "2021-01-03 22:27:15:000 -700" + }, + { + "group_id": 2, + "group_name": "group-azuread-test2", + "updated_at": "2021-06-03 22:27:15:000 -700" + } + ] + } + } + }, + "examples": { + "default": { + "value": { + "groups": [ + { + "group_id": "123", + "group_name": "Octocat admins", + "updated_at": "2021-01-24T11:31:04-06:00" + }, + { + "group_id": "456", + "group_name": "Octocat docs members", + "updated_at": "2021-03-24T11:31:04-06:00" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "teams", + "subcategory": "external-groups" + } + }, + "patch": { + "summary": "Update the connection between an external group and a team", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "tags": [ + "teams" + ], + "operationId": "teams/link-external-idp-group-to-team-for-org", + "externalDocs": { + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, { - "name": "discussion_number", - "description": "The number that identifies the discussion.", + "name": "team_slug", + "description": "The slug of the team name.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "group_id": { + "type": "integer", + "description": "External Group Id", + "examples": [ + 1 + ] + } + }, + "required": [ + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "group_id": 123 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ExternalGroup", + "description": "Information about an external group's usage and its members", + "type": "object", + "required": [ + "group_id", + "group_name", + "teams", + "members" + ], + "properties": { + "group_id": { + "description": "The internal ID of the group", + "type": "integer", + "examples": [ + 1 + ] + }, + "group_name": { + "description": "The display name for the group", + "type": "string", + "examples": [ + "group-azuread-test" + ] + }, + "updated_at": { + "description": "The date when the group was last updated_at", + "type": "string", + "examples": [ + "2021-01-03 22:27:15:000 -700" + ] + }, + "teams": { + "description": "An array of teams linked to this group", + "type": "array", + "items": { + "type": "object", + "required": [ + "team_id", + "team_name" + ], + "properties": { + "team_id": { + "description": "The id for a team", + "type": "integer", + "examples": [ + 1 + ] + }, + "team_name": { + "description": "The name of the team", + "type": "string", + "examples": [ + "team-test" + ] + } + } + }, + "examples": [ + { + "team_id": 1, + "team_name": "team-test" + }, + { + "team_id": 2, + "team_name": "team-test2" + } + ] + }, + "members": { + "description": "An array of external members linked to this group", + "type": "array", + "items": { + "type": "object", + "required": [ + "member_id", + "member_login", + "member_name", + "member_email" + ], + "properties": { + "member_id": { + "description": "The internal user ID of the identity", + "type": "integer", + "examples": [ + 1 + ] + }, + "member_login": { + "description": "The handle/login for the user", + "type": "string", + "examples": [ + "mona-lisa_eocsaxrs" + ] + }, + "member_name": { + "description": "The user display name/profile name", + "type": "string", + "examples": [ + "Mona Lisa" + ] + }, + "member_email": { + "description": "An email attached to a user", + "type": "string", + "examples": [ + "mona_lisa@github.com" + ] + } + } + }, + "examples": [ + { + "member_id": 1, + "member_login": "mona-lisa_eocsaxrs", + "member_name": "Mona Lisa", + "member_email": "mona_lisa@github.com" + }, + { + "member_id": 2, + "member_login": "octo-lisa_eocsaxrs", + "member_name": "Octo Lisa", + "member_email": "octo_lisa@github.com" + } + ] + } + } + }, + "examples": { + "default": { + "value": { + "group_id": "123", + "group_name": "Octocat admins", + "updated_at": "2021-01-24T11:31:04-06:00", + "teams": [ + { + "team_id": 1, + "team_name": "team-test" + }, + { + "team_id": 2, + "team_name": "team-test2" + } + ], + "members": [ + { + "member_id": 1, + "member_login": "mona-lisa_eocsaxrs", + "member_name": "Mona Lisa", + "member_email": "mona_lisa@github.com" + }, + { + "member_id": 2, + "member_login": "octo-lisa_eocsaxrs", + "member_name": "Octo Lisa", + "member_email": "octo_lisa@github.com" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" + } + }, + "delete": { + "summary": "Remove the connection between an external group and a team", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "tags": [ + "teams" + ], + "operationId": "teams/unlink-external-idp-group-from-team-for-org", + "externalDocs": { + "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": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "name": "comment_number", - "description": "The number that identifies the comment.", + "name": "team_slug", + "description": "The slug of the team name.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" + } + } + }, + "/orgs/{org}/teams/{team_slug}/invitations": { + "get": { + "summary": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", + "tags": [ + "teams" + ], + "operationId": "teams/list-pending-invitations-in-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "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.", - "in": "query", - "required": false, + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion comment reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete team discussion reaction", - "description": "> [!NOTE]\n> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-team-discussion", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/orgs/{org}/teams/{team_slug}/external-groups": { - "get": { - "summary": "List a connection between an external group and a team", - "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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": "ExternalGroups", - "description": "A list of external groups available to be connected to a team", - "type": "object", - "properties": { - "groups": { - "description": "An array of external groups available to be mapped to a team", - "type": "array", - "items": { - "type": "object", - "required": [ - "group_id", - "group_name", - "updated_at" - ], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [ - 1 - ] - }, - "group_name": { - "description": "The display name of the group", - "type": "string", - "examples": [ - "group-azuread-test" - ] - }, - "updated_at": { - "description": "The time of the last update for this group", - "type": "string", - "examples": [ - "2019-06-03 22:27:15:000 -700" - ] - } - } - }, - "examples": [ - { - "group_id": 1, - "group_name": "group-azuread-test", - "updated_at": "2021-01-03 22:27:15:000 -700" - }, - { - "group_id": 2, - "group_name": "group-azuread-test2", - "updated_at": "2021-06-03 22:27:15:000 -700" - } - ] - } - } - }, - "examples": { - "default": { - "value": { - "groups": [ - { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00" - }, - { - "group_id": "456", - "group_name": "Octocat docs members", - "updated_at": "2021-03-24T11:31:04-06:00" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "external-groups" - } - }, - "patch": { - "summary": "Update the connection between an external group and a team", - "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/link-external-idp-group-to-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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": { - "group_id": { - "type": "integer", - "description": "External Group Id", - "examples": [ - 1 - ] - } - }, - "required": [ - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "group_id": 123 - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "ExternalGroup", - "description": "Information about an external group's usage and its members", - "type": "object", - "required": [ - "group_id", - "group_name", - "teams", - "members" - ], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [ - 1 - ] - }, - "group_name": { - "description": "The display name for the group", - "type": "string", - "examples": [ - "group-azuread-test" - ] - }, - "updated_at": { - "description": "The date when the group was last updated_at", - "type": "string", - "examples": [ - "2021-01-03 22:27:15:000 -700" - ] - }, - "teams": { - "description": "An array of teams linked to this group", - "type": "array", - "items": { - "type": "object", - "required": [ - "team_id", - "team_name" - ], - "properties": { - "team_id": { - "description": "The id for a team", - "type": "integer", - "examples": [ - 1 - ] - }, - "team_name": { - "description": "The name of the team", - "type": "string", - "examples": [ - "team-test" - ] - } - } - }, - "examples": [ - { - "team_id": 1, - "team_name": "team-test" - }, - { - "team_id": 2, - "team_name": "team-test2" - } - ] - }, - "members": { - "description": "An array of external members linked to this group", - "type": "array", - "items": { - "type": "object", - "required": [ - "member_id", - "member_login", - "member_name", - "member_email" - ], - "properties": { - "member_id": { - "description": "The internal user ID of the identity", - "type": "integer", - "examples": [ - 1 - ] - }, - "member_login": { - "description": "The handle/login for the user", - "type": "string", - "examples": [ - "mona-lisa_eocsaxrs" - ] - }, - "member_name": { - "description": "The user display name/profile name", - "type": "string", - "examples": [ - "Mona Lisa" - ] - }, - "member_email": { - "description": "An email attached to a user", - "type": "string", - "examples": [ - "mona_lisa@github.com" - ] - } - } - }, - "examples": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - } - }, - "examples": { - "default": { - "value": { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00", - "teams": [ - { - "team_id": 1, - "team_name": "team-test" - }, - { - "team_id": 2, - "team_name": "team-test2" - } - ], - "members": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "teams", - "subcategory": "external-groups" - } - }, - "delete": { - "summary": "Remove the connection between an external group and a team", - "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "teams" - ], - "operationId": "teams/unlink-external-idp-group-from-team-for-org", - "externalDocs": { - "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": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "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" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "teams", - "subcategory": "external-groups" - } - } - }, - "/orgs/{org}/teams/{team_slug}/invitations": { - "get": { - "summary": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", - "tags": [ - "teams" - ], - "operationId": "teams/list-pending-invitations-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" + "type": "string" } }, { @@ -703888,1420 +703004,6 @@ "deprecated": true } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/list-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "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": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, - "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-team-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" - }, - "parameters": [ - { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-05-20T20:09:31Z" - ] - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "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 - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, "/teams/{team_id}/invitations": { "get": { "summary": "List pending team invitations (Legacy)", @@ -838592,497 +836294,1249 @@ } ] } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": true, - "category": "projects", - "subcategory": "items" - } - }, - "patch": { - "summary": "Update project item for user", - "description": "Update a specific item in a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/update-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "description": "A list of field updates to apply.", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the project field to update." - }, - "value": { - "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ], - "type": [ - "null", - "string", - "number" - ] - } - }, - "required": [ - "id", - "value" - ] - } - } - }, - "required": [ - "fields" - ] - }, - "examples": { - "text_field": { - "summary": "Update a text field", - "value": { - "fields": [ - { - "id": 123, - "value": "Updated text value" - } - ] - } - }, - "number_field": { - "summary": "Update a number field", - "value": { - "fields": [ - { - "id": 456, - "value": 42.5 - } - ] - } - }, - "date_field": { - "summary": "Update a date field", - "value": { - "fields": [ - { - "id": 789, - "value": "2023-10-05" - } - ] - } - }, - "single_select_field": { - "summary": "Update a single select field", - "value": { - "fields": [ - { - "id": 789, - "value": "47fc9ee4" - } - ] - } - }, - "iteration_field": { - "summary": "Update an iteration field", - "value": { - "fields": [ - { - "id": 1011, - "value": "866ee5b8" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { - "type": "number", - "description": "The unique identifier of the project item." - }, - "node_id": { - "type": "string", - "description": "The node ID of the project item." - }, - "project_url": { - "type": "string", - "format": "uri", - "description": "The API URL of the project that contains this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/3" - ] - }, - "content_type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] - }, - "content": { - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "description": "The content of the item, which varies by content type." - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the item was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "archived_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time when the item was archived.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "item_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The API URL of this item.", - "examples": [ - "https://api.github.com/users/monalisa/2/projectsV2/items/3" - ] - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - }, - "description": "The fields and values associated with this item." - } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + }, + "patch": { + "summary": "Update project item for user", + "description": "Update a specific item in a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/update-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "description": "Field updates to apply to the project item. Only text, number, date, single select, and iteration fields are supported.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "description": "A list of field updates to apply.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the project field to update." + }, + "value": { + "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ], + "type": [ + "null", + "string", + "number" + ] + } + }, + "required": [ + "id", + "value" + ] + } + } + }, + "required": [ + "fields" + ] + }, + "examples": { + "text_field": { + "summary": "Update a text field", + "value": { + "fields": [ + { + "id": 123, + "value": "Updated text value" + } + ] + } + }, + "number_field": { + "summary": "Update a number field", + "value": { + "fields": [ + { + "id": 456, + "value": 42.5 + } + ] + } + }, + "date_field": { + "summary": "Update a date field", + "value": { + "fields": [ + { + "id": 789, + "value": "2023-10-05" + } + ] + } + }, + "single_select_field": { + "summary": "Update a single select field", + "value": { + "fields": [ + { + "id": 789, + "value": "47fc9ee4" + } + ] + } + }, + "iteration_field": { + "summary": "Update an iteration field", + "value": { + "fields": [ + { + "id": 1011, + "value": "866ee5b8" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "text_field": { + "value": { + "id": 13, + "node_id": "PVTI_lAAFAQ0", + "project_url": "https://api.github.com/orgs/github/projectsV2/1", + "content": { + "url": "https://api.github.com/repos/github/Hello-World/pulls/6", + "id": 10, + "node_id": "PR_kwABCg", + "html_url": "https://github.com/github/Hello-World/pull/6", + "diff_url": "https://github.com/github/Hello-World/pull/6.diff", + "patch_url": "https://github.com/github/Hello-World/pull/6.patch", + "issue_url": "https://api.github.com/repos/github/Hello-World/issues/6", + "number": 6, + "state": "open", + "locked": false, + "title": "Issue title", + "user": { + "login": "monalisa", + "id": 161, + "node_id": "U_kgDMoQ", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "body": "Issue body", + "created_at": "2025-08-01T18:44:50Z", + "updated_at": "2025-08-06T19:25:18Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "98e25bad5878e54d22e5338cbc905dd2deedfa34", + "assignee": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "assignees": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ], + "milestone": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + }, + "draft": false, + "commits_url": "https://api.github.com/repos/github/Hello-World/pulls/6/commits", + "review_comments_url": "https://api.github.com/repos/github/Hello-World/pulls/6/comments", + "review_comment_url": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/github/Hello-World/issues/6/comments", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "head": { + "label": "github:branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "ref": "branch-2ee3da8fde8a1adfe6d0809a1a414e4f", + "sha": "a3258d3434ecb2058b2784c8eb8610c2e9937a0d", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "github:branch-0f4ceb14cbe39e4786ffbabb776da599", + "ref": "branch-0f4ceb14cbe39e4786ffbabb776da599", + "sha": "9a9f5a8d77bdc2540412900d3c930fe36a82b5ed", + "user": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "repo": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments", + "created_at": "2025-08-01T18:44:14Z", + "updated_at": "2025-08-01T18:48:38Z", + "pushed_at": "2025-08-01T18:44:50Z", + "git_url": "git://github.localhost/github/Hello-World.git", + "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "clone_url": "https://github.com/github/Hello-World.git", + "svn_url": "https://github.com/github/Hello-World", + "homepage": null, + "size": 6, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6" + }, + "html": { + "href": "https://github.com/github/Hello-World/pull/6" + }, + "issue": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6" + }, + "comments": { + "href": "https://api.github.com/repos/github/Hello-World/issues/6/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/github/Hello-World/pulls/6/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/github/Hello-World/statuses/a3258d3434ecb2058b2784c8eb8610c2e9937a0d" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + }, + "content_type": "PullRequest", + "creator": { + "login": "monalisa", + "id": 2, + "node_id": "U_kgAC", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "user_view_type": "public", + "site_admin": false + }, + "created_at": "2025-08-01T18:44:51Z", + "updated_at": "2025-08-06T19:25:18Z", + "archived_at": null, + "item_url": "https://api.github.com/orgs/github/projectsV2/1/items/13", + "fields": [ + { + "id": 1, + "name": "Title", + "type": "title", + "value": { + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "number": 6, + "url": "https://github.com/5/1/pull/6", + "issue_id": 12, + "state": "open", + "state_reason": null, + "is_draft": false + } + }, + { + "id": 2, + "name": "Assignees", + "type": "assignees", + "value": [ + { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + } + ] + }, + { + "id": 3, + "name": "Status", + "type": "single_select", + "value": { + "id": "98236657", + "name": { + "raw": "Done", + "html": "Done" + }, + "color": "PURPLE", + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } + } + }, + { + "id": 4, + "name": "Labels", + "type": "labels", + "value": [ + { + "id": 19, + "node_id": "LA_kwABEw", + "url": "https://api.github.com/repos/github/Hello-World/labels/bug%20:bug:", + "name": "bug :bug:", + "color": "efe24f", + "default": false, + "description": "Something isn't working" + }, + { + "id": 26, + "node_id": "LA_kwABGg", + "url": "https://api.github.com/repos/github/Hello-World/labels/fun%20size%20%F0%9F%8D%AB", + "name": "fun size 🍫", + "color": "f29c24", + "default": false, + "description": "Extra attention is needed" + }, + { + "id": 33, + "node_id": "LA_kwABIQ", + "url": "https://api.github.com/repos/github/Hello-World/labels/%F0%9F%9A%92%20wontfix", + "name": "🚒 wontfix", + "color": "5891ce", + "default": false, + "description": "This will not be worked on" + } + ] + }, + { + "id": 5, + "name": "Linked pull requests", + "type": "linked_pull_requests", + "value": [] + }, + { + "id": 6, + "name": "Milestone", + "type": "milestone", + "value": { + "url": "https://api.github.com/repos/github/Hello-World/milestones/1", + "html_url": "https://github.com/github/Hello-World/milestone/1", + "labels_url": "https://api.github.com/repos/github/Hello-World/milestones/1/labels", + "id": 1, + "node_id": "MI_kwABAQ", + "number": 1, + "title": "Open milestone", + "description": null, + "creator": { + "login": "octocat", + "id": 175, + "node_id": "U_kgDMrw", + "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", + "user_view_type": "public", + "site_admin": false + }, + "open_issues": 2, + "closed_issues": 1, + "state": "open", + "created_at": "2025-08-01T18:44:30Z", + "updated_at": "2025-08-06T19:14:15Z", + "due_on": null, + "closed_at": null + } + }, + { + "id": 7, + "name": "Repository", + "type": "repository", + "value": { + "id": 1, + "node_id": "R_kgAB", + "name": "Hello-World", + "full_name": "github/Hello-World", + "private": false, + "owner": { + "login": "github", + "id": 5, + "node_id": "O_kgAF", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "user_view_type": "public", + "site_admin": false + }, + "html_url": "https://github.com/github/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/github/Hello-World", + "forks_url": "https://api.github.com/repos/github/Hello-World/forks", + "keys_url": "https://api.github.com/repos/github/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/github/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/github/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/github/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/github/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/github/Hello-World/events", + "assignees_url": "https://api.github.com/repos/github/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/github/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/github/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/github/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/github/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/github/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/github/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/github/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/github/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/github/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/github/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/github/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/github/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/github/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/github/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/github/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/github/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/github/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/github/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/github/Hello-World/merges", + "archive_url": "https://api.github.com/repos/github/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/github/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/github/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/github/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/github/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/github/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/github/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/github/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/github/Hello-World/deployments" + } + }, + { + "id": 8, + "name": "Type", + "type": "issue_type", + "value": null + }, + { + "id": 9, + "name": "Reviewers", + "type": "reviewers", + "value": [ + { + "type": "ReviewRequest", + "status": "pending", + "reviewer": { + "avatarUrl": "https://github.com/images/error/octocat_happy.gif", + "id": 2, + "login": "monalisa", + "url": "https://github.com/monalisa", + "name": "monalisa", + "type": "User" + } + } + ] + }, + { + "id": 10, + "name": "Parent issue", + "type": "parent_issue", + "value": null + }, + { + "id": 11, + "name": "Sub-issues progress", + "type": "sub_issues_progress", + "value": null + } + ] + } }, - "required": [ - "id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "text_field": { + "number_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -839834,7 +838288,7 @@ ] } }, - "number_field": { + "date_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -840586,7 +839040,7 @@ ] } }, - "date_field": { + "single_select_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -841338,7 +839792,7 @@ ] } }, - "single_select_field": { + "iteration_field": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -842089,8 +840543,637 @@ } ] } - }, - "iteration_field": { + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "delete": { + "summary": "Delete project item for user", + "description": "Delete a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/delete-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "item_id", + "description": "The unique identifier of the project item.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": { + "get": { + "summary": "List items for a user project view", + "description": "List items in a user project with the saved view's filter applied.", + "tags": [ + "projects" + ], + "operationId": "projects/list-view-items-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view" + }, + "parameters": [ + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "view_number", + "description": "The number that identifies the project view.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The API URL of the project that contains this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/3" + ] + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "content": { + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "description": "The content of the item, which varies by content type." + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "item_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The API URL of this item.", + "examples": [ + "https://api.github.com/users/monalisa/2/projectsV2/items/3" + ] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + }, + "description": "The fields and values associated with this item." + } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + } + }, + "examples": { + "default": { "value": { "id": 13, "node_id": "PVTI_lAAFAQ0", @@ -842844,34 +841927,19 @@ } } } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } }, + "304": { + "description": "Not modified" + }, "403": { "description": "Forbidden", "content": { @@ -842898,161 +841966,8 @@ } } }, - "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": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "delete": { - "summary": "Delete project item for user", - "description": "Delete a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/delete-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user" - }, - "parameters": [ - { - "name": "project_number", - "description": "The project's number.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "item_id", - "description": "The unique identifier of the project item.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -843077,8 +841992,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -843106,7 +842021,7 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "projects", "subcategory": "items" } diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index b60759a91..263898764 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -13533,7 +13533,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &521 + instances_url: &517 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13569,7 +13569,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &522 + dismissed_reason: &518 type: - string - 'null' @@ -13580,14 +13580,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &523 + dismissed_comment: &519 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &524 + rule: &520 type: object properties: id: @@ -13648,7 +13648,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &525 + tool: &521 type: object properties: name: *109 @@ -13659,26 +13659,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &526 + most_recent_instance: &522 type: object properties: - ref: &519 + ref: &515 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &536 + analysis_key: &532 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &537 + environment: &533 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &538 + category: &534 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13692,7 +13692,7 @@ paths: properties: text: type: string - location: &539 + location: &535 type: object description: Describe a region within a file for the alert. properties: @@ -13713,7 +13713,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &540 + items: &536 type: - string - 'null' @@ -17487,7 +17487,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 - - &575 + - &573 name: has in: query description: |- @@ -17604,7 +17604,7 @@ paths: - direct - transitive - - security_advisory: &576 + security_advisory: &574 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17840,7 +17840,7 @@ paths: dismissal. maxLength: 280 fixed_at: *133 - auto_dismissed_at: &577 + auto_dismissed_at: &575 type: - string - 'null' @@ -17848,7 +17848,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &578 + dismissal_request: &576 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -25692,7 +25692,7 @@ paths: properties: action: type: string - discussion: &850 + discussion: &851 title: Discussion description: A Discussion in a repository. type: object @@ -26631,7 +26631,7 @@ paths: action: type: string issue: *212 - comment: &635 + comment: &633 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31384,14 +31384,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: - - &448 + - &444 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &449 + - &445 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31453,7 +31453,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &454 + '301': &450 description: Moved permanently content: application/json: @@ -34107,7 +34107,7 @@ paths: type: integer repository_cache_usages: type: array - items: &461 + items: &457 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37274,7 +37274,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &477 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37309,7 +37309,7 @@ paths: - key_id - key examples: - default: &482 + default: &478 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37722,7 +37722,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &466 + - &462 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)." @@ -38466,7 +38466,11 @@ paths: "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": post: summary: Set cluster deployment records - description: Set deployment records for a given cluster. + description: |- + Set deployment records for a given cluster. + If proposed records in the 'deployments' field have identical 'cluster', 'logical_environment', + 'physical_environment', and 'deployment_name' values as existing records, the existing records will be updated. + If no existing records match, new records will be created. tags: - orgs operationId: orgs/set-cluster-deployment-records @@ -38600,7 +38604,9 @@ paths: runtime-risk: sensitive-data responses: '200': - description: Artifact deployment record stored successfully. + description: 'Deployment records created or updated successfully. + + ' content: application/json: schema: @@ -39368,7 +39374,7 @@ paths: initiator: type: string examples: - default: &495 + default: &491 value: attestations: - bundle: @@ -40290,7 +40296,7 @@ paths: be returned. in: query required: false - schema: &520 + schema: &516 type: string description: Severity of a code scanning alert. enum: @@ -41349,7 +41355,7 @@ paths: machine: anyOf: - type: 'null' - - &552 + - &548 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42301,7 +42307,7 @@ paths: - updated_at - visibility examples: - default: &553 + default: &549 value: total_count: 2 secrets: @@ -42339,7 +42345,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &550 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42374,7 +42380,7 @@ paths: - key_id - key examples: - default: &555 + default: &551 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42406,7 +42412,7 @@ paths: application/json: schema: *316 examples: - default: &557 + default: &553 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44285,7 +44291,7 @@ paths: description: Response content: application/json: - schema: &581 + schema: &579 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44304,7 +44310,7 @@ paths: - key_id - key examples: - default: &582 + default: &580 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44634,7 +44640,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &590 + - &588 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44642,7 +44648,7 @@ paths: required: false schema: type: string - - &591 + - &589 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44650,7 +44656,7 @@ paths: required: false schema: type: string - - &592 + - &590 name: time_period description: |- The time period to filter by. @@ -44666,7 +44672,7 @@ paths: - week - month default: month - - &593 + - &591 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44691,7 +44697,7 @@ paths: application/json: schema: type: array - items: &594 + items: &592 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44854,7 +44860,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &595 + default: &593 value: - id: 21 number: 42 @@ -44972,7 +44978,7 @@ paths: application/json: schema: type: array - items: &596 + items: &594 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45095,7 +45101,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &597 + default: &595 value: - id: 21 number: 42 @@ -45197,7 +45203,7 @@ paths: application/json: schema: type: array - items: &598 + 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. @@ -45324,7 +45330,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &599 + default: &597 value: - id: 21 number: 42 @@ -45670,7 +45676,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &441 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45760,7 +45766,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &446 + default: &442 value: group_id: '123' group_name: Octocat admins @@ -45815,7 +45821,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &439 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45855,7 +45861,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &444 + default: &440 value: groups: - group_id: '123' @@ -47184,7 +47190,7 @@ paths: application/json: schema: *20 examples: - default: &630 + default: &628 value: id: 1 account: @@ -47412,7 +47418,7 @@ paths: required: true content: application/json: - schema: &631 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -48280,7 +48286,7 @@ paths: application/json: schema: *363 examples: - default: &551 + default: &547 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -52755,7 +52761,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &883 + - &884 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53029,7 +53035,7 @@ paths: content: oneOf: - *212 - - &564 + - &562 title: Pull Request Simple description: Pull Request Simple type: object @@ -55212,6 +55218,66 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for an organization project view + description: List items in an organization project with the saved view's filter + applied. + tags: + - projects + operationId: projects/list-view-items-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view + parameters: + - *391 + - *85 + - &829 + name: view_number + description: The number that identifies the project view. + in: path + required: true + schema: + type: integer + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *106 + - *107 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *398 + examples: + default: *399 + headers: + Link: *45 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: items "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -55936,7 +56002,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &449 title: Full Repository description: Full Repository type: object @@ -56401,7 +56467,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &569 + code_of_conduct: &567 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -56515,7 +56581,7 @@ paths: - network_count - subscribers_count examples: - default: &455 + default: &451 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59431,7 +59497,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &446 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -59483,7 +59549,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &451 + default: &447 value: groups: - group_id: '123' @@ -61185,408 +61251,6 @@ paths: enabledForGitHubApps: true category: teams subcategory: discussion-comments - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment - description: |- - List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment - parameters: - - *85 - - *209 - - *435 - - *438 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &439 - title: Reaction - description: Reactions to conversations provide a way to help people - express their feelings more simply and effectively. - type: object - properties: - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDg6UmVhY3Rpb24x - user: - anyOf: - - type: 'null' - - *4 - content: - description: The reaction to use - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - examples: - - heart - created_at: - type: string - format: date-time - examples: - - '2016-05-20T20:09:31Z' - required: - - id - - node_id - - user - - content - - created_at - examples: - default: &441 - value: - - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion comment - description: |- - Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment - parameters: - - *85 - - *209 - - *435 - - *438 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response when the reaction type has already been added to this - team discussion comment - content: - application/json: - schema: *439 - examples: - default: &440 - value: - id: 1 - node_id: MDg6UmVhY3Rpb24x - user: - 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 - content: heart - created_at: '2016-05-20T20:09:31Z' - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion comment reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion-comment - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction - parameters: - - *85 - - *209 - - *435 - - *438 - - &442 - name: reaction_id - description: The unique identifier of the reaction. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion - description: |- - List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion - parameters: - - *85 - - *209 - - *435 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions - post: - summary: Create reaction for a team discussion - description: |- - Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - > [!NOTE] - > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-in-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion - parameters: - - *85 - - *209 - - *435 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '200': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: reactions - subcategory: reactions - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": - delete: - summary: Delete team discussion reaction - description: |- - > [!NOTE] - > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - - Delete a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/delete-for-team-discussion - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction - parameters: - - *85 - - *209 - - *435 - - *442 - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: reactions - subcategory: reactions "/orgs/{org}/teams/{team_slug}/external-groups": get: summary: List a connection between an external group and a team @@ -61608,9 +61272,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *439 examples: - default: *444 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61654,9 +61318,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *441 examples: - default: *446 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61797,7 +61461,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &443 title: Team Membership description: Team Membership type: object @@ -61888,7 +61552,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-users-membership-with-team-is-now-pending: &779 summary: Response if user's membership with team is now pending @@ -61997,8 +61661,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Alternative response with repository permissions @@ -62647,8 +62311,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -62695,8 +62359,8 @@ paths: parameters: - *85 - *209 - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -62729,9 +62393,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: - default: *451 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62797,7 +62461,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: default: value: @@ -62996,7 +62660,7 @@ paths: resources: type: object properties: - core: &452 + core: &448 title: Rate Limit type: object properties: @@ -63013,21 +62677,21 @@ paths: - remaining - reset - used - 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 + graphql: *448 + search: *448 + code_search: *448 + source_import: *448 + integration_manifest: *448 + code_scanning_upload: *448 + actions_runner_registration: *448 + scim: *448 + dependency_snapshots: *448 + dependency_sbom: *448 + code_scanning_autofix: *448 required: - core - search - rate: *452 + rate: *448 required: - rate - resources @@ -63132,14 +62796,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *453 + schema: *449 examples: default-response: summary: Default response @@ -63644,7 +63308,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *454 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63662,8 +63326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -63921,10 +63585,10 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 - '307': &456 + default: *451 + '307': &452 description: Temporary Redirect content: application/json: @@ -63953,8 +63617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -63976,7 +63640,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *456 + '307': *452 '404': *6 '409': *116 x-github: @@ -64000,11 +63664,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - - &473 + - &469 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -64027,7 +63691,7 @@ paths: type: integer artifacts: type: array - items: &457 + items: &453 title: Artifact description: An artifact type: object @@ -64122,7 +63786,7 @@ paths: - expires_at - updated_at examples: - default: &474 + default: &470 value: total_count: 2 artifacts: @@ -64183,9 +63847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *448 - - *449 - - &458 + - *444 + - *445 + - &454 name: artifact_id description: The unique identifier of the artifact. in: path @@ -64197,7 +63861,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *453 examples: default: value: @@ -64235,9 +63899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *448 - - *449 - - *458 + - *444 + - *445 + - *454 responses: '204': description: Response @@ -64261,9 +63925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *448 - - *449 - - *458 + - *444 + - *445 + - *454 - name: archive_format in: path required: true @@ -64277,7 +63941,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': &634 + '410': &632 description: Gone content: application/json: @@ -64302,14 +63966,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &459 + schema: &455 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64343,13 +64007,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *459 + schema: *455 examples: selected_actions: *42 responses: @@ -64378,14 +64042,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &460 + schema: &456 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64419,13 +64083,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *460 + schema: *456 examples: selected_actions: *44 responses: @@ -64456,14 +64120,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *461 + schema: *457 examples: default: value: @@ -64489,11 +64153,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: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - - &462 + - &458 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 @@ -64527,7 +64191,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &459 title: Repository actions caches description: Repository actions caches type: object @@ -64577,7 +64241,7 @@ paths: - total_count - actions_caches examples: - default: &464 + default: &460 value: total_count: 1 actions_caches: @@ -64609,23 +64273,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: - - *448 - - *449 + - *444 + - *445 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *462 + - *458 responses: '200': description: Response content: application/json: - schema: *463 + schema: *459 examples: - default: *464 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64645,8 +64309,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: - - *448 - - *449 + - *444 + - *445 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64677,9 +64341,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: - - *448 - - *449 - - &465 + - *444 + - *445 + - &461 name: job_id description: The unique identifier of the job. in: path @@ -64691,7 +64355,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &473 title: Job description: Information of a job execution in a workflow run type: object @@ -65038,9 +64702,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: - - *448 - - *449 - - *465 + - *444 + - *445 + - *461 responses: '302': description: Response @@ -65068,9 +64732,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: - - *448 - - *449 - - *465 + - *444 + - *445 + - *461 requestBody: required: false content: @@ -65116,8 +64780,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Status response @@ -65167,8 +64831,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -65231,8 +64895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -65250,7 +64914,7 @@ paths: type: integer secrets: type: array - items: &479 + items: &475 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -65271,7 +64935,7 @@ paths: - created_at - updated_at examples: - default: &480 + default: &476 value: total_count: 2 secrets: @@ -65304,9 +64968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *448 - - *449 - - *466 + - *444 + - *445 + - *462 - *19 responses: '200': @@ -65323,7 +64987,7 @@ paths: type: integer variables: type: array - items: &483 + items: &479 title: Actions Variable type: object properties: @@ -65357,7 +65021,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &480 value: total_count: 2 variables: @@ -65390,8 +65054,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65400,7 +65064,7 @@ paths: schema: type: object properties: - enabled: &467 + enabled: &463 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65435,8 +65099,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65447,7 +65111,7 @@ paths: schema: type: object properties: - enabled: *467 + enabled: *463 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65480,14 +65144,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &468 + schema: &464 type: object properties: access_level: @@ -65505,7 +65169,7 @@ paths: required: - access_level examples: - default: &469 + default: &465 value: access_level: organization x-github: @@ -65530,15 +65194,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *468 + schema: *464 examples: - default: *469 + default: *465 responses: '204': description: Response @@ -65562,8 +65226,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65593,8 +65257,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Empty response for successful settings update @@ -65628,8 +65292,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65656,8 +65320,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65691,8 +65355,8 @@ 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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65720,8 +65384,8 @@ 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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -65752,8 +65416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65784,8 +65448,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -65817,8 +65481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65847,8 +65511,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Success response @@ -65888,8 +65552,8 @@ paths: in: query schema: type: string - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -65933,8 +65597,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -65966,8 +65630,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -66041,8 +65705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -66078,8 +65742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -66109,8 +65773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': @@ -66140,8 +65804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '204': @@ -66168,8 +65832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': *79 @@ -66194,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 requestBody: required: true @@ -66244,8 +65908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 requestBody: required: true @@ -66295,8 +65959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 responses: '200': *279 @@ -66326,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *73 - *280 responses: @@ -66357,9 +66021,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: - - *448 - - *449 - - &487 + - *444 + - *445 + - &483 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. @@ -66367,7 +66031,7 @@ paths: required: false schema: type: string - - &488 + - &484 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66375,7 +66039,7 @@ paths: required: false schema: type: string - - &489 + - &485 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66384,7 +66048,7 @@ paths: required: false schema: type: string - - &490 + - &486 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 @@ -66411,7 +66075,7 @@ paths: - pending - *17 - *19 - - &491 + - &487 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)." @@ -66420,7 +66084,7 @@ paths: schema: type: string format: date-time - - &470 + - &466 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66429,13 +66093,13 @@ paths: schema: type: boolean default: false - - &492 + - &488 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &493 + - &489 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66458,7 +66122,7 @@ paths: type: integer workflow_runs: type: array - items: &471 + items: &467 title: Workflow Run description: An invocation of a workflow type: object @@ -66636,7 +66300,7 @@ paths: head_commit: anyOf: - type: 'null' - - &515 + - &511 title: Simple Commit description: A commit. type: object @@ -66751,7 +66415,7 @@ paths: - workflow_url - pull_requests examples: - default: &494 + default: &490 value: total_count: 1 workflow_runs: @@ -66987,24 +66651,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *448 - - *449 - - &472 + - *444 + - *445 + - &468 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *470 + - *466 responses: '200': description: Response content: application/json: - schema: *471 + schema: *467 examples: - default: &475 + default: &471 value: id: 30433642 name: Build @@ -67245,9 +66909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '204': description: Response @@ -67270,9 +66934,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -67400,9 +67064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '201': description: Response @@ -67435,12 +67099,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 - *17 - *19 - - *473 + - *469 responses: '200': description: Response @@ -67456,9 +67120,9 @@ paths: type: integer artifacts: type: array - items: *457 + items: *453 examples: - default: *474 + default: *470 headers: Link: *45 x-github: @@ -67482,25 +67146,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *448 - - *449 - - *472 - - &476 + - *444 + - *445 + - *468 + - &472 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *470 + - *466 responses: '200': description: Response content: application/json: - schema: *471 + schema: *467 examples: - default: *475 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67523,10 +67187,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: - - *448 - - *449 + - *444 + - *445 + - *468 - *472 - - *476 - *17 - *19 responses: @@ -67544,9 +67208,9 @@ paths: type: integer jobs: type: array - items: *477 + items: *473 examples: - default: &478 + default: &474 value: total_count: 1 jobs: @@ -67659,10 +67323,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *448 - - *449 + - *444 + - *445 + - *468 - *472 - - *476 responses: '302': description: Response @@ -67690,9 +67354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '202': description: Response @@ -67725,9 +67389,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: true content: @@ -67794,9 +67458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '202': description: Response @@ -67829,9 +67493,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 - 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 @@ -67861,9 +67525,9 @@ paths: type: integer jobs: type: array - items: *477 + items: *473 examples: - default: *478 + default: *474 headers: Link: *45 x-github: @@ -67888,9 +67552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '302': description: Response @@ -67917,9 +67581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '204': description: Response @@ -67946,9 +67610,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -68017,7 +67681,7 @@ paths: items: type: object properties: - type: &600 + type: &598 type: string description: The type of reviewer. enum: @@ -68103,9 +67767,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: true content: @@ -68155,7 +67819,7 @@ paths: application/json: schema: type: array - items: &585 + items: &583 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -68267,7 +67931,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &584 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -68323,9 +67987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: false content: @@ -68370,9 +68034,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: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 requestBody: required: false content: @@ -68427,9 +68091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *448 - - *449 - - *472 + - *444 + - *445 + - *468 responses: '200': description: Response @@ -68566,8 +68230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -68585,9 +68249,9 @@ paths: type: integer secrets: type: array - items: *479 + items: *475 examples: - default: *480 + default: *476 headers: Link: *45 x-github: @@ -68612,16 +68276,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *481 + schema: *477 examples: - default: *482 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68643,17 +68307,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *479 + schema: *475 examples: - default: &613 + default: &611 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68679,8 +68343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -68738,8 +68402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -68765,9 +68429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *448 - - *449 - - *466 + - *444 + - *445 + - *462 - *19 responses: '200': @@ -68784,9 +68448,9 @@ paths: type: integer variables: type: array - items: *483 + items: *479 examples: - default: *484 + default: *480 headers: Link: *45 x-github: @@ -68809,8 +68473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -68862,17 +68526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 responses: '200': description: Response content: application/json: - schema: *483 + schema: *479 examples: - default: &614 + default: &612 value: name: USERNAME value: octocat @@ -68898,8 +68562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 requestBody: required: true @@ -68942,8 +68606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 responses: '204': @@ -68969,8 +68633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -68988,7 +68652,7 @@ paths: type: integer workflows: type: array - items: &485 + items: &481 title: Workflow description: A GitHub Actions workflow type: object @@ -69106,9 +68770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *448 - - *449 - - &486 + - *444 + - *445 + - &482 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -69123,7 +68787,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *481 examples: default: value: @@ -69156,9 +68820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69183,9 +68847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69236,9 +68900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '204': description: Response @@ -69265,19 +68929,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: - - *448 - - *449 + - *444 + - *445 + - *482 + - *483 + - *484 + - *485 - *486 + - *17 + - *19 - *487 + - *466 - *488 - *489 - - *490 - - *17 - - *19 - - *491 - - *470 - - *492 - - *493 responses: '200': description: Response @@ -69293,9 +68957,9 @@ paths: type: integer workflow_runs: type: array - items: *471 + items: *467 examples: - default: *494 + default: *490 headers: Link: *45 x-github: @@ -69328,9 +68992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *448 - - *449 - - *486 + - *444 + - *445 + - *482 responses: '200': description: Response @@ -69391,8 +69055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *448 - - *449 + - *444 + - *445 - *108 - *17 - *106 @@ -69560,8 +69224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -69598,8 +69262,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: - - *448 - - *449 + - *444 + - *445 - name: assignee in: path required: true @@ -69635,8 +69299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -69748,8 +69412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *106 - *107 @@ -69806,7 +69470,7 @@ paths: initiator: type: string examples: - default: *495 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69826,8 +69490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -69835,7 +69499,7 @@ paths: application/json: schema: type: array - items: &496 + items: &492 title: Autolink reference description: An autolink reference. type: object @@ -69894,8 +69558,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -69934,9 +69598,9 @@ paths: description: response content: application/json: - schema: *496 + schema: *492 examples: - default: &497 + default: &493 value: id: 1 key_prefix: TICKET- @@ -69967,9 +69631,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: - - *448 - - *449 - - &498 + - *444 + - *445 + - &494 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69981,9 +69645,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *492 examples: - default: *497 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -70003,9 +69667,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: - - *448 - - *449 - - *498 + - *444 + - *445 + - *494 responses: '204': description: Response @@ -70029,8 +69693,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response if Dependabot is enabled @@ -70080,8 +69744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -70102,8 +69766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -70123,8 +69787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *448 - - *449 + - *444 + - *445 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -70162,7 +69826,7 @@ paths: - url protected: type: boolean - protection: &500 + protection: &496 title: Branch Protection description: Branch Protection type: object @@ -70205,7 +69869,7 @@ paths: required: - contexts - checks - enforce_admins: &503 + enforce_admins: &499 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -70222,7 +69886,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &505 + required_pull_request_reviews: &501 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70306,7 +69970,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &502 + restrictions: &498 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70599,9 +70263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *448 - - *449 - - &501 + - *444 + - *445 + - &497 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). @@ -70615,14 +70279,14 @@ paths: description: Response content: application/json: - schema: &511 + schema: &507 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &560 + commit: &558 title: Commit description: Commit type: object @@ -70661,7 +70325,7 @@ paths: author: anyOf: - type: 'null' - - &499 + - &495 title: Git User description: Metaproperties for Git author/committer information. @@ -70683,7 +70347,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 message: type: string examples: @@ -70707,7 +70371,7 @@ paths: required: - sha - url - verification: &620 + verification: &618 title: Verification type: object properties: @@ -70787,7 +70451,7 @@ paths: type: integer files: type: array - items: &571 + items: &569 title: Diff Entry description: Diff Entry type: object @@ -70883,7 +70547,7 @@ paths: - self protected: type: boolean - protection: *500 + protection: *496 protection_url: type: string format: uri @@ -70992,7 +70656,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *454 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -71014,15 +70678,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *500 + schema: *496 examples: default: value: @@ -71216,9 +70880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -71478,7 +71142,7 @@ paths: url: type: string format: uri - required_status_checks: &508 + required_status_checks: &504 title: Status Check Policy description: Status Check Policy type: object @@ -71637,7 +71301,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *502 + restrictions: *498 required_conversation_resolution: type: object properties: @@ -71749,9 +71413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -71776,17 +71440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: &504 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71808,17 +71472,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: *504 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71837,9 +71501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -71864,17 +71528,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *505 + schema: *501 examples: - default: &506 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71970,9 +71634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72070,9 +71734,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *501 examples: - default: *506 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -72093,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72122,17 +71786,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: &507 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -72155,17 +71819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *503 + schema: *499 examples: - default: *507 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -72185,9 +71849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72212,17 +71876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *508 + schema: *504 examples: - default: &509 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -72248,9 +71912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72302,9 +71966,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *504 examples: - default: *509 + default: *505 '404': *6 '422': *15 x-github: @@ -72326,9 +71990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72352,9 +72016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72388,9 +72052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72457,9 +72121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -72523,9 +72187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: content: application/json: @@ -72591,15 +72255,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response content: application/json: - schema: *502 + schema: *498 examples: default: value: @@ -72690,9 +72354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '204': description: Response @@ -72715,9 +72379,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72727,7 +72391,7 @@ paths: type: array items: *5 examples: - default: &510 + default: &506 value: - id: 1 slug: octoapp @@ -72784,9 +72448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72820,7 +72484,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72841,9 +72505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72877,7 +72541,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72898,9 +72562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -72934,7 +72598,7 @@ paths: type: array items: *5 examples: - default: *510 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -72956,9 +72620,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -72988,9 +72652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -73049,9 +72713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: false content: @@ -73110,9 +72774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: content: application/json: @@ -73171,9 +72835,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: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 responses: '200': description: Response @@ -73207,9 +72871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73267,9 +72931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73327,9 +72991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73389,9 +73053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 requestBody: required: true content: @@ -73413,7 +73077,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *507 examples: default: value: @@ -73527,8 +73191,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -73564,8 +73228,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73638,8 +73302,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -73679,8 +73343,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73750,8 +73414,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -73822,8 +73486,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *448 - - *449 + - *444 + - *445 - name: bypass_response_id in: path required: true @@ -73856,8 +73520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -74136,7 +73800,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &508 title: CheckRun description: A check performed on the code of a given code change type: object @@ -74272,7 +73936,7 @@ paths: check. type: array items: *216 - deployment: &839 + deployment: &840 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74559,9 +74223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *448 - - *449 - - &513 + - *444 + - *445 + - &509 name: check_run_id description: The unique identifier of the check run. in: path @@ -74573,9 +74237,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *508 examples: - default: &514 + default: &510 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74675,9 +74339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 requestBody: required: true content: @@ -74917,9 +74581,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *508 examples: - default: *514 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74939,9 +74603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 - *17 - *19 responses: @@ -75051,9 +74715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *448 - - *449 - - *513 + - *444 + - *445 + - *509 responses: '201': description: Response @@ -75097,8 +74761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -75120,7 +74784,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &516 + schema: &512 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -75218,7 +74882,7 @@ paths: - string - 'null' format: date-time - head_commit: *515 + head_commit: *511 latest_check_runs_count: type: integer check_runs_url: @@ -75246,7 +74910,7 @@ paths: - check_runs_url - pull_requests examples: - default: &517 + default: &513 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75537,9 +75201,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *516 + schema: *512 examples: - default: *517 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75558,8 +75222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -75868,9 +75532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *448 - - *449 - - &518 + - *444 + - *445 + - &514 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75882,9 +75546,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *512 examples: - default: *517 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75907,17 +75571,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: - - *448 - - *449 - - *518 - - &566 + - *444 + - *445 + - *514 + - &564 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &567 + - &565 name: status description: Returns check runs with the specified `status`. in: query @@ -75956,9 +75620,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *508 examples: - default: &568 + default: &566 value: total_count: 1 check_runs: @@ -76060,9 +75724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *448 - - *449 - - *518 + - *444 + - *445 + - *514 responses: '201': description: Response @@ -76095,21 +75759,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *305 - *306 - *19 - *17 - - &534 + - &530 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: *519 - - &535 + schema: *515 + - &531 name: pr description: The number of the pull request for the results you want to list. in: query @@ -76140,7 +75804,7 @@ paths: be returned. in: query required: false - schema: *520 + schema: *516 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -76164,7 +75828,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *521 + instances_url: *517 state: *111 fixed_at: *133 dismissed_by: @@ -76172,11 +75836,11 @@ paths: - type: 'null' - *4 dismissed_at: *132 - dismissed_reason: *522 - dismissed_comment: *523 - rule: *524 - tool: *525 - most_recent_instance: *526 + dismissed_reason: *518 + dismissed_comment: *519 + rule: *520 + tool: *521 + most_recent_instance: *522 dismissal_approved_by: anyOf: - type: 'null' @@ -76299,7 +75963,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &527 + '403': &523 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76326,9 +75990,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: - - *448 - - *449 - - &528 + - *444 + - *445 + - &524 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76342,7 +76006,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &525 type: object properties: number: *123 @@ -76350,7 +76014,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *521 + instances_url: *517 state: *111 fixed_at: *133 dismissed_by: @@ -76358,8 +76022,8 @@ paths: - type: 'null' - *4 dismissed_at: *132 - dismissed_reason: *522 - dismissed_comment: *523 + dismissed_reason: *518 + dismissed_comment: *519 rule: type: object properties: @@ -76421,8 +76085,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *525 - most_recent_instance: *526 + tool: *521 + most_recent_instance: *522 dismissal_approved_by: anyOf: - type: 'null' @@ -76518,7 +76182,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -76538,9 +76202,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: true content: @@ -76555,8 +76219,8 @@ paths: enum: - open - dismissed - dismissed_reason: *522 - dismissed_comment: *523 + dismissed_reason: *518 + dismissed_comment: *519 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76584,7 +76248,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *525 examples: default: value: @@ -76660,7 +76324,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &533 + '403': &529 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76687,15 +76351,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 responses: '200': description: Response content: application/json: - schema: &530 + schema: &526 type: object properties: status: @@ -76722,13 +76386,13 @@ paths: - description - started_at examples: - default: &531 + default: &527 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &532 + '400': &528 description: Bad Request content: application/json: @@ -76739,7 +76403,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -76764,29 +76428,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 responses: '200': description: OK content: application/json: - schema: *530 + schema: *526 examples: - default: *531 + default: *527 '202': description: Accepted content: application/json: - schema: *530 + schema: *526 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *532 + '400': *528 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76818,9 +76482,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: false content: @@ -76866,8 +76530,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *532 - '403': *533 + '400': *528 + '403': *529 '404': *6 '422': description: Unprocessable Entity @@ -76891,13 +76555,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *19 - *17 - - *534 - - *535 + - *530 + - *531 responses: '200': description: Response @@ -76908,10 +76572,10 @@ paths: items: type: object properties: - ref: *519 - analysis_key: *536 - environment: *537 - category: *538 + ref: *515 + analysis_key: *532 + environment: *533 + category: *534 state: type: - string @@ -76928,7 +76592,7 @@ paths: properties: text: type: string - location: *539 + location: *535 html_url: type: string classifications: @@ -76936,7 +76600,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *540 + items: *536 examples: default: value: @@ -76975,7 +76639,7 @@ paths: end_column: 50 classifications: - source - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77009,25 +76673,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *305 - *306 - *19 - *17 - - *535 + - *531 - 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: *519 + schema: *515 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &541 + schema: &537 type: string description: An identifier for the upload. examples: @@ -77049,23 +76713,23 @@ paths: application/json: schema: type: array - items: &542 + items: &538 type: object properties: - ref: *519 - commit_sha: &550 + ref: *515 + commit_sha: &546 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: *536 + analysis_key: *532 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *538 + category: *534 error: type: string examples: @@ -77090,8 +76754,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *541 - tool: *525 + sarif_id: *537 + tool: *521 deletable: type: boolean warning: @@ -77153,7 +76817,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77189,8 +76853,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: - - *448 - - *449 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77203,7 +76867,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *538 examples: response: summary: application/json response @@ -77257,7 +76921,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *527 + '403': *523 '404': *6 '422': description: Response if analysis could not be processed @@ -77344,8 +77008,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: - - *448 - - *449 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77401,7 +77065,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *533 + '403': *529 '404': *6 '503': *189 x-github: @@ -77423,8 +77087,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -77432,7 +77096,7 @@ paths: application/json: schema: type: array - items: &543 + items: &539 title: CodeQL Database description: A CodeQL database. type: object @@ -77544,7 +77208,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77573,8 +77237,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: - - *448 - - *449 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -77586,7 +77250,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *539 examples: default: value: @@ -77618,9 +77282,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &573 + '302': &571 description: Found - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -77642,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *448 - - *449 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -77653,7 +77317,7 @@ paths: responses: '204': description: Response - '403': *533 + '403': *529 '404': *6 '503': *189 x-github: @@ -77681,8 +77345,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -77691,7 +77355,7 @@ paths: type: object additionalProperties: false properties: - language: &544 + language: &540 type: string description: The language targeted by the CodeQL query enum: @@ -77771,7 +77435,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &548 + schema: &544 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77781,7 +77445,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *544 + query_language: *540 query_pack_url: type: string description: The download url for the query pack. @@ -77829,7 +77493,7 @@ paths: items: type: object properties: - repository: &545 + repository: &541 title: Repository Identifier description: Repository Identifier type: object @@ -77871,7 +77535,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &549 + analysis_status: &545 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77903,7 +77567,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &546 + access_mismatch_repos: &542 type: object properties: repository_count: @@ -77918,7 +77582,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: *545 + items: *541 required: - repository_count - repositories @@ -77941,8 +77605,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *546 - over_limit_repos: *546 + no_codeql_db_repos: *542 + over_limit_repos: *542 required: - access_mismatch_repos - not_found_repos @@ -77958,7 +77622,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &547 + value: &543 summary: Default response value: id: 1 @@ -78104,10 +77768,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *547 + value: *543 repository_lists: summary: Response for a successful variant analysis submission - value: *547 + value: *543 '404': *6 '422': description: Unable to process variant analysis submission @@ -78135,8 +77799,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: - - *448 - - *449 + - *444 + - *445 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -78148,9 +77812,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *544 examples: - default: *547 + default: *543 '404': *6 '503': *189 x-github: @@ -78173,7 +77837,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: - - *448 + - *444 - name: repo in: path description: The name of the controller repository. @@ -78208,7 +77872,7 @@ paths: type: object properties: repository: *117 - analysis_status: *549 + analysis_status: *545 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78333,8 +77997,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -78427,7 +78091,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *527 + '403': *523 '404': *6 '503': *189 x-github: @@ -78448,8 +78112,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -78543,7 +78207,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *533 + '403': *529 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78614,8 +78278,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -78623,7 +78287,7 @@ paths: schema: type: object properties: - commit_sha: *550 + commit_sha: *546 ref: type: string description: |- @@ -78683,7 +78347,7 @@ paths: schema: type: object properties: - id: *541 + id: *537 url: type: string description: The REST API URL for checking the status of the upload. @@ -78697,7 +78361,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *533 + '403': *529 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78720,8 +78384,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: - - *448 - - *449 + - *444 + - *445 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78769,7 +78433,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *527 + '403': *523 '404': description: Not Found if the sarif id does not match any upload '503': *189 @@ -78794,8 +78458,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -78876,8 +78540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *448 - - *449 + - *444 + - *445 - 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 @@ -79005,8 +78669,8 @@ paths: parameters: - *17 - *19 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -79320,8 +78984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -79387,7 +79051,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79395,7 +79059,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '400': *14 '401': *23 '403': *27 @@ -79424,8 +79088,8 @@ paths: parameters: - *17 - *19 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -79489,8 +79153,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: - - *448 - - *449 + - *444 + - *445 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79527,7 +79191,7 @@ paths: type: integer machines: type: array - items: *552 + items: *548 examples: default: &788 value: @@ -79569,8 +79233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *448 - - *449 + - *444 + - *445 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79657,8 +79321,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: - - *448 - - *449 + - *444 + - *445 - 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 @@ -79727,8 +79391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -79746,7 +79410,7 @@ paths: type: integer secrets: type: array - items: &556 + items: &552 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79767,7 +79431,7 @@ paths: - created_at - updated_at examples: - default: *553 + default: *549 headers: Link: *45 x-github: @@ -79790,16 +79454,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *554 + schema: *550 examples: - default: *555 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79819,17 +79483,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *556 + schema: *552 examples: - default: *557 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79849,8 +79513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -79903,8 +79567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -79933,8 +79597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *448 - - *449 + - *444 + - *445 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79972,7 +79636,7 @@ paths: application/json: schema: type: array - items: &558 + items: &554 title: Collaborator description: Collaborator type: object @@ -80165,8 +79829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '204': @@ -80213,8 +79877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 requestBody: required: false @@ -80241,7 +79905,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80469,8 +80133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '204': @@ -80502,8 +80166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *448 - - *449 + - *444 + - *445 - *136 responses: '200': @@ -80524,7 +80188,7 @@ paths: user: anyOf: - type: 'null' - - *558 + - *554 required: - permission - role_name @@ -80578,8 +80242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -80589,7 +80253,7 @@ paths: application/json: schema: type: array - items: &559 + items: &555 title: Commit Comment description: Commit Comment type: object @@ -80647,7 +80311,7 @@ paths: - created_at - updated_at examples: - default: &562 + default: &560 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80706,17 +80370,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': description: Response content: application/json: - schema: *559 + schema: *555 examples: - default: &563 + 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 @@ -80773,8 +80437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -80797,7 +80461,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *555 examples: default: value: @@ -80848,8 +80512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -80871,8 +80535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80899,9 +80563,75 @@ paths: application/json: schema: type: array - items: *439 + items: &556 + title: Reaction + description: Reactions to conversations provide a way to help people + express their feelings more simply and effectively. + type: object + properties: + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDg6UmVhY3Rpb24x + user: + anyOf: + - type: 'null' + - *4 + content: + description: The reaction to use + type: string + enum: + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - rocket + - eyes + examples: + - heart + created_at: + type: string + format: date-time + examples: + - '2016-05-20T20:09:31Z' + required: + - id + - node_id + - user + - content + - created_at examples: - default: *441 + default: &635 + value: + - id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' headers: Link: *45 '404': *6 @@ -80922,8 +80652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -80956,16 +80686,40 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: &557 + value: + id: 1 + node_id: MDg6UmVhY3Rpb24x + user: + 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 + content: heart + created_at: '2016-05-20T20:09:31Z' '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -80987,10 +80741,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - &636 + name: reaction_id + description: The unique identifier of the reaction. + in: path + required: true + schema: + type: integer responses: '204': description: Response @@ -81039,8 +80799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *448 - - *449 + - *444 + - *445 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -81096,7 +80856,7 @@ paths: application/json: schema: type: array - items: *560 + items: *558 examples: default: &682 value: @@ -81192,9 +80952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *448 - - *449 - - &561 + - *444 + - *445 + - &559 name: commit_sha description: The SHA of the commit. in: path @@ -81266,9 +81026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 - *17 - *19 responses: @@ -81278,9 +81038,9 @@ paths: application/json: schema: type: array - items: *559 + items: *555 examples: - default: *562 + default: *560 headers: Link: *45 x-github: @@ -81308,9 +81068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 requestBody: required: true content: @@ -81345,9 +81105,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *555 examples: - default: *563 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81375,9 +81135,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: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 - *17 - *19 responses: @@ -81387,7 +81147,7 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: default: &674 value: @@ -81926,11 +81686,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 - - &565 + - &563 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)" @@ -81945,7 +81705,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *558 examples: default: &660 value: @@ -82060,11 +81820,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: - - *448 - - *449 + - *444 + - *445 + - *563 + - *564 - *565 - - *566 - - *567 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -82098,9 +81858,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *508 examples: - default: *568 + default: *566 headers: Link: *45 x-github: @@ -82125,9 +81885,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: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -82135,7 +81895,7 @@ paths: schema: type: integer example: 1 - - *566 + - *564 - *17 - *19 responses: @@ -82153,7 +81913,7 @@ paths: type: integer check_suites: type: array - items: *516 + items: *512 examples: default: value: @@ -82353,9 +82113,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: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -82557,9 +82317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *448 - - *449 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -82650,7 +82410,7 @@ paths: site_admin: false headers: Link: *45 - '301': *454 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82678,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -82712,11 +82472,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *569 + - *567 code_of_conduct_file: anyOf: - type: 'null' - - &570 + - &568 title: Community Health File type: object properties: @@ -82736,19 +82496,19 @@ paths: contributing: anyOf: - type: 'null' - - *570 + - *568 readme: anyOf: - type: 'null' - - *570 + - *568 issue_template: anyOf: - type: 'null' - - *570 + - *568 pull_request_template: anyOf: - type: 'null' - - *570 + - *568 required: - code_of_conduct - code_of_conduct_file @@ -82877,8 +82637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 - name: basehead @@ -82926,8 +82686,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *560 - merge_base_commit: *560 + base_commit: *558 + merge_base_commit: *558 status: type: string enum: @@ -82951,10 +82711,10 @@ paths: - 6 commits: type: array - items: *560 + items: *558 files: type: array - items: *571 + items: *569 required: - url - html_url @@ -83240,8 +83000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -83394,7 +83154,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &572 + response-if-content-is-a-file: &570 summary: Response if content is a file value: type: file @@ -83749,7 +83509,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *572 + response-if-content-is-a-file: *570 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83818,7 +83578,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *573 + '302': *571 '304': *35 x-github: githubCloudOnly: false @@ -83841,8 +83601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -83937,7 +83697,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &572 title: File Commit description: File Commit type: object @@ -84093,7 +83853,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: example-for-creating-a-file: value: @@ -84147,7 +83907,7 @@ paths: schema: oneOf: - *3 - - &615 + - &613 description: Repository rule violation was detected type: object properties: @@ -84200,8 +83960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *448 - - *449 + - *444 + - *445 - name: path description: path parameter in: path @@ -84262,7 +84022,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -84317,8 +84077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *448 - - *449 + - *444 + - *445 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84442,8 +84202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *321 - *322 - *323 @@ -84455,7 +84215,7 @@ paths: schema: type: string - *325 - - *575 + - *573 - *326 - *327 - *108 @@ -84476,7 +84236,7 @@ paths: application/json: schema: type: array - items: &579 + items: &577 type: object description: A Dependabot alert. properties: @@ -84526,7 +84286,7 @@ paths: - direct - transitive - - security_advisory: *576 + security_advisory: *574 security_vulnerability: *127 url: *128 html_url: *129 @@ -84557,8 +84317,8 @@ paths: dismissal. maxLength: 280 fixed_at: *133 - auto_dismissed_at: *577 - dismissal_request: *578 + auto_dismissed_at: *575 + dismissal_request: *576 required: - number - state @@ -84788,9 +84548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *448 - - *449 - - &580 + - *444 + - *445 + - &578 name: alert_number in: path description: |- @@ -84805,7 +84565,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *577 examples: default: value: @@ -84918,9 +84678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *448 - - *449 - - *580 + - *444 + - *445 + - *578 requestBody: required: true content: @@ -84965,7 +84725,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *577 examples: default: value: @@ -85094,8 +84854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -85113,7 +84873,7 @@ paths: type: integer secrets: type: array - items: &583 + items: &581 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -85167,16 +84927,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *582 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85196,15 +84956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '200': description: Response content: application/json: - schema: *583 + schema: *581 examples: default: value: @@ -85230,8 +84990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 requestBody: required: true @@ -85284,8 +85044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *448 - - *449 + - *444 + - *445 - *282 responses: '204': @@ -85308,8 +85068,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: - - *448 - - *449 + - *444 + - *445 - 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 @@ -85483,8 +85243,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -85744,8 +85504,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -85828,7 +85588,7 @@ paths: - version - url additionalProperties: false - metadata: &584 + metadata: &582 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85867,7 +85627,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *584 + metadata: *582 resolved: type: object description: A collection of resolved package dependencies. @@ -85881,7 +85641,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *584 + metadata: *582 relationship: type: string description: A notation of whether a dependency is requested @@ -86014,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *448 - - *449 + - *444 + - *445 - name: sha description: The SHA recorded at creation time. in: query @@ -86056,9 +85816,9 @@ paths: application/json: schema: type: array - items: *585 + items: *583 examples: - default: *586 + default: *584 headers: Link: *45 x-github: @@ -86124,8 +85884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -86207,7 +85967,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: simple-example: summary: Simple example @@ -86280,9 +86040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *448 - - *449 - - &587 + - *444 + - *445 + - &585 name: deployment_id description: deployment_id parameter in: path @@ -86294,7 +86054,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: default: value: @@ -86359,9 +86119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 responses: '204': description: Response @@ -86383,9 +86143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 - *17 - *19 responses: @@ -86395,7 +86155,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Deployment Status description: The status of a deployment. type: object @@ -86559,9 +86319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 requestBody: required: true content: @@ -86636,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: &589 + default: &587 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86694,9 +86454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *448 - - *449 - - *587 + - *444 + - *445 + - *585 - name: status_id in: path required: true @@ -86707,9 +86467,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -86736,12 +86496,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 + - *588 + - *589 - *590 - *591 - - *592 - - *593 - *17 - *19 responses: @@ -86751,9 +86511,9 @@ paths: application/json: schema: type: array - items: *594 + items: *592 examples: - default: *595 + default: *593 '404': *6 '403': *27 '500': *38 @@ -86777,8 +86537,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86790,7 +86550,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *594 + schema: *592 examples: default: value: @@ -86846,8 +86606,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86906,12 +86666,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 + - *588 + - *589 - *590 - *591 - - *592 - - *593 - *17 - *19 responses: @@ -86921,9 +86681,9 @@ paths: application/json: schema: type: array - items: *596 + items: *594 examples: - default: *597 + default: *595 '404': *6 '403': *27 '500': *38 @@ -86947,8 +86707,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -86960,7 +86720,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *596 + schema: *594 examples: default: value: @@ -87011,8 +86771,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87050,7 +86810,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *596 + schema: *594 examples: default: value: @@ -87101,8 +86861,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87173,8 +86933,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87207,8 +86967,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - *101 - *102 - *103 @@ -87222,9 +86982,9 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: - default: *599 + default: *597 '404': *6 '403': *27 '500': *38 @@ -87249,8 +87009,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87262,7 +87022,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *598 + schema: *596 examples: default: value: @@ -87320,8 +87080,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: alert_number in: path required: true @@ -87390,8 +87150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -87448,8 +87208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -87467,7 +87227,7 @@ paths: - 5 environments: type: array - items: &601 + items: &599 title: Environment description: Details of a deployment environment type: object @@ -87529,7 +87289,7 @@ paths: type: string examples: - wait_timer - wait_timer: &603 + wait_timer: &601 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87571,7 +87331,7 @@ paths: items: type: object properties: - type: *600 + type: *598 reviewer: anyOf: - *4 @@ -87598,7 +87358,7 @@ paths: - id - node_id - type - deployment_branch_policy: &604 + deployment_branch_policy: &602 type: - object - 'null' @@ -87715,9 +87475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *448 - - *449 - - &602 + - *444 + - *445 + - &600 name: environment_name in: path required: true @@ -87730,9 +87490,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: &605 + default: &603 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87816,9 +87576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: false content: @@ -87828,7 +87588,7 @@ paths: - object - 'null' properties: - wait_timer: *603 + wait_timer: *601 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87847,14 +87607,14 @@ paths: items: type: object properties: - type: *600 + type: *598 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *604 + deployment_branch_policy: *602 additionalProperties: false examples: default: @@ -87874,9 +87634,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: *605 + default: *603 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87900,9 +87660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 responses: '204': description: Default response @@ -87927,9 +87687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *17 - *19 responses: @@ -87948,7 +87708,7 @@ paths: - 2 branch_policies: type: array - items: &606 + items: &604 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -88009,9 +87769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: true content: @@ -88059,9 +87819,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - example-wildcard: &607 + example-wildcard: &605 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -88103,10 +87863,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - &608 + - *444 + - *445 + - *600 + - &606 name: branch_policy_id in: path required: true @@ -88118,9 +87878,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88139,10 +87899,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - *608 + - *444 + - *445 + - *600 + - *606 requestBody: required: true content: @@ -88171,9 +87931,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88192,10 +87952,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *448 - - *449 - - *602 - - *608 + - *444 + - *445 + - *600 + - *606 responses: '204': description: Response @@ -88220,9 +87980,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 responses: '200': description: List of deployment protection rules @@ -88239,7 +87999,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &609 + items: &607 title: Deployment protection rule description: Deployment protection rule type: object @@ -88261,7 +88021,7 @@ paths: for the environment. examples: - true - app: &610 + app: &608 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88364,9 +88124,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 requestBody: content: application/json: @@ -88387,9 +88147,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *609 + schema: *607 examples: - default: &611 + default: &609 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88424,9 +88184,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: - - *602 - - *449 - - *448 + - *600 + - *445 + - *444 - *19 - *17 responses: @@ -88446,7 +88206,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *610 + items: *608 examples: default: value: @@ -88481,10 +88241,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: - - *448 - - *449 - - *602 - - &612 + - *444 + - *445 + - *600 + - &610 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88496,9 +88256,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *611 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88519,10 +88279,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: - - *602 - - *449 - - *448 - - *612 + - *600 + - *445 + - *444 + - *610 responses: '204': description: Response @@ -88548,9 +88308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *17 - *19 responses: @@ -88568,9 +88328,9 @@ paths: type: integer secrets: type: array - items: *479 + items: *475 examples: - default: *480 + default: *476 headers: Link: *45 x-github: @@ -88595,17 +88355,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 responses: '200': description: Response content: application/json: - schema: *481 + schema: *477 examples: - default: *482 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88627,18 +88387,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 responses: '200': description: Response content: application/json: - schema: *479 + schema: *475 examples: - default: *613 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88660,9 +88420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 requestBody: required: true @@ -88720,9 +88480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *282 responses: '204': @@ -88748,10 +88508,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *448 - - *449 - - *602 - - *466 + - *444 + - *445 + - *600 + - *462 - *19 responses: '200': @@ -88768,9 +88528,9 @@ paths: type: integer variables: type: array - items: *483 + items: *479 examples: - default: *484 + default: *480 headers: Link: *45 x-github: @@ -88793,9 +88553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 requestBody: required: true content: @@ -88847,18 +88607,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *448 - - *449 - - *602 + - *444 + - *445 + - *600 - *285 responses: '200': description: Response content: application/json: - schema: *483 + schema: *479 examples: - default: *614 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88879,10 +88639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 - - *602 + - *600 requestBody: required: true content: @@ -88924,10 +88684,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *448 - - *449 + - *444 + - *445 - *285 - - *602 + - *600 responses: '204': description: Response @@ -88949,8 +88709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -89018,8 +88778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *448 - - *449 + - *444 + - *445 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -89178,8 +88938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -89212,9 +88972,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 '400': *14 '422': *15 '403': *27 @@ -89235,8 +88995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89296,7 +89056,7 @@ paths: schema: oneOf: - *247 - - *615 + - *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89321,8 +89081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *448 - - *449 + - *444 + - *445 - name: file_sha in: path required: true @@ -89422,8 +89182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89532,7 +89292,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &614 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89759,15 +89519,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *448 - - *449 - - *561 + - *444 + - *445 + - *559 responses: '200': description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89823,9 +89583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *448 - - *449 - - &617 + - *444 + - *445 + - &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. @@ -89842,7 +89602,7 @@ paths: application/json: schema: type: array - items: &618 + items: &616 title: Git Reference description: Git references within a repository type: object @@ -89918,17 +89678,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: &619 + default: &617 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89957,8 +89717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -89987,9 +89747,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -90015,9 +89775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 requestBody: required: true content: @@ -90046,9 +89806,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 '422': *15 '409': *116 x-github: @@ -90066,9 +89826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *448 - - *449 - - *617 + - *444 + - *445 + - *615 responses: '204': description: Response @@ -90123,8 +89883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -90191,7 +89951,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &619 title: Git Tag description: Metadata for a Git tag type: object @@ -90247,7 +90007,7 @@ paths: - sha - type - url - verification: *620 + verification: *618 required: - sha - url @@ -90257,7 +90017,7 @@ paths: - tag - message examples: - default: &622 + default: &620 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90330,8 +90090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *448 - - *449 + - *444 + - *445 - name: tag_sha in: path required: true @@ -90342,9 +90102,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *619 examples: - default: *622 + default: *620 '404': *6 '409': *116 x-github: @@ -90368,8 +90128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -90443,7 +90203,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &621 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90545,8 +90305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *448 - - *449 + - *444 + - *445 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90569,7 +90329,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *621 examples: default-response: summary: Default response @@ -90628,8 +90388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -90639,7 +90399,7 @@ paths: application/json: schema: type: array - items: &624 + items: &622 title: Webhook description: Webhooks for repositories. type: object @@ -90702,7 +90462,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &875 + last_response: &876 title: Hook Response type: object properties: @@ -90779,8 +90539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -90833,9 +90593,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: &625 + default: &623 value: type: Repository id: 12345678 @@ -90883,17 +90643,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '200': description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: *625 + default: *623 '404': *6 x-github: githubCloudOnly: false @@ -90913,8 +90673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 requestBody: required: true @@ -90960,9 +90720,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *622 examples: - default: *625 + default: *623 '422': *15 '404': *6 x-github: @@ -90983,8 +90743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91009,8 +90769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '200': @@ -91038,8 +90798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *335 requestBody: required: false @@ -91084,8 +90844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *17 - *336 @@ -91117,8 +90877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *16 responses: @@ -91147,8 +90907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 - *16 responses: @@ -91172,8 +90932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91199,8 +90959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *448 - - *449 + - *444 + - *445 - *335 responses: '204': @@ -91224,8 +90984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response if immutable releases are enabled @@ -91273,8 +91033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '409': *116 @@ -91294,8 +91054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '409': *116 @@ -91352,14 +91112,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &626 + schema: &624 title: Import description: A repository import from an external source. type: object @@ -91466,7 +91226,7 @@ paths: - html_url - authors_url examples: - default: &629 + default: &627 value: vcs: subversion use_lfs: true @@ -91482,7 +91242,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': &627 + '503': &625 description: Unavailable due to service under maintenance. content: application/json: @@ -91511,8 +91271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -91560,7 +91320,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: default: value: @@ -91585,7 +91345,7 @@ paths: type: string '422': *15 '404': *6 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91613,8 +91373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -91666,7 +91426,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: example-1: summary: Example 1 @@ -91714,7 +91474,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': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91737,12 +91497,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91768,8 +91528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *448 - - *449 + - *444 + - *445 - &809 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -91784,7 +91544,7 @@ paths: application/json: schema: type: array - items: &628 + items: &626 title: Porter Author description: Porter Author type: object @@ -91838,7 +91598,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': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91863,8 +91623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *448 - - *449 + - *444 + - *445 - name: author_id in: path required: true @@ -91894,7 +91654,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *626 examples: default: value: @@ -91907,7 +91667,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91931,8 +91691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -91973,7 +91733,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92001,8 +91761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -92029,11 +91789,11 @@ paths: description: Response content: application/json: - schema: *626 + schema: *624 examples: - default: *629 + default: *627 '422': *15 - '503': *627 + '503': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92056,8 +91816,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -92065,8 +91825,8 @@ paths: application/json: schema: *20 examples: - default: *630 - '301': *454 + default: *628 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -92086,8 +91846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -92100,7 +91860,7 @@ paths: properties: {} additionalProperties: false examples: - default: &632 + default: &630 value: limit: collaborators_only origin: repository @@ -92125,13 +91885,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *631 + schema: *629 examples: default: summary: Example request body @@ -92145,7 +91905,7 @@ paths: application/json: schema: *353 examples: - default: *632 + default: *630 '409': description: Response x-github: @@ -92167,8 +91927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -92191,8 +91951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -92202,7 +91962,7 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: default: &802 value: @@ -92335,8 +92095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *448 - - *449 + - *444 + - *445 - *357 requestBody: required: false @@ -92366,7 +92126,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -92497,8 +92257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *448 - - *449 + - *444 + - *445 - *357 responses: '204': @@ -92530,8 +92290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *448 - - *449 + - *444 + - *445 - 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 @@ -92752,7 +92512,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *454 + '301': *450 '422': *15 '404': *6 x-github: @@ -92781,8 +92541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -93030,7 +92790,7 @@ paths: '422': *15 '503': *189 '404': *6 - '410': *634 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -93058,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *235 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -93080,7 +92840,7 @@ paths: application/json: schema: type: array - items: *635 + items: *633 examples: default: &640 value: @@ -93140,17 +92900,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: &636 + default: &634 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -93204,8 +92964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -93228,9 +92988,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -93248,8 +93008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -93270,8 +93030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93298,9 +93058,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -93321,8 +93081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -93355,16 +93115,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -93386,10 +93146,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - *636 responses: '204': description: Response @@ -93409,8 +93169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -93759,8 +93519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *448 - - *449 + - *444 + - *445 - name: event_id in: path required: true @@ -93963,7 +93723,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *634 + '410': *632 '403': *27 x-github: githubCloudOnly: false @@ -93997,8 +93757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - &639 name: issue_number description: The number that identifies the issue. @@ -94014,9 +93774,9 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '304': *35 x-github: githubCloudOnly: false @@ -94041,8 +93801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -94168,9 +93928,9 @@ paths: '422': *15 '503': *189 '403': *27 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94188,8 +93948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -94234,8 +93994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: content: @@ -94285,8 +94045,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - name: assignee in: path @@ -94327,8 +94087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *218 - *17 @@ -94340,13 +94100,13 @@ paths: application/json: schema: type: array - items: *635 + items: *633 examples: default: *640 headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94375,8 +94135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -94399,16 +94159,16 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -94436,8 +94196,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -94453,9 +94213,9 @@ paths: default: *641 headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94483,8 +94243,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -94515,9 +94275,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *454 + '301': *450 '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -94548,8 +94308,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *639 - name: issue_id in: path @@ -94565,12 +94325,12 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *634 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -94596,8 +94356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -94613,9 +94373,9 @@ paths: default: *641 headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94632,8 +94392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -95427,7 +95187,7 @@ paths: color: red headers: Link: *45 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95444,8 +95204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -95476,9 +95236,9 @@ paths: default: false headers: Link: *45 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95495,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95559,9 +95319,9 @@ paths: items: *211 examples: default: *642 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95578,8 +95338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95643,9 +95403,9 @@ paths: items: *211 examples: default: *642 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95662,15 +95422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '204': description: Response - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95689,8 +95449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - name: name in: path @@ -95715,9 +95475,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95737,8 +95497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: false @@ -95768,7 +95528,7 @@ paths: '204': description: Response '403': *27 - '410': *634 + '410': *632 '404': *6 '422': *15 x-github: @@ -95786,8 +95546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '204': @@ -95818,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 responses: '200': @@ -95829,9 +95589,9 @@ paths: schema: *212 examples: default: *638 - '301': *454 + '301': *450 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95848,8 +95608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -95876,13 +95636,13 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95900,8 +95660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -95934,16 +95694,16 @@ paths: description: Response content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Response content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -95965,10 +95725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *639 - - *442 + - *636 responses: '204': description: Response @@ -95997,8 +95757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96056,8 +95816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -96074,7 +95834,7 @@ paths: headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96102,8 +95862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96140,7 +95900,7 @@ paths: schema: type: string '403': *27 - '410': *634 + '410': *632 '422': *15 '404': *6 x-github: @@ -96160,8 +95920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 requestBody: required: true @@ -96217,8 +95977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *448 - - *449 + - *444 + - *445 - *639 - *17 - *19 @@ -96813,7 +96573,7 @@ paths: type: string comments: type: array - items: *559 + items: *555 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97088,7 +96848,7 @@ paths: headers: Link: *45 '404': *6 - '410': *634 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97105,8 +96865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -97184,8 +96944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97257,8 +97017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 - &658 name: key_id description: The unique identifier of the key. @@ -97291,8 +97051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *448 - - *449 + - *444 + - *445 - *658 responses: '204': @@ -97313,8 +97073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -97347,8 +97107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97418,8 +97178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97449,8 +97209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97515,8 +97275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *448 - - *449 + - *444 + - *445 - name: name in: path required: true @@ -97542,8 +97302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -97579,8 +97339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '202': *37 '403': @@ -97608,8 +97368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -97635,9 +97395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *448 - - *449 - - *534 + - *444 + - *445 + - *530 responses: '200': description: Response @@ -97784,8 +97544,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97850,8 +97610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -97885,7 +97645,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *560 + schema: *558 examples: default: *660 '204': @@ -97912,8 +97672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *448 - - *449 + - *444 + - *445 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98010,8 +97770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98112,8 +97872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - &662 name: milestone_number description: The number that identifies the milestone. @@ -98145,8 +97905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 requestBody: required: false @@ -98203,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 responses: '204': @@ -98226,8 +97986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *448 - - *449 + - *444 + - *445 - *662 - *17 - *19 @@ -98259,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *448 - - *449 + - *444 + - *445 - *663 - *664 - *218 @@ -98300,8 +98060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -98359,8 +98119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -98551,8 +98311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98632,8 +98392,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -98741,8 +98501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -98768,8 +98528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -98871,8 +98631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *448 - - *449 + - *444 + - *445 responses: '201': description: Response @@ -98919,8 +98679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -98976,8 +98736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *448 - - *449 + - *444 + - *445 - name: build_id in: path required: true @@ -99010,8 +98770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -99119,8 +98879,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -99179,8 +98939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *448 - - *449 + - *444 + - *445 - *671 responses: '204': *148 @@ -99208,8 +98968,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -99504,8 +99264,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Private vulnerability reporting status @@ -99542,8 +99302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '422': *14 @@ -99564,8 +99324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': *148 '422': *14 @@ -99587,8 +99347,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -99620,8 +99380,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -99675,8 +99435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *448 - - *449 + - *444 + - *445 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99736,7 +99496,7 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: default: *674 headers: @@ -99770,8 +99530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -100707,8 +100467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *448 - - *449 + - *444 + - *445 - name: sort in: query required: false @@ -100816,8 +100576,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *227 responses: '200': @@ -100901,8 +100661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -100943,8 +100703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *227 responses: '204': @@ -100966,8 +100726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100994,9 +100754,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -101017,8 +100777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *227 requestBody: required: true @@ -101051,16 +100811,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -101082,10 +100842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *227 - - *442 + - *636 responses: '204': description: Response @@ -101128,8 +100888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - &680 name: pull_number description: The number that identifies the pull request. @@ -101180,8 +100940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -101248,8 +101008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -101313,7 +101073,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -101321,7 +101081,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -101351,8 +101111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *235 - name: direction @@ -101409,8 +101169,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -101605,8 +101365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *227 requestBody: @@ -101716,8 +101476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -101728,7 +101488,7 @@ paths: application/json: schema: type: array - items: *560 + items: *558 examples: default: *682 headers: @@ -101760,8 +101520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -101772,7 +101532,7 @@ paths: application/json: schema: type: array - items: *571 + items: *569 examples: default: value: @@ -101810,8 +101570,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 responses: '204': @@ -101835,8 +101595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -101949,8 +101709,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 responses: '200': @@ -102026,8 +101786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -102065,7 +101825,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -102601,8 +102361,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: true @@ -102637,7 +102397,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -103142,8 +102902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *17 - *19 @@ -103310,8 +103070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -103467,8 +103227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - &684 name: review_id @@ -103543,8 +103303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -103631,8 +103391,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *680 - *684 responses: @@ -103669,8 +103429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 - *17 @@ -103930,8 +103690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -104025,8 +103785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *448 - - *449 + - *444 + - *445 - *680 - *684 requestBody: @@ -104087,8 +103847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *448 - - *449 + - *444 + - *445 - *680 requestBody: required: false @@ -104153,8 +103913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *448 - - *449 + - *444 + - *445 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104211,8 +103971,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: - - *448 - - *449 + - *444 + - *445 - name: dir description: The alternate path to look for a README file in: path @@ -104256,8 +104016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -104361,8 +104121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -104545,8 +104305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - &691 name: asset_id description: The unique identifier of the asset. @@ -104596,7 +104356,7 @@ paths: type: User site_admin: false '404': *6 - '302': *573 + '302': *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104612,8 +104372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - *691 requestBody: required: false @@ -104661,8 +104421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *448 - - *449 + - *444 + - *445 - *691 responses: '204': @@ -104687,8 +104447,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -104774,8 +104534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -104800,8 +104560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *448 - - *449 + - *444 + - *445 - name: tag description: tag parameter in: path @@ -104838,8 +104598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *448 - - *449 + - *444 + - *445 - &694 name: release_id description: The unique identifier of the release. @@ -104874,8 +104634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 requestBody: required: false @@ -104963,8 +104723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 responses: '204': @@ -104985,8 +104745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *448 - - *449 + - *444 + - *445 - *694 - *17 - *19 @@ -105079,8 +104839,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *694 - name: name in: query @@ -105162,8 +104922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -105188,9 +104948,9 @@ paths: application/json: schema: type: array - items: *439 + items: *556 examples: - default: *441 + default: *635 headers: Link: *45 '404': *6 @@ -105211,8 +104971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *448 - - *449 + - *444 + - *445 - *694 requestBody: required: true @@ -105243,16 +105003,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '201': description: Reaction created content: application/json: - schema: *439 + schema: *556 examples: - default: *440 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -105274,10 +105034,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *448 - - *449 + - *444 + - *445 - *694 - - *442 + - *636 responses: '204': description: Response @@ -105301,9 +105061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *448 - - *449 - - *501 + - *444 + - *445 + - *497 - *17 - *19 responses: @@ -105440,8 +105200,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - name: includes_parents @@ -105507,8 +105267,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 requestBody: description: Request body required: true @@ -105617,8 +105377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *448 - - *449 + - *444 + - *445 - *699 - *103 - *700 @@ -105653,8 +105413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *448 - - *449 + - *444 + - *445 - *704 responses: '200': @@ -105691,8 +105451,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105732,8 +105492,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105815,8 +105575,8 @@ paths: category: repos subcategory: rules parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105839,8 +105599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 - name: ruleset_id @@ -105877,8 +105637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *448 - - *449 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105951,8 +105711,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *410 - *411 - *412 @@ -106230,9 +105990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *418 responses: '200': @@ -106293,9 +106053,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 requestBody: required: true content: @@ -106435,9 +106195,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: - - *448 - - *449 - - *528 + - *444 + - *445 + - *524 - *19 - *17 responses: @@ -106448,7 +106208,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &895 + items: &896 type: object properties: type: @@ -106573,8 +106333,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -106653,8 +106413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *448 - - *449 + - *444 + - *445 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106775,8 +106535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *448 - - *449 + - *444 + - *445 - *108 - name: sort description: The property to sort the results by. @@ -106845,8 +106605,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -107251,8 +107011,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -107512,8 +107272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *448 - - *449 + - *444 + - *445 - *732 responses: '200': @@ -107546,8 +107306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *448 - - *449 + - *444 + - *445 - *732 requestBody: required: true @@ -107760,8 +107520,8 @@ 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: - - *448 - - *449 + - *444 + - *445 - *732 responses: '202': *37 @@ -107789,17 +107549,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: - - *448 - - *449 + - *444 + - *445 - *732 responses: '202': description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 '400': *14 '422': *15 '403': *27 @@ -107825,8 +107585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -107922,8 +107682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107965,8 +107725,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108044,8 +107804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108139,8 +107899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108294,8 +108054,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108338,8 +108098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *448 - - *449 + - *444 + - *445 - name: sha in: path required: true @@ -108449,8 +108209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108482,8 +108242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: if you subscribe to the repository @@ -108562,8 +108322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -108616,8 +108376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -108637,8 +108397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108720,8 +108480,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: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -108786,8 +108546,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: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -108841,8 +108601,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: - - *448 - - *449 + - *444 + - *445 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -108879,8 +108639,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *448 - - *449 + - *444 + - *445 - name: ref in: path required: true @@ -108916,8 +108676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *448 - - *449 + - *444 + - *445 - *17 - *19 responses: @@ -108949,8 +108709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *448 - - *449 + - *444 + - *445 - *19 - *17 responses: @@ -108993,8 +108753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -109048,8 +108808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *448 - - *449 + - *444 + - *445 - &740 name: per description: The time frame to display results for. @@ -109169,8 +108929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -109265,8 +109025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *448 - - *449 + - *444 + - *445 responses: '200': description: Response @@ -109330,8 +109090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *448 - - *449 + - *444 + - *445 - *740 responses: '200': @@ -109431,8 +109191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *448 - - *449 + - *444 + - *445 requestBody: required: true content: @@ -109706,8 +109466,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109730,8 +109490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -109753,8 +109513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -109780,8 +109540,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *448 - - *449 + - *444 + - *445 - name: ref in: path required: true @@ -109873,9 +109633,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112427,7 +112187,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 comment_count: type: integer message: @@ -112446,7 +112206,7 @@ paths: url: type: string format: uri - verification: *620 + verification: *618 required: - author - committer @@ -112461,7 +112221,7 @@ paths: committer: anyOf: - type: 'null' - - *499 + - *495 parents: type: array items: @@ -114675,246 +114435,6 @@ paths: category: teams subcategory: discussion-comments deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": - get: - summary: List reactions for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - - List the reactions to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy - parameters: - - *773 - - *435 - - *438 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion comment (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - - Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-comment-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy - parameters: - - *773 - - *435 - - *438 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion comment. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - "/teams/{team_id}/discussions/{discussion_number}/reactions": - get: - summary: List reactions for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. - - List the reactions to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/list-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy - parameters: - - *773 - - *435 - - 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. - in: query - required: false - schema: - type: string - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *439 - examples: - default: *441 - headers: - Link: *45 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true - post: - summary: Create reaction for a team discussion (Legacy) - description: |- - > [!WARNING] - > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. - - Create a reaction to a [team discussion](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion). - - A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - - OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. - tags: - - reactions - operationId: reactions/create-for-team-discussion-legacy - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy - parameters: - - *773 - - *435 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - content: - type: string - description: The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) - to add to the team discussion. - enum: - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - rocket - - eyes - required: - - content - examples: - default: - value: - content: heart - responses: - '201': - description: Response - content: - application/json: - schema: *439 - examples: - default: *440 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - removalDate: '2021-02-21' - deprecationDate: '2020-02-26' - category: reactions - subcategory: reactions - deprecated: true "/teams/{team_id}/invitations": get: summary: List pending team invitations (Legacy) @@ -115140,7 +114660,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-user-is-a-team-maintainer: *778 '404': *6 @@ -115201,7 +114721,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *443 examples: response-if-users-membership-with-team-is-now-pending: *779 '403': @@ -115308,8 +114828,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 responses: '200': description: Alternative response with extra repository information @@ -115467,8 +114987,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 requestBody: required: false content: @@ -115519,8 +115039,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *773 - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -115555,9 +115075,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: - default: *451 + default: *447 '403': *27 '404': *6 x-github: @@ -115645,7 +115165,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *446 examples: default: value: @@ -116477,7 +115997,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -116485,7 +116005,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -116571,7 +116091,7 @@ paths: - visibility - selected_repositories_url examples: - default: *553 + default: *549 headers: Link: *45 x-github: @@ -116947,7 +116467,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '304': *35 '500': *38 '401': *23 @@ -117005,7 +116525,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '401': *23 '403': *27 '404': *6 @@ -117199,7 +116719,7 @@ paths: type: integer machines: type: array - items: *552 + items: *548 examples: default: *788 '304': *35 @@ -117286,11 +116806,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *453 + repository: *449 machine: anyOf: - type: 'null' - - *552 + - *548 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -118095,7 +117615,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '304': *35 '500': *38 '400': *14 @@ -118135,7 +117655,7 @@ paths: application/json: schema: *363 examples: - default: *551 + default: *547 '500': *38 '401': *23 '403': *27 @@ -119306,7 +118826,7 @@ paths: required: true content: application/json: - schema: *631 + schema: *629 examples: default: value: @@ -121771,9 +121291,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *449 examples: - default: *455 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121811,7 +121331,7 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: default: *802 headers: @@ -122082,7 +121602,7 @@ paths: - title - created_at examples: - default: &829 + default: &830 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -122245,7 +121765,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: - - &830 + - &831 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 @@ -122274,7 +121794,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &831 + items: &832 title: Starred Repository description: Starred Repository type: object @@ -122430,8 +121950,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response if this repository is starred by you @@ -122459,8 +121979,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -122484,8 +122004,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: - - *448 - - *449 + - *444 + - *445 responses: '204': description: Response @@ -123166,7 +122686,7 @@ paths: initiator: type: string examples: - default: *495 + default: *491 '201': description: Response content: @@ -123697,7 +123217,7 @@ paths: application/json: schema: *20 examples: - default: *630 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124699,6 +124219,59 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/users/{username}/projectsV2/{project_number}/views/{view_number}/items": + get: + summary: List items for a user project view + description: List items in a user project with the saved view's filter applied. + tags: + - projects + operationId: projects/list-view-items-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view + parameters: + - *391 + - *136 + - *829 + - name: fields + description: |- + Limit results to specific fields, by their IDs. If not specified, the + title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` + in: query + required: false + schema: + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *106 + - *107 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *398 + examples: + default: *399 + headers: + Link: *45 + '304': *35 + '403': *27 + '401': *23 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: items "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -124972,7 +124545,7 @@ paths: type: array items: *805 examples: - default: *829 + default: *830 headers: Link: *45 x-github: @@ -124997,7 +124570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *136 - - *830 + - *831 - *108 - *17 - *19 @@ -125009,7 +124582,7 @@ paths: schema: anyOf: - type: array - items: *831 + items: *832 - type: array items: *76 examples: @@ -125173,7 +124746,7 @@ webhooks: type: string enum: - disabled - enterprise: &832 + enterprise: &833 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125242,7 +124815,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &833 + installation: &834 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125263,7 +124836,7 @@ webhooks: required: - id - node_id - organization: &834 + organization: &835 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125336,7 +124909,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &835 + repository: &836 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126249,10 +125822,10 @@ webhooks: type: string enum: - enabled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -126328,11 +125901,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: &836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: &837 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) @@ -126555,11 +126128,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: *836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: *837 sender: *4 required: - action @@ -126747,11 +126320,11 @@ webhooks: - everyone required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - rule: *836 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + rule: *837 sender: *4 required: - action @@ -126824,7 +126397,7 @@ webhooks: required: true content: application/json: - schema: &856 + schema: &857 title: Exemption request cancellation event type: object properties: @@ -126832,11 +126405,11 @@ webhooks: type: string enum: - cancelled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: &837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: &838 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -127110,7 +126683,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &838 + items: &839 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -127222,7 +126795,7 @@ webhooks: required: true content: application/json: - schema: &857 + schema: &858 title: Exemption request completed event type: object properties: @@ -127230,11 +126803,11 @@ webhooks: type: string enum: - completed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 sender: *4 required: - action @@ -127306,7 +126879,7 @@ webhooks: required: true content: application/json: - schema: &854 + schema: &855 title: Exemption request created event type: object properties: @@ -127314,11 +126887,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 sender: *4 required: - action @@ -127390,7 +126963,7 @@ webhooks: required: true content: application/json: - schema: &858 + schema: &859 title: Exemption response dismissed event type: object properties: @@ -127398,12 +126971,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 - exemption_response: *838 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 + exemption_response: *839 sender: *4 required: - action @@ -127477,7 +127050,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &856 title: Exemption response submitted event type: object properties: @@ -127485,12 +127058,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - exemption_request: *837 - exemption_response: *838 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + exemption_request: *838 + exemption_response: *839 sender: *4 required: - action @@ -127574,7 +127147,7 @@ webhooks: type: string enum: - completed - check_run: &840 + check_run: &841 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127684,7 +127257,7 @@ webhooks: - examples: - neutral - deployment: *839 + deployment: *840 details_url: type: string examples: @@ -127782,10 +127355,10 @@ webhooks: - output - app - pull_requests - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -128178,11 +127751,11 @@ webhooks: type: string enum: - created - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -128578,11 +128151,11 @@ webhooks: type: string enum: - requested_action - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 requested_action: description: The action requested by the user. type: object @@ -128987,11 +128560,11 @@ webhooks: type: string enum: - rerequested - check_run: *840 - installation: *833 - enterprise: *832 - organization: *834 - repository: *835 + check_run: *841 + installation: *834 + enterprise: *833 + organization: *835 + repository: *836 sender: *4 required: - check_run @@ -129983,10 +129556,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -130695,10 +130268,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -131401,10 +130974,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -131573,7 +131146,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131725,20 +131298,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &841 + 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: *832 - installation: *833 - organization: *834 - ref: &842 + enterprise: *833 + installation: *834 + organization: *835 + 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: *835 + repository: *836 sender: *4 required: - action @@ -131905,7 +131478,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132146,12 +131719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132249,7 +131822,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132434,12 +132007,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132608,7 +132181,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132785,12 +132358,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -132891,7 +132464,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133080,9 +132653,9 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -133090,7 +132663,7 @@ webhooks: type: - string - 'null' - repository: *835 + repository: *836 sender: *4 required: - action @@ -133189,7 +132762,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133336,12 +132909,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *832 - installation: *833 - organization: *834 - ref: *842 - repository: *835 + commit_oid: *842 + enterprise: *833 + installation: *834 + organization: *835 + ref: *843 + repository: *836 sender: *4 required: - action @@ -133510,7 +133083,7 @@ webhooks: required: - login - id - dismissed_comment: *523 + dismissed_comment: *519 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133662,10 +133235,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -133925,10 +133498,10 @@ webhooks: - updated_at - author_association - body - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -134009,18 +133582,18 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *834 - pusher_type: &843 + organization: *835 + pusher_type: &844 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &844 + ref: &845 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -134030,7 +133603,7 @@ webhooks: enum: - tag - branch - repository: *835 + repository: *836 sender: *4 required: - ref @@ -134113,9 +133686,9 @@ webhooks: enum: - created definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134200,9 +133773,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134280,9 +133853,9 @@ webhooks: enum: - promote_to_enterprise definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134360,9 +133933,9 @@ webhooks: enum: - updated definition: *150 - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -134439,10 +134012,10 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - repository: *835 - organization: *834 + enterprise: *833 + installation: *834 + repository: *836 + organization: *835 sender: *4 new_property_values: type: array @@ -134527,18 +134100,18 @@ webhooks: title: delete event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - pusher_type: *843 - ref: *844 + enterprise: *833 + installation: *834 + organization: *835 + pusher_type: *844 + ref: *845 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *835 + repository: *836 sender: *4 required: - ref @@ -134622,11 +134195,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134710,11 +134283,11 @@ webhooks: type: string enum: - auto_reopened - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134798,11 +134371,11 @@ webhooks: type: string enum: - created - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134884,11 +134457,11 @@ webhooks: type: string enum: - dismissed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -134970,11 +134543,11 @@ webhooks: type: string enum: - fixed - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135057,11 +134630,11 @@ webhooks: type: string enum: - reintroduced - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135143,11 +134716,11 @@ webhooks: type: string enum: - reopened - alert: *579 - installation: *833 - organization: *834 - enterprise: *832 - repository: *835 + alert: *577 + installation: *834 + organization: *835 + enterprise: *833 + repository: *836 sender: *4 required: - action @@ -135224,9 +134797,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - key: &845 + enterprise: *833 + installation: *834 + 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 @@ -135264,8 +134837,8 @@ webhooks: - verified - created_at - read_only - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -135342,11 +134915,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - key: *845 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + key: *846 + organization: *835 + repository: *836 sender: *4 required: - action @@ -135918,12 +135491,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: &849 + workflow: &850 title: Workflow type: - object @@ -136661,13 +136234,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *585 + deployment: *583 pull_requests: type: array items: *678 - repository: *835 - organization: *834 - installation: *833 + repository: *836 + organization: *835 + installation: *834 sender: *4 responses: '200': @@ -136738,7 +136311,7 @@ webhooks: type: string enum: - approved - approver: &846 + approver: &847 type: object properties: avatar_url: @@ -136781,11 +136354,11 @@ webhooks: type: string comment: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - reviewers: &847 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + reviewers: &848 type: array items: type: object @@ -136866,7 +136439,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &848 + workflow_job_run: &849 type: object properties: conclusion: @@ -137612,18 +137185,18 @@ webhooks: type: string enum: - rejected - approver: *846 + approver: *847 comment: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - reviewers: *847 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + reviewers: *848 sender: *4 since: type: string - workflow_job_run: *848 + workflow_job_run: *849 workflow_job_runs: type: array items: @@ -138340,13 +137913,13 @@ webhooks: type: string enum: - requested - enterprise: *832 + enterprise: *833 environment: type: string - installation: *833 - organization: *834 - repository: *835 - requestor: &859 + installation: *834 + organization: *835 + repository: *836 + requestor: &860 title: User type: - object @@ -140289,12 +139862,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - workflow: *849 + workflow: *850 workflow_run: title: Deployment Workflow Run type: @@ -140985,7 +140558,7 @@ webhooks: type: string enum: - answered - answer: &852 + answer: &853 type: object properties: author_association: @@ -141145,11 +140718,11 @@ webhooks: - created_at - updated_at - body - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141276,11 +140849,11 @@ webhooks: - from required: - category - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141363,11 +140936,11 @@ webhooks: type: string enum: - closed - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141449,7 +141022,7 @@ webhooks: type: string enum: - created - comment: &851 + comment: &852 type: object properties: author_association: @@ -141609,11 +141182,11 @@ webhooks: - updated_at - body - reactions - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141696,12 +141269,12 @@ webhooks: type: string enum: - deleted - comment: *851 - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + comment: *852 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141796,12 +141369,12 @@ webhooks: - from required: - body - comment: *851 - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + comment: *852 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141885,11 +141458,11 @@ webhooks: type: string enum: - created - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -141971,11 +141544,11 @@ webhooks: type: string enum: - deleted - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142075,11 +141648,11 @@ webhooks: type: string required: - from - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142161,10 +141734,10 @@ webhooks: type: string enum: - labeled - discussion: *850 - enterprise: *832 - installation: *833 - label: &853 + discussion: *851 + enterprise: *833 + installation: *834 + label: &854 title: Label type: object properties: @@ -142197,8 +141770,8 @@ webhooks: - color - default - description - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142281,11 +141854,11 @@ webhooks: type: string enum: - locked - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142367,11 +141940,11 @@ webhooks: type: string enum: - pinned - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142453,11 +142026,11 @@ webhooks: type: string enum: - reopened - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142542,16 +142115,16 @@ webhooks: changes: type: object properties: - new_discussion: *850 - new_repository: *835 + new_discussion: *851 + new_repository: *836 required: - new_discussion - new_repository - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142634,10 +142207,10 @@ webhooks: type: string enum: - unanswered - discussion: *850 - old_answer: *852 - organization: *834 - repository: *835 + discussion: *851 + old_answer: *853 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142719,12 +142292,12 @@ webhooks: type: string enum: - unlabeled - discussion: *850 - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142807,11 +142380,11 @@ webhooks: type: string enum: - unlocked - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -142885,236 +142458,47 @@ webhooks: required: true content: application/json: - schema: - title: discussion unpinned event - type: object - properties: - action: - type: string - enum: - - unpinned - discussion: *850 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - sender: *4 - required: - - action - - discussion - - repository - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: false - category: webhooks - subcategory: discussion - supported-webhook-types: - - repository - - organization - - app - dismissal-request-code-scanning-created: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - description: A code scanning alert dismissal request was created. - operationId: dismissal-request-code-scanning/created - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *854 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: dismissal_request_code_scanning - supported-webhook-types: - - repository - - organization - - app - dismissal-request-code-scanning-response-submitted: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - description: A code scanning alert dismissal response was submitted. - operationId: dismissal-request-code-scanning/response-submitted - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *855 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: dismissal_request_code_scanning - supported-webhook-types: - - repository - - organization - - app - dismissal-request-dependabot-cancelled: - post: - summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request was canceled. - operationId: dismissal-request-dependabot/cancelled - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: dismissal_request_dependabot - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *856 + schema: + title: discussion unpinned event + type: object + properties: + action: + type: string + enum: + - unpinned + discussion: *851 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + sender: *4 + required: + - action + - discussion + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received successfully x-github: - githubCloudOnly: true + githubCloudOnly: false category: webhooks - subcategory: dismissal_request_dependabot + subcategory: discussion supported-webhook-types: - repository - organization - app - dismissal-request-dependabot-created: + dismissal-request-code-scanning-created: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. + This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request was created. - operationId: dismissal-request-dependabot/created + To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. + description: A code scanning alert dismissal request was created. + operationId: dismissal-request-code-scanning/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning parameters: - name: User-Agent in: header @@ -143128,7 +142512,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: dismissal_request_dependabot + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143155,7 +142539,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143163,21 +142547,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_dependabot + subcategory: dismissal_request_code_scanning supported-webhook-types: - repository - organization - app - dismissal-request-dependabot-response-submitted: + dismissal-request-code-scanning-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. + This event occurs when there is activity related to a user's request to dismiss a code scanning alert. - To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - description: A Dependabot alert dismissal request received a response. - operationId: dismissal-request-dependabot/response-submitted + To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. + description: A code scanning alert dismissal response was submitted. + operationId: dismissal-request-code-scanning/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning parameters: - name: User-Agent in: header @@ -143191,7 +142575,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: dismissal_request_dependabot + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143218,7 +142602,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143226,24 +142610,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_dependabot + subcategory: dismissal_request_code_scanning supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-cancelled: + dismissal-request-dependabot-cancelled: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was canceled. - operationId: dismissal-request-secret-scanning/cancelled + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request was canceled. + operationId: dismissal-request-dependabot/cancelled externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143257,7 +142638,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143284,7 +142665,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143292,24 +142673,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-completed: + dismissal-request-dependabot-created: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was completed. - operationId: dismissal-request-secret-scanning/completed + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request was created. + operationId: dismissal-request-dependabot/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143323,7 +142701,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143350,7 +142728,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143358,24 +142736,21 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-created: + dismissal-request-dependabot-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + This event occurs when there is activity related to a user's request to dismiss a Dependabot alert. - [!NOTE] - Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal request was created. - operationId: dismissal-request-secret-scanning/created + To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + description: A Dependabot alert dismissal request received a response. + operationId: dismissal-request-dependabot/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot parameters: - name: User-Agent in: header @@ -143389,7 +142764,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dismissal_request_dependabot schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -143416,7 +142791,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143424,12 +142799,12 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: dismissal_request_secret_scanning + subcategory: dismissal_request_dependabot supported-webhook-types: - repository - organization - app - dismissal-request-secret-scanning-response-dismissed: + dismissal-request-secret-scanning-cancelled: post: summary: |- This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. @@ -143438,8 +142813,8 @@ webhooks: [!NOTE] Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal response was dismissed. - operationId: dismissal-request-secret-scanning/response-dismissed + description: A secret scanning alert dismissal request was canceled. + operationId: dismissal-request-secret-scanning/cancelled externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: @@ -143482,7 +142857,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143495,7 +142870,7 @@ webhooks: - repository - organization - app - dismissal-request-secret-scanning-response-submitted: + dismissal-request-secret-scanning-completed: post: summary: |- This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. @@ -143504,8 +142879,8 @@ webhooks: [!NOTE] Delegated alert dismissal for secret scanning is currently in public preview and subject to change. - description: A secret scanning alert dismissal response was submitted. - operationId: dismissal-request-secret-scanning/response-submitted + description: A secret scanning alert dismissal request was completed. + operationId: dismissal-request-secret-scanning/completed externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: @@ -143548,7 +142923,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *858 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143561,83 +142936,19 @@ webhooks: - repository - organization - app - exemption-request-push-ruleset-cancelled: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. - - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was cancelled. - operationId: exemption-request-push-ruleset/cancelled - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: *856 - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: exemption_request_push_ruleset - supported-webhook-types: - - repository - - organization - - app - exemption-request-push-ruleset-completed: + dismissal-request-secret-scanning-created: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was completed. - operationId: exemption-request-push-ruleset/completed + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal request was created. + operationId: dismissal-request-secret-scanning/created externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143678,7 +142989,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143686,23 +142997,24 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-created: + dismissal-request-secret-scanning-response-dismissed: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass request was created. - operationId: exemption-request-push-ruleset/created + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal response was dismissed. + operationId: dismissal-request-secret-scanning/response-dismissed externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143743,7 +143055,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *859 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143751,23 +143063,24 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-response-dismissed: + dismissal-request-secret-scanning-response-submitted: post: summary: |- - This event occurs when there is activity related to a user's request to bypass a set of push rules. + This event occurs when there is activity related to a user's request to dismiss a secret scanning alert. - For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A push ruleset bypass response was dismissed. - operationId: exemption-request-push-ruleset/response-dismissed + [!NOTE] + Delegated alert dismissal for secret scanning is currently in public preview and subject to change. + description: A secret scanning alert dismissal response was submitted. + operationId: dismissal-request-secret-scanning/response-submitted externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning parameters: - name: User-Agent in: header @@ -143808,7 +143121,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143816,12 +143129,12 @@ webhooks: x-github: githubCloudOnly: true category: webhooks - subcategory: exemption_request_push_ruleset + subcategory: dismissal_request_secret_scanning supported-webhook-types: - repository - organization - app - exemption-request-push-ruleset-response-submitted: + exemption-request-push-ruleset-cancelled: post: summary: |- This event occurs when there is activity related to a user's request to bypass a set of push rules. @@ -143829,9 +143142,138 @@ webhooks: For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - description: A response either approving or rejecting the push ruleset bypass - request was submitted. - operationId: exemption-request-push-ruleset/response-submitted + description: A push ruleset bypass request was cancelled. + operationId: exemption-request-push-ruleset/cancelled + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *857 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-completed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass request was completed. + operationId: exemption-request-push-ruleset/completed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *858 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-created: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass request was created. + operationId: exemption-request-push-ruleset/created externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset parameters: @@ -143887,6 +143329,137 @@ webhooks: - repository - organization - app + exemption-request-push-ruleset-response-dismissed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A push ruleset bypass response was dismissed. + operationId: exemption-request-push-ruleset/response-dismissed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *859 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app + exemption-request-push-ruleset-response-submitted: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass a set of push rules. + + For more information, see "[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + description: A response either approving or rejecting the push ruleset bypass + request was submitted. + operationId: exemption-request-push-ruleset/response-submitted + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: *856 + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: exemption_request_push_ruleset + supported-webhook-types: + - repository + - organization + - app fork: post: summary: |- @@ -143941,7 +143514,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *832 + enterprise: *833 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144619,9 +144192,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - forkee @@ -144767,9 +144340,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pages: description: The pages that were updated. type: array @@ -144807,7 +144380,7 @@ webhooks: - action - sha - html_url - repository: *835 + repository: *836 sender: *4 required: - pages @@ -144883,10 +144456,10 @@ webhooks: type: string enum: - created - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: &860 + organization: *835 + repositories: &861 description: An array of repository objects that the installation can access. type: array @@ -144912,8 +144485,8 @@ webhooks: - name - full_name - private - repository: *835 - requester: *859 + repository: *836 + requester: *860 sender: *4 required: - action @@ -144988,11 +144561,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145069,11 +144642,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145150,10 +144723,10 @@ webhooks: type: string enum: - added - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories_added: &861 + organization: *835 + repositories_added: &862 description: An array of repository objects, which were added to the installation. type: array @@ -145199,15 +144772,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *835 - repository_selection: &862 + repository: *836 + repository_selection: &863 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *859 + requester: *860 sender: *4 required: - action @@ -145286,10 +144859,10 @@ webhooks: type: string enum: - removed - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories_added: *861 + organization: *835 + repositories_added: *862 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -145316,9 +144889,9 @@ webhooks: - name - full_name - private - repository: *835 - repository_selection: *862 - requester: *859 + repository: *836 + repository_selection: *863 + requester: *860 sender: *4 required: - action @@ -145397,11 +144970,11 @@ webhooks: type: string enum: - suspend - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145584,10 +145157,10 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 target_type: type: string @@ -145666,11 +145239,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *832 + enterprise: *833 installation: *20 - organization: *834 - repositories: *860 - repository: *835 + organization: *835 + repositories: *861 + repository: *836 requester: type: - 'null' @@ -145918,8 +145491,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147098,8 +146671,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -147179,7 +146752,7 @@ webhooks: type: string enum: - deleted - comment: &863 + comment: &864 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147346,8 +146919,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148524,8 +148097,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -148605,7 +148178,7 @@ webhooks: type: string enum: - edited - changes: &887 + changes: &888 description: The changes to the comment. type: object properties: @@ -148617,9 +148190,9 @@ webhooks: type: string required: - from - comment: *863 - enterprise: *832 - installation: *833 + comment: *864 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149797,8 +149370,8 @@ webhooks: - state - locked - assignee - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -149888,9 +149461,9 @@ webhooks: type: number blocking_issue: *212 blocking_issue_repo: *76 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -149979,9 +149552,9 @@ webhooks: type: number blocking_issue: *212 blocking_issue_repo: *76 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150069,9 +149642,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150160,9 +149733,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -150242,10 +149815,10 @@ webhooks: type: string enum: - assigned - assignee: *859 - enterprise: *832 - installation: *833 - issue: &866 + assignee: *860 + enterprise: *833 + installation: *834 + issue: &867 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151181,8 +150754,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -151262,8 +150835,8 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -152347,8 +151920,8 @@ webhooks: required: - state - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -152427,8 +152000,8 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153359,8 +152932,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -153439,8 +153012,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154373,7 +153946,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &864 + milestone: &865 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154516,8 +154089,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -154616,8 +154189,8 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155553,9 +155126,9 @@ webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *834 - repository: *835 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -155635,8 +155208,8 @@ webhooks: type: string enum: - labeled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156571,9 +156144,9 @@ webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *834 - repository: *835 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -156653,8 +156226,8 @@ webhooks: type: string enum: - locked - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157591,8 +157164,8 @@ webhooks: format: uri user_view_type: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -157671,8 +157244,8 @@ webhooks: type: string enum: - milestoned - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158603,9 +158176,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *864 - organization: *834 - repository: *835 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -160078,8 +159651,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161014,8 +160587,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -161095,9 +160668,9 @@ webhooks: type: string enum: - pinned - enterprise: *832 - installation: *833 - issue: &865 + enterprise: *833 + installation: *834 + issue: &866 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -162026,8 +161599,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -162106,8 +161679,8 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163043,8 +162616,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164536,11 +164109,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *832 - installation: *833 - issue: *865 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *866 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164620,12 +164193,12 @@ webhooks: type: string enum: - typed - enterprise: *832 - installation: *833 - issue: *866 + enterprise: *833 + installation: *834 + issue: *867 type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164706,7 +164279,7 @@ webhooks: type: string enum: - unassigned - assignee: &890 + assignee: &891 title: User type: - object @@ -164778,11 +164351,11 @@ webhooks: required: - login - id - enterprise: *832 - installation: *833 - issue: *866 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *867 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164861,12 +164434,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *832 - installation: *833 - issue: *866 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *867 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -164946,8 +164519,8 @@ webhooks: type: string enum: - unlocked - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165882,8 +165455,8 @@ webhooks: format: uri user_view_type: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -165963,11 +165536,11 @@ webhooks: type: string enum: - unpinned - enterprise: *832 - installation: *833 - issue: *865 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + issue: *866 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166046,12 +165619,12 @@ webhooks: type: string enum: - untyped - enterprise: *832 - installation: *833 - issue: *866 + enterprise: *833 + installation: *834 + issue: *867 type: *358 - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166131,11 +165704,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166213,11 +165786,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166327,11 +165900,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - label: *853 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + label: *854 + organization: *835 + repository: *836 sender: *4 required: - action @@ -166413,9 +165986,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: &867 + enterprise: *833 + installation: *834 + marketplace_purchase: &868 title: Marketplace Purchase type: object required: @@ -166503,8 +166076,8 @@ webhooks: type: integer unit_count: type: integer - organization: *834 - previous_marketplace_purchase: &868 + organization: *835 + previous_marketplace_purchase: &869 title: Marketplace Purchase type: object properties: @@ -166588,7 +166161,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -166668,10 +166241,10 @@ webhooks: - changed effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166759,7 +166332,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -166841,10 +166414,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166930,7 +166503,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *835 + repository: *836 sender: *4 required: - action @@ -167011,8 +166584,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 marketplace_purchase: title: Marketplace Purchase type: object @@ -167098,9 +166671,9 @@ webhooks: type: integer unit_count: type: integer - organization: *834 - previous_marketplace_purchase: *868 - repository: *835 + organization: *835 + previous_marketplace_purchase: *869 + repository: *836 sender: *4 required: - action @@ -167180,12 +166753,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *832 - installation: *833 - marketplace_purchase: *867 - organization: *834 - previous_marketplace_purchase: *868 - repository: *835 + enterprise: *833 + installation: *834 + marketplace_purchase: *868 + organization: *835 + previous_marketplace_purchase: *869 + repository: *836 sender: *4 required: - action @@ -167287,11 +166860,11 @@ webhooks: type: string required: - to - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167393,11 +166966,11 @@ webhooks: type: - string - 'null' - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167476,11 +167049,11 @@ webhooks: type: string enum: - removed - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 sender: *4 required: - action @@ -167558,11 +167131,11 @@ webhooks: type: string enum: - added - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167640,7 +167213,7 @@ webhooks: required: - login - id - team: &869 + team: &870 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -167870,11 +167443,11 @@ webhooks: type: string enum: - removed - enterprise: *832 - installation: *833 - member: *859 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + member: *860 + organization: *835 + repository: *836 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167953,7 +167526,7 @@ webhooks: required: - login - id - team: *869 + team: *870 required: - action - scope @@ -168035,8 +167608,8 @@ webhooks: type: string enum: - checks_requested - installation: *833 - merge_group: &870 + installation: *834 + merge_group: &871 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -168055,15 +167628,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *515 + head_commit: *511 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168149,10 +167722,10 @@ webhooks: - merged - invalidated - dequeued - installation: *833 - merge_group: *870 - organization: *834 - repository: *835 + installation: *834 + merge_group: *871 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168225,7 +167798,7 @@ webhooks: type: string enum: - deleted - enterprise: *832 + enterprise: *833 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -168334,12 +167907,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *833 - organization: *834 + installation: *834 + organization: *835 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -168419,11 +167992,11 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168502,9 +168075,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - milestone: &871 + enterprise: *833 + installation: *834 + milestone: &872 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168646,8 +168219,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168726,11 +168299,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168840,11 +168413,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - milestone: *864 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *865 + organization: *835 + repository: *836 sender: *4 required: - action @@ -168924,11 +168497,11 @@ webhooks: type: string enum: - opened - enterprise: *832 - installation: *833 - milestone: *871 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + milestone: *872 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169007,11 +168580,11 @@ webhooks: type: string enum: - blocked - blocked_user: *859 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + blocked_user: *860 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169090,11 +168663,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *859 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + blocked_user: *860 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169170,7 +168743,7 @@ webhooks: enum: - created definition: *144 - enterprise: *832 + enterprise: *833 sender: *4 required: - action @@ -169250,8 +168823,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 sender: *4 required: - action @@ -169324,8 +168897,8 @@ webhooks: enum: - updated definition: *144 - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 sender: *4 required: - action @@ -169397,9 +168970,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 new_property_values: type: array @@ -169487,9 +169060,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - membership: &872 + enterprise: *833 + installation: *834 + membership: &873 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -169599,8 +169172,8 @@ webhooks: - role - organization_url - user - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169678,11 +169251,11 @@ webhooks: type: string enum: - member_added - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -169761,8 +169334,8 @@ webhooks: type: string enum: - member_invited - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -169884,10 +169457,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 - user: *859 + user: *860 required: - action - invitation @@ -169965,11 +169538,11 @@ webhooks: type: string enum: - member_removed - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -170056,11 +169629,11 @@ webhooks: properties: from: type: string - enterprise: *832 - installation: *833 - membership: *872 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + membership: *873 + organization: *835 + repository: *836 sender: *4 required: - action @@ -170136,9 +169709,9 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 package: description: Information about the package. type: object @@ -170661,7 +170234,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &873 + items: &874 title: Ruby Gems metadata type: object properties: @@ -170758,7 +170331,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -170834,9 +170407,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 package: description: Information about the package. type: object @@ -171198,7 +170771,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *873 + items: *874 source_url: type: string format: uri @@ -171269,7 +170842,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -171450,12 +171023,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *832 + enterprise: *833 id: type: integer - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - id @@ -171532,7 +171105,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &874 + personal_access_token_request: &875 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -171682,10 +171255,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *832 - organization: *834 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171762,11 +171335,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *874 - enterprise: *832 - organization: *834 + personal_access_token_request: *875 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171842,11 +171415,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *874 - enterprise: *832 - organization: *834 + personal_access_token_request: *875 + enterprise: *833 + organization: *835 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -171921,11 +171494,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *874 - organization: *834 - enterprise: *832 + personal_access_token_request: *875 + organization: *835 + enterprise: *833 sender: *4 - installation: *833 + installation: *834 required: - action - personal_access_token_request @@ -172030,7 +171603,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *875 + last_response: *876 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172062,8 +171635,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 zen: description: Random string of GitHub zen. @@ -172308,10 +171881,10 @@ webhooks: - from required: - note - enterprise: *832 - installation: *833 - organization: *834 - project_card: &876 + enterprise: *833 + installation: *834 + organization: *835 + project_card: &877 title: Project Card type: object properties: @@ -172434,7 +172007,7 @@ webhooks: - creator - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -172515,11 +172088,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project_card: *876 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_card: *877 + repository: *836 sender: *4 required: - action @@ -172599,9 +172172,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 project_card: title: Project Card type: object @@ -172731,7 +172304,7 @@ webhooks: repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -172825,11 +172398,11 @@ webhooks: - from required: - note - enterprise: *832 - installation: *833 - organization: *834 - project_card: *876 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_card: *877 + repository: *836 sender: *4 required: - action @@ -172923,9 +172496,9 @@ webhooks: - from required: - column_id - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 project_card: allOf: - title: Project Card @@ -173122,7 +172695,7 @@ webhooks: type: string required: - after_id - repository: *835 + repository: *836 sender: *4 required: - action @@ -173202,10 +172775,10 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - organization: *834 - project: &878 + enterprise: *833 + installation: *834 + organization: *835 + project: &879 title: Project type: object properties: @@ -173332,7 +172905,7 @@ webhooks: - creator - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -173412,10 +172985,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project_column: &877 + enterprise: *833 + installation: *834 + organization: *835 + project_column: &878 title: Project Column type: object properties: @@ -173455,7 +173028,7 @@ webhooks: - name - created_at - updated_at - repository: *835 + repository: *836 sender: *4 required: - action @@ -173534,14 +173107,14 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -173630,11 +173203,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 + repository: *836 sender: *4 required: - action @@ -173714,11 +173287,11 @@ webhooks: type: string enum: - moved - enterprise: *832 - installation: *833 - organization: *834 - project_column: *877 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project_column: *878 + repository: *836 sender: *4 required: - action @@ -173798,11 +173371,11 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -173882,14 +173455,14 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - project: *878 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 repository: anyOf: - type: 'null' - - *835 + - *836 sender: *4 required: - action @@ -173990,11 +173563,11 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -174073,11 +173646,11 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 - organization: *834 - project: *878 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + project: *879 + repository: *836 sender: *4 required: - action @@ -174158,8 +173731,8 @@ webhooks: type: string enum: - closed - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174241,8 +173814,8 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174324,8 +173897,8 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174447,8 +174020,8 @@ webhooks: type: string to: type: string - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -174532,7 +174105,7 @@ webhooks: type: string enum: - archived - changes: &882 + changes: &883 type: object properties: archived_at: @@ -174548,9 +174121,9 @@ webhooks: - string - 'null' format: date-time - installation: *833 - organization: *834 - projects_v2_item: &879 + installation: *834 + organization: *835 + projects_v2_item: &880 title: Projects v2 Item description: An item belonging to a project type: object @@ -174690,9 +174263,9 @@ webhooks: - 'null' to: type: string - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174774,9 +174347,9 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174857,9 +174430,9 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -174964,7 +174537,7 @@ webhooks: oneOf: - type: string - type: integer - - &880 + - &881 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -174988,7 +174561,7 @@ webhooks: required: - id - name - - &881 + - &882 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175028,8 +174601,8 @@ webhooks: oneOf: - type: string - type: integer - - *880 - *881 + - *882 type: - 'null' - string @@ -175052,9 +174625,9 @@ webhooks: - 'null' required: - body - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175151,9 +174724,9 @@ webhooks: type: - string - 'null' - installation: *833 - organization: *834 - projects_v2_item: *879 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175236,10 +174809,10 @@ webhooks: type: string enum: - restored - changes: *882 - installation: *833 - organization: *834 - projects_v2_item: *879 + changes: *883 + installation: *834 + organization: *835 + projects_v2_item: *880 sender: *4 required: - action @@ -175321,8 +174894,8 @@ webhooks: type: string enum: - reopened - installation: *833 - organization: *834 + installation: *834 + organization: *835 projects_v2: *389 sender: *4 required: @@ -175404,9 +174977,9 @@ webhooks: type: string enum: - created - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175487,9 +175060,9 @@ webhooks: type: string enum: - deleted - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175635,9 +175208,9 @@ webhooks: - string - 'null' format: date - installation: *833 - organization: *834 - projects_v2_status_update: *883 + installation: *834 + organization: *835 + projects_v2_status_update: *884 sender: *4 required: - action @@ -175708,10 +175281,10 @@ webhooks: title: public event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - repository @@ -175788,13 +175361,13 @@ webhooks: type: string enum: - assigned - assignee: *859 - enterprise: *832 - installation: *833 - number: &884 + assignee: *860 + enterprise: *833 + installation: *834 + number: &885 description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -178143,7 +177716,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -178225,11 +177798,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -180571,7 +180144,7 @@ webhooks: - draft reason: type: string - repository: *835 + repository: *836 sender: *4 required: - action @@ -180653,11 +180226,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -182999,7 +182572,7 @@ webhooks: - draft reason: type: string - repository: *835 + repository: *836 sender: *4 required: - action @@ -183081,11 +182654,11 @@ webhooks: type: string enum: - closed - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: &885 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: &886 allOf: - *678 - type: object @@ -183149,7 +182722,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *835 + repository: *836 sender: *4 required: - action @@ -183230,12 +182803,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -183315,11 +182888,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *832 + enterprise: *833 milestone: *392 - number: *884 - organization: *834 - pull_request: &886 + number: *885 + organization: *835 + pull_request: &887 title: Pull Request type: object properties: @@ -185646,7 +185219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -185725,11 +185298,11 @@ webhooks: type: string enum: - dequeued - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -188075,7 +187648,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *835 + repository: *836 sender: *4 required: - action @@ -188199,12 +187772,12 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -188284,11 +187857,11 @@ webhooks: type: string enum: - enqueued - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -190619,7 +190192,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -190699,11 +190272,11 @@ webhooks: type: string enum: - labeled - enterprise: *832 - installation: *833 - label: *853 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + label: *854 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -193051,7 +192624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -193132,10 +192705,10 @@ webhooks: type: string enum: - locked - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -195481,7 +195054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -195561,12 +195134,12 @@ webhooks: type: string enum: - milestoned - enterprise: *832 + enterprise: *833 milestone: *392 - number: *884 - organization: *834 - pull_request: *886 - repository: *835 + number: *885 + organization: *835 + pull_request: *887 + repository: *836 sender: *4 required: - action @@ -195645,12 +195218,12 @@ webhooks: type: string enum: - opened - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -195731,12 +195304,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -195816,12 +195389,12 @@ webhooks: type: string enum: - reopened - enterprise: *832 - installation: *833 - number: *884 - organization: *834 - pull_request: *885 - repository: *835 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 + pull_request: *886 + repository: *836 sender: *4 required: - action @@ -196196,9 +195769,9 @@ webhooks: - start_side - side - reactions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -198428,7 +198001,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -198508,7 +198081,7 @@ webhooks: type: string enum: - deleted - comment: &888 + 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. @@ -198801,9 +198374,9 @@ webhooks: - start_side - side - reactions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -201021,7 +200594,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -201101,11 +200674,11 @@ webhooks: type: string enum: - edited - changes: *887 - comment: *888 - enterprise: *832 - installation: *833 - organization: *834 + changes: *888 + comment: *889 + enterprise: *833 + installation: *834 + organization: *835 pull_request: type: object properties: @@ -203326,7 +202899,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *835 + repository: *836 sender: *4 required: - action @@ -203407,9 +202980,9 @@ webhooks: type: string enum: - dismissed - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -205642,7 +205215,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 review: description: The review that was affected. type: object @@ -205893,9 +205466,9 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -208009,8 +207582,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 - review: &889 + repository: *836 + review: &890 description: The review that was affected. type: object properties: @@ -208248,12 +207821,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -210600,7 +210173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_reviewer: title: User type: @@ -210686,12 +210259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -213045,7 +212618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213240,12 +212813,12 @@ webhooks: type: string enum: - review_requested - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -215594,7 +215167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_reviewer: title: User type: @@ -215681,12 +215254,12 @@ webhooks: type: string enum: - review_requested - enterprise: *832 - installation: *833 + enterprise: *833 + installation: *834 number: description: The pull request number. type: integer - organization: *834 + organization: *835 pull_request: title: Pull Request type: object @@ -218026,7 +217599,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 requested_team: title: Team description: Groups of organization members that gives permissions @@ -218210,9 +217783,9 @@ webhooks: type: string enum: - submitted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -220448,8 +220021,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 - review: *889 + repository: *836 + review: *890 sender: *4 required: - action @@ -220529,9 +220102,9 @@ webhooks: type: string enum: - resolved - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -222662,7 +222235,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 sender: *4 thread: type: object @@ -223059,9 +222632,9 @@ webhooks: type: string enum: - unresolved - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 pull_request: title: Simple Pull Request type: object @@ -225175,7 +224748,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *835 + repository: *836 sender: *4 thread: type: object @@ -225574,10 +225147,10 @@ webhooks: type: string before: type: string - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -227912,7 +227485,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -227994,11 +227567,11 @@ webhooks: type: string enum: - unassigned - assignee: *890 - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + assignee: *891 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -230348,7 +229921,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -230427,11 +230000,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *832 - installation: *833 - label: *853 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + label: *854 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -232770,7 +232343,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -232851,10 +232424,10 @@ webhooks: type: string enum: - unlocked - enterprise: *832 - installation: *833 - number: *884 - organization: *834 + enterprise: *833 + installation: *834 + number: *885 + organization: *835 pull_request: title: Pull Request type: object @@ -235183,7 +234756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *835 + repository: *836 sender: *4 required: - action @@ -235386,7 +234959,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *832 + enterprise: *833 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235481,8 +235054,8 @@ webhooks: - url - author - committer - installation: *833 - organization: *834 + installation: *834 + organization: *835 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -236070,9 +235643,9 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 registry_package: type: object properties: @@ -236549,7 +236122,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *873 + items: *874 summary: type: string tag_name: @@ -236605,7 +236178,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -236683,9 +236256,9 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 registry_package: type: object properties: @@ -236997,7 +236570,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *873 + items: *874 summary: type: string tag_name: @@ -237047,7 +236620,7 @@ webhooks: - owner - package_version - registry - repository: *835 + repository: *836 sender: *4 required: - action @@ -237124,10 +236697,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - release: &891 + enterprise: *833 + installation: *834 + organization: *835 + release: &892 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237458,7 +237031,7 @@ webhooks: - updated_at - zipball_url - body - repository: *835 + repository: *836 sender: *4 required: - action @@ -237535,11 +237108,11 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -237656,11 +237229,11 @@ webhooks: type: boolean required: - to - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -237738,9 +237311,9 @@ webhooks: type: string enum: - prereleased - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -238076,7 +237649,7 @@ webhooks: - string - 'null' format: uri - repository: *835 + repository: *836 sender: *4 required: - action @@ -238152,10 +237725,10 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - release: &892 + enterprise: *833 + installation: *834 + organization: *835 + release: &893 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -238488,7 +238061,7 @@ webhooks: - string - 'null' format: uri - repository: *835 + repository: *836 sender: *4 required: - action @@ -238564,11 +238137,11 @@ webhooks: type: string enum: - released - enterprise: *832 - installation: *833 - organization: *834 - release: *891 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *892 + repository: *836 sender: *4 required: - action @@ -238644,11 +238217,11 @@ webhooks: type: string enum: - unpublished - enterprise: *832 - installation: *833 - organization: *834 - release: *892 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + release: *893 + repository: *836 sender: *4 required: - action @@ -238724,10 +238297,10 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_advisory: *730 sender: *4 required: @@ -238804,10 +238377,10 @@ webhooks: type: string enum: - reported - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_advisory: *730 sender: *4 required: @@ -238884,10 +238457,10 @@ webhooks: type: string enum: - archived - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -238964,10 +238537,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239045,10 +238618,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239133,10 +238706,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239251,10 +238824,10 @@ webhooks: - 'null' items: type: string - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239326,10 +238899,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 status: type: string @@ -239410,10 +238983,10 @@ webhooks: type: string enum: - privatized - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239490,10 +239063,10 @@ webhooks: type: string enum: - publicized - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239587,10 +239160,10 @@ webhooks: - name required: - repository - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -239670,10 +239243,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 sender: *4 required: @@ -239752,10 +239325,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 sender: *4 required: @@ -239834,10 +239407,10 @@ webhooks: type: string enum: - edited - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 repository_ruleset: *184 changes: type: object @@ -240145,10 +239718,10 @@ webhooks: - from required: - owner - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240226,10 +239799,10 @@ webhooks: type: string enum: - unarchived - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240307,7 +239880,7 @@ webhooks: type: string enum: - create - alert: &893 + alert: &894 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240431,10 +240004,10 @@ webhooks: type: string enum: - open - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240644,10 +240217,10 @@ webhooks: type: string enum: - dismissed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240725,11 +240298,11 @@ webhooks: type: string enum: - reopen - alert: *893 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *894 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -240931,10 +240504,10 @@ webhooks: enum: - fixed - open - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241012,7 +240585,7 @@ webhooks: type: string enum: - assigned - alert: &894 + alert: &895 type: object properties: number: *123 @@ -241127,10 +240700,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241208,11 +240781,11 @@ webhooks: type: string enum: - created - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241293,11 +240866,11 @@ webhooks: type: string enum: - created - alert: *894 - installation: *833 - location: *895 - organization: *834 - repository: *835 + alert: *895 + installation: *834 + location: *896 + organization: *835 + repository: *836 sender: *4 required: - location @@ -241535,11 +241108,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241617,11 +241190,11 @@ webhooks: type: string enum: - reopened - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241699,11 +241272,11 @@ webhooks: type: string enum: - resolved - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241781,12 +241354,12 @@ webhooks: type: string enum: - unassigned - alert: *894 + alert: *895 assignee: *4 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241864,11 +241437,11 @@ webhooks: type: string enum: - validated - alert: *894 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + alert: *895 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -241998,10 +241571,10 @@ webhooks: - organization - enterprise - - repository: *835 - enterprise: *832 - installation: *833 - organization: *834 + repository: *836 + enterprise: *833 + installation: *834 + organization: *835 sender: *4 required: - action @@ -242079,11 +241652,11 @@ webhooks: type: string enum: - published - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - security_advisory: &896 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + security_advisory: &897 description: The details of the security advisory, including summary, description, and severity. type: object @@ -242269,11 +241842,11 @@ webhooks: type: string enum: - updated - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 - security_advisory: *896 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 + security_advisory: *897 sender: *4 required: - action @@ -242346,10 +241919,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -242536,10 +242109,10 @@ webhooks: type: object properties: security_and_analysis: *402 - enterprise: *832 - installation: *833 - organization: *834 - repository: *453 + enterprise: *833 + installation: *834 + organization: *835 + repository: *449 sender: *4 required: - changes @@ -242617,12 +242190,12 @@ webhooks: type: string enum: - cancelled - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: &897 + sponsorship: &898 type: object properties: created_at: @@ -242927,12 +242500,12 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - sponsorship @@ -243020,12 +242593,12 @@ webhooks: type: string required: - from - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243102,17 +242675,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &898 + 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: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - sponsorship @@ -243186,7 +242759,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &899 + changes: &900 type: object properties: tier: @@ -243230,13 +242803,13 @@ webhooks: - from required: - tier - effective_date: *898 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + effective_date: *899 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243313,13 +242886,13 @@ webhooks: type: string enum: - tier_changed - changes: *899 - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + changes: *900 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - sponsorship: *897 + sponsorship: *898 required: - action - changes @@ -243393,10 +242966,10 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243480,10 +243053,10 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243917,15 +243490,15 @@ webhooks: type: - string - 'null' - enterprise: *832 + enterprise: *833 id: description: The unique identifier of the status. type: integer - installation: *833 + installation: *834 name: type: string - organization: *834 - repository: *835 + organization: *835 + repository: *836 sender: *4 sha: description: The Commit SHA. @@ -244041,9 +243614,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244133,9 +243706,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244225,9 +243798,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244317,9 +243890,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *212 - installation: *833 - organization: *834 - repository: *835 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -244396,12 +243969,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 - team: &900 + team: &901 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244631,9 +244204,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -245103,7 +244676,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -245179,9 +244752,9 @@ webhooks: type: string enum: - created - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -245651,7 +245224,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -245728,9 +245301,9 @@ webhooks: type: string enum: - deleted - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -246200,7 +245773,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -246344,9 +245917,9 @@ webhooks: - from required: - permissions - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -246816,7 +246389,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - changes @@ -246894,9 +246467,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *832 - installation: *833 - organization: *834 + enterprise: *833 + installation: *834 + organization: *835 repository: title: Repository description: A git repository @@ -247366,7 +246939,7 @@ webhooks: - topics - visibility sender: *4 - team: *900 + team: *901 required: - action - team @@ -247442,10 +247015,10 @@ webhooks: type: string enum: - started - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 required: - action @@ -247518,17 +247091,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *832 + enterprise: *833 inputs: type: - object - 'null' additionalProperties: true - installation: *833 - organization: *834 + installation: *834 + organization: *835 ref: type: string - repository: *835 + repository: *836 sender: *4 workflow: type: string @@ -247610,10 +247183,10 @@ webhooks: type: string enum: - completed - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: allOf: @@ -247869,7 +247442,7 @@ webhooks: type: string required: - conclusion - deployment: *585 + deployment: *583 required: - action - repository @@ -247948,10 +247521,10 @@ webhooks: type: string enum: - in_progress - enterprise: *832 - installation: *833 - organization: *834 - repository: *835 + enterprise: *833 + installation: *834 + organization: *835 + repository: *836 sender: *4 workflow_job: allOf: @@ -248233,7 +247806{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}